@charset "utf-8";

*{
  margin: 0;
  padding: 0;
}

html,body{
     height:100%;
}

body {
  margin: 0 auto;
  padding: 0;
  font-size: 12pt;
  background: url(wall01a.gif) scroll repeat;
  color: #000;
  font-family: Verdana,"MS PGothic",Osaka,Arial,sans-serif;
}
#main, #logo, #menubar, #site_content, #footer {
  margin-left: auto; 
  margin-right: auto;
}

/*#main {
  height:70%;
}*/

#site_content {
  min-height:77%;
}
ul {
  margin-left:2em;
}
#header {
  background: transparent url(header-background03.jpg) repeat;
  border-bottom: 1px solid #e6e6e6;
  height: 186px;
}
  
#banner
{  background: transparent url(banner.jpg) no-repeat;
  width: 860px;
  height: 180px;
  margin-bottom: 20px;
  border: 10px solid #DDD;}

#logo
{ width: 924px;
  position: relative;
  height: 140px;
  /*background: #FFF;*/
  background: transparent url(logo-background01.jpg) no-repeat;
}

#logo #logo_text 
{ position: absolute; 
  top: 0px;
  left: 1em;}

#logo h1, #logo h2
{ font: normal 300% 'century gothic', arial, sans-serif;
  border-bottom: 0;
  text-transform: none;
  margin: 0 0 0 9px;}

#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover 
{ padding: 2px 0 0 0;
  color: #323232;
  letter-spacing: 0.1em;
  text-decoration: none;}

#logo_text h1 a .logo_colour
{ color: #00C6F0;}

#logo_text a:hover .logo_colour
{ color: #DDD;}

#logo_text h2 { 
  font-size: 100%;
  margin-top: -18px;
  margin-left: 7em;
  padding: 4px 0 0 0;
  color: #999;
}
#menubar {
  width: 904px;
  height: 45px;
  padding-right: 18px;
  background: #f7f6f5;
  border-top: 1px solid #CCC;
}

ul#menu {
  float: right;
  margin: 0;
  padding: 0;
  font-size: 10pt;
}

ul#menu li {
  float: left;
  padding: 0 0 0 9px;
  list-style: none;
  margin: 8px 2px 0 2px;
}

ul#menu li a {
  font: normal 100% Verdana,'trebuchet ms', sans-serif;
  display: block; 
  float: left; 
  height: 20px;
  padding: 6px 20px 5px 20px;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  background: #a4a8d4;
} 

ul#menu li.selected a {
  height: 20px;
  padding: 6px 20px 5px 11px;
}

ul#menu li.selected {
  margin: 8px 4px 0 13px;
  background: #24140e;
}

ul#menu li.selected a, ul#menu li.selected a:hover
{ background: #24140e;
  color: #FFF;
}

ul#menu li a:hover {
  background: #f39800;
  color: #FFF;
}

#search {
  float: right;
  margin-top: 5.53em;
  margin-right: 15px;
}
#searchform4 {
	width: 200px;
	background: url(input4.gif) left top no-repeat; 
	display: block;
	height: 24px;
	position: relative;
}
#keywords4 {
	width: 156px;
	position: absolute;
	top: 3px;
	left: 10px;
	color: #808080;
	border: 1px solid #FFF;
}
#searchBtn4 {
	position: absolute;
	top: 3px;
	left: 174px;
}
input.keywd {
	color: #808080;
}
/* スクリプト・タイトル */
p.script-ttl01 {
  line-height:100%;
  margin-top:2mm;
  margin-bottom:1mm;
  text-align: center;
}
p.script-ttl02 {
  line-height:100%;
  margin-top:0mm;
  margin-bottom:3mm;
  text-align: center;
}
#site_content {
  position: relative;
  width: 900px;
  background: #FFF;
  overflow: hidden;
  margin-left: auto; 
  margin-right: auto;
  padding: 10px;
  border-right: solid #cbd0d3 1px;
  border-left: solid #cbd0d3 1px;
}

#content {
  text-align: left;
  width: 900px;
  padding: 0;
  margin-left: auto; 
  margin-right: auto;
}
  
#footer {
  width: 100%;
  font-family: Verdana,'trebuchet ms', sans-serif;
  font-size: 12pt;
  height: 100px;
  padding: 38px 0 20px 0;
  margin-bottom: 0;
  text-align: center;
  /*background: url(pattern.png) repeat;*/
  background: #232f3e;
  /*border-top: 60px solid #37475a;*/
  color: #FFF;
}

#footer p
{ line-height: 1.7em;
  padding: 0 0 10px 0;}

#footer a {
  color: #FFF;
  text-decoration: none;
}

#footer a:hover
{ color: #00C6F0;
  text-decoration: none;
}

#footer_head {
  width: 100%;
  font-family: 'trebuchet ms', sans-serif;
  font-size: 10pt;
  height: 60px;
  padding: 30px 0 0px 0;
  margin-bottom: 0;
  text-align: center;
  /*background: url(pattern.png) repeat;*/
  background: #37475a;
  color: #FFF;
}
#footer_head a {
  color: #FFF;
  text-decoration: none;
}

footer {
    font-size: 11pt;
    margin-bottom: 2px;
    margin-top: 3px;
    text-align: center;
    line-height:100%;
    font-family: Verdana,Helvetica,Arial;
}

