/* =====================================================

2017-7-15
 
===================================================== */

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


/* =====================================================

01. base
02. index
03. contents

 ===================================================== */

/* 01 base
===================================================== */
img {
	max-width: 100%;
	height : auto ;
}
.mobile {
	display: block;
}
.pc {
	display: none;
}
#contents a:hover, footer a:hover {
	color: #33f;
	text-decoration: none;
}
table {
	word-break:break-all;
}

body, th, td {
	line-height: 130%;
	font-size: 90%;
}
html {
	background-image: none;
}
body {
	word-wrap: break-word;
	-webkit-text-size-adjust: 100%;
	background-repeat:   no-repeat,  no-repeat, repeat-y, repeat-x, repeat-y  ;
	background-position: -5px 190px, 0px 0px,   0px 0px,  0px 23px, right 0px ;
	background-image:
		url(../image/_background/M-line05.png), 
		url(../image/_background/M-line04.png), 
		url(../image/_background/M-line01.png), 
		url(../image/_background/M-line02.png), 
		url(../image/_background/M-line03.png);
}


#header,
#sideNavi,
address {
	display:none;
}
	
#contents {
	width: calc(100% - 60px);
	min-width: calc(100% - 60px);
	max-width: calc(100% - 60px);
	margin: 0px 10px auto 50px;
	height: auto;
	padding: 0;
	display:block;
	float: none;
	box-sizing: border-box;
	background-image: none;
}

#headerM,
#container,
#footer,
#footerNavi-M,
addressM {
	box-sizing: border-box;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	margin: 0px;
	background-image: none;
	padding: 0;
	display:block;
	height: auto;
}


#headerM {
	position: relative;
	height: 80px;
	width: 100%;
}
#headerM li:nth-child(1) {
	position: absolute;
	top: 8px;
	left: 10px;
}
#headerM li:nth-child(2) {
	position: absolute;
	top: 95px;
	left: 10px;
}
.drawer_toggleM {
	position: fixed;
	top: 5px;
	right: 5px;
	padding: 10px;
	background-color: rgba(255,255,255,0.40);
	z-index: 10015; 
}
.drawer_nav {
	right: -100%;
    width: 100%;
    min-width: 100%;
    padding-top: 60px;
}
.drawer_nav dt,
.drawer_nav a {
    height: 25px;
    font-size: 0.9em;
    line-height: 25px;
}
.drawer_nav dd:nth-of-type(3) a {
    height: 20px;
    line-height: 20px;
    font-size: 0.9em;
}
.drawer_nav dt:nth-of-type(1) {
	display: block;
}



address {
	clear: both;
	margin: auto 0 0;
	text-align: center;
    background-color: rgba(216,214,227,0.50);
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 0.125em;
	font-size: 10pt;
}
address a {
	color: #ffc;
	text-decoration: none;
}

	





#contents h2 {
	margin: 0.5em 0 1em;
	font-size: 1.1em;
	line-height: 140%;
}
#contents h2 span {
}

#contents h3 {
	margin: 0 0 1.0em;
	line-height: 140%;
}
#contents h3 span {
	display: block;
}

#contents h4 {
	margin: 0 0 0.5em;
}
#contents h4 span {
	display: block;
}

#contents h5 {
	margin: 0 0 0.25em;
	font-size: 1.2em;
	color: #fff;
	font-weight: bold;
	line-height: 140%;
	padding: 5px 0px;
	text-align: center;
	background: #f07b95;
}
#contents h5 img {
	display: none;
}
#contents h5 span {
	display: block;
}

div.p,
p {
	box-sizing: border-box;
	padding: 0px;
	margin: 0px 0px 1.5em;
}
div.copy01 {
	margin: 0px 0px 1.5em;
	font-size:1.1em; 
}
	

img.imgL, img.imgR {
	margin: 5px auto 5px;
	float: none;
	display:block;
	max-width: 95%;
}


	
/* 02 index, 共通
===================================================== */
div#pankuz {
	font-size: 0.8em;
	line-height: 120%;
}

div.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	margin: 0 0 10px;
	clear: both;
	background-color: #f2f2f2;
}
div.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	margin: 0px;
}	
	
	
/* 03 contents
====================================================== */
#idx #wrapper .right,
#idx #wrapper .left {
	display: none;
}
#idx #wrapper .mobile {
	text-align: center;
	padding-top: 1em;
	text-decoration: underline;
}

table.works th,
table.works td {
	padding: 0px 15px;
	display: block;
}
table.works td.humoresque {
	width: 100%;
}

table.kouenkiroku {
	width: 100%;
}
table.kouenkiroku th {
	padding: 0.5em 0.125em;
	text-align: left;
	white-space: nowrap;
}
table.kouenkiroku td {
	padding: 0.5em 0.125em;
}

.newslayout {
	display: block;
}

ul.stagephoto {
	display: block;
}
ul.stagephoto li {
	width: 100%;
}

table.sitemap {
	width: 100%;
}
table.sitemap td {
	padding: 0.5em 0.25em;
	text-align: left;
	display: block;
	width: 100%;
	white-space: normal;
}
	
div.contactustxt {
	text-align: left;
}
table.contactus th,
table.contactus td {
	padding: 0 0.25em 0.125em;
	display: block;
	text-align: left;
	width: 100%;
}
table.contactus td {
	padding: 0 0.25em 0.5em;
}

	
#calendar img {
	width: 100%;
}

	

/* 削除しないこと
===================================================== */
}


/* ------------------------------------------------
mediaQueriesの指定を入れておきます。
------------------------------------------------ */
/* ===========================================
	タブレット系 480 - 768
=========================================== */
@media screen and (min-width: 480px) and (max-width: 768px) {

	
.drawer_toggleM {
	top: 10px;
	right: 10px;
}
.drawer_nav {
	right: -70%;
    width: 70%;
    min-width: 70%;
    padding-top: 60px;
}
.drawer_nav dd:nth-of-type(3) a {
	background-position: left 25px center;
	padding-left: 3.0em;
	width: 100%;
}
.drawer_nav dd:nth-of-type(3) a span {
	padding-left: 0.5em;
	display: block;
}

.newslayout {
	display: flex;
}

#calendar img {
	width: calc(100% / 3);
}

	

/* 削除しないこと
===================================================== */
}
