@charset "utf-8";

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  /* outline: 1px solid magenta; */
}

body {
  font-family: sans-serif;
  color: #121212;
  line-height: 1;
}

img {
  max-width: 100%;
}

/* header */

#header {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

#header h1 a {
  color: #ddd;
}

#header h1 {
  text-transform: uppercase;
  font-size: 1.5rem;
  padding: 1% 0 1% 10%;
  line-height: 1;
  white-space: nowrap;
}

@media screen and (max-width:960px) {
  #header h1 {
    position: absolute;
    padding: 1% 0 1% 10%;

  }


}


.mainBg {
  background-color: #fff;
  padding: 30px;
  width: 100vw;
}

.container {
  width: 75vw;
  margin: 0 auto 150px auto;
}

.sliderBg {
  background-color: #fff;
  width: 100vw;
}
/* @media screen and (max-width:960px) {
  .container {
    padding: 0 10px;
  }

} */

/* -----------------------------Title------------------------------- */

.title,
.facilityTitle,
.organizationTitle,
.accessTitle,
.eventTitle {
  height: 350px;
  /* background-image: url(../images/organization/orga-top.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
}

.facilityTitle::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/facility/bg-after-facility.jpg) no-repeat center/cover;
  filter: brightness(0.4);
  z-index: -1;
}

.accessTitle::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/common/bg-contacttitle.jpg) no-repeat center/cover;
  filter: brightness(0.4);
  z-index: -1;
}

.organizationTitle:after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/common/bg-overviewtitle.jpg) no-repeat center/cover;
  filter: brightness(0.4);
  z-index: -1;
}

.title::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/facility/bg-after-facility.jpg) no-repeat center/cover;
  filter: brightness(0.4);
  z-index: -1;
}

.eventTitle::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/common/bg-event.jpg) no-repeat center/cover;
  filter: brightness(0.4);
  z-index: -1;
}

.organizationTitle h1,
.facilityTitle h1,
.accessTitle h1,
.eventTitle h1,
.title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: bold;
  padding-top: 95px;
}

.organizationTitle p,
.facilityTitle p,
.accessTitle p,
.eventTitle p,
.title p {
  font-size: 14px;
  margin-top: 15px;
}

.clear{
  height: 5vh;
}




/* ----------------------------- ここからfooter ------------------------------- */

#footer {
  width: 100%;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 2.2;
  background-color: #121212;
}

.footerLogoAria {
  padding-top: 30px;
}

.footerLogo {
  padding-bottom: 30px;
}

.footerTitle {
  font-size: 18px;
  font-weight: bold;
}

.footerAd {
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
}

.copyright {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 30px;

}

@media (max-width: 800px) {
  .headerNav ul {
    display: block;
    text-align: center;
  }

  .headerNav li {
    margin-top: 20px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .innerWrap {
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
  }

  .headerLogo {
    width: 80%;
  }

  /* .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #ffffff;
    background-color: #736E62;
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
  }

  .header-site-menu.is-show {
    display: block;
  } */



  .toggle-menu-button {
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../images/common/icon-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
  }

  #footer {
    margin-top: 0;
  }

  .footerLogo {
    padding-bottom: 40px;
  }

  .footerAd {
    font-size: 20px;
  }

  .copyright {
    margin-top: 50px;
  }

  .site-menu ul li a {
    border: none;
    font-size: 1.1em;
  }
}

/* =========================== ページトップボタン =========================== */

.page-top p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

button {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 12px;
  bottom: 15px;
  width: 70px;
  height: 70px;
  font-size: 16px;
  padding-top: 6px;
  font-weight: bold;
  color: #fff;
  background: #848484;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  letter-spacing: 1px;
  z-index: 999;
}

.is-active {
  opacity: 1;
  visibility: visible;
}






/*===========================================================*/
/*header　css*/
/*===========================================================*/



/* header */

#header {
  background-color: rgba(0, 0, 0, 0.5);
}

#header h1 a {
  color: #ddd;
}

#header h1 {
  text-transform: uppercase;
  font-size: 1.5rem;
  padding: 1% 0 1% 10%;
  line-height: 1;
  white-space: nowrap;
}

@media screen and (max-width:960px) {
  #header h1 {
    position: absolute;
    padding: 1% 0 1% 10%;
  }

}





/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*ナビゲーションを横並びに*/
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

