@charset "utf-8";

body.MT #header header h1 a:before {
  display: none;
  width: 0;
  height: 0;
  background-image: none;
}

.back-link {
  margin: 30px 0 0;
  text-align: center;
  line-height: 1;
}

.back-link a {
  display: inline-block;
}

.back-link a:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("../images/icon01.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin: 0 4px 2px 0;
  transform: scale(-1, 1);
  transition: all 0.3s ease;
}

.form-button {
  display: inline-block;
  margin: 0;
  padding: 10px 20px;
  text-decoration: none;
  line-height: 1;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  background-color: #FF4D14;
  border-radius: 3px;
}

.form-button:hover {
  color: #fff;
  background-color: #817EB2;
}

#main-image {
  overflow: hidden;
}

#main-image div.contents {
  padding-left: 0;
  padding-right: 0;
}

#main-image div.contents p.primary {
  display: table;
  margin: 0 0 0 10px;
  padding: 7px 0 7px 4.2em;
  font-size: 3.0em;
  line-height: 1.2;
  background: url("../uploads/rgb_mark.png") left center no-repeat rgba(255,255,255,0.4);
  background-size: auto 100%;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(255,255,255,0.8);
}

html[lang="en"] #header header h1 a {
  font-weight: bold;
  letter-spacing: 0.02em;
}

html[lang="en"] #main-image div.contents p.primary {
  padding: 12px 0 12px 4.6em;
  font-size: 2.4em;
  font-weight: bold;
  letter-spacing: 0.02em;
}

aside.partners {
  background-color: #817EB2;
  border-radius: 10px;
  margin: 30px auto;
  padding: 10px 30px;
  color: #FFFFFF;
}
aside.partners h4 {
  text-align: center;
  color: #FFFFFF;
  border-bottom: 1px dotted #FFFFFF;
  padding: 0 0 20px 0;
  background: none;
}

aside.partners p {
  line-height: 200%;
  letter-spacing: 0.1rem
}

.companies>span {
  display: inline-block;
}

#sub-image {
  padding-top: 30px;
  padding-bottom: 30px;
}
#sub-image p {
  padding: 9px 0 9px 70px;
  background: url("../uploads/rgb_mark.png") left center no-repeat;
  background-size: auto 100%;
}

html[lang="en"] h2, h2 a {
  letter-spacing: 0.05em;
}

@media screen and ( max-width: 1024px ) {
  #header header h1 a {
    font-size: 1.5rem;
  }
  
  #sub-image {
    padding-left: 10px;
  }
  #sub-image p {
    font-size: 1.6rem;
    padding: 5px 0 5px 30px;
    letter-spacing: -0.1rem;
    text-shadow: 1px 1px 1px #FFFFFF, -1px 1px 1px #FFFFFF, 1px -1px 1px #FFFFFF, -1px -1px 1px #FFFFFF;
  }
  
  html[lang="en"] #sub-image p {
    font-size: 1.6rem;
    padding: 5px 0 5px 45px;
  }
}

@media screen and ( max-width: 1024px ) {
  .home #section02 article .content .photo {
    margin-bottom: 15px;
    text-align: center;
  }
  .home #section02 article .content .slide-image {
    max-width: 80%;
  }

  #main-image div.contents p.primary {
    font-size: 1.8em;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 4.3em;
    text-shadow: 1px 1px 1px #FFFFFF, -1px 1px 1px #FFFFFF, 1px -1px 1px #FFFFFF, -1px -1px 1px #FFFFFF;
  }
  
  html[lang="en"] #main-image div.contents p.primary {
    font-size: 1.2em;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 4.3em;
  }

}

@media screen and ( min-width: 1025px ) {
  #main-image>img {
    margin-top: -30px;
  }
  
  #main-image div.contents {
    transform: translate(-50%, -50%);
  }
}

.message {
  display: flex;
}

.message .image img {
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 5px 10px #CCCCCC;
  padding: 10px;
  min-height: 0%;
	object-fit: cover;
	height: 90%;
	object-position: left top;
}

.message .text {
  padding-left: 35px;
}

@media screen and ( max-width: 1024px ) {
  .message {
    display: block;
  }
  
  .message .image {
    text-align: center;
  }
  
  .message .image img {
    max-width: 80%;
  }

  .message .text {
    padding-left: 0;
  }
}

