@charset "UTF-8";

body {
	font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	text-align:center;
    color: #1e1e1e;
    background: #ffffff;
}

.clearfix::after {
    content: " ";
    display: block;
    clear: both;
}

.f-left { float: left; }
.f-right { float: right; }

.t-center { text-align: center; }

.title01 {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    border-bottom: 1px solid #1e1e1e;
    font-size: 1.2em;
    font-weight: normal;
    margin-bottom: 0.5em;
}

.circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;  /* 円形にする */
}

p {
    line-height: 150%;
    font-size: 0.9em;
}

#wrap {
    width: 960px;
    margin: 0px auto;
}

header {
}

header h1 {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: normal;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 10px auto;
}

header h1 img {
    height: 50px;
    width: 50px;
}
header h1 strong {
    font-size: 2em;
    letter-spacing: 0.3em;
    padding: 0px 20px;
    font-weight: normal;
}

header h1 a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    text-decoration: none;
}


nav.g-nav {
    margin: 10px auto 20px auto;
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    letter-spacing: 0.1em;
    font-size: 0.9em;
}

nav.g-nav ul {
    list-style: none;
    padding: 0px;
    height: 2em;
}

nav.g-nav ul li {
    text-align: center;
    float: left;
}

nav.g-nav ul li a {
    display: block;
    padding: 10px 49px;
    color: #000000;
    text-decoration: none;
    transition: color 0.5s;
}


nav.g-nav ul li a:hover {
    color: red;
}

header #ain-image img {
    clear: both;
    margin: 20px auto;
}





footer #footer-wrap {
    width: 960px;
    margin: 20px auto;
    text-align: center;
}

#footer-logo img {
    width: 300px;
    margin: 40px 0px 0px 0px;
}

footer p {
    width: 100%;
    background: #1e1e1e;
    color: #ffffff;
    margin: 0px;
    padding: 30px;
    font-size: 0.8em;
    line-height: 200%;
}





/* contents design */
#top-list {
    text-align: center;
    width: 100%;
    height: 340px;
}

#top-list .list-box {
    width: 240px;
    float: left;
    margin: 10px 40px;
}

#top-list .list-box .circle {
    width: 200px;
    margin: 10px auto;
}
#top-list .list-box h3 {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: normal;
}

#top-list .list-box a {
    display: block;
    background: #cccccc;
    color: #ffffff;
    margin: 5px 60px;
    padding: 3px;
    text-decoration: none;
}

#info {
    width: 680px;
    margin: 20px auto;
}
#info #timetable {
    width: 680px;
    margin-bottom: 40px;
}

#info #campusmap {
    width: 680px;
}

#access {
    text-align: left;
    margin: 20px 0px 40px 0px;
}

#access iframe {
    margin: 10px 0px 0px 0px;
}
.access-box {
    background: #ececec;
    width: 49.5%;
    height: 12em;
    text-align: left;
    margin-bottom: 40px;
}

.access-box h3 {
    margin: 20px 20px 10px 20px;
    font-weight: bold;
    border-bottom: 1px solid #1e1e1e;
    font-size: 0.9em;
}
.access-box p {
    font-size: 0.9em;
    line-height: 180%;
    margin: 10px 20px 20px 20px;
}






/* smartphone */
@media screen and (max-width:480px) {

#wrap, footer {
    width: 480px;
    overflow: hidden;
}
header h1 {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: normal;
    font-size: 1.2em;
    letter-spacing: 0.2em;
    display: block;
    text-align: center;
    margin: 10px auto;
}

header h1 img {
    height: 50px;
    width: 50px;
}
header h1 strong {
    font-size: 1.3em;
    padding: 0px 20px;
    font-weight: normal;
}
header h1 strong::before {
    white-space: pre;
    content: "\A";
}
header h1 strong::after {
    white-space: pre;
    content: "\A";
}
header h1 a {
    display: block;
    text-align: center;
    color: #000000;
    text-decoration: none;
}



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



/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
    top:0px;
    right: -80px;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #fff;
  transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  left: 0;/* メニューを画面に入れる */
}


}

