
/*
body_color : #e0c784
body_bg : #1b0902
border : #897954
btn_bg_base : #7e0207
btn_bg_highlight : #a80005


highlight
*/

.ex-section__body > *:first-child,
.pj-second > *:first-child,
.ex-panel__body > *:first-child{ margin-top: 0; }
.ex-section__body > *:last-child,
.ex-panel__body > *:last-child,
.ex-panel__img > *:last-child{ margin-bottom: 0;}

.pj-contents { box-sizing: border-box; }
.pj-contents *,
.pj-contents *:before,
.pj-contents *:after{ box-sizing: inherit; }

.pj-contents {
	background-color:  #1b0902;
	color: #e0c784;
	margin: 0;
}

.pj-page__inner {

}

.ex-keyvisual{ text-align: center }
.ex-keyvisual img { width: 100% }
.ex-contents {  padding-bottom: 3em  }

.ex-section + .ex-section { margin-top: 3em; padding-top: 3em; border-top: 1px solid #e0c784; }
.ex-section__header { text-align: center; }
.ex-section__header > * { margin-top: 0; }
.ex-section__header img { max-width: 56% }
.ex-section__body { margin-top: 3em }

@media ( max-width: 680px ){
	.ex-prize .ex-section__body > .bs-grid > *:nth-child(2) { padding-top: 2em }
}

.ex-app .ex-section__body { margin-top: 5em }

.ex-step > *{
	padding-top: 3em;
}
.ex-step h3 {
	margin: 0;
	position: relative;
	margin-top: -2em;
	text-align: center;
}
 
.ex-step h3 span { background-color: #1b0902; padding: 0 1em; display: inline-block }

@media ( max-width: 680px ){
	.ex-step > *:nth-child(n+2){
		padding-top: 4em;
	}
	.ex-step h3 span { max-width: 50% }
}

.ex-panel {
	position: relative;
	border: 1px solid #e0c784;
	padding:1em;
	height: 100%;
}

.ex-panel__body{ padding-top:0; margin-bottom: 7em;  }
.ex-panel__footer{ position: absolute; left: 0; bottom:0; padding: 1em; height: 8em;  }
.ex-panel__footer > *{ margin: 0; }
.ex-panel__lead { display: table;  width: 100% }
.ex-panel__lead span { height: 5em;overflow: hidden; line-height: 1.5; display: table-cell; vertical-align: middle; width: 100% }
.ex-panel__img{ text-align: center; overflow: hidden }
.ex-panel__img img{ vertical-align: top }
.ex-panel__caption { text-align: right; display: block }

@media (max-width:1200px) {
	.ex-panel__footer{ line-height: 1.5 }
}
@media (max-width:800px) {
	.ex-panel__footer{ height: 9em; }
}
@media (max-width:667px) {
	.ex-panel__body{ margin-bottom: 0em;  }
	.ex-panel__footer{ position: relative; left: auto; bottom:auto; padding: 1em; height: auto;  }
	.ex-panel__lead span{ height: auto; padding: 1em 0 }
	.ex-panel__img{ min-height:auto; }
}

.ex-contact .ex-section__body{
	border: 1px solid #e0c784;
	max-width: 800px;
	margin-left:auto;
	margin-right:auto;
	padding: 2em;
	line-height: 1.5;
}

.ex-btn{
	display: inline-block;
}
.ex-btn:before,
.ex-btn span{ display: inline-block; vertical-align: middle }
.ex-btn:before { content: ""; height: 100% }

.ex-btn--app{
	border: 1px solid #e0c784;
	border-radius: 5px;
	background-image: linear-gradient(#7e0207,#a80005,#7e0207);
	padding: 1em ;
	width: 100%;
	max-width: 520px;
	color: #EEE;
	text-decoration: none;
	font-weight: bold;
}
.ex-btn--app:hover{
	color: #FFF;
}

.js-mailto img{ vertical-align: middle; width: auto; height: 16px }
.js-mailto img:hover{ opacity: .8; }