@charset "UTF-8";
*{
	margin:0;
	padding:0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	box-sizing:border-box;
}
body{
	font-size:100%;
}
img{
	outline:none;
}
li{
	list-style:none;
}
figure{
	line-height:0;
}
#wrap{
	width:90%;
	margin:0 auto;
	padding:20px 0;
}
nav ul{
	display:-webkit-box;
	display:-moz-box;
	display:box;
	display:-webkit-flex;
	display:flex;
	-moz-box-orient:horizontal;
	-webkit-box-orient:horizontal;
	-moz-box-pack:justify;
	-ms-box-pack:justify;
	box-pack:justify;
	flex-pack:justify;
	-webkit-justify-content:space-between;
	justify-content:space-between;
	line-height:0;
	width:100%;
}
nav li{
	width:20%;
}
nav li a{
	display:block;
}
nav li img{
	width:100%;
	height:auto;
}
h1{
	line-height:0;
}
h1 img{
	width:100%;
	height:auto;
}
article{
	margin-top:10%;
}
article h2{
	line-height:0;
}
article h2 img{
	-moz-transform: scale(0.7,0.7);
	-webkit-transform: scale(0.7,0.7);
	-o-transform: scale(0.7,0.7);
	-ms-transform: scale(0.7,0.7);
	transform:scale(0.7,0.7);
}
#homepage h1{
	margin:0 auto;
	font-size:125%;
	text-align:center;
	line-height:100%;
}
#homepage h1 span{
	font-size:70%;
	color:#ff80c0;
}
#homepage p:not(.homepagep){
	text-align:center;
}
#homepage p img{
	width:50%;
	height:auto;
}
#homepage .homepagep1{
	margin:40px auto;
	margin-left:12%;
}
#homepage .homepagep2{
	margin:40px auto;
	margin-left:19%;
}
#homepage hr{
	margin:50px 0;
}
#obra ul{
	width:80%;
	margin:20px auto;
}
#obra li{
	width:32%;
	float:left;
	margin-right:2%;
	margin-bottom:10px;
	line-height:0;
	-moz-box-shadow:1px 0 3px gray;
	-webkit-box-shadow:1px 0 3px gray;
	-o-box-shadow:1px 0 3px gray;
	-ms-box-shadow:1px 0 3px gray;
	box-shadow:1px 0 3px gray;
}
#obra li:nth-child(3n+3){
	margin-right:0;
}
#obra li a img{
	width:100%;
	height:auto;
}
#obra p{
	width:85%;
	font-size:100%;
	margin:60px auto;
}
#prof>div{
	display:-webkit-box;
	display:-moz-box;
	display:box;
	display:-webkit-flex;
	display:flex;
	padding:40px 0 60px;
}
#prof div figure{
	width:30%;
}
#prof div figure img{
	width:100%;
	height:auto;
}
#prof div div{
    position: relative;
	width:70%;
	font-size:100%;
}
#prof div div p{
	padding-left:3%;
	line-height:163%;
	position:absolute;
	left:-20%;
	top:0;
	width:145%;
	font-size:90%;
	-moz-transform: scale(0.7,0.7);
	-webkit-transform: scale(0.7,0.7);
	-o-transform: scale(0.7,0.7);
	-ms-transform: scale(0.7,0.7);
	transform:scale(.7,.7);
}
#prof div div p:nth-of-type(1){
	padding:20px 3%;
	top:-15px;
}
#clase{
	overflow:hidden;
}
#clase h2{
	margin-bottom:40px;
}
#clase>p{
	font-size:80%;
	line-height:163%;
	margin-bottom:20px;
	-moz-transform: scale(0.7,0.7);
	-webkit-transform: scale(0.7,0.7);
	-o-transform: scale(0.7,0.7);
	-ms-transform: scale(0.7,0.7);
    transform: scale(.7,.7);
    width: 120%;
    margin-top: -10%;
    margin-left: -10%;
}
#clase h3{
	position:relative;
	padding-left:1.1em;
	font-size:100%;
	font-weight:normal;
	margin-bottom:20px;
	margin-left:6%;
}
#clase h3:before{
	content:"★";
	position:absolute;
	left:0;
	top:0;
}
#clase h3 span{
	font-size:70%;
	margin-left:20px;
}
#clasetable1,
#clasetable2{
	border-collapse: collapse;
	border:1px solid black;
	margin-bottom:30px;
}
#clasetable1{
	width:85%;
	margin:0 auto 60px;
}
#clasetable1 th,
#clasetable1 td{
	width:calc(25% - 2px);
	background:white;
	border:1px solid black;
	padding:1px;
	text-align:center;
}
#clasetable1 th{
	background:#C9C9C9;
	font-size:100%;
}
#clasetable1 td{
	font-size:100%;
	overflow:hidden;
}
#clasetable1 td p{
	font-size:100%;
	-moz-transform: scale(0.7,0.7);
	-webkit-transform: scale(0.7,0.7);
	-o-transform: scale(0.7,0.7);
	-ms-transform: scale(0.7,0.7);
	transform:scale(.7,.7);
	width:150%;
	margin-left:-25%;
	margin-top:-10%;
	margin-bottom:-10%;
}
#clasetable1 td span{
	-moz-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform:rotate(90deg);
	display:inline-block;
}
#clasetable2{
    width: 85%;
	margin:0 auto 30px;
	font-size:80%;
}
#clasetable2 th,
#clasetable2 td{
	padding:0 4px;
	border:1px solid black;
	line-height:20px;
	height:50px;
}
#clasetable2 th{
	font-weight:normal;
}
#clase>section:nth-of-type(2) div p{
	font-size:85%;
	margin-bottom:30px;
	margin-left:13%;
}
#clase h4,
#clase section li{
	position:relative;
	padding-left:1.1em;
	margin-left:10px;
	font-size:100%;
}
#clase h4:before,
#clase section li:before{
	content:"●";
	position:absolute;
	left:0;
	top:0;
}
#clase h4{
	font-weight:normal;
	font-size:100%
}
#clase section section p{
	margin-left:20px;
	font-size:80%;
	line-height:150%;
}
#clase>section:last-child{
	margin:30px 0;
}
#totop{
	border-bottom:1px solid #aaa;
	display:-webkit-box;
	display:-moz-box;
	display:box;
	display:-webkit-flex;
	display:flex;
	-moz-box-orient:horizontal;
	-webkit-box-orient:horizontal;
	padding:30px 0 10px;
}
#totop img{
	margin-left:auto;
}
footer div{
	margin:40px auto;
}
footer div p:nth-of-type(1){
	margin-bottom:20px;
	background:red;
	color:white;
	font-weight:bold;
	text-align:center;
	letter-spacing:1em;
	line-height:34px;
}
footer div p:nth-of-type(2){
	font-size:90%
}
footer div p span{
	letter-spacing:0;
}
footer div img{
	display:inline;
}
footer>p{
	text-align:right;
	font-size:100%;
	padding-top:20px;
}
.clear{
	clear:both;
}