@charset "UTF-8";

@font-face{
  font-family:"code";
  src: url("fonts/Inconsolata-Regular_sub.woff2"),
	url("fonts/Inconsolata-Regular_sub.woff");
}

.parent_title{
	position:absolute;
	top:18px;
	left: 0;
  right: 0;
  margin:0 auto;
	width:600px;
	text-align: center;
	font-size:28px;
	color: #033;
}


/*****************
　line
*****************/

#index {
	/*.indextitle{*/
	margin:20px 20px;
	height:25px;
	padding: 0.5em 1em;

	font-size:18px;
	font-weight:bold;

	color:#fff;
	background-color:#2f4f4f;
	border-color:#fd0;
	border-width:0px 11px 0px 11px;
	border-style:solid;
}
.end {
	/*set height*/
	position: relative;
	margin:40px 20px;
	height:30px;
	text-align:center;
	padding: 5px 0 0 0;
	font-size:18px;
	background-color:#dc143c;
	color:#fff;
	clear:left;
}


/********************
		  rect
		set width
********************/
.intro{
	width:80%;
	margin:0px auto;
	text-align:center;
	background-color:inherit;

	border-color:inherit;
	border-width:1px 0 1px 0;
	border-style:solid;
}
.top_icon{
  background-color:#ffffe0;
	border-width:2px;
	border-style:solid;
  border-color:#deb887;
  margin:0px auto;

	font-family: "code", monospace;
	font-size:24px;
	font-weight:bold;
	line-height:120%;

	text-align:center;
	padding: 10px 20px;
  width:350px;
}

.rect_text{
	position: relative;
	margin:1px auto;
	border-color:inherit;
	border-width:inherit;
	border-style:none;

	text-align:left;
	padding:10px 10px;
	width: 80%;
	max-width: 650px;
}
.rect_img{
	position: relative;
	margin:1px auto;
	border-color:#55e;
	border-width:inherit;
	border-style:none;

	text-align:center;
	width: 650px;
}
.rect_img img{
 width:100%;
 height:auto;
}

/***************
	align and font-family
****************/
.inner_code{
	position: relative;
	margin:1px auto;
	border-color:inherit;
	border-width:inherit;
	border-style:none;
	padding:10px 10px;

	text-align:left;
	font-family: "code", monospace;
	line-height:160%;
}
.inner_ccode{
	position: relative;
	margin:1px auto;
	border-color:inherit;
	border-width:inherit;
	border-style:none;
	padding:10px 10px;

	text-align: center;
	font-family: "code", monospace;
	font-size:26px;
}
.inner_ltext{
	position: relative;
	margin:1px auto;
	border-color:inherit;
	border-width:inherit;
	border-style:none;
	padding:10px 10px;

	text-align:left;
	font-family: "zero", sans-serif;
}
.inner_ctext{
	position: relative;
	margin:1px auto;
	border-color:inherit;
	border-width:inherit;
	border-style:none;
	padding:10px 10px;

	text-align:center;
	font-family: "zero", sans-serif;
	font-size:20px;
}

/*****************
	background-color
*****************/
.r_title{
	background-color:#55e;
	color:#fff;
	margin:0px auto;

	text-align:center;
	width:100%;
}
.r_title a{
	font-weight:normal;
	color: #fcc;
	text-decoration : none;
}
.r_title a:hover{
	color: #ccf;
	text-decoration:underline;
}

.r_blue{/*書式*/
	background-color:#e0ffff;
	border-color:#8df;
	border-width:1px;
	border-style:solid;
	color:#222;

}
.r_title_ex{
	background-color: sienna;
	color:#fff;
	margin:0px auto;
	width:100%;
}
.r_ex{/*例外*/

  background-color: whitesmoke;
	border-color:sienna;
	border-width:1px;
	border-style:solid;
  color:maroon;
}
.r_yellow{/*javaのソースコード*/
	background-color:#ffffe0;
	border-color:#deb887;
	border-width:1px;
	border-style:solid;
	color:#222;

	tab-size: 4;
	-moz-tab-size: 4;  /* Firefox用 */
}
.r_black{/*コンソール画面*/
	background-color:#111;
	border-color:#deb887;
	border-width:1px;
	border-style:solid;
	color:#fff;

}
.r_green{
	background-color:#f0fff0;
	border-color:#3cb371;
	border-width:1px;
	border-style:solid;
	color:#111;
}
.r_gray{/*スル－*/
	background-color:#d3d3d3;
	border-color:#808080;
	border-width:1px;
	border-style:solid;
	color:#666;

}
.r_pink{/*注意　重要*/
	background-color:#ffe4e1;
	border-color:#ee82ee;
	border-width:1px;
	border-style:solid;
	color:#222;

	line-height:160%;

}
.notes{
	color:green;
	font-size:14px;
}
.comments{
	float: right;
	line-height:160%;
	text-align: left;
	color:green;
	font-size:13px;
	border-style: none;
}

