@charset "utf-8";

/*
 * "Noto Sans CJK JP" licensed under the SIL Open Font License
 * http://www.google.com/get/noto/#/family/noto-sans-jpan
 */

@import url("reset.css");
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
body {
	background: url(../images/main.jpg) no-repeat fixed center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	font: 14px/2em "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
}
a {
	color: #39727D;
}
h1,h2,h3,h4,h5,h6,#all .main > p,article dl dt,.aside p:first-child,blockquote {
	font-family: "Noto Sans Japanese", serif, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: bold;
}

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

#all {
	width: 100%;
	min-width: 1080px;
	height:100%;
	min-height: 700px;
	padding: 40px;
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all {
	min-width: 100%;
	min-height: auto;
	padding: 0;
}
}

#all .innner {
	background: #FFF;
	width: 100%;
	height:100%;
	padding: 20px;
	border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
	position: relative;
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .innner {
	background: rgba(255,255,255,0.4);
	padding: 1em;
	border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}
}

#all .main {
	width: 960px;
	height: 100%;
	margin:auto;
	background: url(../images/main.jpg) no-repeat center center;
	position: relative;
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .main {
	width: 100%;
	height: auto;
	background: none;
	position: static;
}
}

#all .main > p {
	width: 100%;
	padding: 1em;
	text-align: center;
	position: absolute;
	top: 0;
	font-weight: bold;
	letter-spacing: 0.5em;
	line-height: 1em;
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .main > p {
	letter-spacing: 0;
	position: static;
	font-weight: bold;
	padding: 0.5em 0;
	margin: 1em 0;
	border-top: solid 1px;
	border-bottom: solid 1px;
	font-size: 0.8em;
	top: auto;

}
}

#all .caption {
	width: 300px;
	position: absolute;
	top: 45%;
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .caption {
	width: auto;
	position: static;
	top: auto;
	padding-left: 40px;
}
}

#all .caption h1 {
	font-size: 2em;
	line-height: 1em;
	font-weight: bold;
}
#all .contents {
	width: 600px;
	height: 60%;
	position: absolute;
	right: 0;
	top: 20%;
	overflow: scroll;
	text-shadow: -1px -1px 0px rgba(255, 255, 255, 0.7);
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .contents {
	width: auto;
	height: auto;
	position: static;
	top: auto;
	overflow: auto;
	margin-top: 3em;
}
}

#all .contents article {
	padding-right: 2em;
}
#all .contents article > *:first-child {
	margin-top: 0;
	padding-top: 0;
}
#all .contents article h2 {
	font-size: 1.5em;
	position: relative;
	margin: 3em 0px 2.5em;
	padding-left: 2.5em;
}
#all .contents article h2:after {
	position: absolute;
	display: block;
	content:"";
	width: 2em;
	height: 1px;
	background: #333;
	top: 0.5em;
	left: 0;

}
#all .contents article h3 {
	font-size: 1.25em;
	text-decoration: underline;
}
#all .contents article h4,.aside p:first-child {
}
#all .contents article p {
	margin-bottom: 2px;
}
#all .contents article blockquote {
	margin: 3em 6em;
	padding: 2em;
	background: rgba(0,0,0,0.2);
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .contents article blockquote {
	margin: 3em 2em;
}
}

#all .contents article ul {
	margin-top: 2em;
	margin-bottom: 3em;
}
#all .contents article ol {
	margin-top: 2em;
	margin-bottom: 3em;
}
#all .contents article li {
	margin-bottom: 0.5em;
}
#all .contents article table {
	border-spacing: 3px;
	border-collapse: separate;
	margin: 2em auto 3em;
}
#all .contents article table th {
	background: #333;
	color: #FFF;
	padding: 0.5em;
	text-shadow: none;
}
#all .contents article table td {
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
	padding: 0.5em;
	text-shadow: none;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
}
#all .contents article dl {
	margin: 2em 0em 2em 1.5em;
}
#all .contents article dl dt {
	margin: 0px;
	padding-left: 1.5em;
	border-left-width: 1px;
	border-left-style: solid;
}
#all .contents article dl dd {
	margin: 0px 0px 2em;
	padding-left: 1.5em;
	border-left-width: 1px;
	border-left-style: solid;
}
#all .contents article .aside {
	margin: 3em 0em;
}

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

#all .menu {
	width:80%;
	position: absolute;
	bottom:0;
	left:10%;
	display: block;
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .menu {
	display: none;
	width:100%;
	height: auto;
	position: absolute;
	top:0;
	left:0;
	z-index: 80;
}
}

#all .menu ol {
	text-align: center;
}
#all .menu li {
	display: inline-block;

}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .menu li {
	display: block;

}
}