/* 日本語版 履修生募集メインイメージ */
@media screen and ( min-width: 1025px ) {
  #main-image div.contents .secondary {
    display: block;
    margin: 4px auto;
    padding: 0;
    background: none;
    border: none;
  }
  #main-image div.contents .secondary>p {
    margin: 0 0 15px;
    padding: 16px 0 16px 2.6em;
    font-size: 2.4rem;
    font-weight: bold;
    color: #2D287F;
    line-height: 1;
    background: url("../uploads/rgb_mark.png") left center no-repeat;
    background-size: auto 100%;
  }
  #main-image div.contents .secondary a {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 140%;
    color: #2D287F;
    text-align: left;
    padding: 20px 30px;
    text-decoration: none;
    border-left: 12px solid #2D287F;
    border-bottom: 4px solid #2D287F;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    background-color: #FFCB06;
    display: inline-block;
  }
  #main-image div.contents .secondary em {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0.05rem;
  }
  #main-image div.contents .secondary small {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 100%;
  }
  #main-image div.contents .secondary a {
    color: #2D287F;
    text-decoration: none;
  }
}

@media screen and ( max-width: 1024px ) {
  #main-image div.contents .secondary {
    display: block;
    margin: 4px auto;
    padding: 0;
    background: none;
    border: none;
  }
  #main-image div.contents .secondary>p {
    margin: 0 0 5px;
    padding: 8px 0 8px 2.6em;
    font-size: 1.6rem;
    font-weight: bold;
    color: #2D287F;
    line-height: 1;
    background: url("../uploads/rgb_mark.png") left center no-repeat;
    background-size: auto 100%;
  }
  #main-image div.contents .secondary a {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 120%;
    color: #2D287F;
    text-align: left;
    padding: 10px 10px 10px 15px;
    text-decoration: none;
    border-left: 8px solid #2D287F;
    border-bottom: 2px solid #2D287F;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    background-color: #FFCB06;
    display: inline-block;
  }
  #main-image div.contents .secondary em {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 0.05rem;
  }
  #main-image div.contents .secondary small {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 100%;
  }
  #main-image div.contents .secondary a {
    color: #2D287F;
    text-decoration: none;
  }
}



@media screen and ( max-width: 1024px ) {
  #trigger {
    top: 10px;
  }
}
@media screen and ( max-width: 480px ) {
  #header header {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  #trigger {
    top: 3px;
  }
}

/* 英語版メインイメージ */
@media screen and ( max-width: 480px ) {
	/********************************/
	/********** Main Image **********/
	/********************************/
	html[lang="en"] #main-image {
	  width: 100%;
	  margin: 0 auto;
	  padding: 0;
	  text-align: center;
	  border-top: 1px solid #CCCCCC;
	  background: linear-gradient(to bottom, #FFFFFF 0%, #EFFBFF 30%, #E0F7FF 100%);
	  position: relative;
	  border-bottom: 5px solid #2D287F;
	}
	html[lang="en"] #main-image img {
	  vertical-align: middle;
	  max-width: 100%;
	  height: auto;
	}
	html[lang="en"] #main-image p {
	  position: absolute;
	  z-index: 6666;
	  top: 45%;
	  left: 50%;
	  -webkit-transform: translate(-50%, -50%);
	  transform: translate(-50%, -50%);
	  font-size: 1.5rem;
	  font-weight: 800;
	  line-height: 140%;
	  color: #2D287F;
	  width: 100%;
	  margin: auto;
	  padding: 0 20px;
	  text-align: left;
	  text-shadow: 2px 2px 0 #FFFFFF,
	               -2px 2px 0 #FFFFFF,
	               2px -2px 0 #FFFFFF,
	               -2px -2px 0 #FFFFFF;
	  text-shadow: 2px 2px 1px #FFFFFF,
	               -2px 2px 1px #FFFFFF,
	               2px -2px 1px #FFFFFF,
	               -2px -2px 1px #FFFFFF;
	}
}

