@charset "utf-8";

/* header
-------------------------------- */
header,
.bg p,
#family {
    opacity: 0;
    animation: late-open 3s ease-in 6s forwards;
}

/* late-open = display: block; */
@keyframes late-open {
  to {
    opacity: 1;
	}
}



/* mainVisual
-------------------------------- */
#mainVisual .bg p {
	position: absolute;
	transform: translate(0, -65vh);
}

#mainVisual .bg .left {
	left: 0;
}

#mainVisual .bg .right {
	right: 0;
}

#mainVisual .slide {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
}

#mainVisual .slide li {
	position: absolute;
	bottom: 0;
}

#mainVisual #family {
	position: relative;
	width: 17rem;
	font-size: 2.5rem;
	text-align: center;
	transform: translate(0, -45vh);
	margin: 0 auto;
}

#mainVisual #family p,
#mainVisual #family ul {
	display: inline-block;
	opacity: .1;
}

#mainVisual #family p span {
	opacity: 0;
}

#mainVisual #family .profile {
	display: inline-block;
}

#mainVisual #family .mtm {
	position: absolute;
	top: 0;
	left: calc(50% - 8.45rem);
}

#mainVisual #family .msd {
	position: absolute;
	top: 0;
	right: calc(50% - 8.45rem);
}

#mainVisual #family li {
	display: inline;
	margin-left: -.71rem;
}

#mainVisual #family .mtm li:first-child {
	margin-left: 0;
}

#mainVisual #family .mtm,
#mainVisual #family .msd {
	transition: all 0.5s 0s ease;
}

#mainVisual #family .mtm:hover,
#mainVisual #family .msd:hover {
	opacity: 1;
}


	
/* contents
-------------------------------- */
#inst,
#photo,
#contact {
	padding: 0 20px;
	margin: 0 auto;
}



/* topics
-------------------------------- */
.topics {
	width: 48%;
	padding-right: 10px;
	padding-bottom: 100px;
}

.topics dl {
	border: 5px solid rgba(0, 0, 0, .1);
	border-top: 5px solid transparent;
	border-left: 5px solid transparent;
	padding: 0 20px 20px 0;
}

.topics dt {
	/*float: clear;
	float: left;*/
	color: #1e1b86;
	font-size: 0.875rem;
	line-height: 2;
	vertical-align: baseline;
}

/*
.topics dd {
	padding-left: 11rem;
}
*/
.topics dt+dd {
	border-bottom: 1px dotted rgba(0, 0, 0, .2);
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.topics dt+dd:last-child {
	border-bottom: none;
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.topics dd .ind a {
	color: #333;
}

.topics dd .ind a:hover {
	text-decoration: underline;
}

.topics dd span {
	display: none;
}

#twit {
	width: 48%;
	padding-left: 10px;
	padding-bottom: 100px;
}

.topics .mtmsd {
	background: url("../images/bnr/check_mtmsd.png") 6rem no-repeat;
}

.topics .sns {
	background: url("../images/bnr/check_sns.png") 6rem no-repeat;
}

.topics .kpc {
	background: url("../images/bnr/check_kpc.png") 6rem no-repeat;
}

.topics .ckw {
	background: url("../images/bnr/check_ckw.png") 6rem no-repeat;
}

.topics .ytb {
	background: url("../images/bnr/check_ytb.png") 6rem no-repeat;
}

.topics .other {
	background: url("../images/bnr/check_other.png") 6rem no-repeat;
}



/* inst
-------------------------------- */
#inst,
#photo {
	position: relative;
	margin-top: 50px;
	padding-bottom: 60px;
}

#inst dl,
#photo dl {
	position: relative;
}

#inst dt {
	text-align: right;
}

#photo dt {
	text-align: left;
}

#inst dd,
#photo dd {
	position: absolute;
	top: 25px;
	width: 50%;
	height: 6rem;
	border-radius: 8px;
	overflow: hidden;
	padding: 10px 20px;
	background: rgba(255, 255, 255, .75);
}

#photo dd {
	right: 0;
}

h3 {
	min-width: 100px;
	height: 140px;
	color: #fff;
	font-size: 2rem;
	font-weight: normal;
	line-height: 1.2;
	text-shadow: 2px 2px 5px #000;
	margin: -50px 0 20px;
	padding: 10px 50px 0;
	background: linear-gradient(0deg, #f6b9c6 50%, #fad5dd 100%);
}

#photo h3 {
	text-align: right;
	margin: -50px 0 20px;
	padding: 10px 50px 0;
	background: linear-gradient(0deg, #cae09a 50%, #dfecc2 100%);
}

label,
h3 a {
	display: inline-block;
	color: #fff;
	font-size: 1rem;
	cursor : pointer;
}

#inst h3 a+a {
	margin-left: 20px;
}

label:hover,
h3 a:hover {
	text-decoration: underline;
}

#inst input,
#photo input {
	display: none;
}

#links01,
#links02 {
	width: 100%;
	height: 0;
	overflow: hidden;
	margin-bottom: 20px;
}

#open01:checked ~ #links01,
#open02:checked ~ #links02 {
	height: auto;
	line-height: 1.5;
}

.flame {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
}

.images {
	width: max(80%, 600px);
}

.menu {
	width: max(20%, 200px);
	padding-left: 20px;
}

.menu li {
	position: relative;
}

