@charset "utf-8";

/* CSS���Z�b�g */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,
pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,
strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,
caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,
figure,footer,header,hgroup,menu,nav,section,summary,time,mark,
audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;
vertical-align:baseline;background:transparent;font-weight:normal;}
body{line-height:1}article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section{display:block}
ul{list-style:none}blockquote,q{quotes:none}blockquote:before,
blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;
font-size:100%;vertical-align:baseline;background:transparent}
del{text-decoration:line-through}abbr[title],dfn[title]
{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;
margin:1em 0;padding:0}input,select{vertical-align:middle}
html{
	overflow: auto;
}

div#all {margin-left : auto;
margin-right : auto;
	max-width: 900px;
　　margin: auto;
font-family:"Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" ;
}

.header,.main,.footer,img {
    width: 100%;
}

div#head { margin-bottom: 75px;
margin-top: 45px;
	width: 100%;
	position: relative;		/* フッター部の配置用に定義 */
}

div.logo a{
  width: 218px;
  height: 75px;
  float: left;
  overflow: hidden;
}

.logo img{
  border: none;
  /*margin-top: -75px;*/
}

.logo a:hover img{
  margin-top: -75px;
}

nav{
     float: right;
     margin-top: 20px;
	 margin-bottom:10px;
     font-size: 95%;
}
     nav li{
          display: inline;
          margin-left: 25px;
		  margin-right: 5px;
     }
     nav a{
          color: #51160A;
          text-decoration: none;
     }
     nav a:hover{color: #9F67DD;}

div.clear{
clear:both;
}

body {
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding-right: 0;
	background: url(../img/up.png) repeat-x, url(../img/bg.jpg) repeat;
	}

div.contents{
}

#main{
	display:inline-block;
	clear:both;
}


.midasi{
	padding:0;
	margin-left: 5px;
	background:
		url(../img/midasi.png) no-repeat top left,
		url(../img/mimidasi.png) no-repeat right;
	position:relative;
 padding-left: 45px;
 width: 75%;
 height: 40px;
 font-family:Georgia, "Times New Roman", Times, serif;
 text-shadow: white 1px 1px 0px, white -1px 1px 0px,
             white 1px -1px 0px, white -1px -1px 0px;
}

h2{
	height: 40px;
	 font-size: 150%;
	 padding-top:10px;
	float:left;
	
}

.midasi p {
	font-family:"Comic Sans MS", cursive;
	padding-top:5px;
	font-size: 90%;
	float:right;
	font-weight: bold;
}

#main p {
	margin-top: 10px;
	font-family:  "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
	margin-bottom: 10px;
	
}

 p a{
          color: #B11936;
          text-decoration: none;
     }
     p a:hover{color: #9F67DD;}

#main b {
	font-size: 110%;
	color: #9F67DD;
	text-decoration: underline;
	font-family: Georgia, "Times New Roman", Times, serif;
	font: bold;
}

.banner {
	magin-top:15px;
	width: 45%;
	float: left;
}


.bannerlangage{
	padding: 5px;
	float:right;
	
}

#box{magin-top:15px;
font-family:  "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
}

#sub{
}

h3{
	margin:0; padding:0;
	background:
		url(../img/smidasi.png) no-repeat top left,
		url(../img/mimidasi.png) no-repeat right;
	position:relative;
 padding-left: 45px;
 font-size: 20px;
 display: table-cell;
 vertical-align: middle;
 width: 100%;
 height: 40px;
 font-family:Georgia, "Times New Roman", Times, serif;
 text-shadow: white 1px 1px 0px, white -1px 1px 0px,
             white 1px -1px 0px, white -1px -1px 0px;
}

h4{
	height: 40px;
	 font-size: 140%;
	 padding-top:7px;
	float:left;
		font-family:"Comic Sans MS", cursive;
	font-weight: bold;
	}


.link{
	display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-justify-content: space-around; /* Safari */
  justify-content:         space-around;
	
}

.link2{
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-direction: row;
	-moz-flex-direction: row;
	-o-flex-direction: row;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
  width: 80%;
  padding: 5px;
}

.pp{
		margin-top: 5px;
		margin-left: 20px;
	font-family:  "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
	margin-bottom: 10px;
	line-height: 20px;
}

.pp p{
	margin-top: 3px;
	font-size: 80%;
}

.pp b{margin-top: 7px;
	font-size: 120%;
	font-weight: 500;
}

.pp a{
          color: #B11936;
          text-decoration: none;
     }
.pp a:hover{color: #9F67DD;}

.mae{
	width: 100%;
	 height: 30px;
}

footer {
	overflow:  hidden;
	background:url(../img/foot.png)repeat-x;
	    height:50px; 
     bottom:0;
	 	max-width: 900px;
　　margin: auto;
text-align : center;
	 	margin-left: -500%;
	margin-right: -500%;
	padding-left: 500%;
	padding-right: 500%;
  position: relative;
}

#profile{
	magin-top:15px;
font-family:  "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
	display:inline-block;
	clear:both;
	width: 100%;
}

