@charset   "Shift_JIS";
?* {margin:0;padding:0;}
html,body {
	width:100%; height:100%;
}
body {
	font-family:"meiryo"; position:relative;
}

.img{
border: outset 10px #55A6FC;
}

h1{
    font-family:"ヒラギノ角ゴ";
    top:3px;
    font-size: 35px;/* 文字の大きさ */
    font-weight: bold;/* 文字の太さ */
    color: #fff;/* 文字の色 */
    background: #00bfff;/* 背景色 */
    border-radius: 20px;/* 四隅の丸み */
    -webkit-border-radius: 20px;/* 四隅の丸みと同じ数字に */
    -moz-border-radius: 20px;/* 四隅の丸みと同じ数字に */
    position: relative;
    margin: 10px;
    padding: 13px 12px 13px 2em;
}
h1:before,
h1:after {
     content: "";
    position: absolute;
    display: block;
}
h1:before{
    top: -0.1em;
    left: 0.5em;
    width: 32px;
    height: 32px;
    padding: 15px 0 0 0;
    background: #1E90FF;/* リボン部分の色 */
    text-align: center;
}
h1:after{
    top: 0.8em;
    left: 0.5em;
    width: 0;
    height: 0;
    border: 16px solid;
    border-color: transparent #1E90FF;/* リボンの切りっぱなし部分の色 */
}

body > .bg{
	height:auto;
}
body > .wrap{
	height:auto;
}

.bg{
	width:100%; height:100%; background :  position:relative;
}

.wrap{
	width:900px; 
	height:100%;
	margin:0 auto;
	margin-bottom: 20px;
	background-image: url(../imgs/paper1.jpg);
	position:relative;
	z-index:10;
}
.header{
	border-bottom:0px solid #333;
}

#main{
	width: 700px;
	float: right;
}

#side{
	width: 200px;
	float: left;
}

#footer{
	padding-top: 10px;
	clear: both;
}

.a { text-decoration: none;}
.a:hover { text-decoration: none;}


.ribbon2 {
    display: block;
    position: relative;
    vertical-align: middle;
    text-align: center;
    padding: 7px 0;
    font-size: 50px;/*フォントサイズ*/
    background: #4169e1;/*背景色*/
    color: #FFF;/*文字色*/
    box-sizing: border-box;
	margin-left: 40px;
	margin-right: 40px;
	margin-bottom: 10px;
	
}

.ribbon2 h3 {
    vertical-align: middle;
    margin: 0;
    padding: 0 30px;
    border-top: dashed 1px #FFF;/*上の破線*/
    border-bottom: dashed 1px #FFF;/*下の破線*/
}

.ribbon2:before, .ribbon2:after{
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon2:before{/*左端の山形*/
  top: 0;
  left: 0;
  border-width: 53px 0px 52px 40px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.ribbon2:after{/*右端の山形*/
  top: 0;
  right: 0;
  border-width: 53px 40px 52px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.balloon3-left {
	position: relative;
	display: inline-block;
	margin: 1.5em 0 1.5em 15px;
	padding: 0 5px;
     padding-left: 10px;
     padding-top: 40px;
	width: 200px;
	height: 100px;
	vertical-align: middle;
	text-align: left;
	color: #FFF;
	font-size: 20px;
	font-weight: bold;
	background: #ff9900;
	border-radius: 50%;
}

.balloon3-left:before{
	content: "";
	position: absolute;
	top: 50%;
	left: -36px;
  	margin-top: -20px;
	border: 20px solid transparent;
	border-right: 20px solid #ff9900;
 	z-index: 0;
}

.under {
  background: linear-gradient(transparent 80%, #4169e1 80%);
  }

div.ad{
	padding: 0 10px 1px 0;
     
	margin-right: 10px;
}

ul, ol{
  padding: 0px 10px 0px 15px;
  margin-top: 0px;
  margin-bottom: 0px;
}

ul li {
  font-family:"ヒラギノ角ゴ";
  position: relative;
  list-style-type: none!important;/*ポチ消す*/
  margin-bottom: 5px;
  line-height: 1.5;
  background: #93c9ff;
  vertical-align: middle;
  color: #505050;
  font-size:20px;
}

ul li:before{ /*疑似要素*/
  display:inline-block; 
  vertical-align: middle;
  /*以下白丸つくる*/
  content:'';
  width:1em;
  height: 1em;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
  margin-left: 8px;
}

h2{
    background-color: #f5d5da;
    border-radius: 5px;
    color: #ef858c;
    padding: 10px 10px 10px 60px;
    position: relative;
    text-shadow: 0px 0px 10px #fff, 0px 0px 6px #fff, 0px 0px 4px #fff, 0 0 0.5px #fff;
}
h2:before{
    content: '＊*';
    color: #fff;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    margin-right: 10px;
    position: absolute;
    top: 0px;
    left: 0px;
    transform: rotate(20deg);
    -moz-transform: rotate(20deg);
    -webkit-transform: rotate(20deg);
    -o-transform: rotate(20deg);
    text-shadow: 0px 0px 3px #fff, 0px 0px 2px #fff, 0 0 0.5px #fff;
}
h2:after{
    border-bottom: 2px dotted #fff;
    content: '';
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
}
.balloon1{
  position: relative;
  padding: 20px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  text-align: center;
  color: #ffffff;
  letter-spacing: 0.2em;
  font-size: 14px;
  background-color: #ff9800;
}
.balloon1::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 2px;
  bottom: 2px;
  border-right: 20px solid #ff9800;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: rotate(-45deg);
}

	.menu {
	list-style:none; text-align:center; width:850px; margin:8px auto;
}
	.menu:after {
	content:""; clear:left; display:block;
}
	.menu li {
	float:left;
}
	.menu li a {
	width:170px; display:inline-block; -moz-box-sizing:border-box; box-sizing:border-box; line-height:250%; color:#eee; border-left:1px solid #eee;
}
	.menu li a:hover {
	background:#ddd; color:#333;
}

.addr {
	border-top:1px solid #333; width:100%; -moz-box-sizing:border-box; box-sizing:border-box;
}
.addr tr td:first-child {text-align:right;}
.addr tr td:first-child:after {content:"・・;}

.toppic {
	display:block; margin:16px auto;
}


.text{
	margin:16px;
	
}
.text p{
	text-indent:1em;
}

.shoukai tr td:first-child{text-align:right;}
.shoukai tr td:first-child:after{content:"窶ｦ";}

.rekishi ol{
	margin-left:3em;
}
.rekishi p{
	margin-bottom:1em;
}
.rekishi img{
	margin-right:8px;
}

.ryu{
	position:absolute; top:0; right:0; z-index:1;
}
.count{
	position:absolute; top:32px; left:16px; z-index:1;
}