@charset "utf-8";
body, p, h1, h2, h3, h4, ul ,figure{
	padding: 0px;
	margin: 0px;
}
img {
	vertical-align: top;
	border-style: none;
	max-width: 100%;
	height: auto;
}
body {
	font-family: kinuta-maruminold-stdn, serif;
	font-style: normal;
	font-weight: 400;
	font-size: 112.5%;
	line-height: 1.8;
	width: 100%;
}
a {
	color: #31385C;
	text-decoration: none;
}
a:hover {
	color: #5965AA;
	text-decoration: underline;
}
.inner {
	margin: 0 auto;
	padding: 0 20px;
	width: 1000px;
}

.box-area {
	/* [disabled]margin: 0 auto; */
	padding: 0 20px;
	/* [disabled]width: 1000px; */
}

header {
	/* [disabled]margin-left: -20px; */
	background-image: url(../img/ajisai_03.jpg);
	background-repeat: repeat-x;

}
h1 {

}
header .inner {
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 50px;
	padding-top: 30px;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 10;
	display: flex;
	justify-content: space-between;
}
header p {
	float: right;
	padding-top: 20px;
	padding-left: 20px;
}
main {
	margin: 0 auto;
	display: block;
}
section {
	clear: both;
}
.mainimage  {
	position: relative;
	padding-left: 0px;
}
.slide p {
	float: left;
	text-align: center;
}


.mainimage .catch  {
	position: absolute;
	left: 43.25%;
	right: auto;
	top: -25px;
	z-index: 10;
}
nav {
	margin: 0 auto;
	width: 1000px;
}


nav ul {
	list-style-type: none;
	display: flex;
}

nav li {
	flex-grow: 1;
}
nav a {
	display: flex;
	height: 60px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 5px;
}


main nav li.last {
	margin-right: 0px;
}
h2 {
	margin: 40px 0;
	text-align: center;
}
.message {
	border-top: 1px dotted #5965AA;
	border-bottom: 1px dotted #5965AA;
}

.message p {
	padding-top: 20px;
	padding-right: 20px;

}
#sec1 .teacherall  {
	text-align: right;
	margin-top: -247px;
}
.teacherall p #name {
	margin-right: 5%;
	margin-top: 10px;
	margin-bottom: 30px;
}
.box-area {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	background-color: #D6D6EB;
	padding-top: 40px;
	background-size: cover;
}

.box {
	text-align: center;
	width: 310px;
	margin-bottom: 30px;
}
.box p {
	text-align: center;
	background-color: hsla(0,0%,100%,0.30);
	padding-left: 10px;
	padding-top: 10px;
	min-height: 70px;
	font-size: 90%;
	padding-right: 10px;
}
.inner .course table {
	margin-top: 20px;
	margin-right: auto;
	margin-left: 50px;
	margin-bottom: 30px;
	font-size: 100%;

}
tbody tr th {
	vertical-align: top;
	font-size: 100%;
	text-align: left;
	text-align-last: justify;
}
tbody tr td {
	text-align: left;
	vertical-align: top;
	font-size: 100%;
	padding-left: 20px;
}
.course_icon   {
	margin-top: 10px;
	margin-right: 30px;
	margin-left: 30px;
	margin-bottom: 0;
	float: left;
}
.course .note {
	margin-left: 30px;
	font-size: 90%;
	margin-bottom: 30px;
}
h3 {
	margin: 30px 0;
}
.option table  {
	margin-left: 20px;
	font-size: 90%;
}
.option {
	margin-left: 20px;
	margin-top: 40px;
}

.option .option-content   {
	background-color: #D9D3A2;
	margin-top: 0px;
	padding-top: 20px;
	padding-left: 20px;
	padding-bottom: 20px;
	position: relative;
	padding-right: 20px;
}

.option .option-box {
	width: 460px;
}

.option .option-inner {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-top: 20px;
}
.smalltext  {
	font-size: 90%;
}

.option-box #stamp {
	position: absolute;
	right: 4vw;
	bottom: 20px;
	opacity: 0.3;
}
.teacherwork #click {
	text-align: center;
	margin-bottom: 20px;

}