/*2階層目以降は横並びにしない*/
nav ul ul {
  display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
  position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a {
  display: block;
  text-decoration: none;
  color: #eee;
  padding: 20px 35px;
  transition: all .3s;
  font-size: 0.9em;
}

nav ul li li a {
  padding: 10px 35px;
}


@media screen and (max-width:1200px) {
  nav ul li a {
    padding: 10px;
  }

}

nav ul li a:hover {
  color: #fff;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 23px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #eee;
  border-right: 2px solid #eee;
  transform: rotate(135deg);
}

@media screen and (max-width:1080px) {
  nav ul li.has-child::before {
    left: 15px;
    top: 10px;
  }
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul {
  /*絶対配置で位置を指定*/
  position: absolute;
  left: -20px;
  top: 68px;
  z-index: 4;

  text-align: center;
  /*形状を指定*/
  background: rgba(69, 126, 238, 0.4);
  width: 180px;
  /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
  /*アニメーション設定*/
  transition: all .3s;
}

/*hoverしたら表示*/
nav li.has-child:hover>ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
  color: #fff;
  /* border-bottom: solid 1px rgba(255, 255, 255, 0.4); */
}

nav li.has-child ul li:last-child a {
  border-bottom: none;

}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  background: rgba(48, 3, 3, 0.6);

}

/*==960px以下の形状*/

@media screen and (max-width:960px) {
  nav {
    padding: 0;
  }

  nav ul {
    display: block;
  }

  nav ul li a {
    border-bottom: 1px solid #ccc;
  }

  /*矢印の位置と向き*/

  nav ul li.has-child::before {
    left: 20px;
  }

  nav ul ul li.has-child::before {
    transform: rotate(135deg);
    left: 20px;
  }

  nav ul li.has-child.active::before {
    transform: rotate(-45deg);
  }

}

/*===========================================================*/
/*機能編  5-1-6 スクロール途中から上部固定 */
/*===========================================================*/

#header {
  position: fixed;
  /*fixedを設定して固定*/
  height: 70px;
  /*高さ指定*/
  width: 100%;
  /*横幅指定*/
  z-index: 999;
  /*最前面へ*/
  /*以下はレイアウトのためのCSS*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px 100px 20px 0;
}

/*==ふわっと出現させるためのCSS*/

/*　上に上がる動き　*/

#header.UpMove {
  position: fixed;
  width: 100%;
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}




/*==================================================
機能編 　5-1-11 クリックしたらナビが上から下に出現
===================================*/

@media screen and (max-width:960px) {
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: rgba(75, 118, 227, 0.8);
    /*動き*/
    transition: all 0.6s;
  }

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    width: 90%;
    margin: 100px auto 0 auto;
  }

  #g-nav ul ul {
    width: 100%;
    margin: 0;
  }

  /*プルダウンナビのCSS*/
  #g-nav ul li.has-child ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    visibility: visible;
    /*JSで制御するため一旦表示*/
    opacity: 1;
    /*JSで制御するため一旦表示*/
    display: none;
    /*JSのslidetoggleで表示させるため非表示に*/
    transition: none;
    /*JSで制御するためCSSのアニメーションを切る*/
    transform: none;
  }

  /*リストのレイアウト設定*/

  #g-nav li {
    list-style: none;
    text-align: center;
  }

  #g-nav li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }
}

/*==================================================
　機能編 5-2-7 3本線が奥行きを持って回転して×に
===================================*/

.g-nav-openbtn {
  display: none;
}

@media screen and (max-width:960px) {
  .g-nav-openbtn {
    display: block;
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 10px;
    right: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*ボタン内側*/

  .g-nav-openbtn .openbtn-area {
    transition: all .4s;
  }

  .g-nav-openbtn span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    width: 45%;
  }


  .g-nav-openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .g-nav-openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .g-nav-openbtn span:nth-of-type(3) {
    top: 31px;
  }

  /*activeクラスが付与されると
線と周りのエリアが回転して×になる*/

  .g-nav-openbtn.active .openbtn-area {
    transform: rotateY(-360deg);
  }

  .g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
  }

  .g-nav-openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .g-nav-openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
  }
}

/*==================================================
　機能編 5-3-3 左から右に線が伸びる（下部）
===================================*/
.nav01c li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
}

.nav01c li.current a,
.nav01c li a:hover {
  color: #eee;
}

.nav01c li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 16px;
  left: 25%;
  /*線の形状*/
  width: 50%;
  height: 1px;
  background: #eee;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1);
  /*X方向0、Y方向1*/
  transform-origin: left top;
  /*左上基点*/
}

.nav01c li li a::after {
  display: none;
}

/*現在地とhoverの設定*/
.nav01c li.current a::after,
.nav01c li a:hover::after {
  transform: scale(1, 1);
  /*X方向にスケール拡大*/
}

@media screen and (max-width:960px) {
  .nav01c li a::after {
    display: none;
  }


}

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

  .organizationChart {
    display: none;
  }
}