* {
  box-sizing: border-box;
}
body {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
p.resizeimage img {
  width: 100%;
}
a {
  text-decoration: none;
}
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=80);
}
.clear {
  clear: left;
}
.container {
  max-width: 1170px;
  width: 100%;
  padding: 0 15px 0 15px;
  margin: 0 auto;
  box-sizing: border-box；;
}
.top-wrapper {
  position: relative;
  text-align: center;
  width: 100%;
  height: 500px;
  margin-top: 0px;
  background-image: url("img/visa_earth_18-sss.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-height: 100%;
  color: #fff;
}
.top-wrapper h1 {
  position: absolute;
  width: 100%;
  margin: 0;
  opacity: 0.8;
  padding: 120px 0 20px 0;
  font-size: 30px;
  font-weight: bold;
font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  letter-spacing: 3px;
  z-index: 2;
}
.top-wrapper span {
  color: #F9F102;
}
.top-wrapper h2 {
  position: absolute;
  width: 100%;
  margin: 0;
  opacity: 1.0;
  padding: 300px 0 0px 0;
  text-shadow: 1px 1px 2px #777;
  font-size: 20px;
  letter-spacing: 1px;
  z-index: 2;
}
.top-wrapper p {
  position: absolute;
  opacity: 0.99;
  width: 100%;
  padding-top: 50px;
  bottom: 20px;
  align-items: center;
  margin-left: 0%;
  transform: translateY(0px);
  z-index: 2;
}
.btn3 {
  width: 50%;
  padding: 8px 24px;
  color: #fff;
  opacity: 0.9;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
}
.btn3:hover {
  opacity: 0.7;
}
.whvisa3 {
  background-color: #ca5657;
  color: white;
}
.smh-wrapper {
  text-align: center;
  margin: 20px 0 0 0;
  transform: translateY(6px);
}
.smh-image {
  position: absolute;
  max-width: 280px;
  height: auto;
  bottom: 0;
  align-items: center;
  margin-left: -150px;
  transform: translateY(0px);
  z-index: 1;
}
.smh-top {
  text-align: center;
  width: 100%;
  padding: 100px 0;
}
.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;
}
.twitter {
  background-color: #55acee;
}
.btn {
  padding: 8px 24px;
  color: white;
  display: inline-block;
  opacity: 0.8;
  border-radius: 4px;
  text-align: center;
}
.btn:hover {
  opacity: 1;
}
.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: 15px;
}
.header-left {
  float: left;
}
.header-right {
  float: right;
  margin-right: -15px;
  font-size: 14px;
}
.header-right img {
  margin-top: 5px;
  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;
}
.lesson-wrapper {
  padding-bottom: 80px;
  padding-left: 2%;
  padding-right: 2%;
  background-color: #f7f7f7;
  text-align: center;
}
.heading {
  padding-top: 80px;
  padding-bottom: 50px;
  color: #365368;
  text-align: center;
}
.heading h2 {
  font-weight: bold;
  font-size: 28px;
}
.heading h3 {
  font-weight: normal;
}
.heading p {
  font-weight: normal;
  text-align: left;
  margin: 0;
  font-size: 14px;
}
.heading-box {
  width: 100%;
  margin: 20px 0 20px 0;
  padding: 15px;
  border: 1px solid #86b3c2;
  box-sizing: border-box;
}
.heading-box h4 {
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  padding: 0px 0 10px 0;
  margin: 0;
}
.note_list {
  width: 100%;
  padding: 15px 0 0 0;
  font-size: 14px;
  text-align: left;
}
.note_list p {
  padding-bottom: 10px;
  margin: 0;
  padding: 0;
}
.note_list ul {}
.note_list li {
  list-style: none;
  text-align: left;
  line-height: 1.6em;
  padding-bottom: 10px;
  margin-left: -15px;
  text-indent: -1.8em;
}
.lesson {
  float: left;
  width: 25%;
}
.lesson-icon {
  position: relative;
}
.lesson-icon p {
  position: absolute;
  top: 8%;
  width: 100%;
  color: white;
}

.text-contents1 {
  width: 80%;
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  color: #8691a3;
  text-align: left;
  font-weight: normal;
}

.text-contents {
  width: 100%;
  display: inline-block;
  padding: 0 0%;
  font-size: 14px;
  color: #365368;
  text-align: left;
  font-weight: normal;
  box-sizing: border-box;
}

.message-wrapper {
  border-bottom: 1px solid #eee;
  padding: 0 2% 80px 2%;
  text-align: center;
}
.message {
  padding: 15px 40px;
  background-color: #5dca88;
  cursor: pointer;
  box-shadow: 0 7px #1a7940;
}
.message:active {
  position: relative;
  top: 7px;
  box-shadow: none;
}
.whvisas {
  /*clear: both;*/
  color: #365368;
}

.whvisas img{
    text-align: center;
}