.menu li button {
	position: absolute;
	right: 0;
	display: block;
	height: 0px;
	width: max(100%, 180px);
	border: none;
	border-radius: 30px;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.5s 0s ease;
	padding-top: 60px;
}

.menu button:hover {
	opacity: .5;
}

.menu .inst1 button {
	background: url(../images/bnr/inst_mtmsd.png) top right / 180px 60px no-repeat;
}

.menu .inst2 button {
	background: url("../images/bnr/inst_games.png") top right / 180px 60px no-repeat;
	margin-top: 80px;
}

.menu .inst3 button {
	background: url("../images/bnr/reset.png") top right / 180px 60px no-repeat;
	margin-top: 160px;
}




/* photo
-------------------------------- */
.menu .photo1 button {
	background: url("../images/bnr/photo_travel.png") top right / 180px 60px no-repeat;
}

.menu .photo2 button {
	background: url("../images/bnr/photo_games.png") top right / 180px 60px no-repeat;
	margin-top: 80px;
}

.menu .photo3 button {
	background: url("../images/bnr/reset.png") top right / 180px 60px no-repeat;
	margin-top: 80px;
}



/* contact
-------------------------------- */
#contact {
	margin-bottom: 100px;
}

form {
	text-align: center;
	font-size: 1.25rem;
}

form dt  {
	text-align: left;
	padding-left: 1em;
}

.personal {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.personal .name {
	width: 40%;
}

.personal .email {
	width: 50%;
}

.personal input,
textarea {
	width: 98%;
	font-size: 1.25rem;
	line-height: 1.5;
}

textarea {
	width: 99%;
	height: 10em;
}

.message {
	margin-bottom: 20px;
}

	

/* mobile
-------------------------------- */
@media (max-width: 879px) {
	#mainVisual #family .profile {
		display: none;
	}
	
	#mainVisual #family p {
		opacity: .2;
	}
	
	#mainVisual #family p span {
		opacity: 1;
	}
}

@media (max-width: 800px) {
	#mainVisual .bg p {
		transform: translate(0, -60vh);
	}

	#mainVisual #family {
		transform: translate(0, -65vh);
	}
	
	.topics,
	#twit,
	h2,
	.images,
	.menu {
		width: 100%;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
	}
	
	#inst dl,
	#photo dl {
		display: none;
	}
	
	#inst h3,
	#photo h3 {
		padding-bottom: 20px;
	}
	
	#inst h3 a,
	#photo h3 a {
		display: block;
		margin-top: 15px;
	}
	
	#inst h3 a+a,
	#photo h3 a+a {
		margin-top: 10px;
		margin-left: 0;
	}
	
	.flame {
		display: block;
	}
	
	.menu li {
		display: inline-block;
		margin: 0 10px;
	}
	
	.menu li button {
		position: static;
		height: 0px;
		width: 120px;
		border-radius: 20px;
		padding-top: 40px;
	}
	
	.menu .inst1 button {
		background: url(../images/bnr/inst_mtmsd.png) top right / 120px 40px no-repeat;
	}

	.menu .inst2 button {
		background: url("../images/bnr/inst_games.png") top right / 120px 40px no-repeat;
	}

	.menu .inst3 button {
		background: url("../images/bnr/reset.png") top right / 120px 40px no-repeat;
	}

	.menu .photo1 button {
		background: url(../images/bnr/photo_travel.png) top right / 120px 40px no-repeat;
	}

	.menu .photo2 button {
		background: url("../images/bnr/photo_games.png") top right / 120px 40px no-repeat;
	}

	.menu .photo3 button {
		background: url("../images/bnr/reset.png") top right / 120px 40px no-repeat;
	}

	.menu .inst2 button,
	.menu .inst3 button,
	.menu .photo2 button,
	.menu .photo3 button {
		margin-top: 0;
	}
	
	.topics .mtmsd {
		background: url("../images/bnr/check_mtmsd.png") calc(50% - 6rem) no-repeat;
	}

	.topics .sns {
		background: url("../images/bnr/check_sns.png") calc(50% - 6rem) no-repeat;
	}

	.topics .kpc {
		background: url("../images/bnr/check_kpc.png") calc(50% - 6rem) no-repeat;
	}

	.topics .ckw {
		background: url("../images/bnr/check_ckw.png") calc(50% - 6rem) no-repeat;
	}

	.topics .ytb {
		background: url("../images/bnr/check_ytb.png") calc(50% - 6rem) no-repeat;
	}

	.topics .other {
		background: url("../images/bnr/check_other.png") calc(50% - 6rem) no-repeat;
	}
}

@media (max-width: 600px) {
	.topics dd span {
		display: inline;
	}
	
	#mainVisual p img {
		width: 150px;
	}

	#mainVisual #family {
		font-size: 2rem;
	}

	#mainVisual #family .mtm {
		left: calc(50% - 7.55rem);
	}

	#mainVisual #family .msd {
		right: calc(50% - 6.9rem);
	}

	#mainVisual #family .mtm li {
		margin-left: -.66rem;
	}

	#mainVisual #family .msd li {
		margin-left: -.68rem;
	}

	.topics dl {
		padding: 20px;
		border: 5px solid rgba(0, 0, 0, .1);
		border-top: 5px solid transparent;
		border-left: 5px solid transparent;
	}
	
	.topics dt {
		float: clear;
		width: 100%;
	}
	
	.topics dd {
		padding-left: 0px;
	}
}


