/*
Theme Name: q-games-com
Theme URI: http://www.q-games.com
Author: Murakami
Author URI: https://www.q-games.com/
Description: Q-Games
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column
Text Domain: q-games-com
*/


/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Q-Games Style
 */


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	min-width: inherit;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}


/**
 * 2.0 - Genericons
 */

.menu-item-has-children a:after,
.social-navigation a:before,
.dropdown-toggle:after,
.bypostauthor > article .fn:after,
.comment-reply-title small a:before,
.pagination .prev:before,
.pagination .next:before,
.pagination .nav-links:before,
.pagination .nav-links:after,
.search-submit:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}


/**
 * 3.0 - Typography
 */

body,
button,
input,
select,
textarea {
	color: #1a1a1a;
	font-family: Merriweather, Georgia, serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 700;
	margin: 0;
	text-rendering: optimizeLegibility;
}

p {
/*	margin: 0 0 1.75em;*/
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border: 0 solid #1a1a1a;
	border-left-width: 4px;
	color: #686868;
	font-size: 19px;
	font-size: 1.1875rem;
	font-style: italic;
	line-height: 1.4736842105;
	margin: 0 0 1.4736842105em;
	overflow: hidden;
	padding: 0 0 0 1.263157895em;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote p {
	margin-bottom: 1.4736842105em;
}

blockquote cite,
blockquote small {
	color: #1a1a1a;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
}

blockquote cite:before,
blockquote small:before {
	content: "\2014\00a0";
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

blockquote > :last-child {
	margin-bottom: 0;
}

address {
	font-style: italic;
	margin: 0 0 1.75em;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: Inconsolata, monospace;
}

pre {
	border: 1px solid #d1d1d1;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.3125;
	margin: 0 0 1.75em;
	max-width: 100%;
	overflow: auto;
	padding: 1.75em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

code {
	background-color: #d1d1d1;
	padding: 0.125em 0.25em;
}

abbr,
acronym {
	border-bottom: 1px dotted #d1d1d1;
	cursor: help;
}

mark,
ins {
	background: #007acc;
	color: #fff;
	padding: 0.125em 0.25em;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/**
 * 4.0 - Q-Games Style
 */


html, body {
	width: 100%;
	min-height: 100%;
	/*font-family: 'Avenir','Helvetica Neue','Helvetica','Hiragino Sans','ヒラギノ角ゴシック','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic','Arial', sans-serif;*/
  font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック", "MS P Gothic","Osaka", Verdana, Arial, Helvetica, sans-serif;
	font-size: 8pt; /* font-size:8pt == 11px(old Q-Games) */
}
					  
h2 {
	display: none;
}

#splash {
  margin: 3rem auto 3rem;
}
#etcslider {
  margin: 2rem auto 2rem;
}

#wrap {
	width: 757px;
	margin: 10px auto;
	display: flex;
	flex-wrap: wrap;
}
	#header {
		width: 751px;
		height: 66px;
		padding-top: 10px;
		background: #ffffff scroll no-repeat 0 0;
	}
		#header h1 {}
		#header p {
			width: 59px;
			height: 23px;
			margin: 30px 0 0 635px;
		}
		*:first-child+html #header p { /* IE7 */
			padding-top: 10px;
		}
			#header p a {
				overflow: hidden;
				cursor: pointer; /* IE7 */
			}
				#header p a span.sprite {
					width: 59px;
					height: 23px;
					position: relative;
					display: inline-block;
					overflow: hidden;
				}
				#header p a span.sprite img.en {
					position: absolute;
					left: 0px;
					top: -164px;
				}
				#header p a span.sprite img.ja {
					position: absolute;
          left: -59px;
					top: -164px;
				}
	#contents_left_shadow {
		width: 23px;
		min-height: 487px;
		float: left;
		background: scroll repeat-y -756px 0;
	}
	#contents_left {
		width: 700px;
		min-height: 387px;
		background-color: #ffffff;
		float: left;
		background: #ffffff scroll no-repeat 0 0;
	}