@media screen and ( min-width: 481px ) and ( max-width: 768px ) {
	/********************************/
	/********** Main Image **********/
	/********************************/
	html[lang="en"] #main-image {
	  width: 100%;
	  margin: 0 auto;
	  padding: 0;
	  text-align: center;
	  border-top: 1px solid #CCCCCC;
	  background: linear-gradient(to bottom, #FFFFFF 0%, #EFFBFF 30%, #E0F7FF 100%);
	  position: relative;
	  border-bottom: 5px solid #2D287F;
	}
	html[lang="en"] #main-image img {
	  vertical-align: middle;
	  max-width: 100%;
	  height: auto;
	}
	html[lang="en"] #main-image p {
	  position: absolute;
	  z-index: 6666;
	  top: 45%;
	  left: 50%;
	  -webkit-transform: translate(-50%, -50%);
	  transform: translate(-50%, -50%);
	  font-size: 2.0rem;
	  font-weight: 800;
	  line-height: 140%;
	  letter-spacing: 0.1rem;
	  color: #2D287F;
	  width: 100%;
	  margin: auto;
	  padding: 0 20px;
	  text-align: left;
	  text-shadow: 2px 2px 0 #FFFFFF,
	               -2px 2px 0 #FFFFFF,
	               2px -2px 0 #FFFFFF,
	               -2px -2px 0 #FFFFFF;
	  text-shadow: 2px 2px 1px #FFFFFF,
	               -2px 2px 1px #FFFFFF,
	               2px -2px 1px #FFFFFF,
	               -2px -2px 1px #FFFFFF;
	}
}

@media screen and ( min-width: 769px ) and ( max-width: 1024px ) {
	/********************************/
	/********** Main Image **********/
	/********************************/
	html[lang="en"] #main-image {
	  width: 100%;
	  margin: 0 auto;
	  padding: 0;
	  text-align: center;
	  border-top: 1px solid #CCCCCC;
	  background: linear-gradient(to bottom, #FFFFFF 0%, #EFFBFF 30%, #E0F7FF 100%);
	  position: relative;
	  border-bottom: 5px solid #2D287F;
	}
	html[lang="en"] #main-image img {
	  vertical-align: middle;
	  max-width: 100%;
	  height: auto;
	}
	html[lang="en"] #main-image p {
	  position: absolute;
	  z-index: 6666;
	  top: 45%;
	  left: 50%;
	  -webkit-transform: translate(-50%, -50%);
	  transform: translate(-50%, -50%);
	  font-size: 2.4rem;
	  font-weight: 800;
	  line-height: 140%;
	  letter-spacing: 0.1rem;
	  color: #2D287F;
	  width: 100%;
	  margin: auto;
	  padding: 0 20px;
	  text-align: left;
	  text-shadow: 2px 2px 0 #FFFFFF,
	               -2px 2px 0 #FFFFFF,
	               2px -2px 0 #FFFFFF,
	               -2px -2px 0 #FFFFFF;
	  text-shadow: 2px 2px 1px #FFFFFF,
	               -2px 2px 1px #FFFFFF,
	               2px -2px 1px #FFFFFF,
	               -2px -2px 1px #FFFFFF;
	}
}

@media print, screen and ( min-width: 1025px ) {
	/********************************/
	/********** Main Image **********/
	/********************************/
	html[lang="en"] #main-image {
	  width: 100%;
	  margin: 0 auto;
	  padding: 0;
	  text-align: center;
	  border-top: 1px solid #CCCCCC;
	  background: linear-gradient(to bottom, #FFFFFF 0%, #EFFBFF 30%, #E0F7FF 100%);
	  position: relative;
	}
	html[lang="en"] #main-image img {
	  vertical-align: middle;
	  max-width: 100%;
	  height: auto;
	}
	html[lang="en"] #main-image p {
	  position: absolute;
	  z-index: 6666;
	  top: 45%;
	  left: 50%;
	  -webkit-transform: translate(-50%, -40%);
	  transform: translate(-50%, -40%);
	  font-size: 2.6rem;
	  font-weight: 800;
	  line-height: 140%;
	  letter-spacing: 0.1rem;
	  color: #2D287F;
	  width: 100%;
	  max-width: 1000px;
	  margin: auto;
	  padding: 0;
	  text-align: left;
	  text-shadow: 2px 2px 0 #FFFFFF,
	               -2px 2px 0 #FFFFFF,
	               2px -2px 0 #FFFFFF,
	               -2px -2px 0 #FFFFFF;
	  text-shadow: 2px 2px 1px #FFFFFF,
	               -2px 2px 1px #FFFFFF,
	               2px -2px 1px #FFFFFF,
	               -2px -2px 1px #FFFFFF;
	}
}