@charset "UTF-8";

/*共通*/

.junior {
    background: url(../img/examination-image.jpg) no-repeat center top;
    background-size: cover;
}

/*お知らせ*/

#information .wrap {
    background: #eae9ea;
    width: 720px;
    padding: 20px;
}

#information ul::after {
    content: '';
    display: block;
    font-size: 0;
    clear: both;
}

#information li {
    width: 220px;
    height: 270px;
    float: left;
    background: #fff;
    margin-right: 10px;
}

#information li:nth-of-type(3n) {
    margin-right: 0;
}

#information li {
    position: relative;
    margin-bottom: 40px;
}

#information .date {
    margin: 20px 20px 10px;
    font-size: 1rem;
    color: #333;
    line-height: 1rem;
}

#information .category {
    width: 100px;
    padding: 0px 5px;
    font-size: 1rem;
    color: #fff;
    position: absolute;
    top: 150px;
    right: 20px;
    text-align: center;
    line-height: 2rem;
}

#information .detail {
    text-align: justify;
    word-wrap: break-word;
    margin: 0 20px 20px;
}

/*カリキュラム*/

	.j-table table{
		width:100%;
    border-collapse: collapse;

	}
	.j-table td{
		width:30%;
		height:auto !important;
		font-size: 14px;
		text-align: center;
		padding: 2px 0;
		border: 1px solid #bbb;
    border-collapse: collapse;
	}
		.j-table tr{
			width:auto;
	}
	.j-table article{
		margin-bottom: 40px;
	}

	.j-table .cur-unit{
		width:10%;
		background: #F39800;
		color:#fff;
		font-size: 12px;
		font-weight:bold;
		border-bottom: 1px solid #fff;
	}
	.j-table .cur-unit td.no-unit{
		color:#333;
		background: #fff;
	}
	.j-table .cur-unit p{
		line-height: 1.5em;
	}
	.j-table td.title{
		padding: 5px;
				height:20px;
		background: #349184;
		color:#fff;
		font-weight:bold;
		font-size: 14px;
		width:50%;
	}
		.j-table td.sub-title{
			width:8%;
	}
	
	.j-table .clm-01 td.title {
    padding: 5px;
    height: 20px;
    background: #349184;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    width: 45%;
}

	.j-table .clm-02 td.title {
    padding: 5px;
    height: 20px;
    background: #349184;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    width: 90%;
}

	.j-table .clm-02 .line{
		    background-color: #FFFBC7;
	}


.j-table li {
    background: url(../img/list-ico.svg) no-repeat top 7px left;
    background-size: 10px 10px;
    padding-left: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    font-weight: bold;
	}

/*オープンスクール*/

.video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*入試情報*/

#exam h5 {
    background: url(../img/list-ico.svg) no-repeat center left;
    background-size: 10px 10px;
    padding-left: 14px;
}

#exam .f-red{
    color:#E83828;
}

#exam .on{
    position: relative;
}

#exam .hyou img{
    width: 50%;
    margin: 20px 0;
}

#exam dl.shisetu{
    background-color: #E5004F; 
    width: 100%;
  padding: 2%;
    border-bottom: none;
}

#exam dl.shisetu dt{
  width: 100%;
  margin-right: 5%;
      color: #fff;
}

#exam dl.shisetu dd{
    width: 100%;
    float: left;
    font-size: 1.2rem;
    color: #FFF;

}

#exam .fukidashi{
        border: 20px solid transparent;
        border-bottom-color: #E5004F;
        border-top-width: 0;
        width: 0;
        position: absolute;
          left: 60%;
        top: -20px;
}

#exam table.type-02 tr td:nth-child(3n){
    background-color: #FFF100; 
        font-weight: bold;
}


#exam .balloon {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  font-size: 16px;
  background: #FFF;
  border: solid 3px #E5004F;
  box-sizing: border-box;
}

#exam .balloon:before{
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

