@charset "utf-8";
/* CSS Document */


/* ========初期化設定======== */
* {
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #000;
}
html{
    height:100%;
}

body {
	background: url(../images/nagasaki.jpg) #84be74 no-repeat center center fixed;
	font-size: 1.2rem;
	line-height: 1.5;
	text-align: center;
	margin:0 auto;
    padding:0;
}

a {
	color: #0066ff;
}

a:visited {
	color: #0066ff;
	text-decoration: none;
}

a:hover {
	color: #0066ff;
	text-decoration: underline;
}

a img{
	border:none;
}

.thankslink a{
	color: #0099FF;
	text-decoration:underline;
}
.thankslink a:hover{
	color: #990000;
	text-decoration: none;
}
.osu a:hover {
	position:relative;
	top:1px;
	left:1px;

}
h1,h2,h3,h4,h5,h6 {
   margin:0;
}

img{
	border:0;
}
img.w100p {
	width:100%;
}
hr{
  	border-top:solid 1px #999999;
	width:94%;
	height:1px;
	margin-top:30px;
}
* html hr{/* for -IE6 */
  margin:0;
}
*:first-child+html hr{/* for IE7 */
  margin:0;
}
dl dt{
	font-weight:bold;
}
dd {
	margin-bottom:30px;
}
/* ======== 全体 ======== */

.clear {
	clear:both;
}
.imgl {
	float:left;
	margin:0 10px 10px 30px;
}
.imgc {
	     margin: auto;
  display: block;
}
.imgr {
	float:right;
	margin:10px;
}
.imgr2 {
	float:right;
	margin:0 0 10px 10px;
}



/* ========全体レイアウト======== */
#wrapper {
	width:900px;
	background:url("../images/bg_wrapper.png") 0 0 repeat-y;
	text-align:center;
	margin:0 auto;
	position:relative;
	bottom:0;
}
@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
	#wrapper {
		width:600px;
	}
}


#container {
	background:#fff;
	margin:0 25px;
	text-align:left;
	padding:20px 0;
	width:94%;
}
@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
	#container {
		margin:0 0px;
		text-align:left;
		padding:10px 0;
		width:100%;
	}
}
#header {
	width:100%;
	margin:0 auto;
	text-align:center;
	color:#fff;
}

#nav {
	width:100%;
	float:left;
    background:#fff url("../images/menu_bg.jpg") 0 0 repeat-x;
	position:relative;
	top:0;
}

#contents {
	float:left;
}

#main {
	width:100%;
}
img.icatch01 {
	width:100%;
}



#footerlink {
	position:relative;
	top:15px;
	padding:0 100px;
}

#footer {
	width:100%;
	height:30px;
	background:#02024d;
	margin:100px auto　0;
	position:absolute;
    bottom:0px;
	color:#fff;
	font-weight:bold;
	font-size:1rem;
	padding-top:5px;
}



/* ========ヘッダー======== */
#header {
}

#headlink {
margin:0;
}

#headlink ul {
	font-size:80%;
	float:right;
	margin:0;
color:#fff;
}
#headlink li {
	list-style:none;
	float:right;
	margin-left:10px;
	color:#fff;

}

#headlink li a {
	color:#fff;
	text-decoration:none;
}




/* ========MENU CUSTOMIZE======== */
div#nav ul {
   width:800px;
   margin:0 auto;
   padding:0;
}

div#nav li {
   float:left;
   font-size:75%;/* 12px相当 */
   color:#333;
   text-align:center;
   list-style-type:none;
   font-weight:bold;
}

div#nav li a{
   display:block;
   width:132px;
   color:#5A5132;
   line-height:30px;
   border-right:1px solid #D8D8D8;
   font-weight:bold;
}

div#nav li.home a {
   border-left:1px solid #D8D8D8;
}

div#nav li a:hover {
   color:#FF6600;
   text-decoration:none;
   background:#fff url("../images/menu_bg.jpg") 0 -30px repeat-x;
   z-index:100;
}




/* ========本文======== */

h2 {
		font-weight:bold;
	font-size:1.7rem;
	line-height:1.3;
	color:#000;
	text-align:left;
	background:#fff;
	padding:10px;
}

h3 {
	font-weight:bold;
	font-size:1.2rem;
	color:#000;
	text-align:left;
	background:#0ca2d6;
	padding:5px 10px;
	margin-top:50px;
}

h4 {
	font-size:2rem;
}