.whvisas h2 {
  font-size: 20px;
  padding-top: 20px;
  text-align: center;
}
.whvisas ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.whvisas li {
  list-style: none;
  flex: auto;
  width: 25%;
  font-size: 14px;
}
.whvisas li a {
  line-height: 45px;
  width: 100%;
  margin: 1%;
  text-align: center;
  color: #365368;
  display: block;
  background-color: #fff;
  border: 1px solid #9E9386;
  transition: all 0.5s;
  box-sizing: border-box;
}
.whvisas li a:hover {
  background: linear-gradient(-5deg, #5098BC, #145C7F);
  color: #fff;
}
/* ボックス4個の横並び */
.whvisas_4 {
  clear: both;
  color: #365368;
}
.whvisas_4 h2 {
  font-size: 28px;
  padding-top: 0px;
  text-align: center;
}
.whvisas_4 h3 {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 0px 0;
}
.whvisas_4 ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.whvisas_4 li {
  list-style: none;
  flex: auto;
  width: 21%;
  background-color: #fff;
  display: block;
  font-size: 14px;
  margin: 10px 1%;
  padding: 30px 10px;
}

.workingholiday {
margin-right: 10px;
  width: 30%;
      padding: 15px 40px;
  background-color: #122749;
  cursor: pointer;
  box-shadow: 0 5px #0f5779;
}
.workingholiday:active {
  position: relative;
  top: 5px;
  box-shadow: none;
}

.line-contact {
  margin-right: 10px;
  width: 30%;
      padding: 15px 40px;
  background-color: #68b72b;
  cursor: pointer;
  box-shadow: 0 5px #49734a; 
}
.line-contact:active {
  position: relative;
  top: 7px;
  box-shadow: none;
}

.mail-contact {
  margin-right: 10px;
  width: 30%;
      padding: 15px 40px;
  background-color: #4fa0ca;
  cursor: pointer;
  box-shadow: 0 5px #0f5779;
}
.mail-contact:active {
  position: relative;
  top: 7px;
  box-shadow: none;
}

/*footer.css */
.footer {
  float: left;
  width: 100%;
  margin: auto 0;
  padding: 50px 5% 50px 5%;
  font-size: 13px;
  text-align: center;
  color: #ffffff;
  background-color: #3C3C41;
}

ul.footer {
  list-style: none;
  margin: 0;
  padding: 0;
    text-align: left;
  line-height: 2.4em;
}

ul.footer li{
  list-style: none;
  margin: 0;
  padding: 0;
    text-align: left;
  line-height: 2.4em;
}


.footer_bottom {
  float: left;
  width: 90%;
  margin: auto 0;
  padding: 20px 5% 100px 5%;
  font-size: 13px;
  text-align: center;
  color: #ffffff;
  background-color: #3C3C41;
  max-height: 100%;
}
.footer_menu_3 {
  float: left;
  width: -webkit-calc(82%/3);
  width: calc(82%/3);
  margin: 0 3% 0 3%;
  font-size: 13px;
  text-align: left;
  line-height: 1.8em;
  max-height: 100%;
}

.footer_menu_title {
  float: left;
  width: 100%;
  padding: 20px 0% 5px 0%;
  margin-bottom: 10px;
  font-size: 16px;
  text-align: left;
  color: #ffffff;
  border-bottom: solid #FFFFFF 1px;
  max-height: 100%;
}


.footer_link {
  position: relative;
  padding: 0.1em 0.3em;
  display: inline-block;
  transition: .3s;
  color: #000927;
}
.footer_link::before, .footer_link::after {
  position: absolute;
  content: '';
  width: 0;
  height: 1px;
  background-color: #F99402;
  transition: .3s;
}
.footer_link::before {
  top: 0;
  left: 0;
}
.footer_link::after {
  bottom: 0;
  right: 0;
}
.footer_link:hover::before, .footer_link:hover::after {
  width: 100%;
}
.footer2_link {
  padding: 0.1em 0.3em;
  position: relative;
  display: inline-block;
  transition: .3s;
  color: #ffffff;
}
.footer2_link::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #DC950F;
  transition: .3s;
}
.footer2_link:hover::after {
  width: 100%;
}
.footer3_link {
  padding: 0.5em 0.3em 0.2em 0.3em;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(220, 145, 15, 1) 50%);
  background-position: 0 0;
  background-size: auto 200%;
  transition: .3s;
  color: #ffffff;
}
.footer3_link:hover {
  background-position: 0 100%;
  color: #fff;
}

.footer_w {
  float: left;
  width: 100%;
  margin-bottom: 40px;
  padding: 0px 5% 0px 5%;
  font-size: 12px;
  text-align: center;
  color: #000927;
  border-bottom: 1px solid #3C3C41;
  background-color: #ffffff;
  max-height: 100%;
}


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

  .footer_menu_3 {
    float: left;
    width: -webkit-calc(98%/1);
    width: calc(98%/1);
    margin: 0 1% 0 1%;
    font-size: 13px;
    text-align: left;
    line-height: 1.8em;
    max-height: 100%;
  }
}

/* フッターナビゲーション */

.footnav {
    width: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 2.0em;
}

.footnav ul {
    list-style: none;
}

.footnav ul li {
    display: inline-block;
	margin: 0 15px 0px 0;
	padding: 0 0 0 10px;
    background: url("img/icon-arrow-blue.png");
    background-repeat: no-repeat;
    background-position:left 45%; 
}
.footnav a {
	color: #535353;
}





footer img {
  width: 210px;
    margin:0;
}
footer p {
    margin-top: 20px;
  color: #8691a3;
  font-size: 12px;
  line-height: 18px;
    font-weight:normal;
}
footer {
  padding-top: 30px;
  padding-bottom: 20px;
    text-align: center;
}


/* ボタンのスタイル */
.page-top {
  /* buttonタグのリセットCSS */
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;

  /* ボタンの装飾 */
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(34, 49, 52, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* 矢印のスタイル */
.page-top::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-bottom: -6px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: rotate(-45deg);
}

/* ホバー時のスタイル */
.page-top:hover {
  transform: scale(1.1);
}

#scroll-to-top-btn{
 position: fixed;
	bottom: 20px;
	right: 20px;
	height: 50px;
	width: 50px;
	color: #FFF;
	font-size:30px;
	font-weight: bold;
	background-color: rgba(34, 49, 52, 0.6);
	border: none;
	border-radius: 50%;
	transform: rotate(-90deg);
	opacity: 0;
	transition-duration: 0.5s;
}

.clock {
	text-align: center;
}