/************
	border
************/

.waku1{
	border-width:1px;
	border-style:solid;
}
.waku2{
	border-width:2px;
	border-style:solid;
}


/**** text and feeld ****/


/**** inline-block ****/
.bold{
	font-size: inherit;
	font-weight:bold;
	color:#000;
}
.blue{
	font-size: inherit;
	font-weight:bold;
	color:#00f;
}
.pink{
	font-size: inherit;
	font-weight:bold;
	color:#f0f;
}
.lblue{
	font-size: inherit;
	font-weight:bold;
	color:dodgerblue;
}
.violet{
	font-size: inherit;
	font-weight:bold;
	color:darkviolet;
}
.dgreen{
	font-size: inherit;
	font-weight:bold;
	color:green;
}
.orange{
	font-size: inherit;
	font-weight:bold;
	color:orangered;
}
.crimson{
	font-size: inherit;
	font-weight:bold;
	color:#dc143c;
}
.maroon{
	font-size: inherit;
	font-weight:bold;
	color:maroon;
}
.mark{
	color:#000;
	background-color:#eeff44;
}
.markp{
	color:#000;
	background-color:#ffccee;
}



/*****************
　画像
*****************/
.before_title{
	display: block;
	position: absolute;
	bottom: 40px;
	left:50px;
}

.before_title a::before{
	content:"";
	display:inline-block;

	vertical-align:text-bottom;
	margin: 0px 10px 0px 0px;
	width:60px;
	height:30px;
	background:url(./_img_deco/before.png) no-repeat;
	background-size:contain;
}

.next_title{
	display: block;
	position: absolute;
	bottom: 40px;
	right:50px;
}
.next_title a::after{

	content:"";
	display:inline-block;

	vertical-align:text-bottom;
	margin: 0px 0px 0px 10px;
	width:60px;
	height:30px;
	background:url(./_img_deco/next.png) no-repeat;
	background-size:contain;
}


/***eye1***/
.top_shou{
	display:inline-block;
	font-size:20px;
	line-height:220%;
}
.shou{
	display:inline-block;
	font-size:26px;
	color: #033;
}
.eye1{
	display:inline-block;
	/*background-color:blue;*/
	margin-top: 12px;
	text-align:center;
	font-size:16px;
	color: #033;
}
.eye1::before{
	content:"";
	display:inline-block;

	vertical-align:text-top;
	margin: -6px 0px 0px 0px;
	width:30px;
	height:30px;
	background:url(./_img_deco/kado4.png) no-repeat;
	background-size:contain;
}
/*
.eye1::after{

	content:"";
	display:inline-block;

	vertical-align:text-top;
	margin: -6px 0px 0px 0px;

	width:30px;
	height:30px;
	background:url(./_img_deco/kado4.png) no-repeat;
	background-size:contain;
}
*/
/***eye2***/
.eye2{
	display:inline-block;
	/*background-color:blue;*/
	margin-top: 12px;
	text-align:center;
	font-size:16px;
	color: #033;
}
.eye2::before{
	content:"";
	display:inline-block;

	vertical-align:text-top;
	margin: -6px 0px 0px 0px;
	width:30px;
	height:30px;
	background:url(./_img_deco/kado5.png) no-repeat;
	background-size:contain;
}
/*
.eye2::after{

	content:"";
	display:inline-block;

	vertical-align:text-top;
	margin: -6px 0px 0px 0px;

	width:30px;
	height:30px;
	background:url(./_img_deco/kado5.png) no-repeat;
	background-size:contain;
}
*/
/***cup***/
.cup1{
	display:inline-block;
	/*background-color:blue;*/
	margin-top: 12px;
	text-align:center;
	font-size:16px;
	color: #033;
}
.cup1::before{
	content:"";
	display:inline-block;

	vertical-align:text-top;
	margin: -30px 0px 0px 0px;
	width:50px;
	height:50px;
	background:url(./_img_deco/tea_g2.png) no-repeat;
	background-size:contain;
}
/*****************
	キャラ＆吹き出し
*****************/
.img_icon_L{
	position:relative;
	right: -50px;
	display: block;
	/*max-width: 150px;*/
	width: 18%;
	float: left;
}
.img_icon_R{
	position:relative;
	left:-50px;
	margin-right: 30px;
	display: block;
	/*max-width: 150px;*/
	width: 18%;
	float: right;
}