.teacher_item {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.teacher_item p {
	margin-bottom: 30px;
}
.teacher_item p a:hover  {
	opacity: 0.7;
}

.student_item {
	display: flex;
	justify-content: space-around;
	-webkit-flex-wrap: wrap;
}
.student_item p {
	margin-bottom: 30px;
}
.person p {
	background-color: #F0E7F1;
	padding: 20px;
	margin-left: 30px;
	margin-bottom: 30px;
	border-radius: 50px 10px;
	margin-right: 30px;
}
.addresstext {
	float: left;
}
#sec5 img {
	margin: 20px;
}
#sec5 .inner table {
	margin: 0 auto;
}



.map {
	margin: 0 auto;
	padding: 0 30px;
	width: 600px;
}
.contact-content {
	text-align: center;
}
.contact-content p img {
	padding-top: 30px;
	padding-bottom: 30px;


}







.gotop {
	position: fixed;
	right: 20px;
	bottom: 20px;
}
footer {
	padding: 30px 0;
	background-color: #F0E7F1;
	text-align: center;
	border-top: 20px solid #D9D3A2;
}
.footer-link {
	margin-bottom: 50px;
}
.footer-copy {
	margin-top: 50px;
}


@media screen and (max-width:1000px){
img {
	max-width: 100%;
	height: auto;
}
.inner {
	width: 96%;
}
.mainimage .catch {
	width: 16%;
}

nav {
	width: 100%;
}


nav ul {
	/* [disabled]flex-wrap: wrap; */
}
nav li {
	width: 16%;
}



.box {
	width: 31%;
}
#sec1 .teacherall {
	display: flex;
	justify-content: center;
	margin-top: 0px;
	text-align: center;
}
.teacherall p #name {
	margin-top: 100px;
	margin-bottom: 30px;
}


.footer-link a {
	white-space: nowrap;
}








}

@media screen and (max-width:750px){
header h1 {
	width: 42.4vw;
}
header p {
	width: 50.6vw;
}
.gotop {
	width: 13.4vw;
}
.box-area {
	display: flex;
	justify-content: space-around;
	margin-left: -20px;
}


.box {
	width: 310px;
	text-align: center;
}

figure {
	text-align: center;
}
.course table , .course p{
	width: 100%;

}
/* セル幅を自動調整 */
table, th, td {
  width: auto !important;
}
.course tr  ,.course td{
	display: block;
}
.course .course_icon {
	float: none;
	margin: 0 auto;
	width: 100px;

}
h3   {
	width: 750px;
}
.option .option-inner {
	flex-wrap: wrap;
	text-align: left;
	display: flex;
	margin-top: 20px;
	position: relative;
	margin-left: 0px;
}

nav   {
	/* [disabled]margin-left: 0px; */
	/* [disabled]width: 160px; */
}
nav a {
	width: 160px;
	vertical-align: central;
}


nav ul {
	display: none;
	padding-bottom: 30px;
	text-align: center;
}
nav ul li {
	margin: 0 auto;

}


#nav-toggle {
	width: 70px;
	height: 50px;
	margin-left: auto;
	position: relative;
	right: -20px;
	margin-right: 20px;
	border: 1px solid #5965AA;
	border-radius: 5px;
	background-color: #F0E7F1;
}

#nav-toggle span {
	width: 30px;
	height: 4px;
	display: block;
	background-color: #5965AA;
	position: absolute;
	left: 20px;
}
#nav-toggle span:nth-child(1) {
	top: 12px;
}
#nav-toggle span:nth-child(2) {
	top: 23px;
}
#nav-toggle span:nth-child(3) {
	top: 34px;
}
#nav-toggle.open span:nth-child(1) {
	top: 23px;
	transform: rotate(315deg);
}
#nav-toggle.open span:nth-child(2) {
	width: 0;
	left: 50%;
}
#nav-toggle.open span:nth-child(3) {
	top: 23px;
	transform: rotate(-315deg);
}
#nav-toggle span {
	transition: 0.3s;
}
/*スマホハンバーガーメニュー*/
#nav-toggle::before {
	position: absolute;
	right: 70px;
	width: 100%;
	content: "MENU";
	top: 20%;
	color: #5965AA;
}
}
.sec5 td {
	display: block;
}
.sec5 table {
	margin: 0 auto;

}
.map {
	width: 80vw;
	padding: 0;
	text-align: center;

}

























}

@media screen and (min-width:751px){
nav ul {
	display: flex !important;
}

}