.title_limit {
    position: relative;
    z-index:200;
	top:100px;
	right:20px;
    background: #fff;
    padding: 5px;
    float: right;
}
.title_event {
    position: relative;
    z-index: 100;
	top:70px;
	left:10px;
	font-size:1.5rem;
	font-weight:bold;
	color:deeppink;
    background: yellow;
	padding: 5px;
	margin:0;
	float:left;
}
.title_limit_on {
    position: relative;
    z-index: 3;
    top:-50px;
	right: -200px;
    background: yellow;
    padding: 5px;
    float: right;
	transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    -webkit-transform: rotate(10deg);
}

p.title_limit_last {
    position: relative;
    z-index: 100;
transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    top:-220px;
right:-200px;
    background: #fff;
    padding: 5px;
    float: right;
}

p {
	margin:20px 25px;ふ
	line-height:160%;
	font-size:1rem;
}

a {
	color:#009;
	text-decoration:none;
}
a.buttoncss {
	background: #FCF600;
	padding:30px;
	color:#000;
	border-radius: 10px;		/* CSS3草案 */
   -webkit-border-radius: 10px;	/* Safari,Google Chrome用 */
   -moz-border-radius: 10px;	/* Firefox用 */
   font-size:1.6rem;
   font-weight:bold;
   margin:30px auto;
   text-align:center;
}
a:hover.buttoncss   {
	position:relative;
	top:1px;
	right:1px;
	text-decoration:none;
}

@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
	a.buttoncss {
		padding:15px;
	   font-size:1.8rem;
	   margin:10px auto;
	}
	.title_limit_on {
    position: relative;
    z-index: 3;
    top:-100px;
	right: -400px;
    background: yellow;
    padding: 5px;
    float: right;
	transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    -webkit-transform: rotate(10deg);
}
}

a.buttoncssb {
	background:#C03;
	padding:30px 30px;
	color:#fff;
	border-radius: 10px;		/* CSS3草案 */
   -webkit-border-radius: 10px;	/* Safari,Google Chrome用 */
   -moz-border-radius: 10px;	/* Firefox用 */
   font-size:1.6rem;
   font-weight:bold;
   margin:30px auto;
   text-align:center;
}
a:hover.buttoncssb   {
	position:relative;
	top:1px;
	right:1px;
	text-decoration:none;
}

a.buttoncsss {
	background:red;
	padding:10px;
	color:#fff;
	border-radius:10px;
	display:block;
	float: right;
	font-size: 14px;
	margin: 0 20px 10px;
}
a:hover.buttoncsss   {
	position:relative;
	top:1px;
	right:1px;
	text-decoration:none;
}

a.button  {
	margin:20px auto;
	text-align:center;
	position:relative;
}
a:hover.button img {
	position:relative;
	top:1px;
	left:1px;
}
.tokutennaiyo {
	font-size:130%;
	color:#F06;
	font-weight:bold;
}
.discription {
   background: #eee;
   padding: 30px;
   line-height:200%;
   text-align: left;

}
.toku_fin_parents {
	position:relative;
}


.toku_fin {
	position: relative;
	float:right;
	top:80px;
    z-index: 500;
    background: #fff;
    font-weight: bold;
    color: red;
    font-size: 2rem;
	transform:skew(4deg,4deg);
	width:250px;
	text-align:center;

}

@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
	.toku_fin {
	top:80px;
}
}

.sp-20px {
	margin-top:20px;
}
.sp-50px {
	margin-top:50px;
}
.sp-70px {
	margin-top:70px;
}
.sp-100px {
	margin-top:100px;
}
@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
	.sp-100px {
		margin-top:80px;
	}
}



/* ========フッター======== */
#footerlink ul {
	position:relative;
	margin:0 auto;
}

#footerlink li {
	float:left;
	font-size:80%;
	list-style-type:none;
}


#footer .copy {
	font-size:80%;
	position:relative;
	top:10px;
        color: #fff;
}




/* ========文字======== */

.white {
	color:#fff;
}
.f-yellow {
	color:yellow;
}
.f-blue {
	color:blue;
}
.b {
	font-weight:bold;
}
.rb {
	font-weight:bold;
	color:crimson;
}

