@charset "UTF-8";
/**
 * メインスタイルシートstyle.cssをfome用にアレンジ
 */

/* import
----------------------------------------------- */

@import "editor.css";


/* Layout
----------------------------------------------- */

html {
	background: #EFEFEF;
}
body {
		font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
		font-size: 14px;
		-webkit-text-size-adjust: none;
		line-height: 1.5;
		color: #000;
}
header {
}
header .header-inner{
	width:100%;
	margin:0 auto;
}
footer {
	background-color: #EFEFEF;
	padding:0;
	margin:0 auto;
}
#Page {
	margin:0 auto;
	background: #FFFFFF;
}
#Wrap {
	width:100%;
	margin:0 auto;
}
.contents-body {
	width:100%;
	margin:40px 0;
	padding:0 20px
}
#Copyright {
	font-size: .75rem;
	color:#999;
	width:100%;
	margin:0 auto;
	padding: 1rem;
	text-align: center;
}
#SideBox h2 {
	font-weight: bold;
}

.txtCation {
	color: #C30;
}
/* original form
----------------------------------------------- */
table tbody tr th {
	width: 20%;
}
table tbody tr td span input,
table tbody tr td span select {
	width: 70%;
}
table tbody tr td span textarea {
	width: 100%;
}
/*横にテキストなど注意書きが入る場合は横幅を調整*/
.radio, .checkbox > input, .age, .zip, .tel, .date, .number {
	width: auto;
}
.pref {
	width: 15%;
}
table tbody tr .required {
		color:#FFF;
		font-size:10px;
		background-color: #C30;
		padding:4px 5px;
		font-weight: normal;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		white-space: nowrap;
		margin-left:5px;
		margin-right:5px;
		vertical-align: middle;
}
table tbody tr .normal {
		color:#FFF;
		font-size:10px;
		background-color: #CCC;
		padding:4px 5px;
		font-weight: normal;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		white-space: nowrap;
		margin-left:5px;
		margin-right:5px;
		vertical-align: middle;
}
table tbody tr td span ul {
	margin-bottom: 0 !important;
}
.btn_close {
	margin: 0 auto;
	text-align: center;
}
/*確認画面のみCSS*/
#page_confirm table tbody #FieldMessageZip {
	display: block !important;
}

/* list num
----------------------------------------------- */

.list-num {
	text-align: right;
	margin-bottom: 20px;
}


/* button
----------------------------------------------- */

