@charset "euc-jp";
/* CSS Document */

#mv {
	width: 100%;
	max-width: none;
	background: #09C url(../images/mvbg.jpg) center;
	background-size: cover;
}
#mv section {
	padding-top: 5em;
	padding-bottom: 5em;
}
#first {
	background: rgba(255, 255, 255, 0.9);
	padding: 1em 2em;
	width: 50%;
	margin: 0 auto;
}
#first h1 {
	border-bottom: none;
	margin-bottom: 0;
}
.contents h2 {
	padding: 0;
	color: #FFF;
}
.contents h2::before {
	content: none;
}
.contents h2::after {
	content: none;
	border-radius: 0;
	margin: 0;
	background: none;
}

.fxcontainer {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin: 1em 0;
}
.fbox {
	width: 32%;
	margin-bottom: 2em;
}
.fbox2 {
	width: 49%;
	margin-bottom: 2em;
}

#top_me .photobox {
	position: relative;
}
#top_me a h2 {
	display: block;
	position: absolute;
	bottom: 0;
	text-align: center;
	margin: 0;
	padding: .3em;
	width: 100%;
	background: -webkit-linear-gradient(0% 0%, 0% 70%, from(#09B9CC), to(#09B9CC)); 
	background: linear-gradient(rgba(9, 185, 204, 0), rgba(9, 185, 204, 0.7));
	font-size: 1.5em;
	text-shadow: 0 1px 2px #222;
}
#top_me a h2::before {
	display: block;
	content: '';
	position: absolute;
	top: 50%;
	left: 10px;
	width: 12px;
	height: 12px;
	margin-top: -5px;
	background: #FFF;
	border-radius: 100%;
}
#top_me a h2::after {
	display: block;
	content: '';
	position: absolute;
	top: 50%;
	left: 12px;
	width: 5px;
	height: 5px;
	margin-top: -2px;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#top_me a:hover h2::before {
	background: #FC0;
}

#top_me .photobox a {
	color: #FFF;
	text-decoration: none;
}
#top_me .photobox a:hover, #top_me .photobox a:active {
	color: #FF9;
}

.txtbox p {
	margin: 1em 0;
}
.txtbox .button {
	width: 90%;
	margin: 1em auto;
}
.txtbox .button a {
	line-height: 1.2em;
	padding: .5em 1em;
}

@media screen and (max-width:799px){
#first {
	width: 65%;
}
.fbox {
	width: 100%;
}
}

@media screen and (max-width:799px) and (min-width:560px) {
.fbox {
	position: relative;
}
#top_me .fbox .photobox {
	width: 70%;
}
#top_me .fbox a h2 {
	bottom: auto;
	top: 0;
	background: -webkit-linear-gradient(0% 70%, 0% 0%, from(#09B9CC), to(#09B9CC)); 
background: linear-gradient(rgba(9, 185, 204, 0.7), rgba(9, 185, 204, 0));
background: #D96D00\9; /* IE */
}
#top_me .fbox .txtbox {
	display: block;
	width: 40%;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	-webkit- transform: translateY(-50%);
	background: #FFF;
	padding: 1em 1.5em;
}
#top_me .fbox .txtbox p {
	margin: 0;
}
#top_me .fbox:nth-child(2)::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
#top_me .fbox:nth-child(2) .photobox {
	float: right;
}
#top_me .fbox:nth-child(2) .txtbox {
	left: 0;
	right: auto;
}
}

@media screen and (max-width:699px){
#first p {
	font-size: 1.4rem;
}
}

@media screen and (max-width:559px){
#first {
	width: 90%;
}
.fbox2 {
	width: 100%;
}
}
