@charset "utf-8";
.wrapper {
 /* grid-template-rows: 14% 45% 41%;*/
  grid-template-rows: 19vh 36vh 45vh;
}
/* ヘッダー
------------------------------------------------------------*/
.up-container {
  width: 1180px;
  margin: 0px auto 10px;
  display: table;
}
.contents-left {
  width: 50%;
  display: table-cell;
  padding: 0px;
  vertical-align: top;
}
.contents-left p {
  font-size: 150%;
}
.contents-right {
  width: 50%;
  display: table-cell;
  padding: 0;
  vertical-align: middle;
  text-align: right;
}
.contents-right p img {
  width: 100%;
  max-width: 180px;
  height: auto;
}
/* middle-container
------------------------------------------------------------*/
.middle-container {
  width: 1180px;
  display: table;
  margin: 0px auto 0px;
}
.middle-tableleft {
  display: table-cell;
  width: 55%;
  vertical-align: top;
}
.middle-tableright {
  display: table-cell;
  width: 45%;
  vertical-align: top;
}
.price-wrap {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  margin: 0 auto;
  justify-content: flex-start;
  align-items: center;
}
.middle-container p {
  font-size: 120%;
  line-height: 120%;
}
.middle-container p.nerima {
  padding-right: 80px;
  padding-left: 15px;
}
.middle-container p.online {
  padding-left: 15px;
}
.price-wrap .neri img {
  max-width: 292px;
  height: auto;
}
.price-wrap .lesson img {
  max-width: 175px;
  height: auto;
}
/* form
------------------------------------------------------------*/
.bottom-container {
  width: 1180px;
  margin: 0 auto;
  display: table;
}
.bottom-left {
  width: 75%;
  display: table-cell;
  vertical-align: top;
}
.bottom-right {
  width: 25%;
  display: table-cell;
  padding: 20px 0 0 20px;
  text-align: right;
}
.bottom-right img {
  width: 100%;
  max-width: 203px;
  height: auto;
}
/* フォーム
------------------------------------------------------------*/
input[type="text"], textarea {
  vertical-align: middle;
  max-width: 90%;
  line-height: 30px;
  height: 30px;
  padding: 1px 5px;
  border: 1px solid #d4d4d7;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 100%;
  color: #555;
  background: #fcfcfc;
}
textarea {
  height: auto;
  line-height: 1.5;
  width: 90%;
  max-width: 500px;
}
input[type="submit"], input[type="reset"], input[type="button"] {
  padding: 3px 10px;
  background-color: #0E0E0E;
  background-image: linear-gradient(to bottom, #999, #333);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-radius: 4px 4px 4px 4px;
  border-style: solid;
  border-width: 1px;
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  line-height: 1.5;
  font-size: 100%;
  color: #fff;
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
  cursor: pointer;
  background-image: none;
  background-color: #333;
}
*:first-child + html input[type="submit"] {
  padding: 3px;
}
.formTable {
  width: 100%;
  margin-bottom: 20px;
}
.formTable th {
  padding: 5px 10px;
  width: 30%;
  vertical-align: top;
  text-align: right;
}
.formTable td {
  padding: 5px 10px;
  line-height: 150%;
  vertical-align: top;
}


@media (max-width: 1350px) {
  .wrapper {
  grid-template-rows: 15vh 40vh 45vh;
   }
  .up-container {
    display: table;
    width: 100%;
    margin: 0px auto 0;
  }
  .contents-left {
    width: 70%;
    display: table-cell;
    padding: 0px;
  }
  .contents-left p {
    font-size: 150%;
  }
  .contents-left img {
    width: 90%;
    max-width: 463px;
    height: auto;
  }
  .contents-right {
    width: 30%;
    display: table-cell;
    padding: 0;
    vertical-align: top;
  }
  .contents-right img {
    width: 100%;
    max-width: 175px;
    height: auto;
  }
  /* middle-container
------------------------------------------------------------*/
  .middle-container {
    width: 100%;
    display: table;
  }
  .middle-container p {
    font-size: 100%;
    line-height: 110%;
  }
  .price-wrap {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    margin: 0 auto;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
  }
  .price-wrap p {
    width: 100%;
  }
  /*.price-wrap .neri img{
	  max-width: 292px;
	height:auto;
}
.price-wrap .lesson img{
	  max-width: 175px;
	height:auto;
}*/
  .middle-container p.nerima {
    padding-right: 30px;
    padding-left: 5px;
  }
  .middle-container p.online {
    padding-left: 5px;
  }
  /* bottom-container
------------------------------------------------------------*/
  .bottom-container {
    display: table;
    width: 100%;
    margin: 0 auto;
  }
  .bottom-left {
    display: table-cell;
    width: 80%;
    vertical-align: top;
  }
  .bottom-container p {
    font-size: 100%;
    line-height: 110%;
  }
  .bottom-right {
    display: table-cell;
    width: 20%;
    vertical-align: middle;
    padding: 0px 0 0 10px;
  }

}


@media screen and (max-width: 960px), screen and (max-height: 620px) { 
  .wrapper {
	  grid-template-rows: none;
    min-width: 2000px;
  }
  .up-box {
    width: 50%;
    margin: 0 30px;
  }
  .contents-left p {
    font-size: 125%;
  }
  .contents-right {
    text-align: left;
  }
  .middle-container p {
    font-size: 100%;
    line-height: 120%;
  }
  .bottom-box {
    width: 40%;
    margin: 0;
  }
  .bottom-left {
    display: table-cell;
    width: 50%;
    vertical-align: top;text-align: left;
  }
  .bottom-right {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding: 0px 0 0 0px;
    text-align: left;
  }
  .bottom-right img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  .bottom-left p {
    width: 85vw;
	  max-width:300px;
  }

}

@media screen and (max-height: 620px) { 
  .bottom-container p {
    font-size: 95%;
    line-height: 105%;
  }
  .bottom-left  {
   padding-top:15px;
  }
}
/*@media (max-width: 650px) {


.ougi {
  background-image: url("../images/ougi.png");
  background-position: 0 center;
  background-repeat: repeat;   width:250vw;
  height: 88vh;
  margin: 0vh 0 0vh;
  border-top: 12px solid #991918;
  border-bottom: 12px solid #991918;
}
.wrapper {
  width: 200vw;
  display: grid;
  grid-template-rows: 60% 40%;
  height: 89vh;
	padding-right:20px;
	padding-top:0%;
	padding-left: 70px;
}


.up-container {
  display: table;
	width: 800px;
  margin: 0;
}
.bottom-container {
  display: table;
	width: 800px;
  margin: 0;
}


}
*/