.submit .button{
		color:#333;
		border:1px solid #CCC;
		cursor:pointer;
		text-shadow:rgba(255,255,255,0.4) 1px 1px 0;
		-webkit-border-radius:2px;
		-moz-border-radius:2px;
		-o-border-radius:2px;
		border-radius:2px;
		-webkit-box-shadow:inset 0 0 0 1px rgba(255,255,255,0.4);
		-moz-box-shadow:inset 0 0 0 1px rgba(255,255,255,0.4);
		-o-box-shadow:inset 0 0 0 1px rgba(255,255,255,0.4);
		box-shadow:inset 0 0 0 1px rgba(255,255,255,0.4);
		background:#F3F3F3;
		background:-moz-linear-gradient(top,#FFF,#F3F3F3);
		background:-webkit-gradient(linear,left top,left bottom,from(#FFF),color-stop(100%,#F3F3F3));
		background:-o-linear-gradient(top,#FFF,#F3F3F3);
		margin:10px;
		padding:5px 40px;
		font-weight: bold;
		font-size: 16px;
		white-space: nowrap;
		line-height: 24px;
}
.submit .button:hover{
		border:1px solid #CCC;
		text-decoration:none;
		background:#f4f4f4;
		background:-moz-linear-gradient(top,#f4f4f4,#dfdfdf 100%);
		background:-webkit-gradient(linear,left top,left bottom,from(#f4f4f4),color-stop(100%,#dfdfdf));
		background:-o-linear-gradient(top,#f4f4f4,#dfdfdf 100%);
}
.submit .button:active{
		border:1px solid #CCC;text-decoration:none;
		background:#cdcdcd;
		background:-moz-linear-gradient(top,#cdcdcd,#eee 100%);
		background:-webkit-gradient(linear,left top,left bottom,from(#cdcdcd),color-stop(100%,#eee));
		background:-o-linear-gradient(top,#cdcdcd,#eee 100%);
}


/* button small
----------------------------------------------- */

.button-small{
		text-decoration: none!important;
		display:inline-block;
		padding:4px 10px 4px;
		margin-bottom:0;
		font-size:13px;
		line-height:18px;
		color:#333!important;
		text-align:center;
		text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);
		vertical-align:middle;
		cursor:pointer;
		background-color:#f5f5f5;
		background-image:-ms-linear-gradient(top, #fff, #e6e6e6);
		background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
		background-image:-webkit-linear-gradient(top, #fff, #e6e6e6);
		background-image:-o-linear-gradient(top, #fff, #e6e6e6);
		background-image:linear-gradient(top, #fff, #e6e6e6);
		background-image:-moz-linear-gradient(top, #fff, #e6e6e6);
		background-repeat:repeat-x;
		border:1px solid #ccc;
		border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
		border-color:#e6e6e6 #e6e6e6 #bfbfbf;
		border-bottom-color:#b3b3b3;
		-webkit-border-radius:4px;
		-moz-border-radius:4px;
		border-radius:4px;
		filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
		filter:progid:dximagetransform.microsoft.gradient(enabled=false);
		-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
		-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
		box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
		border-color:#ccc;
		border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.button-small:hover{
		background-color:#e6e6e6;
		color:#333;
		text-decoration:none;
		background-color:#e6e6e6;
		background-position:0 -15px;
		-webkit-transition:background-position .1s linear;
		-moz-transition:background-position .1s linear;
		-ms-transition:background-position .1s linear;
		-o-transition:background-position .1s linear;
		transition:background-position .1s linear;
}

/* clear
----------------------------------------------- */

.clear {
		clear:both;
}
.clearfix:after {
		content: " ";
		display: block;
		clear: both;
		height: 0;
}
.clearfix {
		display: inline-block;
}
.clearfix {
		display: block;
}

/* submit
----------------------------------------------- */

.submit {
	text-align:center;
	margin-top:20px;
	margin-bottom:20px;
}


/* baserCMS parts
----------------------------------------------- */

.edit-link {
		margin-bottom:10px;
		text-align:right;
		font-size: 12px;
}
.edit-link a{
		border:1px solid #1C98D4;
		color:#1C98D4;
		padding:5px 10px;
		text-decoration:none;
}
.edit-link a:hover{
		color:#1C98D4;
		text-decoration:underline;
}
.upload-file input[type=file] {
		margin-bottom: 5px;
}
.upload-file a {
		padding:5px;
		background-color: #F1F1F1;
		display: inline-block;
}


/* CakePHP parts
----------------------------------------------- */

table.cake-sql-log {
		width:90%;
		border-top: 1px solid #ccc;
		border-left: 1px solid #ccc;
		border-bottom: 1px solid #666;
		border-right: 1px solid #666;
		color:#333;
		background-color: #fff;
		clear:both;
		padding: 0;
		margin: 0 0 1em 0;
		white-space: normal;
		border-collapse:separate;
		margin:20px auto;
}
table.cake-sql-log caption {
		font-weight:bold;
		text-align:center;
}
table.cake-sql-log th {
		background-color: #e2e2e2;
		padding:4px 8px;
		font-weight:bold;
		text-align:center;
		border-top-width: 1px;
		border-right-width: 1px;
		border-bottom-width: 1px;
		border-left-width: 1px;
		border-top-style: solid;
		border-right-style: solid;
		border-bottom-style: solid;
		border-left-style: solid;
		border-top-color: #FFFFFF;
		border-right-color: #666;
		border-bottom-color: #666;
		border-left-color: #FFFFFF;
		font-size:0.8em;
}
table.cake-sql-log tr td {
		background-color: #F7F7F7;
		padding:6px 8px;
		vertical-align:top;
		text-align: left;
		border-right-width: 1px;
		border-bottom-width: 1px;
		border-right-style: solid;
		border-bottom-style: solid;
		border-right-color: #ccc;
		border-bottom-color: #ccc;
		font-size:0.8em;
}
#flashMessage, #ResultMessage {
	padding:10px 20px;
	margin:15px auto!important;
	color:#FF0033;
	font-weight:bold;
	border:5px solid #FF0033;
}
#MailMessageIndexForm .required{
		color:#FFF;
		font-size:10px;
		background-color: #C30;
		padding:4px 5px;
		font-weight: normal;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		white-space: nowrap;
		margin-left:5px;
		margin-right:5px;
		vertical-align: middle;
}
#MailMessageIndexForm .normal{
		color:#FFF;
		font-size:10px;
		background-color: #CCC;
		padding:4px 5px;
		font-weight: normal;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		white-space: nowrap;
		margin-left:5px;
		margin-right:5px;
		vertical-align: middle;
}

.form-error {
	background-color:#FCF5EB;
}
.error-message {
	color:#FF0033;
	font-weight: bold;
	font-size: small;
}


/* mega menu list */
nav .nav-menu {
	display: block;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 15;
}

/* a top level navigation item in the mega menu */
nav .nav-item {
	list-style: none;
	display: inline-block;
	padding: 0;
	margin: 0;
}

/* first descendant link within a top level navigation item */
nav .nav-item > a {
	position: relative;
	display: inline-block;
	padding: 0.5em 1em;
	margin: 0 0 -1px 0;
	border: 1px solid transparent;
}

/* focus/open states of first descendant link within a top level
	 navigation item */
nav .nav-item > a:focus,
nav .nav-item > a.open {
	border: 1px solid #dedede;
}

/* open state of first descendant link within a top level
	 navigation item */
nav .nav-item > a.open {
	background-color: #fff;
	border-bottom: none;
	z-index: 2;
}

/* sub-navigation panel */
nav .sub-nav {
	position: absolute;
	display: none;
	padding: 20px;
	border: 1px solid #dedede;
	background-color: #fff;
	z-index:1;
}
#MainImage {
	z-index:0;
}
/* sub-navigation panel open state */
nav .sub-nav.open {
	display: block;
}

/* list of items within sub-navigation panel */
nav .sub-nav ul {
	display: inline-block;
	vertical-align: top;
	margin: 0 1em 0 0;
	padding: 0;
}

/* list item within sub-navigation panel */
nav .sub-nav li {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

nav .ul-level-2 a{
	padding:10px 20px!important;
}
nav .ul-level-3 {
	margin-left:80px!important;
	margin-bottom:20px!important;
}
nav .ul-level-3 a{
	padding:0px!important;
}

.ul-level-2,
.ul-level-3 {
	margin-left:40px;
}

.eyecatch-list li{
	float:left;
	list-style: none!important;
	margin:15px;
}
.eyecatch-list li img {
	width:250px;
}
#SearchIndexQ {
		width:95%;
}

/* ==================================================== */
/* Media Queries
/* ==================================================== */
@media screen and (max-width: 960px) {
	/* original form
	----------------------------------------------- */
	table tbody tr th, table tbody tr td {
		width: 100%;
		display: block;
	}
	table tbody tr td span input,
	table tbody tr td span select {
		width: 100%;
	}
	/*横にテキストなど注意書きが入る場合は横幅を調整*/
	/*スマホtel、都道府県のみは100%で*/
	.tel, .pref {
		width: 100%;
	}
	.contents-body th, .cke_editable th {
		border-bottom: 0 !important;
		border-top: 1px solid #999;
		background-color: #EAF3FD;
	}
	.contents-body td, .cke_editable td {
		border-bottom: 0 !important;
	}
}