#exam .balloon:after{
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #E5004F;
  z-index: 1;
}

#exam .balloon p {
	margin: 0;
	padding: 0;
}

#exam .md-h{
    background-color: #E5004F;
    width: 150px;
    padding: 2%;
    border-bottom: none;
     color: #FFF;
}

#exam .md-j{
    background-color: #F39939;
    width: 150px;
    padding: 2%;
    border-bottom: none;
     color: #FFF;
}


#exam .junior-exam h5,
#exam .senior-exam h5 {
	/*background: url(../img/list-ico.svg) no-repeat top 11px left;
	background-size: 10px 10px;
	padding-left: 14px;
	line-height: 1.8;*/
	margin-bottom: 10px;
	font-size: 1.6rem;
	font-weight: bold;
}

#exam .junior-exam .wrap,
#exam .senior-exam .wrap {
	margin-bottom: 40px;
}

#exam .junior-exam dl,
#exam .senior-exam dl {
	padding: 0;
	margin-bottom: 10px;
}

#exam .junior-exam dt {
	color: #fff;
	text-align: center;
	width: 20%;
	float: left;
	padding: 10px;
	margin-right: 0;
	background: #c9395f;
	border: 1px solid #c9395f;
}

#exam .junior-exam dd {
	width: 80%;
	float: left;
	padding: 10px 20px;
	margin-right: 0;
	border: 1px solid #c9395f;
}

#exam .senior-exam dt {
	color: #fff;
	text-align: center;
	width: 28%;
	float: left;
	padding: 10px;
	margin-right: 0;
	background: #c9395f;
	border: 1px solid #c9395f;
}

#exam .senior-exam dd {
	width: 72%;
	float: left;
	padding: 10px 20px;
	margin-right: 0;
	border: 1px solid #c9395f;
}

#exam .junior-exam img,
#exam .senior-exam img {
	width: 80%;
	height: auto;
}




/*Webパンフレット・募集要項*/

/*各種奨学金と支援制度*/

/*中高一貫コース*/

#course .block {
    margin-bottom: 60px;
}

#course .block p {
    margin-bottom: 20px;
}

#course .icon span {
    color: #c30d23;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px 20px;
    border: 2px solid #c30d23;
    margin-right: 5px;
}

#course .block .photo {
    width: 50%;
    float: right;
    margin-left: 4%;
}

#course .block .photo4 {
    width: 30%;
    float: right;
    margin-left: 4%;
}

#course .block:nth-of-type(2) .photo {
    float: left;
    margin: 0 4% 0 0;
}


#course table.sakidori{
    width: 100%;
}
#course tr{
        background-color: #F8B62D;
        color: #fff;
}

#course  tr:nth-child(2n){
        background-color: #F39800;
}

#course  tr:nth-child(3n){
        background-color: #E60012;
}

#course tr th {
    padding: 2%;
		width: 50px;
     }

#course tr td {
    padding: 2%;
		width: 110px;
     }

#curriculum tr td {
    padding: 1%;
    margin-left: 5px;
     font-weight;bold;
     }
     
#course table.sakidori,
#curriculum table.sakidori,{
   width: 100%;
}
#course table.sakidori td:nth-of-type(1),
#curriculum table.sakidori td:nth-of-type(1) {
   width: 10%;
}

#course table.sakidori td,
#curriculum table.sakidori td {
   width: 40%;
}
#course table.sakidori td.title,
#curriculum table.sakidori td.title {
	background: #349184;
	color: #fff;
	font-weight: bold;
}
#course table.sakidori tr:nth-of-type(1),
#curriculum table.sakidori tr:nth-of-type(1) {
   width: 20%;
}

#course table.sakidori tr, 
#curriculum table.sakidori tr {
	background: #eee;
   color: #000;
}


#course table.sakidori tr.bgline,
#course table.sakidori tr.bgline {
	background: #EBF5EC;
}
  
