@charset "UTF-8";

#sampo .header-title {
    background: url(../../images/sampo/bg_header.png) repeat;
}
.section-sampo-detail {
    background: url(../../images/sampo/bg_sampo_body.png) repeat;
}
.section-sampo-detail h2, .section-sampo-detail h3, .section-sampo-character h2 {
    margin-top: 40px;
    text-align: center;
    font-size: 30px;
    font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "メイリオ", Meiryo, serif;
}
.section-sampo-detail h2::before, .section-sampo-detail h2::after, .section-sampo-character h2::before, .section-sampo-character h2::after {
    content: url(../../images/sampo/h_logo.png);
    padding: 30px;
}
.section-sampo-character {
	background: url(../../images/sampo/bg_sampo.png) repeat;
}
.section-sampo-character h4 {
	font-weight: bold;
}
.section-sampo-character p {
	line-height: 1.6;
}
.grid figure {
	position: relative;
	width: 300px;
	height: 200px;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h3 {
	font-weight: 300;
    font-size: 11px;
    line-height: 1.2;
}

.grid figure h3 span {
	font-weight: 800;
    font-size: 28px;
}

.grid figure h3,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
    line-height: 1.2;
}

figure.effect-sampo {
	background: -webkit-linear-gradient(45deg, #22682a 0%, #9b4a1b 40%, #3a342a 100%);
	background: linear-gradient(45deg, #22682a 0%,#9b4a1b 40%,#3a342a 100%);
}

figure.effect-sampo img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-sampo figcaption {
	padding: 3em;
	background-color: rgba(58,52,42,0.7);
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
}

figure.effect-sampo figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
}

figure.effect-sampo h3,
figure.effect-sampo p {
	position: absolute;
	right: 30px;
	left: 30px;
	padding: 20px;
}

figure.effect-sampo p {
	top: 110px;
	line-height: 1.2;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-sampo h3 {
	top: 40px;
    padding-bottom: 10px;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-sampo:hover h3 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-sampo h3::after {
	position: absolute;
	top: 100%;
	left: 25%;
	width: 50%;
	height: 1px;
	background: #fff;
	content: '';
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-sampo h3::after,
figure.effect-sampo p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sampo:hover h3::after,
figure.effect-sampo:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-sampo figcaption::before {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
}

figure.effect-sampo:hover figcaption::before {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-sampo:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-sampo:hover img {
	opacity: 0.4;
}

.sampo-title-hr {
    text-align: center;
    color: #f1c55e;
    margin-bottom: 40px;
}
.sampo-title-hr i {
    margin-left: 30px;
    margin-right: 30px;
    font-size: 30px;
}
.sampo-body {
    font-size: 18px;
    margin-bottom: 80px;
}
.sampo-photo-wrap {
    width: 860px;
    margin: 0 auto;
}
.sampo-photo {
    display: inline-block;
    width:380px;
    margin: 0 20px;
}
.sampo-intro {
	text-align: center;
	font-size: 18px;
}
.heading-sampo-top {
	font-size: 26px;
	font-weight: bold;
	color: #59b9c6;
}