#all .menu li a {
	display: block;
	padding: 0.5em 1em;
	text-decoration: none;
	line-height: 1em;
}
@media screen and (min-width:0px) and (max-width: 909px) {
#all .menu li a {
	display: block;
	padding: 1em;
	text-decoration: none;
	line-height: 1em;
	background: #fff;
}
}







/* Underline From Left */
#all .menu li a {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
}
#all .menu li a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background:#099;
  height: 2px;
  border-radius: 1px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;

  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#all .menu li a:hover:before, #all .menu li a:focus:before, #all .menu li a:active:before {
  right: 0;
}


/* 家マーク*/
.bt {
	position: absolute;
	right: 30px;
	top: 10px;
	}
	@media screen and (min-width:0px) and (max-width: 909px) {
	  .bt {
		  display: none;
		  }
	}

.bt span{
	height:30px;
	width:30px;
	display:block;
	position:relative;
} 

.home{
	width:30px;
	height:30px;
	display:block;
}

.home:before{
	content:'';
	height:0px;
	width:0px;
	display:block;
	position:absolute;
	top:12px; left:6px;
	border:14px solid transparent;
	border-bottom-color:#aaa;
	border-top:0; transform:scale(1,0.8);
	-webkit-transform:scale(1,0.8);
	-moz-transform:scale(1,0.8);
	-o-transform:scale(1,0.8);
	-ms-transform:scale(1,0.8);
}

.home:after{
	content:'';
	height:12px;
	width:11px;
	display:block;
	position:absolute;
	top:24px;
	left:7px;
	border:8px #aaa solid;
	border-top-width:4px; border-bottom:0;
}

.home2:before{
	content:''; 
	eight:10px;
	width:5px;
	display:block;
	position:absolute;
	top:6px; left:28px;
	background:#aaa;
}

.home2:after{
	content:'';
	height:24px;
	width:23px;
	border-top:5px #aaa solid;
	border-right:5px #aaa solid;
	position:absolute; top:6px;
	left:6px; transform:scale(1,0.8) rotate(-45deg);
	-webkit-transform:scale(1,0.8) rotate(-45deg);
	-moz-transform:scale(1,0.8) rotate(-45deg);
	-o-transform:scale(1,0.8) rotate(-45deg);
	-ms-transform:scale(1,0.8) rotate(-45deg);
}


/* スマホ用ボタン */
.sp_bt {
	display: none;
	position: fixed;
	width: 40px;
	height: 40px;
}

  @media screen and (min-width:0px) and (max-width: 909px) {
	.sp_bt {
		display: block;
		position: absolute;
		left:10px;
		top: 20px;
		width: 30px;
		height: 30px;
		z-index: 100;
	}
	.sp_bt span {
		display: block;
		width:30px;
		height: 3px;
		position: relative;
		background:#333;
	}
	.sp_bt span:before,.sp_bt span:after {
		content:"";
		display: block;
		width:30px;
		height: 3px;
		position: absolute;
		top: 10px;
		background:#333;	
	}
	.sp_bt span:after {
		top: 20px;
	}
  }



/* スクロールバー要素
----------------------------------------------------------- */
.jspContainer {
  overflow: hidden;
  position: relative;
}

.jspPane {
  position: absolute;
}

.jspVerticalBar {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 4px;     /* 縦スクロールバーの幅を指定 */
  height: 100%;
  background: #ffffff;

}

.jspHorizontalBar {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 4px;     /* 横スクロールバーの幅を指定 */
  background: #ffffff;
}

.jspCap {
  display: none;
}

.jspHorizontalBar .jspCap {
  float: left;
}

.jspTrack {
  background: transparent;     /* スクロールバーの背景色を指定 */
  position: relative;
}

.jspDrag {
  background: #ccc;     /* スクロールバーの色を指定 */
  position: relative;
  top: 0px;
  left: 0px;
  cursor: pointer;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

.jspHorizontalBar .jspTrack, .jspHorizontalBar .jspDrag {
  float: left;
  height: 100%;
}

.jspArrow {
  background: #50506d;
  text-indent: -20000px;
  display: block;
  cursor: pointer;
  padding: 0px;
  margin: 0px;
}

.jspArrow.jspDisabled {
  cursor: default;
  background: #80808d;
}

.jspVerticalBar .jspArrow {
  height: 16px;
}

.jspHorizontalBar .jspArrow {
  width: 16px;
  float: left;
  height: 100%;
}

.jspVerticalBar .jspArrow:focus {
  outline: none;
}

.jspCorner {
  background: #eeeef4;
  float: left;
  height: 100%;
}

/* IE6 3 pixel bug :( */
* html .jspCorner {
  margin: 0px -3px 0px 0px;
}

@media screen and (min-width:0px) and (max-width: 909px) {
#all .contents {
	width: 100%;
	height: auto;
	position: sstatic
	right: 0;
	top: 0;
	overflow: auto;
	text-shadow: -1px -1px 0px rgba(255, 255, 255, 0.7);
}
}