.f-60 {
	font-size:60%;
}
.f-75 {
	font-size:75%;
}
.f-80 {
	font-size:80%;
}
.f-130 {
	font-size:130%;
}
.f-150 {
	font-size:150%;
}
.f-200 {
	font-size:200%;
}
.f-300 {
	font-size:300%;
}
@media screen and (max-width:767px){

	.f-150 {
		font-size:120%;
	}
}
.f-190 {
	font-size:190%;
}
.f-230 {
	font-size:230%;
}
.sign {
	font-weight:bold;
	font-family:"ＭＳ 明朝","ＭＳ Ｐ明朝", "細明朝体", "ヒラギノ明朝 Pro W3";
}


/* ========囲み======== */
.bg-y {
background:yellow;
}
.prof {
   margin: 50px auto 100px;
   border:#02024d solid 3px;
	 color:#02024d;
}
@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
	.prof {
		margin: 0 2% 50;
	}
}
.prof h2 {
	font-weight:bold;
	font-size:2rem;
	color:yellow;
	background: dodgerblue;
	padding:20px 15px;
	text-align:left;
}
.prof h3 {
	font-weight:bold;
	font-size:1.2rem;
	color:#pink;
	background: none;
	padding:10px 15px;
	text-align:left;
	margin:0;
}

.prof h4 {
	font-weight:bold;
	font-size:1.2rem;
	color:#02024d;
	margin:25px 30px 10px;
	padding-left:5px;
	border-left:solid 10px #02024d;
}
@media screen and (max-width:767px){
	.prof h2 {
		font-size:2rem;
	}
	.prof h3 {
		font-size:1.5rem;
	}
	.prof h4 {
	font-size:1.6rem;
}
}
.prof h5 {
	margin-top:20px;
	text-align:center;
	font-size:1.5rem;
}

.prof p {
	font-size:1rem;
	line-height:1.4;
	margin:0 30px 30px;
}
@media screen and (max-width:767px){
	.prof p {
		font-size:1.5rem;
		line-height:1.6;

}
}
.profmainph {margin: 0 30px 10px;
float: left;}
.profmainph img {
	height: 325px;
	width: auto;
}
@media screen and (max-width:767px){
.profmainph img {
	height: 220px;
}
}
.profmainph2 {margin: 0 0 10px 30px;
	position: relative;
	top:7px;
float: left;}
.profmainph2 img {
	height: 176px;
}
.profmainph2b {margin: 0 0 0;
float: left;}
.profmainph2b img {
	height: 176px;
}
.profmainph3 {margin: 0 30px 10px;}
.profmainph3 img {
	height: 176px;
}
.profmainph4 {margin: 0 30px 10px;}
.profmainph4 img {
	height: 180px;
}



.prof ul{
	margin:30px;
}
.prof ul li {
	font-size:.9rem;
	margin:1px auto;
}
@media screen and (max-width:767px){
	.prof ul li {
	font-size:1.3rem;
}
}
.tokuten2ph {
	float: left;
}
.tokuten2ph img {
	width: 50%;
	height: auto;
}
.prof_book {
	margin:0 20px 20px 30px;
}

.prof_book img{
	border: 1px solid #aaa;
	width:200px;
	height: auto;
}
.prof_book  a:hover img {
opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha(opacity=50)";
	transition:0.5s;
}
.kakomi {
	border:solid 3px #333;
	margin:20px auto;
	padding:20px;
	font-size:1.2rem;
	font-weight:bold;
}
.kakomi-r {
	border:solid 3px #CC0000;
	margin:20px auto;
	padding:20px;
	font-size:1.5rem;
	font-weight:bold;
	color:#c00;
	text-align:center;
}

.fin img
{
position:relative;
top:-100px;
left:200px;
    margin-bottom: -100px;
}
.borderb1 {
   border-color:#e8247d;
}
h2.bg1{
	background-color: #e8247d;
}

.borderb2 {
   border-color:#0ca2d6;
}
h2.bg2{	background: #0ca2d6;
}
h4.color2{
	border-color:#0ca2d6;
	color: #0ca2d6;
}
.borderb3 {
   border-color:#1226aa;
}
h2.bg3{	background: #1226aa;
}
h4.color3{
	border-color:#1226aa;
	color: #1226aa;
}
.borderb4 {
   border-color:#0056b8;
}
h2.bg4{	background: #0056b8;
}
h4.color4{
	border-color:#0056b8;
	color: #0056b8;
}
.borderb5 {
   border-color:#005678;
}
h2.bg5{	background: #005678;
}
h4.color5{
	border-color:#005678;
	color: #005678;
}
