@charset "utf-8";
/* CSS Document */



/*768以上*/

@media (min-width:769px) {
    
    i#menu {
    display: none;
}
    
    .mastertable img {
        max-width: 580px;
    }.close{
		display:none!important;
        }  
}


/*768以下*/

@media (max-width:769px) {
    
    
	.main_wrapper , #cookie-law p , #header_all .header {
		width: 100%;
	}

	.nav_all ul.menu {
		display: none;
	}

	#cookie-law {
		height: 60px;
		background: #999999;
		margin: 0;
		min-height: 60px;
		height: inherit;
		padding: 10px;
	}
	
	
	.cookie-message .cookiebar-close{
	position:absolute;
	top:40px; *top:-2px; right:0px;
    cursor:pointer;
	/*float: right;*/
	margin-right: 10px;
	margin-top: 10px;
	border: 1px solid #fff;
	color: #fff;
	padding: 6px 20px;
	text-decoration: none;
}
.cookie-message {
  /*position:fixed;*/
  top:0;left:0;right:0;
  /*padding:0 85px 0 20px;*/
	height: 130px;
  background:#fff;
  border-bottom:1px solid #ccc;
  box-shadow:0px 0px 3px #ccc;
  z-index: 99;
}
.cookie-message p {
  margin:0 10px;
	padding: 10px;
	width: 70%;
}
.gray {
  border-bottom:1px solid #999999;
  background-color:#777777;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0e83ae), color-stop(50%, #0990c3), color-stop(100%, #0e9dd2));
  background: -webkit-linear-gradient(#0e83ae, #0990c3, #0e9dd2);
  background: -moz-linear-gradient(#0e83ae, #0990c3, #0e9dd2);
  background: -o-linear-gradient(#0e83ae, #0990c3, #0e9dd2);
  background: -ms-linear-gradient(#0e83ae, #0990c3, #0e9dd2);
  background: linear-gradient(#999999, #777777, #888888);
}
.gray p { color:#fff; }
.gray a { color:#fff; text-decoration-line: underline;}
	
	

	.main { 
        
		background-size: contain;
	}

	.nav_all {
		width: 100%;
		float: none;
		margin: 0;
	}

	#cookie-law p {
        
		padding: 0;
	}

	#header_all .header .tsmc {
		float: none;
		text-align: right;
		width: 100%;
		font-style: italic;
		font-size: 14px;
		color: #ff0000;
		padding: 10px 0;
	}

	.leftbox {
		float: none;
		width: 100%;
	}

	.rightbox {
		float: none;
		width: 100%;
	}

	.main_wrapper > img , .space-img {
		display: none;
	}

	.footer {
		margin: 0;
		font-size: 11px;
		height: 40px;
		line-height: initial;
		padding: 20px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+52,c9c9c9+100 */
		background: #ffffff;
 /* Old browsers */
		background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 52%, #c9c9c9 100%);
 /* FF3.6-15 */
		background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 52%,#c9c9c9 100%);
 /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 52%,#c9c9c9 100%);
 /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c9c9c9',GradientType=0 );
 /* IE6-9 */
	
        max-width: 100%;
		background-position: center;
	}

	.main {
        
		padding: 150px 25px 0px 25px;
	}

	#header_all .header .tsmc span {
		margin-left: 10px;
	}

	.main_wrapper {
		position: static;
		margin: 0;
	}

	#header_all {
		height: 50px;
	}

	br.clear {
		display: none;
	}
    
    .nav_all ul.menu {
   
    background: #eee;
    display: none;
    position: fixed;
    width: 100vw;
    left: 50%;
    top: 50%;
    height: 100vh;
    z-index: 2;
    top: 0;
    left: 0;
}
    
    ul.menu li a.navbtn {
    display: block;
    float: none;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    padding: 0 14px;
}
    
    
    ul.menu li {
  
    float: none;
         
}
    
    ul.menu ul.sub {
    position: relative;
    z-index: 10;
    left: 0px;
    top: 0;
    width: 100%;
      padding: 0;
    background: #fff;
    box-shadow: 1px 5px 5px rgba(0,0,0,.3);
}
    
    
    ul.menu li>ul.sub {
    visibility: hidden;
    display: none;
}
    
     ul.menu li:hover>ul.sub {
    visibility: visible;
    display:block;
}
    
  
    
    ul.menu ul.sub li a.subbtn {
   
    text-align: center;
}
    
    
    i.close {
    color: #fd1d1d;
    position: fixed;
    z-index: 3;
    font-size: 2rem;
    left: 50%;
    bottom: 5vh;
    cursor: pointer;
    transform: translateX(-50%);
        
    }
    
    
    i.fa.fa-bars {
    font-size: 2rem;
    position: absolute;
    right: 10px;
    color: #fff;
    cursor: pointer;
}
    
    .leftbox table {
        width: 100% !important;
    }
    
    .img-fluid {
        width: 100%;
        height: auto;
	
        
}
    
    .space-table {
        display: none;
    }
    
    h1 {
   
    font-size: 18px;
   
}
    
   .Input_Text {
    width: 70px;
}
    
    .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .row td {
           flex: 100%;
    }
    
}


