@charset "UTF-8";

.drawer {
    display: none;
}

.drawer-list{
	padding-left: 2em;
	box-sizing: border-box;
}

.drawer-list ul{
	padding-left: 2em;
	box-sizing: border-box;
}

.drawer-list a:link, .drawer-list a:visited {
    color: #555;
}

#menu .button a:link,#menu .button a:visited{
	color: #555;
}

.container #menu {
    margin: 0px;
    padding: 0px;
    width: 172px;
    float: left;
}

.container #menu .button{
	all: initial;
}



.container #main{
	width: 97%;
	max-width: 700px;
	margin: 0;
	float: right;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 0;
	text-align: left;
	box-sizing: border-box;
}



@media screen and (max-width:890px){
	
body{
	border: none;
}

	
	#menu{
		display: none;
	}

.drawer{
	display: flex;
	justify-content: flex-end;
}
	
	
footer ul {
		flex-direction: column;
		text-align: center;
		float: none;
	}
	
	footer li:not(:last-child) {
		border-right-style: none;
		margin-right: 0;
		padding-right: 0;
		margin-bottom: 5px;
	}
	
	footer ul li a{
		font-size: 10px;
	}
	
	footer p {
		text-align: center;
		margin-top: 15px;
	}

/*------------------------------

  ここから下がハンバーガーメニュー
  に関するCSS

------------------------------*/
  
/* チェックボックスは非表示に */
.drawer-hidden {
  display: none;
}

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

/* ハンバーガーメニューのアイコン */
.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-check:checked ~ .drawer-open span {
  background: rgba(255, 255, 255, 0);
}

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

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

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


	.drawer-content ul.drawer-list li.drawer-item{
		list-style-type: none;
		font-size: 16px;
		font-weight: bold;
		text-align: left;
		padding-top: 10px;
	}
	
	.drawer-content ul.drawer-list li.drawer-item a{
		text-decoration: none;
	}
	
	/*一般学生セッションのみhoverで子要素を表示*/
	
	.drawer-content ul.drawer-list li.drawer-item a:hover{
		opacity: 0.5;
		transition-duration: 300ms;
	}
	
	.drawer-content ul.drawer-list li.drawer-item ul li{
		list-style-type: disc;
		font-size: 13px;
		height: 0;
		overflow: hidden;
		transition: 0.5s;
	}
	
	.drawer-content ul.drawer-list li.drawer-item:hover > ul > li{
		height: 1.6rem;
		overflow: visible;
	}

	
/*索引インデックスのスマホ対応*/

	p.h2.sp_none{
		display: none;
	}
	
	.pc_none{
		display: block;
	}
	
	.menu_box_page ul{
		display: flex;
	}
	
	.menu_box_page ul li{
		width: 20%;
		list-style-type: none;
		font-size: 16px;
	}
	
	

	
	
	
	

	}