#contents_left section.window {
    margin: 1rem;
}
    #contents_left section.window > h3 {
    }
        #contents_left section.window > h3 > p {
            font-size: 0.75em;
            color: #ffffff;
            width: 10rem;
            background-color: #B11616;
            border-radius: 0.5rem 0.5rem 0 0;
            margin: 0;
            padding: 0.2rem 0.5rem 0 0.5rem;
            line-height: 1;
        }
    #contents_left section.window > article {
        border: 0.25rem solid #B11616;
/*        box-shadow: 0 0 0 0.25rem #FCE8E8 inset;*/
      	box-shadow: 0 0 0 5px #FCE8E8 inset;
        box-sizing: border-box;
        border-radius: 0px 0.5rem 0 0;
        margin: 0;
        padding: 1rem;
        font-size: 0.8em;
    }
    #contents_left section.window > div {
        color: white;
        /*border: 0.25rem solid #B11616;*/
      	border: 5px solid #B11616;
        background-color: #B11616;
        /*border-radius: 0 0 0.5rem 0.5rem;*/
      	border-radius: 0 0 10px 10px;
        margin: 0;
        /*padding: 0.5rem 1rem;*/
      	padding: 10px 20px;
        text-align: right;
    }
        #contents_left section.window > div > a {
            color: #ffffff;
        }
		#contents_left div.logo {
			width: 700px;
			height: 63px;
			margin-bottom: 32px;
			background: scroll no-repeat 0 -79px;
		}
			#contents_left div.logo h1 {
				width: 220px;
				height: 63px;
				margin-left: 21px;
				background: scroll no-repeat -21px -79px;
			}
				#contents_left div.logo h1 a {
					width: 100%;
					height: 100%;
					display: block;
					text-indent: -9999px;
					overflow: hidden;
					outline: none;
					position: relative;
				}
					#contents_left div.logo h1 a img {
						position: absolute;
						left: -21px;
						top: -79px;
					}
		#contents_left .content {
			width: 658px;
			min-height: 381px;
			margin: 0 21px 20px;
		}
			#contents_left .content .navigation {
        text-align: center;
			}
			#contents_left .content .window {
        width: 658px;
        margin: 0 auto 10px;
			}
				#contents_left .content .window .window_top {
          height: 27px;
          padding: 2px 10px 0;
          color: #ffffff;
          font-weight: bold;
          font-size: 9pt;
          background-position: 0 -5px;
				}
					#contents_left .content .window .window_top span > a {
            color: #ffffff !important;
            text-decoration: none;
					}
				#contents_left .content .window .window_body {
          width: 616px;
    			padding: 10px 21px 4px;
          background-position: -663px 0;
          background-repeat: repeat-y;
				}
					#contents_left .content .window .window_body p {
            margin: 0;
					}
					#contents_left .content .window .window_body img {
            margin: 1em auto;
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
					}
					#contents_left .content .window .window_body img.noalign {
            margin: 0;
					}
					#contents_left .content .window .window_body ul li {
            list-style: none;
					}
					#contents_left .content .window .window_body .aligncenter, .aligncenter {
            text-align: center
					}
					#contents_left .content .window .window_body .alignleft, .alignleft {
            float: left;
            text-align: left;
					}
					#contents_left .content .window .window_body .alignright, .alignright {
            float: right;
            text-align: right;
					}
				#contents_left .content .window .window_bottom {
          height: 14px;
          background-position: 0 -36px;
				}
	/*		#contents_left .content .window_top, #contents_left .content .window_info_top {
				height: 28px;
				padding-top: 3px;
				color: #ffffff;
				font-weight: bold;
				font-size: 9pt;
			}
				#contents_left .content .window_top span, #contents_left .content .window_info_top span {
					margin-left: 10px;
				}
			#contents_left .content .window_body, #contents_left .content .window_info_body {
				background-repeat: repeat-y;
			}
				#contents_left .content .window_body ul {
					margin-left: 1.2em;
				}
					#contents_left .content .window_body ul li {
						list-style-position: outside;
					}
				#contents_left .content .window_body .big, #contents_left .content .window_info_body .big {
					color: #333333;
					font-size: 8pt;
				}
				#contents_left .content .window_body .bigred, #contents_left .content .window_info_body .bigred {
					color: #0E81D1;
					font-weight: bold;
					font-size: 8pt;
				}
				#contents_left .content .window_body span.bold, #contents_left .content .window_info_body span.bold {
					color: #0E81D1;
					font-weight: bold;
				}
				#contents_left .content .window_body span.bold:before, #contents_left .content .window_info_body span.bold:before {
					content: "";
					color: #0E81D1;
					font-weight: bold;
				}
				#contents_left .content .window_body div.body {
					margin-bottom: 10px;
				}
				#contents_left .content .window_body img {
					margin: 15px auto;
					display: block;
				}
			#contents_left .content .window_bottom, #contents_left .content .window_info_bottom {
				height: 14px;
			}
*/
		#contents_left .copyright {
			width: 700px;
			height: 20px;
			background: #ffffff scroll no-repeat 0 -143px;
			color: #ffffff;
		}
			#contents_left .copyright p {
				line-height: 24px;
        margin: 0;
				padding: 0 9px;
				opacity: 0.9;
			}
			
				#madeinkyoto {
					margin-top: -24px !important;
					text-align: right;
				}
		
		#contents_left .brand_wrap {
      width: 660px;
      margin-left: 20px;
      margin-right: 20px;
      padding: 10px 0;
      font-weight: bold;
      color: #a3a3a3;
		}
				#contents_left .brand_wrap .brand .brand_right {
					
				}
			#contents_left .brand_wrap p.pagetop {
				width: 59px;
				height: 23px;
				margin-right: 10px;
				float: right;
			}
				#contents_left .brand_wrap p.pagetop span {
					width: 59px;
					height: 23px;
					position: relative;
					display: inline-block;
					overflow: hidden;
				}
					#contents_left .brand_wrap p.pagetop span img {
						position: absolute;
						left: -118px;
						top: -164px;
						cursor: pointer;
					}
	#contents_right {
		width: 34px;
		min-height: 487px;
		background: scroll repeat-y -779px 0;
		float: left;
		zoom: 1;
	}
	#contents_right:after {