#course h5 {
    background: url(../img/list-ico.svg) no-repeat center left;
    background-size: 10px 10px;
    padding-left: 14px;
}

/*カリキュラム*/
#curriculum h6 {
	font-size: 1.4rem;
	font-weight: bold;
}

#curriculum .photo {
	width: 40%;
  margin-left: 4%;
  float: right;
}


#curriculum .mb20 {
	margin-bottom: 20px;
}

#curriculum img.list {
	width: 80%;
	height: auto;
}






/*音楽特別課程*/

#music .lead {
    margin-bottom: -40px;
}

#music .block .wrap {
    background: #f2f9ff;
    padding: 20px 30px;
}

#music .block .photo {
    width: 36%;
    float: right;
    margin-left: 4%;
    padding-right: 4%;
    margin-top: -85px;
}

#music .block dl {
    width: 60%;
    float: left;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #ccc;
}

#music .block dl:last-of-type {
    margin-bottom: 10px;
}

#music .block dl::after {
    content: '';
    display: block;
    font-size: 0;
    clear: both;
}

#music .block dt {
    width: 35%;
    float: left;
    font-weight: bold;
    background: url(../img/list-ico.svg) no-repeat center left;
    background-size: 10px 10px;
    padding-left: 16px;
}

#music .block dd {
    width: 65%;
    float: left;
}

/*梅光生の声*/

#voice .wrap {
    margin-bottom: 0px;
}

#voice .photo,
#voice .photo2 {
    width: 40%;
    float: left;
}

#voice .txt {
    width: 55%;
    float: right;
}

#voice h4 {
    margin-bottom: 10px;
}

#voice h4.indent {
    text-indent: -0.5em;
}

#voice .wrap:last-of-type {
    margin-bottom: 0;
}


/* 640pxまでの幅の場合に適応される */

@media screen and (max-width: 640px) {

    /*お知らせ*/
    #information .wrap {
        width: 100%;
    }

    #information li {
        width: 49%;
        height: 270px;
        float: left;
        background: #fff;
        margin-right: 2%;
    }

    #information li:nth-of-type(3n) {
        margin-right: 2%;
    }

    #information li:nth-of-type(2n) {
        margin-right: 0;
    }

    #information li {
        position: relative;
        margin-bottom: 20px;
    }

    #information .date {
        margin: 10px;
    }

    #information .category {
        width: 90%;
        margin: 3px auto 10px;
        position: static;
    }

    #information .detail {
        text-align: justify;
        word-wrap: break-word;
        margin: 0 10px 10px;
    }

    /*カリキュラム*/
    .j-table table,
    .j-table th,
    .j-table td {
        padding: 8px;
        border: 1px solid #bbb;
        border-collapse: collapse;
        text-align: center;
    }
    .j-table h4 {
        font-size: 2.1rem;
    }


    /*オープンスクール*/
    .video {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
    }
    .video iframe {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
   
    /*入試情報*/
    
    #exam .fukidashi {
    border: 20px solid transparent;
    border-bottom-color: #EA5514;
    border-top-width: 0;
    width: 0;
    position: absolute;
    left: 56%;
    top: -20px;
}

#exam dl.shisetu dt {
    width: 100%;
        color: #FFF100;
    margin-right: 5%;
}

#exam dl.shisetu dd {
    width: 100%;
    font-size: 1.2rem;
    color: #FFF;
}

 #exam .hyou img{
       width: 300px;
    margin: 20px 0;
}
	
#exam .junior-exam .wrap,
#exam .senior-exam .wrap {
	margin-bottom: 40px;
}
	
#exam .junior-exam h5,
#exam .senior-exam h5 {
	font-size: 1.6rem;
}

#exam .junior-exam dl,
#exam .seniorr-exam dl {
	padding: 0;
	margin-bottom: 10px;
}

#exam .junior-exam dt ,
#exam .senior-exam dt  {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 5px;
	margin: 0;
	background: #c9395f;
	border: 1px solid #c9395f;
}

