@charset "UTF-8";
*,
*::after,
*::before {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", "新ゴ R", "Shin Go Regular", sans-serif;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.toppage {
  background-image: url("../imgs/keiomita.jpg");
}

body.childpage {
  background-image: none;
  background-color: #2e318e;
}

body {
  overflow-x: hidden;
}

a {
  color: #2e318e;
}

h1,
h2,
h3,
h4,
h5,
h6,
b {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Bold", "Yu Gothic Bold", "游ゴシック", "Yu Gothic", "メイリオ", "新ゴ M", "Shin Go Medium", sans-serif;
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6,
div,
ul,
li,
p {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

p {
  margin-bottom: 0.5rem;
}

.global-container {
  width: 100vw;
}

@media screen and (max-width: 960px) {
  .global-container {
    overflow-x: hidden;
  }
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.hero-container {
  width: 100vw;
  height: 100vh;
  /*background-image: linear-gradient(rgba(46, 49, 142, .8), rgba(46, 49, 142, .8)), url("../imgs/dummy.jpg");*/
  background-size: cover;
  position: relative;
}

.hero-content {
  width: 100vw;
  height: 100vh;
  padding: 10vw;
  padding-bottom: 5vw;
  color: #eee;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-content: space-between;
  background-image: linear-gradient(rgba(46, 49, 142, 0.7), rgba(46, 49, 142, 0.7));
}

.hero-content-title {
  width: 30vw;
  min-width: 500px;
}

.hero-content-title .hero-content-title-logo {
  width: 100%;
  height: 100%;
}

.hero-content-description {
  width: 40vw;
  padding-top: 30vh;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-content-description-header {
  font-size: 2rem;
}

.hero-content-description-text {
  border: 1px solid #fff;
  padding: 1rem;
}

.inline-block {
  display: inline-block;
}

.hero-content-more {
  width: 100vw;
  height: 7vh;
  display: flex;
  justify-content: center;
}

.hero-content-more > a {
  width: 7vh;
}

/*タブレット用hero*/
@media screen and (max-width: 960px) {
  .hero-content-description {
    padding-top: 10vh;
  }
}

/*スマホ用hero*/
@media screen and (max-width: 767px) {
  .hero-content-title {
    display: none;
  }
  .hero-content-description {
    width: 85vw;
    margin-top: 10vh;
  }
  .hero-content-description-header {
    font-size: 1.4rem;
  }
  .hero-content-description-text {
    border: 1px solid #fff;
    padding: 0.8rem;
  }
  .hero-content-more {
    height: 10vh;
    margin-bottom: 10vh;
  }
  .hero-content-more > a {
    width: 10vh;
    max-height: 150px;
  }
  .hero-content-description {
    padding-top: 10vh;
    font-size: 1rem;
  }
  .hero-content-description-header {
    font-size: 1.7rem;
  }
}

.more-button {
  height: 100%;
}

nav#hoshino-navigation {
  width: 100vw;
  height: 5vh;
  background-color: #2E318E;
  position: -webkit-sticky;
  position: sticky;
  z-index: 10;
  top: 0;
  color: #eee;
  font-size: 1.5rem;
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav#hoshino-navigation > ul {
  list-style-type: none;
  font-size: 1rem;
  margin-right: 3vw;
}

nav#hoshino-navigation > ul > li {
  display: inline-block;
  margin-left: 0.6rem;
}

nav#hoshino-navigation > ul > li > a {
  color: #eee;
  text-decoration: none;
}

.mobile-nav-button {
  display: none;
}

.mobile-close {
  display: none;
}

.nav-logo {
  height: 1.4rem;
  max-width: 70vw;
}

@media screen and (min-width: 767px) and (max-width: 1000px) {
  nav#hoshino-navigation {
    position: fixed;
    background-color: #2e318e;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: auto;
    font-size: 1pt;
  }
  .nav-logo {
    display: none;
  }
  .nav-link {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 767px) {
  .mobile-nav-button {
    display: block;
    width: 10vw;
    max-height: 2.5rem;
    position: fixed;
    top: 10px;
    left: 10px;
  }
  .mobile-close {
    display: block;
  }
  nav#hoshino-navigation {
    background-color: #2e318e;
    height: 3.5rem;
    flex-direction: column;
    display: flex;
    position: fixed;
  }
  nav#hoshino-navigation > ul {
    position: fixed;
    background-color: #2e318e;
    top: 0px;
    left: -100vw;
    height: 100vh;
    width: 80vw;
    list-style-type: none;
    font-size: 1rem;
    margin-right: 3vw;
  }
  nav#hoshino-navigation > ul > li {
    display: block;
    margin-left: 1rem;
    margin-top: 2rem;
    width: 100%;
  }
  nav#hoshino-navigation > ul > li > a {
    color: #eee;
    text-decoration: none;
  }
  .tr-active {
    transform: translateX(100vw);
  }
}

