@charset "utf-8";

/****** modal ******/

.modal {
  display: none;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.modal__overlay {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modal__content {
  background: rgba(0, 0, 0, 0.6);
  left: 50%;
  padding: 10px;
  position: absolute;
  text-align: right;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 100%;

  & img {
    max-width: 1000px;
    width: 100%;
  }

  & p {
    background-color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    font-size: 16px;
  }

  & a {
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    text-align: right;
  }
}

.fixed {
  height: 100%;
  position: fixed;
  width: 100%;
}





/****** fade script ******/

.fadeIn {
  opacity: 0;
  transition-duration: 500ms;
  transition-property: opacity, transform;
}

.fadeIn-up {
  transform: translate(0, 50px);
}

.fadeIn-down {
  transform: translate(0, -50px);
}

.fadeIn-left {
  transform: translate(-50px, 0);
}

.fadeIn-right {
  transform: translate(50px, 0);
}

.scrollIn {
  opacity: 1;
  transform: translate(0, 0);
}


/****** /fade script ******/



:root {
  --font-min: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
}


.president_ttl_wrap {
  background-color: #16328a;
  color: #fff;
  padding: 30px 10px;
  width: 100%;
  margin-bottom: 20px;
  & h1 {
    padding: 0 calc(5% + 10px);
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.3em;
    line-height: 160%;
    color: #fff;
    letter-spacing: 0.08em;
  }
}


#president_wrap section {
  margin-bottom: 60px;
  &.president_greeting{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    width: 90%;
		margin: auto;
		gap: 60px;
  }
}




.president_profile_wrap {
  width: 100%;
  padding: 32px 0;
  font-size: 14px;
  font-family: var(--font-min);
  font-weight: normal;
  & dt {
    font-size: 14px;
    font-family: var(--font-min);
    font-weight: normal;
  }
  & ul {
    display: flex;
  }
  &p {
    font-size: 14px;
  }
}

.president_cont {
  & img{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
  }

  &.prof {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    border-left: 1px #f33 solid;
    padding: 20px 0;

    & dl {
      border-bottom: 1px #f33 solid;

      & dt,
      & dd {
        margin: 0 0 20px 30px;
      }
    }

    & p {
      margin: 20px 0 0 30px;
    }
  }

  & p{
    margin-bottom: 20px;
    text-indent: 1em;
  }

  & h2 {
    width: 100%;

    & img {
      width: 100%;
      margin-bottom: 45px;
    }
  }

  & h3 {
    font-weight: bold;
    font-size: 2em;
    margin-bottom: 0.8em;
  }

  &.sign {
    width: 90%;
		max-width: 1200px;
		display: flex;
		margin-left: 0;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		gap: 7px;
		position: relative;
    &::before{
      content: '学長';
    }
    & img {
      max-width: 300px;
      margin: 0;
    }
  }
}



.presi_name {
  font-family: var(--font-min);
  font-size: 24px;
  font-weight: bold;

  & span {
    font-size: 14px;
  }
}

.presi_name_en {
  font-size: 14px;
  color: #C30D23;
}


/*::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
macbook pro ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

@media all and (max-width: 1024px) and (min-width: 960px) {

  .president_cont h2 img {
    margin-bottom: 15px;
  }




  /* 閉じ */
}



/*::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
tablet ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

@media all and (max-width: 959px) and (min-width: 600px) {


  .president_cont h3 {
    font-size: 1.5em;
  }


  /* 閉じ */
}



/*::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
sp ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

@media all and (max-width: 599px) {

  .president_ttl_wrap {
    padding: 20px 5%;
    margin-bottom: 10px;
    & h1 {
      font-size: 1.1em;
    }
  }


  #president_wrap section {
    margin-bottom: 30px;
  }

  .president_cont {
    & h2 img {
      margin-bottom: 0;
    }

    & h3 {
      font-size: 1.125em;
    }
  }


  .presi_name {
    font-size: 18px;
    & span{
      font-size: 13px;
    }
  }

  .presi_name_en {
    font-size: 13px;
  }





  /* 閉じ */
}