#exam .junior-exam dd,
#exam .senior-exam dd {
	width: 100%;
	text-align: center;
	padding: 5px;
	margin: 0;
	border: 1px solid #c9395f;
}

#exam .junior-exam img,
#exam .senior-exam img {
	width: 100%;
	height: auto;
	margin: 0;
}
	
#exam .junior-exam h5,
#exam .senior-exam h5 {
	background: url(../img/list-ico.svg) no-repeat top 9px left;
	background-size: 10px 10px;
}
    
    
    
    
    /*Webパンフレット・募集要項*/
    /*各種奨学金と支援制度*/
    /*中高一貫コース*/
    #course .block {
        margin-bottom: 40px;
    }
	
	#course .block .photo,
	#course .photo-2 {
    width: 100%;
    float: none;
    margin-left: 0;
}
	
	#course .block .photo4 {
    width: 100%;
    float: none;
    margin-left: 0;
}


    /*音楽特別課程*/
    #music .lead {
        margin-bottom: 30px;
    }

    #music .block .wrap {
        padding: 15px;
    }

    #music .block .photo {
        width: 50%;
        float: none;
        padding-right: 0;
        margin: 10px 0 20px;
    }

    #music .block dl {
        width: 100%;
        float: none;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dotted #ccc;
        line-height: 1.4;
    }

    #music .block dl::after {
        content: '';
        display: block;
        font-size: 0;
        clear: both;
    }

    #music .block dt {
        width: 35%;
        float: left;
        font-weight: bold;
        background: url(../img/list-ico.svg) no-repeat top 3px left;
        background-size: 12px 12px;
        padding-left: 16px;
    }

    #music .block dd {
        width: 65%;
        float: left;
    }

/*中高一貫コース*/
#course table {
    width: 60%;
}
#course tr td {
    padding: 1%;
    margin-left: 5px ;
    font-weight;bold;
}
#course table.sakidori{
   width: 100%;
}
#course table.sakidori td:nth-of-type(1){
width: 0%;
    font-size: 12px;
    }

#course table.sakidori td{
   width: 0%;
       font-size: 12px;
}
#course table.sakidori td.title {
	background: #349184;
	color: #fff;
	font-weight: bold;
}
#course table.sakidori tr:nth-of-type(1){
   width: 20%;
}

#course table.sakidori tr{
	background: #eee;
   color: #000;
}


#course table.sakidori tr.bgline{
	background: #EBF5EC;
}
	
#course table{
    width: 320px;
}


/*カリキュラム*/
#curriculum img.list {
	width: 100%;
	height: auto;
}	

#curriculum #scroll-menu {
	 	background-color: #fff;/*メニューの背景色*/
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

#curriculum #scroll-menu .scroll-menu-inner {
    list-style-type: none;
    width: 720px;/*メニューの横幅*/
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

#curriculum #scroll-menu div {
    float: left;
    height: 100%;
}

#curriculum #scroll-menu-1 {
    background-color: #fff;/*メニューの背景色*/
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

#curriculum #scroll-menu-1 .scroll-menu-inner {
    list-style-type: none;
    width: 720px;/*メニューの横幅*/
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

#curriculum #scroll-menu-1 div {
    float: left;
    height: 100%;
}


    /*梅光生の声*/
    #voice .txt {
        width: 100%;
        float: none;
    }
    #voice .photo {
        width: 50%;
        float: none;
			position: relative;
    }

		#voice .photo2 {
			width: 100%;
			float: none;
			position: relative;
		}
	
	#voice .photo2 img {
			width: 50%;
			height: auto;
		}
	
		#voice h5 {
			width: 100%;
			position: absolute;
			bottom: -5px;
			right: -100%;
		}
	
		#voice h5 span {
			display: block;
			font-size: 1.1rem;
		}
		
		#voice .voice h5.name {
		width: 50%;
    position: absolute;
    bottom: -5px;
    right: -8px;
		} 
}