/*balloon*/
.balloon_L{
	position:relative;
	right: -50px;
	max-width: 50%;
	display: inline-block;

	float: left;
	margin: 10px;
  padding:10px;

	background-color:#98fb98;
	border-width:2px;
	border-style:solid;
	border-color: #559966;

	border-radius: 10px;/* CSS3 */
	-webkit-border-radius: 10px; /* Safari,Google Chrome */
	-moz-border-radius: 10px;/* Firefox */
}
.balloon_L::before{
  content: '';
  position: absolute;
  left: -30px;
  top: 10px;
  display: block;
  width: 0;
  height: 0;
	border-top: 10px solid transparent;
  border-right: 30px solid #559966;
  border-bottom: 10px solid transparent;
  /*border-left: 30px solid  #98fb98;*/
}
.balloon_L::after{
  content: '';
  position: absolute;
  left: -24px;
  top: 10px;
  display: block;
  width: 0;
  height: 0;
	border-top: 10px solid transparent;
  border-right: 30px solid #98fb98;
  border-bottom: 10px solid transparent;
  /*border-left: 30px solid  #98fb98;*/
}
.balloon_R{
	position:relative;
	left:-50px;
	max-width: 50%;
	display: inline-block;
	float: right;
	margin: 10px;
  padding: 10px;

	background-color:#98fbff;
	border-width:2px;
	border-style:solid;
	border-color:#33aaaa;

	border-radius: 10px;/* CSS3 */
	-webkit-border-radius: 10px; /* Safari,Google Chrome */
	-moz-border-radius: 10px;/* Firefox */
}
.balloon_R::before{
  content: '';
  position: absolute;
  right: -30px;
  top: 10px;
  display: block;
  width: 0;
  height: 0;
	border-top: 10px solid transparent;
  /*border-right: 30px solid #33aaaa;*/
  border-bottom: 10px solid transparent;
  border-left: 30px solid #33aaaa;
}
.balloon_R::after{
  content: '';
  position: absolute;
  right: -24px;
  top: 10px;
  display: block;
  width: 0;
  height: 0;
	border-top: 10px solid transparent;
  /*border-right: 30px solid #33aaaa;*/
  border-bottom: 10px solid transparent;
  border-left: 30px solid #98fbff;
}
.balloon_3{
	position:relative;
	width: 400px;
	display: inline-block;

	margin: 10px;
  padding: 10px;

	background-color:#66fbee;
	border-width:2px;
	border-style:solid;
	border-color:#33aaaa;

	border-radius: 10px;/* CSS3 */
	-webkit-border-radius: 10px; /* Safari,Google Chrome */
	-moz-border-radius: 10px;/* Firefox */
}
.balloon_VL{
  content: '';
  position: absolute;
  left: 80px;
  bottom: -30px;
  display: block;
  width: 0;
  height: 0;
	border-top: 30px solid #33aaaa;
  border-left: 0px solid  transparent;
  border-right: 20px solid transparent;
  /*border-bottom: 30px solid transparent;*/
}
.balloon_VL::after{
	content: '';
	position: absolute;
	left: 2px;
	bottom: 8px;
	display: block;
	width: 0;
	height: 0;
	border-top: 30px solid #66fbee;
	border-left: 0px solid  transparent;
	border-right: 20px solid transparent;
}
.balloon_VC{
  content: '';
  position: absolute;
  display: block;
	width: 0;
  height: 0;
  left: 210px;
  right: 0;
	bottom: -30px;

	border-top: 30px solid #33aaaa;
  border-left: 10px solid  transparent;
  border-right: 10px solid transparent;
  /*border-bottom: 30px solid transparent;*/
}
.balloon_VC::after{
  content: '';
  position: absolute;
  display: block;
	width: 0;
  height: 0;
  left: -10px;
  right: 0;
	bottom: 7px;

	border-top: 30px solid #66fbee;
  border-left: 10px solid  transparent;
  border-right: 10px solid transparent;
  /*border-bottom: 30px solid transparent;*/
}
.balloon_VR{
  content: '';
  position: absolute;
  right:  80px;
  bottom: -30px;
  display: block;
  width: 0;
  height: 0;
	border-top: 30px solid #33aaaa;
  border-left: 20px solid  transparent;
  border-right: 0px solid transparent;
  /*border-bottom: 30px solid transparent;*/
}
.balloon_VR::after{
	content: '';
	position: absolute;
	right: 2px;
	bottom: 7px;
	display: block;
	width: 0;
	height: 0;
	border-top: 30px solid #66fbee;
  border-left: 20px solid  transparent;
  border-right: 0px solid transparent;
}
.half_L{
	width:50%;
	text-align:left;
	float:left;

}
.half_R{
	width:50%;
	text-align:right;
	float:left;
}


@media screen and (max-device-width: 480px) {
	#outer {width:100%;}
	#header {width:100%;clear:both;height:70px;}
	h1 {padding:34px 0 0 34px;}
	#main {width:100%;clear:both;}
	.content {clear:both;font-size:120%;padding:0 10px;}
	/*#right {width:100%;clear:both;}*/
	#footer {width:100%;clear:both;}
	img {zoom:80%;}
}
