* {
  box-sizing: border-box;
  margin: 0;
}
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
a {
  text-decoration: none;
}
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=80);
}


img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
p.resizeimage img {
  width: 100%;
}


.clear {
  clear: left;
}
.container {
  max-width: 1170px;
  width: 100%;
  padding: 0 15px 0 15px;
  margin: 0 auto;
}

.container h2 {
	padding-top:40px;
  font-weight: bold;
  font-size: 28px;
	text-align: center;
}


.top-wrapper {
  padding: 80px 0 0 0;
  background-image: url("img/visa_earth_18-sss.jpg");
  background-size: cover;
  color: #fff;
  text-align: center;
}
.top-wrapper h1 {
  opacity: 0.7;
  font-size: 45px;
  letter-spacing: 5px;
}
.top-wrapper p {
  opacity: 0.8;
}
.smh-wrapper {
  text-align: center;
  margin: 20px 0 0 0;
  transform: translateY(6px);
}
.btn-wrapper {
  text-align: center;
  margin: 20px 0;
}
.btn-wrapper p {
  margin: 10px 0;
}
.signup {
  background-color: #239b76;
}
.facebook {
  background-color: #3b5998;
  margin-right: 10px;
}
.whvisa {
  background-color: #FF8900;
  color: white;
  opacity: 0.99;
}
.btn {
  padding: 8px 24px;
  color: white;
  display: inline-block;
  opacity: 0.8;
  border-radius: 4px;
  text-align: center;
}
.btn:hover {
  opacity: 0.99;
}
.fa {
  margin-right: 5px;
}
header {
  height: 65px;
  width: 100%;
  background-color: rgba(34, 49, 52, 0.9);
  position: fixed;
  top: 0;
  z-index: 10;
}
.logo {
  width: 215px;
  margin-top: 20px;
}
.header-left {
  float: left;
}
.header-right {
  float: right;
  margin-right: -15px;
  font-size: 14px;
}
.header-right img {
  margin-top: 10px;
  margin-bottom: -10px;
  height: auto;
}
.header-right a {
  line-height: 65px;
  padding: 0 15px;
  color: white;
  display: block;
  float: left;
  transition: all 0.5s;
}
.header-right a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
/* menu-iconのCSSを貼り付けてください */
.menu-icon {
  color: white;
  float: right;
  font-size: 25px;
  padding: 21px 0;
  /* displayをnoneに指定してください */
  display: none;
}