/*		visibility: hidden;
		display: block;
		font-size: 0;
		content: ".";
		clear: both;
		height: 0;
*/
	}
		#contents_right .menu {
			width: 100%;
			height: 100%;
			margin-top: -2px;
			padding: 0;
		}
		*:first-child+html #contents_right .menu { /* IE7 */
			margin-top: -1px;
		}
			#contents_right .menu li {
				width: 100%;
				height: 50px;
				list-style-type: none;
			}
				#contents_right .menu li a {
					width: 100%;
					height: 100%;
					display: block;
					text-indent: -9999px;
					overflow: hidden;
					outline: none;
					background-repeat: no-repeat;
					background-attachment: scroll;
					background-image: url(tabs_all.gif);
				}

				#contents_right .menu li span { display: block; line-height: normal; }
				#contents_right .menu .tab_index { background-position: 0 -18px; }
				#contents_right .menu .tab_index.current { background-position: 0 -18px; }
				#contents_right .menu .tab_news { background-position: 0 -85px; }
				#contents_right .menu .tab_news.current { background-position: 0 -85px; }
				#contents_right .menu .tab_history { background-position: 0 -152px; }
				#contents_right .menu .tab_history.current { background-position: 0 -152px; }
				#contents_right .menu .tab_recruit { background-position: 0 -219px; }
				#contents_right .menu .tab_recruit.current { background-position: 0 -219px; }
				#contents_right .menu .tab_profile { background-position: 0 -286px; }
				#contents_right .menu .tab_profile.current { background-position: 0 -286px; }
				#contents_right .menu .tab_contact { background-position: 0 -353px; }
				#contents_right .menu .tab_contact.current { background-position: 0 -353px; }
				#contents_right .menu .tab_blog { background-position: 0 -420px; }
				
