/* タブレット向けレイアウト *//*@media all and (min-width: 1501px) {.heading-map1 {	position: relative;	margin: 0 20% 0 20%;   padding-top: 0px;  padding-bottom: 0px;  color: #023044;    text-align: center;	}	}@media all and (max-width: 1500px) {.heading-map1 {	position: relative;	margin: 0 20% 0 20%;   padding-top: 20px;  padding-bottom: 30px;  color: #023044;    text-align: center;	}	}@media all and (max-width: 1000px) {.heading-map1 {	position: relative;	margin: 0 20% 0 20%;   padding-top: 0px;  padding-bottom: 30px;  color: #023044;    text-align: center;	}}@media all and (max-width: 670px) {.heading-map1 {	position: relative;	margin: 0 8% 0 8%;   padding-top: 0px;  padding-bottom: 30px;  color: #023044;    text-align: center;	}}@media all and (max-width: 480px) {.heading-map1 {	position: relative;	margin: 0 0% 0 0%;   padding-top: 20px;  padding-bottom: 30px;  color: #023044;    text-align: center;	}}*/@media all and (min-width: 1001px) {  .baner1m {    display: none;  }}@media all and (max-width: 1300px) {    .message-box2{    float: left;    width:100%;    max-height: 100%;        margin: 0 auto;	color: #023044;  text-align: left;    box-sizing: border-box;}    .message-box2right{    float: right;    width:100%;    max-height: 100%;        margin: 0 auto;	color: #023044;  text-align: left;    box-sizing: border-box;}.message-box-cmt{    float: left;    width:100%;    max-height: 100%;    padding: 50px 10% 50px 10%;    font-size: 18px;   font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";	color: #023044;  text-align: left;    line-height: 2.0em;    box-sizing: border-box;}.message-box-cmt h2{     font-size: 25px;    font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";	color: #023044;    font-weight: bold;  text-align: center;    line-height: 2.0em;}     .message-box4{    float: left;    width:50%;    max-height: 100%;        padding: 5px;	font-size: 20px;   font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";	color: #023044;  text-align: left;    line-height: 2.0em;    box-sizing: border-box;}            }@media all and (max-width: 1000px) {  .lesson {    width: 50%;    margin-bottom: 50px;  }  footer {    text-align: center;  }    .heading h2 {    font-size: 24px;  }  .heading p {    text-align: left;  }  .header-right {    display: none;  }  .whvisas_4 li {    width: 48%;    margin: 10px 1%;      padding: 30px 30px;  }  .btn {    width: 100%;  }  .heading-map {    margin: 0;    padding-top: 40px;    padding-bottom: 40px;    color: #023044;    text-align: center;  }  .heading-map p {    font-size: 12px;    color: #023044;    text-align: center;  }  .heading-gray h3 {    text-align: left;  }  .whvisas_2 {    margin: 10px 0%;    width: 100%;  }  .whvisas_2 li {    height: 100%;  }  .whvisas_2-2 {    margin: 10px 0%;    width: 100%;  }  .whvisas_2-2 li {    height: 100%;  }  .whvisas_2-3 {    margin: 10px 0%;    width: 100%;  }  .whvisas_2-3 li {    height: 100%;  }  .whvisas_2-4 {    margin: 10px 0%;    width: 100%;  }  .whvisas_2-4 li {    height: 100%;  }  .whvisas_2-5 {    margin: 10px 0%;    width: 100%;  }  .whvisas_2-5 li {    height: 100%;    padding: 30px 10px;  }  .baner1 {    display: none;  }  .baner1m {    margin: 0 auto;    padding: 10px 0 30px 0;    text-align: center;    box-sizing: border-box;  }            .top-title-box1 {    position: absolute;    margin: 80px 10%;    padding:10px 0 0 0px;    height: 60px;    width: 80%;    border-top: solid 4px #144B5E;    border-right: solid 4px #144B5E;    border-left: solid 4px #144B5E;    border-top-left-radius: 12px;    border-top-right-radius: 12px;     background-color: #144B5E;    color: #fff;    font-size: 24px;    text-align: center;    font-weight: bold;    box-sizing: border-box;}.top-title-box2 {    position: absolute;    margin: 140px 10%;    padding:20px 0 0 0px;    height: 190px;    width: 80%;    border: solid 4px #144B5E;    border-bottom-left-radius: 12px;    border-bottom-right-radius: 12px;     background-color: rgba(255, 255, 255, 0.85);    color: #000;    font-size: 30px;    text-align: center;    font-weight: bold;    box-sizing: border-box;}            .school_info_2left {		width:100%;	padding:30px 0 0 0}			.school_info_2right {		width:100%;}	        .jhp_menu3 {  /*clear: both;*/  color: #023044;}.jhp_menu3 ul {  display: flex;  flex-wrap: wrap;  margin: 0;  padding: 0;  font-size: 16px;}.jhp_menu3 li {  list-style: none;  flex: auto;  width: -webkit-calc(98%/1);  width: calc(98%/1);  font-size: 16px;    font-weight: bold;}.jhp_menu3 li a {  line-height: 24px;  width: 98%;  margin: 1% 1%;    padding: 10px;  text-align: center;  color: #023044;  display: block;  background-color: #efefef;  border: 1px solid #9E9386;  transition: all 0.5s;  box-sizing: border-box;}.jhp_menu3 li a:hover {  background: linear-gradient(-5deg,#1686B2,#5098BC);  color: #fff;}  } @media all and (min-width: 671px) {        .top-title-box-m {  display: none;}}/* スマホ向けレイアウト */@media all and (max-width: 670px) {  .lesson {    width: 100%;  }  .lesson-wrapper {    padding-bottom: 20px;  }  .message-wrapper {    padding: 0 2% 40px 2%;  }  .btn {    width: 100%;  }  .facebook {    margin-bottom: 10px;  }  .menu-icon {    display: block;  }    .smh-top {    text-align: center;    width: 100%;    padding: 0px 0 0 0;  }  .smh-wrapper img {    width: 320px;    height: auto;  }  .content_news_box {    margin: 20px 0 30px 0;    font-size: 13px;  }  .contentbox-y {    width: 92%;    height: auto;    margin: 5px 4% 5px 4%;    padding: 20px 10px;  }  .contentbox-y h3 {    margin: 0;    font-size: 20px;  }  .contentbox-y h4 {    margin: 10px 0 0 0;    font-size: 14px;  }  .contentbox-y p {    margin: 0;    font-size: 12px;  }  .contentbox-b {    width: 92%;    height: auto;    margin: 5px 4% 5px 4%;    padding: 20px 10px;  }  .contentbox-b h3 {    margin: 0;    font-size: 20px;  }  .contentbox-b h4 {    margin: 10px 0 0 0;    font-size: 14px;  }  .contentbox-b p {    margin: 0;    font-size: 12px;  }  .contentbox-b span {    font-size: 20px;  }  .heading {    padding-top: 40px;    padding-bottom: 20px;    text-align: left;  }  .heading h2 {    font-weight: bold;    font-size: 20px;  }  .heading-map {    margin: 0 0% 0 0%;    padding-top: 40px;    padding-bottom: 40px;    color: #023044;    text-align: center;  }          .heading-map1 {    margin: 0 0% 0 0%;    padding-top: 0px;    padding-bottom: 0px;    color: #023044;    text-align: center;  }  .heading-map p {    font-size: 12px;    color: #023044;    text-align: center;  }  .whvisas li {    width: 50%;  }  .whvisas_4 li {    width: 100%;    margin: 10px 0%;    padding: 30px 30px;    text-align: center;    box-sizing: border-box;  }  .text-contents1 {    width: 90%;  }  ul.boxnav5 {    width: 100%;  }  .btn2 {    width: 45%;  }        .message-box4{    float: left;    width:100%;    max-height: 100%;        padding: 5px;	font-size: 20px;    font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";	color: #023044;  text-align: left;    line-height: 2.0em;    box-sizing: border-box;}            .top-title-box {  display: none;}        .top-title-box-m {  position: absolute;  margin: 40px 5%;  padding: 0px 0 0 0px;  height: 100%;  width: 90%;  color: #fff;  font-size: 24px;  text-align: center;  font-weight: bold;  box-sizing: border-box;}        .top-title-box1 {    position: absolute;    margin: 80px 3%;    padding:15px 0 0 0px;    height: 60px;    width: 94%;    border-top: solid 4px #144B5E;    border-right: solid 4px #144B5E;    border-left: solid 4px #144B5E;    border-top-left-radius: 12px;    border-top-right-radius: 12px;     background-color: #144B5E;    color: #fff;    font-size: 20px;    text-align: center;    font-weight: bold;    box-sizing: border-box;}.top-title-box2 {    position: absolute;    margin: 140px 3%;    padding:25px 0 0 0px;    height: 180px;    width: 94%;    border: solid 4px #144B5E;    border-bottom-left-radius: 12px;    border-bottom-right-radius: 12px;     background-color: rgba(255, 255, 255, 0.85);    color: #000;    font-size: 24px;    text-align: center;    font-weight: bold;    box-sizing: border-box;}    .content-jhp {  position: relative;    margin-bottom: 20px;}.content-jhp-title {  position: absolute;  top:50%;    transform: translateY(-50%);  width: 100%;    text-align: center;  font-size: 20px;  font-weight: bold;    text-shadow: 1px 1px 2px black;  color: white;}.content_4b {  width: -webkit-calc(98%/2);  width: calc(98%/2);}            }