.sub{
  font-size:80%;
}

#tab{
  width:93%;
  margin:0 auto;
  margin-top:6%;
  text-align:center;
}
#tab a{
  display:inline-block;
  width:33%;
  margin:0 0.1%;
	background-color: rgba(0,0,0,0.2);
	border:1px #3E3D31 solid;
  border-radius:2px 2px 0 0;
  padding:2% 0;
  color:#CCC;
  text-decoration:none;
  text-shadow:2px 2px 2px #000;
  text-align:center;
  position:relative;
}

#tab a.active{
  background-image:url(../images/privilege/bg.jpg);
	background-repeat:repeat-x;
  border-width:1px 1px 0 1px;
  border-color:#545337;
  color:#FF9;
  z-index:99;
}

#tab a.update:after{
  content:"UPDATE";
  display:inline-block;
  padding:2px 3px;
  position:absolute;
  top:-10px;
  width:70px;
  left:50%;
  margin-left:-35px;
  background-color:#545337;
  color:#FFF;
  text-shadow:none;
  font-size:70%;
  text-align:center;
}

section.privilege_box{
	width:93%;
	margin:4% auto;
	padding:2%;
	background-image:url(../images/privilege/bg.jpg);
	background-repeat:repeat-x;
	background-color: #000;
	border:1px #545337 solid;
	margin-top:-2px;
/*  box-shadow:0 0 7px rgba(255,255,200,0.3) inset;*/
  position:relative;
  z-index:98;
}

section.privilege_box .p{
	width:59%;
	max-width:611px;
}

section.privilege_box .image{
	float:right;
	width:40%;
	margin-left:1%;
}

section.privilege_box .text_body{
	width:59%;
	margin-top:4%;
  line-height:1.7;
  letter-spacing:1px;
}

section.privilege_box .text_body .zoom{
  width:47%;
  margin:1%;
}
section.privilege_box .text_body .zoom img{
  width:100%;
}

/*----LAWSON---*/
section#lawson .text_body a{
	display:block;
	width:80%;
	padding:1% 3%;
	border-radius:4px;
	background-color:#DDD;
	background:linear-gradient(to bottom,#FFF,#AAA);
	margin:3% auto;
	color:#11458a;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	text-shadow:1px 1px 2px #FFF;
	box-shadow:0 0 3px #FFE inset;
}

/*---Windows®---*/

/*---syokai----*/
section#syokai .p,
section#syokai .text_body{
  width:100%;
}
section#syokai .p{
  max-width:941px;
}

section#syokai h3{
  border:5px #999 solid;
  border-width:0 0 0 5px;
  background-color:rgba(50,50,50,0.8);
  padding:0.5% 1.5%;
  font-size:150%;
  margin:0;
  margin-bottom:1%;
  margin-top:5%;
  font-family:serif;
}

section#syokai h3 span.category{
  display:inline-block;
  border:1px #444 solid;
  background-color:rgba(255,255,255,0.1);
  padding:0.1% 1%;
  margin:0 10px;
  margin-left:0;
  font-size: 70%;
  vertical-align:3px;
  font-weight:normal;
}

section#syokai h3 span.new{
  display:inline-block;
  background-color:#A00;
  padding:0.05% 1%;
  margin:0 10px;
  font-size: 50%;
  vertical-align:3px;
  font-weight:normal;
  color:#DDD;
  border-radius:3px;
}

section#syokai .text_body h3:first-chikd{
  margin-top:0;
}

section#syokai .attention{
  background-color:#AAA;
  border-radius:5px;
  padding:0.7%;
  text-align:center;
  color:#111;
  margin-top:6%;
}


#san13_privilege_tkool{
  border:1px #333 solid;
  padding:2%;
  background-color:#CCCBBD;
  color:#222;
  border-radius:6px;
  margin:5% auto;
  margin-top:8%;
  width:100%;
}

#san13_privilege_tkool .txt{
  margin-top:-42px;
}

#san13_privilege_tkool .txt span{
  color:#900;
  font-weight:bold;
}

#san13_privilege_tkool #eyecatch{
  display:inline-block;
  background-color:#F00;
  color:#FF0;
  font-size:150%;
  font-weight: bold;
  vertical-align:45%;
  padding:0 1%;
  margin-right:0.5em;
  transform:rotate(-7deg);
  position:relative;
}

#san13_privilege_tkool #eyecatch:after{
  content:"";
  display:inline-block;
  width:0;
  height:0;
  border-width:7px 5px;
  border-color:#F00 #F00 transparent transparent;
  border-style:solid;
  position:absolute;
  left:60%;
  bottom:-13px;
}

#san13_privilege_tkool .zoom img{
  border:1px #666 solid;
}

#san13_privilege_tkool #banner_tkool{
  max-width:707px;
  width:100%;
  display: block;
  margin:3% auto;
  box-shadow:4px 4px 0 rgba(0,0,0,0.2);
}


@media screen and (max-width:760px){
  section#syokai .attention{
    text-align:left;
  }
}

@media screen and (max-width:640px){
  #tab a{
    font-size:70%;
    padding:3% 0;
  }
  #san13_privilege_tkool{
    margin-top:20%;
  }
}

@media screen and (max-width:460px){
	section.privilege_box .p,
	section.privilege_box .image,
	section.privilege_box .text_body{
		width:100%;
		float:none;
	}
	section.privilege_box .image{
		margin-top:5%;
	}
}