.profileimage {
	padding-top: 10px;
	width: 30%;
	float: left;
}


.profilelangage{
	padding: 5px;
	float:right;
	width: 67%;
	
}

.pmidasi{
	padding:0;
	margin-left: 5px;
	background:
		url(../img/mplofire.png) no-repeat top left;
 padding-left: 45px;
 width: 75%;
 height: 40px;
 font-family:Georgia, "Times New Roman", Times, serif;
 text-shadow: white 1px 1px 0px, white -1px 1px 0px,
             white 1px -1px 0px, white -1px -1px 0px;
			 border-bottom: 1px solid #FF7600;
}

.pmidasi p{
	font-family:"Comic Sans MS", cursive;
	padding-top:10px;
	font-size: 90%;
	float:right;
	font-weight: bold;
}

div#foot{
	color:#FFFFFF;
	width: 100%;
	text-align:center;
	margin-top: 20px;
	margin-left : auto;
margin-right : auto;
float:left;
}

.back{
	width: 100%;
	float:right;
	color: #5163AF;
}

/*メールフォーム全体を囲っているタグのid*/
#Contact_top {
	width: 100%;
}

/*メールフォームのパーツや送信ボタンを囲っているタグのclass（タイトル、説明文以外）*/
#Contact_top .main {

}

/*メールフォームのタイトルを囲っているタグのclass*/
#Contact_top .title{

}

/*メールフォームの説明文を囲っているタグのclass*/
#Contact_top .explain {
			margin-top: 5px;
		margin-left: 20px;
	font-family:  "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
	margin-bottom: 10px;
	line-height: 20px;
}

/*『name』パーツの表示名と入力項目を囲っているタグのclass*/
#Contact_top .name_top {
	magin-top:20px;
width: 100%;
}

/*『name』パーツの表示名を囲っているタグのclass（[ name ]の部分）*/
#Contact_top .name_left{

}

/*『name』パーツの入力項目を囲っているタグのclass*/
#Contact_top .name_right {
}

/*『name』パーツの入力項目のclass（inputなどの部分）*/
#Contact_top .name_parts {
width: 100%;
}

/*『mail』パーツの表示名と入力項目を囲っているタグのclass*/
#Contact_top .mail_top {
	width: 100%;

}

/*『mail』パーツの表示名を囲っているタグのclass（[ mail ]の部分）*/
#Contact_top .mail_left{
	

}

/*『mail』パーツの入力項目を囲っているタグのclass*/
#Contact_top .mail_right {


}

/*『mail』パーツの入力項目のclass（inputなどの部分）*/
#Contact_top .mail_parts {
width: 100%;
}

/*『url』パーツの表示名と入力項目を囲っているタグのclass*/
#Contact_top .url_top {
	width: 100%;

}

/*『url』パーツの表示名を囲っているタグのclass（[ url ]の部分）*/
#Contact_top .url_left{

}

/*『url』パーツの入力項目を囲っているタグのclass*/
#Contact_top .url_right {
	

}

/*『url』パーツの入力項目のclass（inputなどの部分）*/
#Contact_top .url_parts {
width: 100%;
}

/*『textarea』パーツの表示名と入力項目を囲っているタグのclass*/
#Contact_top .textarea_top {
width: 100%;
}

/*『textarea』パーツの表示名を囲っているタグのclass（[ comment ]の部分）*/
#Contact_top .textarea_left{
	

}

/*『textarea』パーツの入力項目を囲っているタグのclass*/
#Contact_top .textarea_right {

}

/*『textarea』パーツの入力項目のclass（inputなどの部分）*/
#Contact_top .textarea_parts {
width: 100%;
}

/*メールフォームの送信ボタンを囲っているタグのclass*/
#Contact_top .submit {
}

/*メールフォームの送信ボタンのclass*/
#Contact_top .submit_button {
	background-color:#4B1A4D;
	color:#FFFFFF;
	font-weight: 500;
}

/*エラーメッセージを囲っているタグのclass*/
#Contact_top .error {

}

/*エラーメッセージのリトライボタンを囲っているタグのclass*/
#Contact_top .error_submit {

}

/*エラーメッセージのリトライボタンのclass*/
#Contact_top .error_submit_button {
	background-color:#4B1A4D;
	color:#FFFFFF;
	font-weight: 500;
}

/*送信完了メッセージを囲っているタグのclass*/
#Contact_top .result {

}

/*送信完了メッセージの戻るボタンを囲っているタグのclass*/
#Contact_top .result_submit {

}

/*送信完了メッセージの戻るボタンのclass*/
#Contact_top .result_submit_button {

}

#shinobi_jp_text{
	margin:10px;
	font-family:"Comic Sans MS", cursive;
}

/* レスポンシブデザイン定義 */


@media (min-width: 900px) {	
div.contents{
	display:inline-block;
	clear: both;
}
div#main after{
	margin-top: 10px;
	float:left;
	width: 70%;
}

div#sub{
		display:inline-block;
	clear: both;
	float:right;
	width: 30%;
}

}