.nav-tr {
  transition: all 300ms 0s ease;
}

section.description {
  width: 100vw;
  padding-left: 15vw;
  padding-right: 15vw;
  padding-top: 10vh;
  padding-bottom: 10vh;
  page-break-after: always;
}

section.description > h2,
section.description * > h2 {
  font-size: 1.5rem;
}

section.description > h3,
section.description * > h3 {
  font-size: 1.2rem;
}

section.description .description-flex-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media screen and (min-width: 767px) and (max-width: 1000px) {
  section.description {
    padding-left: 10vw;
    padding-right: 10vw;
  }
}

@media screen and (max-width: 767px) {
  section.description {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

.flex-content {
  /*background-color: rgba(250, 250, 250, 0.5);*/
  padding: 0.5rem;
  /*border: 1px solid #fff;*/
  margin: 10px;
}

.flex-content > ul {
  list-style-position: inside;
  text-indent: 0.5rem;
}

.content-header-img {
  width: 100%;
  height: 120px;
  margin-bottom: 0.5rem;
  background-image: url("../imgs/dummy.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.w20 {
  width: 20vw;
}

.w30 {
  width: 30vw;
}

@media screen and (max-width: 1000px) {
  .w20,
  .w30 {
    width: 100%;
  }
}

.mw200 {
  min-width: 200px;
}

.mw300 {
  min-width: 300px;
}

.fg1 {
  flex-grow: 1;
}

.fs1 {
  flex-shrink: 1;
}

#about {
  background-color: white;
  color: #2e318e;
}

#prof {
  background-color: #fafafa;
  color: #2e318e;
}

.prof-name {
  margin-top: 1vh;
  margin-bottom: 1vh;
  font-size: 1.3rem;
  font-weight: bold;
}

.prof-img {
  margin-right: 1vw;
}

.prof-description {
  text-align: justify;
  text-align-last: start;
}

#recruit {
  background-color: #fdfdfd;
  color: #2e318e;
}

#contact {
  background-color: #2e318e;
  color: #eee;
}

#contact > a,
#contact > * > a {
  color: #eee;
}

section.about {
  width: 100vw;
  background-color: aqua;
  color: #eee;
}

.underline {
  display: inline-block;
  position: relative;
}

.underline::before {
  content: "";
  animation: fadeIn 1s ease 0s 1 normal;
  display: block;
  width: 100%;
  height: 25%;
  background: #72BBD1;
  position: absolute;
  bottom: 0.5rem;
  background-color: rgba(240, 240, 240, 0.2);
}

div.margin-box {
  margin-top: 1.5vh;
  margin-bottom: 1.5vh;
}

.border-white {
  border: 1px solid #fff;
}

.border-blue {
  border: 1px solid #2e318e;
}

@keyframes fadeIn {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@media print {
  .no-print {
    display: none;
  }
}

.slide-box {
  display: none;
}

.member-name {
  font-size: 1.2rem;
}

.member-name-en, .member-info, .member-description {
  font-size: 0.8rem;
}

.member-img {
  float: left;
  margin-right: 0.5rem;
  width: 150px;
}

.professor-img {
  max-width: 70vw;
}
