*{
  color:#646c6e;
  margin:0;
}
header{
  display: flex;
}
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  margin-top: 15px;
}
.tab-label {
  margin-right: 5px;
  order: -1;
  font-size:25px;
  line-height:20px;
  text-align: center;
  transition: 0.3s;
  width:130px;
}
.labelicon{
  font-size:50px;
}
.labelicon>p{
  font-size:15px;
  margin-top:10px;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  color:#046bb4;
}
.tab-switch:checked+.tab-label>.labelicon {
  color:#046bb4;
}
.tab-switch:checked+.tab-label+.tab-content {
  display: block;
}
.labelicon:hover{
  color:#046bb4;
  cursor: pointer;
}
/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}
#komep{
  display: block;
  width: 90%;
  text-align: center;
  font-size: 20px;
  margin: 50px auto;
}
footer h3{
  text-align: center;
  height:70px;
  line-height:70px;
  margin-top:20px;
}
footer h3 a{
  margin-left:20px;
  text-decoration: none;
  color:#646c6e
}
footer h3 a:hover{
  opacity: 0.8;
}

.ulcontent {
  opacity: 0;
  transform: translateY(100px);
  transition: all .7s ease-in;
}
/* 画面に入った時の動き */
.ulcontent.blockIn {
  opacity: 1;
  transform: translateY(0);
}

.gridparent{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ollist{
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: bold;
  margin-right:10px;
}
.number{
  height: 40px;
  vertical-align: middle;
}
::-webkit-scrollbar {
  width: 20px;
  height: 20px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
  border:1px solid #0068B7;
  margin-right:5px;
}
::-webkit-scrollbar-thumb {
  background: #0068B7;
  border-radius: 10px;
}



/*リンクの形状*/
#page-top a{
  position: fixed;
  right: 5px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  font-weight: bold;
  transform: rotate(90deg);
  font-size: 90%;
  line-height: 1.5rem;
  color: #666;
  padding: 5px 0 0 35px;
  border-top: solid 5px;
  transition: all 0.3s;
}
#page-top a::before {
    content: "";
    display: block;
    position: absolute;
    top: -3px;
    left: 5px;
    width: 15px;
    border-top: solid 5px;
    transform: rotate(35deg);
    transform-origin: left top;
}
#page-top a:hover{
  bottom: 30px;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

.homeicon{
  font-size: 50px;
  display: block;
}
.homeicon>p{
  font-size: 15px;
  margin-top: 10px;
  text-align: center;
}
.topicondiv{
  margin-top: 15px;
}
.topicondiv:hover{
  cursor:pointer;
}
.homeicon:hover,.homeicon+p:hover{
  color:#046bb4;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}
/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}
@media screen and (max-width:999px){
  header{
    justify-content:space-around;
    align-items: center;
  }
  .tab-label{
    width:calc(100%/4);
  }
  .labelicon{
    font-size:30px;
  }
  .labelicon>p{
    font-size: 10px;
    margin-top:10px;
    text-align: center;
  }
  .gridparent{
    display:block;
  }
  header{
    display: block;
  }
  header h1{
    font-size:30px;
    text-align: center;
  }
  .tab-wrap {
    margin:0;
    position: static;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .h2title{
    font-size:20px;
    margin-top:30px;
  }
  .ollist{
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: bold;
    margin-right:10px;
  }
  footer h3{
    text-align: center;
    margin-top:20px;
    font-size: 18px;
    height: auto;
  }
  #page-top a{
    position: fixed;
    right: 0;
    bottom: 20px;
    height: 20px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 70%;
    line-height: 10px;
    color: #666;
    padding: 5px 15px 0 20px;
    border-top: solid 3px;
    width: 20px;
  }
  #page-top a::before {
      content: "";
      display: block;
      position: absolute;
      top: -3px;
      left: 0;
      width: 15px;
      border-top: solid 3px;
      transform: rotate(35deg);
      transform-origin: left top;
  }
/* .gridparent.ulcontent{
  display:grid;
} */
}
