body {
  height: fit-content;
  color: #333333;
  font-family: 'Noto Sans JP', sans-serif, Meiryo, "MS PGothic", "MS UI Gothic", 'Roboto';
  font-size:1.4rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin:20px 0;
}

a:hover {
  text-decoration:none;
}

img {
  max-width:100%;
}

.header-university-title-wrapper
{
  max-width: 80%!important;
}

.header-university-inner-wrapper
{
  flex-wrap: nowrap;
}

.header-title{
  color:#272829;
  text-align:center;
  font-family:Minchotai;
  font-style:italic;
  font-size:3rem;
  font-weight:600;
}

.header-title-img
{
  width: 50%;
}
.navbar-toggler{
  border-color:white;
  color:white;
}

  .navbar-toggler img {
    width: auto;
    height: 30px; 
  }


.btn_apply{
   padding:10px 15px;
   font-size:1.7rem;
}

.mobile {
  display:none;
}

/* Navbar with Underline Effect*/
.nav-item {
  position: relative;
}

.navbar-collapse{
   /* display: flex; */
    justify-content: space-between; /* Distribute items evenly */
    align-items: center; /* Vertically center items */
}

.navbar-collapse ul li a.nav-link:before {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    content: '';
    opacity: 0;
    -ms-transition: opacity 0.3s, -webkit-transform 0.3s;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -ms-transform: translateY(10px);
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
}

.navbar-collapse ul li:hover a.nav-link:before {
	opacity: 1;
	-ms-transform: translateY(0px);
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
	bottom: -1px;
	background: #ffffff; /* Site Theme */
}

.active_menu{
    border-bottom: 3px solid #00C1D4 !important;
    font-weight:600;
}

.active_menu:hover a.nav-link:before{
  opacity: 0 !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #ffffff;
    text-decoration: none;
    /* background-color: #dd4343; */
    background: #00C1D4; /* Site Theme */
}

.dropdown-menu {
  border: 0px;
}

.fixed-top {
	    top: -10px;
	    transform: translateY(40px);
	    transition: transform 1s;
}

/* #End: NavBar Underline Effect*/

.navbar-nav {
  margin:auto;
  font-size:1.7rem;
  width:80%;
  justify-content: space-between;
}

@media only screen and (max-width: 992px) {
  .header-university-title-wrapper
{
  max-width: 90%!important;
}
}

.navbar-nav .dropdown-item {
  font-size:1.6rem;
}

.navbar-nav li {
  padding: 5px 0px;
  margin:auto 2px;
}

/*About Faculty*/
  .p-about_faculty {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
  }

  .p-about_faculty div {
    {* border: 1px solid #ccc; *}
    padding: 10px;
  }

   .p-about_faculty img {
    margin: 0 auto;
    max-width: 90%;
    height: auto;
    display: block;
    background-color: #9C8679;
    padding: 5px;
    border-radius: 20px;
  }

  .nav-brand{
    display:none;
  }

  .nav-brand img {
    width:50px;
    border:1px solid gray;
    padding-right:5px;

  }

  .top_menu{
    margin:0;
    padding:5px 0px;
  }

  .top_menu li{
    display:inline;
  }

  .top_menu li > a{
    color:#fff;
    padding:5px 10px;
    text-decoration:none;
  }

  .top_menu li > a:hover{
    background:#398695;
    opacity:1;
  }

  .shadow-bottom-top{
    box-shadow:0 4px 2px -2px rgba(0,0,0,.15);
  }

  .shadow-bottom{
    box-shadow:0 4px 2px -2px rgba(0,0,0,.15);
  }

  .btn_apply:hover{
    background:#00C1D4;
  }

  .c_navbar{
    z-index:1000;
    background-color:rgb(52,58,64,0.8);
    padding-left: 0px!important;
    padding-right: 0px!important;
  }

  .nav-link{
    color:#fff;
  }

  .nav-link:hover{
    color:#fff;
    font-weight:600;
  }
  
  .navbar_absolute{
    position: absolute;
    width: 100%;
    padding-left: 0px!important;
    padding-right: 0px!important;
  }

  .input_form_header, .input_form_footer{
    font-size:1.2rem;
  }

  .input_form_header {
    padding:0 10px;
  }

  .btn-wrapper{
    margin:20px 0px 40px;
  }

  .c-btn{
    padding:10px 15px;
    font-size:15px;
    border-radius:5px;
    color:#00C1D4;
    border-color:#00C1D4;
    min-width:100px;
  }

  .c-btn:hover, .c-btn:active{
    background-color:#00C1D4 !important;
    border-color:#00C1D4 !important;
  }

  .box-btn{
    display:flex;
    border:1px solid #ccc;
    border-radius:5px;
    padding:20px 30px;
    margin:10px;
    width:200px;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#00C1D4;
  }

  .box-btn:hover{
    color:#fff;
    background-color:#00C1D4;
  }

  .inquiry-category{
    margin-bottom:50px;
  }

  .btn-wrapper-lv2{
    margin:20px -15px;
  }

  #chevron {
    position: relative;
    text-align: center;
    padding: 30px 12px 12px;
    height: 80%;
    min-height:80px;
    width: 80px;
    max-width:100%;
    margin:15px auto 30px;
  }

  #chevron:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 51%;
    background: #72bdcd;
    transform: skew(0deg, 30deg);
  }
  
  #chevron:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 51%;
    background: #72bdcd;
    transform: skew(0deg, -30deg);
  }

  .history-img {
    width:150px !important;
  }

  #chevron p {
    position:absolute;
    z-index:1;
    color:#fff;
    font-size:24px;
    font-weight:600;
  }

  .history-text p{
    text-align:justify;
  }

  .over150-container {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.over150-text {
  font-weight: 600;
  font-size: 2.6rem;
  color: #000;
  transition: transform 0.2s;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.over150-container:hover .over150-text:not(.over-150-blue-text) {
  color: #9C8679;
}

.over150-container:hover .over150-text {
  transform: scale(1.025);
}

.over-150-blue-text {
  color: #72bdcd;
}
.main_logo {
    display: flex!important;
    align-items: flex-start!important;
    padding: 0px!important;
}

.p-page-breadcrumb__text {
  padding: 15px 0;
  margin: 0;
}

.form__heading {
  font-size: 1.4rem;
}

.c-btn
{
  margin-right:10px;
}

/* Breakpoint for ipad and below*/
@media only screen and (max-width: 992px) {
  .desktop{
    display:none;
  }

  .header-title-img
  {
    display:none;
  }

  .header-title-mobile-img
  {
      /* display: flex;
      justify-content: center;
      align-items: center; */
      text-align: center;
  }
 
  .header-title-mobile-img img {
  display: inline-block;
    max-width: 50%;
    vertical-align: middle;
  }
  .mobile{
    display:block;
  }

   .c_navbar{
    padding-left: 15px!important;
    padding-right: 15px!important;
  }


  .header-title{
    text-align:center;
    margin-top:25px;
  }

  .btn_apply{
    font-size:1.3rem;
  }

  .main_logo {
    text-align:left !important;
  }

  .nav-brand {
    display:none;
  }

  .btn-wrapper-lv2{
    justify-content: center;
  }

  .box-btn{
    width:100%;
  }

  .input_form_header, .input_form_footer{
    padding:0;
  }

}

@media only screen and (max-width: 768px) {
  .over150-text {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 576px) {
  div.history{
    flex-direction:column-reverse;
  }

  #chevron {
    min-height:100px;
    height:80%;
    width:40px;
    margin-top:5px;
  }

  #chevron p {
    font-size:2rem;
    top:35%;
    transform:rotate(90deg);
    left:0;
  }
}