#body {
	margin: 1em auto;
}
.checkcom {
	display:block;
	width:250px;
	color:#e95388;
	font-size:10pt;
	font-weight:bold;
	padding:0;
	margin-left:auto;
	margin-right:auto;
	margin^bottom:0;
}
#gr_checkbox {
    display: table;
    margin: 10px auto;
}

#gr_submit:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* for table */
#form-tbl {
	width:740px;
	margin-left:auto;
	margin-right:auto;
	padding:0;
	color:#252525;
}
.clear {
	clear: both;
}
#form {
	width:740px;
	border-collapse: collapse;
	margin: 1em auto;
}
::placeholder {
  color: #f39800;
  font-size: 11pt;
}
#form th, #form td {
	border: 1px solid #cbd0d3;
	padding: 8px;
}
#form th {
	font-size:11pt;
	white-space: nowrap;
	background: #f7f6f5;
}
#form td {
	font-size:11pt;
	background: #fff;
}
#form-tbl td img {
	border: none;
	vertical-align: middle;
}
/* メッセージフォーム案内 */
div.msg_ttl {
	color: #fff;
	font-size: 13pt;
	padding: 8px;
	margin-top:0;
	margin-bottom:0;
	background-color:#008db7 ;
	/*border: 1px solid #9fa09e;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	box-shadow: 0px 2px 3px #cac4ac;
	-webkit-box-shadow: 0px 2px 3px #cac4ac;
	-moz-box-shadow: 0px 2px 3px #cac4ac;*/
}
div.msg_point {
	margin: 0px auto 5px auto;
	/*-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	box-shadow: 0px 4px 2px #cac4ac;
	-webkit-box-shadow: 0px 4px 2px #cac4ac;
	-moz-box-shadow: 0px 4px 2px #cac4ac;*/
	color: #4d4d4d;
	font-size: 11pt !important;
	background: #fff;
	padding: 5px;
	border: solid #abb1b5 1px;
	text-decoration: none;
	line-height:1.5;
}

.ta-c {
	text-align: center;
}
p.btn input {
	width: 110px;
	height: 32px;
}

.radio {
  margin: 0.5rem;
}
.radio input[type=radio] {
  position: absolute;
  opacity: 0;
}
.radio input[type=radio] + .radio-label:before {
  content: "";
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}
.radio input[type=radio]:checked + .radio-label:before {
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type=radio]:focus + .radio-label:before {
  outline: none;
  border-color: #3197EE;
}
.radio input[type=radio]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio input[type=radio] + .radio-label:empty:before {
  margin-right: 0;
}

.cp_iptxt {
	position: relative;
	width: 80%;
	margin: 10px;
}
.cp_iptxt input[type='text'] {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 70%;
	padding: 0.3em;
	transition: 0.3s;
	letter-spacing: 1px;
	color: #000;
	border: 1px solid #d3d6dd;
	/*box-shadow: 1px 1px 2px 0 #707070 inset;*/
	border-radius: 4px;
}
.ef input[type='text']:focus {
	border: 1px solid #f39800;
	/*outline: none;
	box-shadow: inset 1px 1px 2px 0 #c9c9c9;*/
}
.cp_iptxt textarea {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 90%;
	padding: 0.3em;
	transition: 0.3s;
	letter-spacing: 1px;
	color: #000;
	border: 1px solid #d3d6dd;
	/*box-shadow: 1px 1px 2px 0 #707070 inset;*/
	border-radius: 4px;
}
.ef textarea:focus {
	border: 1px solid #f39800;
	/*outline: none;
	box-shadow: inset 1px 1px 2px 0 #c9c9c9;*/
}

/* セレクトボックス */
.cp_ipselect {
	overflow: hidden;
	width: 160px;
	margin: 10px auto 10px 1em;
	text-align: left;
}
.cp_ipselect select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl01 {
	position: relative;
	border: 1px solid #bbbbbb;
	border-radius: 2px;
	background: #ffffff;
}
.cp_ipselect.cp_sl01::before {
	position: absolute;
	top: 0.8em;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666666;
	pointer-events: none;
}
.cp_ipselect.cp_sl01 select {
	padding: 8px 38px 8px 8px;
	color: #666666;
}
/* 画像認証 */
 .form-field4 {
   border: 0px solid #a2a2c7;
   background: #e6e6e6;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
   border-radius: 4px;
   color: #767eb8;
   -webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
   -moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
   box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
   padding:6px;
   margin:10px;
   width:160px;
   font-size: 13pt;
}
 .form-field4:focus {
   border: 1px solid #a2a2c7;
   background: #fff;
   color: #3d3c3b;
}

/* for title */
.sub-ttl {
	font-size: 100%;
	text-align: left;
	border-left: solid 4px #ef002d;
	border-bottom: 1px solid gray;
	padding: 4px 6px;
	margin: 1.5em 0;
	width: 500px;
}

/* for message */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	#body { margin: 0; padding: 0; }
	
	/* 投稿フォーム */
	#form-tbl { margin: 0 auto; text-align: center; }
	#form { width: 100%; margin: 10px auto; }
    #form th, #form td {
    	text-align: left;
		width: 100%;
        display: block;
        padding: 6px 3px;
        border-top: none;
    }
    #form tr:first-child th	{ border-top: 1px solid #666; }
    p.btn input { width: 10em; }
    
	/* 小見出し */
	h2 { margin: 1em 3px; width: 90%; }
	
	/* サンクス */
	p.msg { margin: 1em auto; }
}