@media all and (max-width: 1000px) {

nav {
  float: left;
  width: 100%;
  height: 45px;
  background: linear-gradient(-5deg, #5098BC, #145C7F);
  top: 0;
}
    
  .nav-mobile {
    font-size: 14px;
  }
  .nav-mobile ul {
    display: flex;
    margin: 0;
    padding: 0;
    font-size: 14px;
  }
  .nav-mobile li {
    list-style: none;
    flex: auto;
    font-size: 14px;
  }
  .nav-mobile li a {
    line-height: 45px;
    width: 100%;
    text-align: center;
    color: white;
    display: block;
    background: linear-gradient(-5deg, #5098BC, #145C7F);
    transition: all 0.5s;
  }
  .nav-mobile li a:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}
@media all and (min-width: 1001px) {
    nav {
  float: left;
  width: 100%;
 padding: 0 20%;
  height: 45px;
  background: linear-gradient(-5deg, #5098BC, #145C7F);
  top: 0;
}
  .nav-mobile {
    font-size: 14px;
  }
  .nav-mobile ul {
    display: flex;
    margin: 0;
      padding: 0;
    font-size: 14px;
  }
  .nav-mobile li {
    flex: auto;
    list-style: none;
    font-size: 14px;
  }
  .nav-mobile li a {
    line-height: 45px;
    width: 100%;
    text-align: center;
    color: white;
    display: block;
    background: linear-gradient(-5deg, #5098BC, #145C7F);
    transition: all 0.5s;
  }
  .nav-mobile li a:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}


.lesson-wrapper {
  padding-bottom: 80px;
  padding-left: 5%;
  padding-right: 5%;
  background-color: #f7f7f7;
	color: #365368;
  text-align: center;
}

.dpd-wrapper {
  padding-bottom: 80px;
  padding-left: 0%;
  padding-right: 0%;
  background-color: #fff;
  text-align: center;
}

.heading-entry {
  padding-top: 80px;
  padding-bottom: 50px;
  color: #365368;
    text-align: left;
}
.heading-entry h2 {
  font-weight: bold;
  font-size: 28px;
}
.heading-entry h3 {
  font-weight: normal;
  font-size: 16px;
}
.heading-entry p {
    font-weight: normal;
    font-size: 16px;
    padding:10px 0;
  }

.heading-note {
  padding: 30px 2%;
  color: #365368;
text-align: left;
    line-height: 1.8em;
}

.heading-note h2 {
  font-weight: bold;
    text-align: center;
  font-size: 28px;
    padding: 10px 0 20px 0;
}

.heading-map {
	margin: 0 20% 0 25%; 
  padding-top: 40px;
  padding-bottom: 50px;
  color: #365368;
    text-align: left;
}

.heading-map h2 {
  font-weight: bold;
  font-size: 28px;
	text-align: center;
}

.heading {
  padding-top: 80px;
  padding-bottom: 50px;
  color: #365368;
}

.heading h2 {
  font-weight: bold;
  font-size: 28px;
}
.heading h3 {
  font-weight: normal;
  font-size: 16px;
}
.heading h4 {
  font-weight: bold;
  font-size: 35px;
  font-family: "Shimanami";
}
.heading-gray {
  margin-top: 80px;
  margin-bottom: 20px;
  margin-left: 4%;
  margin-right: 4%;
  padding: 50px 10px;
  color: #365368;
  border-radius: 5px;
  text-align: center;
  background-color: #f7f7f7;
  border: solid #f7f7f7 1px;
}
.heading-gray h2 {
  font-weight: bold;
  font-size: 28px;
}
.heading-gray h3 {
  font-weight: normal;
  font-size: 16px;
}
.contentbox-y {
  float: left;
  width: 44%;
  height: 450px;
  margin: 20px 2% 20px 4%;
  padding: 30px 10px;
  color: #365368;
  border-radius: 5px;
  text-align: center;
  background-color: #FFDDA7;
}
.contentbox-y h3 {
  font-weight: bold;
  font-size: 20px;
}
.contentbox-y h4 {
  font-weight: normal;
  font-size: 14px;
}
.contentbox-y p {
  font-weight: normal;
  font-size: 12px;
}
.contentbox-b {
  float: left;
  width: 44%;
  height: 450px;
  margin: 20px 4% 20px 2%;
  padding: 30px 10px;
  color: #365368;
  border-radius: 5px;
  text-align: center;
  background-color: #DEECFE;
}
.contentbox-b h3 {
  font-weight: bold;
  font-size: 20px;
}
.contentbox-b h4 {
  font-weight: normal;
  font-size: 14px;
}
.contentbox-b p {
  font-weight: normal;
  font-size: 12px;
}
.contentbox-b span {
  font-weight: bold;
  font-size: 25px;
}

.atd-3 {
  float: left;
  width: -webkit-calc(94%/3);
  width: calc(94%/3);
    margin: 0 1%;
    padding:20px 0;
    border:#ccc 1px solid;
    background-color: #fff;
    box-sizing: border-box;
}

.atd-borderbox {
  float: left;
    width: 100%;
  margin: 20px 0% 20px 0%;
  font-size: 14px;
  text-align: left;
  color: #365368;
  border: solid #ddd 1px;
    box-sizing: border-box;
}

.atdbox {
  float: left;
  width: 50%;
    padding:20px 2%;
    box-sizing: border-box;
}

.atdbox2 {
  float: left;
  width: 96%;
    padding:20px 2%;
    box-sizing: border-box;
}

.lessons{
    color: #365368;
}

.lessons h2{
    font-size: 28px;
    padding-top: 20px;
    text-align: center;
}

.lessons h3{
    font-size: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.lesson {
  float: left;
  width: 23%;
	margin: 0 1%;
	padding: 20px 0;
	background-color: #fff;
	border: 1px solid #ccc;
	box-sizing: border-box;
}


.lesson-icon {
  position: relative;
    color: #365368;
}
.lesson-icon p {
  position: absolute;
  top: 30%;
  width: 100%;
  color: white;
}

.text-contents-atd {
  width: 90%;
  display: inline-block;
    padding: 0 5%;
  font-size: 14px;
  color: #365368;
  text-align: left;
  font-weight: normal;
}

.text-contents {
  width: 80%;
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  color: #8691a3;
  text-align: left;
  font-weight: normal;
}
.message-wrapper {
  border-bottom: 1px solid #eee;
  padding-bottom: 80px;
  text-align: center;
	color: #365368;
}
.content_news_box {
  float: left;
  margin: 20px 4% 20px 4%;
  background-image: url("img/australia-map-gray.png");
  background-size: 20% auto;
  background-position: right 40px bottom 20px;
  background-repeat: no-repeat;
  padding: 30px;
  font-size: 14px;
  border-radius: 5px;
  /*line-height: 24px;*/
  text-align: left;
  /*color: #365368;*/
  color: #8691a3;
  border: solid #ddd 1px;
}
.message {
  padding: 15px 40px;
  background-color: #5dca88;
  cursor: pointer;
  box-shadow: 0 2px #1a7940;
}
.message:active {
  position: relative;
  top: 3px;
  box-shadow: none;
}

.atdlink {
  margin: 0px 0 30px 0;
  padding: 15px 40px;
  background-color: #016491;
  cursor: pointer;
  box-shadow: 0 2px #000;
}

.atdlink a {
  color: #fff;
}

.atdlink:active {
  position: relative;
  top: 3px;
  box-shadow: none;
}


.s-message {
  padding: 15px 40px;
  background-color: #66BDF7;
  cursor: pointer;
  box-shadow: 0 2px #369BDF;
}
.s-message:active {
  position: relative;
  top: 3px;
  box-shadow: none;
}

.contact_box {
    /*clear:both;*/
    width: 100%;
    text-align: center;
    margin: 0 0;
    padding: 40px 0;
    box-sizing: border-box; 
    color: #365368;
}

.contact_btn {
  width: 100%;
  margin: 10px 0;
  padding: 10px 5%;
  font-size: 14px;
  text-align: center;
  color: #365368;
    box-sizing: border-box;
}
.contact_btn ul {
    display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.contact_btn li {
    list-style: none;
    flex: auto;
    width: 42%;
    padding:15px 2%;
    display: block;
}

.btn2 {
  width:100%;
  padding: 8px 24px;
  color: #fff;
  display: inline-block;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
}
.btn2:hover {
  opacity: 0.7;
}

.line2 {
  background-color: #68b72b;
  color: white;
}

.mail2 {
  background-color: #4fa0ca;
  color: white;
}

footer img {
  width: 210px;
}
footer p {
  color: #8691a3;
  font-size: 12px;
  line-height: 18px;
}
footer {
  padding-top: 30px;
  padding-bottom: 20px;
}