/*				#contents_right .menu .tab_technology { background-position: 0 -286px; }
				#contents_right .menu .tab_technology.current { background-position: 0 -286px; }
				#contents_right .menu .tab_profile { background-position: 0 -353px; }
				#contents_right .menu .tab_profile.current { background-position: 0 -353px; }
				#contents_right .menu .tab_contact { background-position: 0 -420px; }
				#contents_right .menu .tab_contact.current { background-position: 0 -420px; }
				#contents_right .menu .tab_blog { background-position: 0 -487px; }
*/
			#contents_right .menu li.spacer {
				width: 34px;
				height: 17px;
				background-attachment: scroll;
				background-repeat: no-repeat;
				background-image: url(tabs_all.gif);
			}
			#contents_right .menu li.spacer.no1 { background-position: 0 0; height: 18px; }
			#contents_right .menu li.spacer.no2 { background-position: 0 -68px; }
			#contents_right .menu li.spacer.no3 { background-position: 0 -135px; }
			#contents_right .menu li.spacer.no4 { background-position: 0 -202px; }
			#contents_right .menu li.spacer.no5 { background-position: 0 -269px; }
			#contents_right .menu li.spacer.no6 { background-position: 0 -336px; }
			#contents_right .menu li.spacer.no7 { background-position: 0 -336px; }
			#contents_right .menu li.spacer.no8 { background-position: 0 -403px; }
			#contents_right .menu li.spacer.no9 { background-position: 0 -470px; height: 22px; }
			
			#contents_right .menu li.spacer.no1.current { background-position: 0 0; }
			
			#contents_right .menu li.spacer.no2.current-up { background-position: 0 -68px; }
			#contents_right .menu li.spacer.no3.current-up { background-position: 0 -135px; }
			#contents_right .menu li.spacer.no4.current-up { background-position: 0 -202px; }
			#contents_right .menu li.spacer.no5.current-up { background-position: 0 -269px; }
			#contents_right .menu li.spacer.no6.current-up { background-position: 0 -336px; }
			#contents_right .menu li.spacer.no7.current-up { background-position: 0 -336px; }
			#contents_right .menu li.spacer.no8.current-up { background-position: 0 -403px; }

			#contents_right .menu li.spacer.no2.current-down { background-position: 0 -68px; }
			#contents_right .menu li.spacer.no3.current-down { background-position: 0 -135px; }
			#contents_right .menu li.spacer.no4.current-down { background-position: 0 -202px; }
			#contents_right .menu li.spacer.no5.current-down { background-position: 0 -269px; }
			#contents_right .menu li.spacer.no6.current-down { background-position: 0 -269px; }
			#contents_right .menu li.spacer.no7.current-down { background-position: 0 -336px; }

		*:first-child+html #contents_right .menu li.spacer {/* IE7 */
			margin-top:-2px;
		}
		
	#footer {
		width: 751px;
		height: 58px;
		
		/*background: #ffffff url(../reqimages/footer.gif) scroll no-repeat 0 0;*/
		background: #ffffff scroll no-repeat 0 -188px;
		clear: both;
	}
	
	#footer div a {
		width: 59px;
		height: 23px;
		
		background: #ffffff scroll no-repeat -118px -159px;
	}
.sns {
  text-align:right;
  margin: 0 20px;
  color: #4595d1;
}
  .sns a {
    color: #4595d1;
	}
	.sns a:hover {
    color: #a2cae8;
	}
.tikiman {
	width: 32px;
	height: 32px;
	position: absolute;
	display: none;
	background: url(p.png) scroll no-repeat 0 0;
}
.wp-caption {}
.wp-caption-text {}
.sticky {}
.gallery-caption {}
.screen-reader-text {}