@charset "UTF-8";
/* CSS Document */

/* レスポンシブデザイン */
/*@media screen and (max-width: 767px) {*/
  /* タブレットサイズ以下の場合のスタイル */
	
	html{
		scroll-behavior:smooth;
		font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	}
	
	body {
		font-size: 1rem;
	}
	
	.header {
		position: fixed;
		top:0;
		width: 100%;
		background-color: #707070;
		color: #fff;
		padding: 0.5rem;
	}
		
	main{
		width: 80%;
		margin: 0 auto;
		padding: 0 0 100px 0;
	}
	
	.category{
		padding: 30px 0 0 0;
		margin: 30px 0;
	}

	hr{
		border: solid 0.2px; 
	}

	.class_name{
		font-size: 1.5em;
		text-align: center;
		margin-top: 30px;
	}

	.class_name_choice{
		text-align: center;
		margin-top: 30px;
	}
	
	.class_name_item{
		display: flex;
		justify-content:center;
		margin:10px 0 20px 0;
	}
		
	.class_name_item p{
		color: #fff;
		background: #fd8182;
		font-size: 0.5rem;
		width: 55px;
		height: 55px;
		border-radius:8px;
		margin: 0 5px;
	}
	
	.class_name_item a{
		width: 55px;
		height: 55px;
		display: grid;/*テキスト上下左右中央*/
		place-items: center;/*テキスト上下左右中央*/
		text-align: center;
		/*line-height: 100px;
		text-align: center;*/
	}

	.headline{
		font-size:1.5rem;
		text-align: center;
		margin: 0 0 20px 0;
		line-height: 1.8rem;
	}
	
	#schedule p{
	}	
	
	#topics .item{
	font-size:0.7em;	
	}
	
	#subject p{
		font-size: 0.7em;
	}
	
	#time_table{
	padding-top: 100px;
}

	.data{
	margin-top: 5px;
	}
	.item{
	margin-bottom: 5px;
	text-align: right;
	}
	
	.home_button{
		position: relative;
		height: 140px;
	}
	
	.home_icon{
		position: fixed;
		width: 16%;
		bottom: 8%;
		left:42%;
		right: 42%;
		/*margin-left: -25%;*/
	}
	
	footer{
		position: fixed;
		bottom: 0;
		width: 100%;
		color: #fff;
		background: #707070;
		font-size: 0.5rem;
		text-align: center;
		height: 30px;
		display: grid;/*テキスト上下左右中央*/
		place-items: center;/*テキスト上下左右中央*/
	}

	section {
	flex-basis: 48%;
	}
/*}*/

/*---------------------------------------------ハンバーガー--------------*/
/*@media screen and (max-width: 767px) { */
  .header {
    position: fixed;
    background: #555;
    border-bottom: 1px solid var(--border-rightgray);
    width: 100%;
    z-index: 1;
  }
/*}*/

.header__inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 50px 20px;
}

/*
@media screen and (max-width: 959px)  { 
  .k-printHeader__inner {
    padding: 20px;
  }
}
*/
/*@media screen and (max-width: 767px) { */
  .header__inner {
   padding: 10px 20px;
  }
/*}*/

.header__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  list-style-type: none;
  padding-top: 64px;/*ここであとで好きな数字をいれる*/
}
/*@media screen and (max-width: 767px) { */
  .header__item {
    display: block;
  }
/*}*/

.header__item a {
  display: block;
  text-decoration: none;
  font-size: calc( 16 / var(--font-size) * 1rem );
  transition : var(--transition);
  padding: 0 20px;
}


/*@media screen and (max-width: 767px) { */
  .header__item a {
    font-size: calc( 14 / var(--font-size) * 1rem );
    color: #fff;
    padding: 15px;/*ここであとで好きな数字をいれる*/
    transition: opacity .6s ease;
  }
/*}*/

.header__item a:hover {
  color: var(--red);
}

.hamburger, .header__overlay {
  display: none;
}
/*@media screen and (max-width: 767px) { */
  .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 1000;
  }
  .hamburgerBox {
    position: relative;
    width: 30px;
    height: 22px;
    cursor: pointer;
  }
  
  .hamburgerBox > span {
    width: 100%;
    height: 1px;
    left: 0;
    display: block;
    background: #fff;/*ハンバーガーの線の色*/
    position: absolute;
    transition: transform .3s ease-in-out, top .2.5s ease, bottom .2.5s ease;
  }
  
  .hamburgerBox > span:nth-child(1) {
    top: 0;
  }
  .hamburgerBox > span:nth-child(2) {
    top: 50%;
    transform: translatey(-50%);
  }
  .hamburgerBox > span:nth-child(3) {
    bottom: 0;
  }

  .header__overlay {
    display: none;
    z-index: 20;
    position: fixed;
    top: 0;
    right: 0;
    width: 45%;/*ここでハンバーガーメニューの幅*/
    height: 100vh;
  }

/*
  .header__overlayColor {
    display: block;
    background-color: rgba(26,20,18,.7); ハンバーガーメニューの背景 
    height: 100vh;
  }
*/
  .header__list {
    position: relative;
  }
  
  .header__nav {
    z-index: 900;
    overflow: auto;
    width: 45%;
    height: 100%;
    background: rgba(26,20,18,.9);/*ハンバーガーメニューの背景*/
    color: #fff;
    border-radius: 10px 0 0 10px;
    position: fixed;
    top: 0;
    right: 0;
    text-align: right;
    transform: translateX(100%);
    transition:  transform 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  
  .header__nav ul {
    list-style: none;
  }
  
  .header__nav a:hover {
    opacity: 0.6;
  }
  
  .is-open {
    overflow: hidden;
  }
  
  .is-open .hamburgerBox > span {
    background: #fff;
  }
  
  .is-open .hamburgerBox > span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg) translatey(-50%);
  }
  
  .is-open .hamburgerBox > span:nth-child(2) {
    width: 0;
  }
  
  .is-open .hamburgerBox > span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg) translatey(-50%);
  }
  
  .is-open .header__nav {
    z-index: 999;
    transform: translateX(0);
  }

  .class__contents {
    padding-bottom: 40px;
  }

.list{
	display: block;
	margin: 0 auto;
}

.online{
	color:tomato;
}
/*}*/

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