* {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: normal;
  font-style: normal;
}
body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
}
a {
  text-decoration: none;
}

#hum {
  width: 35px;
  height: 35px;
  line-height: 50px;
  text-align: center;
  background: transparent;
  position: fixed;
  border: none;
  top: 0;
  left: 0;
  z-index: 20;
  visibility: hidden;
  opacity: 0;
}
.bar01 {
  width: 25px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 10px;
  left: 10px;
  transition: 0.3s;
}
.bar02 {
  width: 25px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 19px;
  left: 10px;
  transition: 0.3s;
}
.bar03 {
  width: 25px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  top: 28px;
  left: 10px;
  transition: 0.3s;
}
#cinfo{
  width: 400px;
  height:auto;
  background-color: rgba(255,0,0,0.7);
  position: fixed;
  top: -72px;
  padding: 10px;
  right: 10px;
  z-index: 30;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0 0 10px 10px;
  transition: .3s;
}
#cinfo.down{
  top:-1px;
}
#cinfo p a{
  font-size: 2.1rem;
  line-height: 50px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}
#cinfo p a:hover{
    text-shadow: 0 0 8px #fff;
}
#cinfo #batu{
  float: left;
  width: 20px;
  height: 20px;
  line-height: .9;
  font-size: 1.3rem;
  margin-right: 5px;
  margin-top: 7px;
  user-select: none;
}
.nittei img{
  width: 100%;
}
.close1 {
  top: 16px;
  transform: rotate(225deg);
}
.close2 {
  top: 16px;
  transform: translate(40px);
  background-color: transparent;
}
.close3 {
  top: 16px;
  transform: rotate(-225deg);
}

header {
  width: 90%;
  height: 79px;
  background-color: #004ea2;
  position: fixed;
  top: 0;
  left: 5%;
  text-align: center;
  color: #fff;
  border-bottom: 1px solid #fff;
  z-index: 10;
}
header h1 {
  font-size: 24px;
  line-height: 1em;
}
header h1 span {
  font-size: 12px;
}
header p {
  font-size: 15px;
}
.topimg img {
  width: 90%;
  margin: auto;
  margin-top: 80px;
  display: block;
}
nav {
  width: 90%;
  height: auto;
  margin: 0 auto;
  position: sticky;
  top: 79px;
  background-color: #004ea2;
  z-index: 10;
}
nav ul {
  border-top: 1px solid #fff;
  font-size: 0;
  text-align: center;
}
nav ul li {
  display: inline;
}
nav ul li a {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 30px;
  background-color: #004ea2;
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}
nav ul li a:hover {
  text-shadow: 0 0 8px #fff;
}

.lesson {
  width: calc(80% - 100px);
  /* width: calc(80% - 60px); */
  border-radius: 50px;
  height: auto;
  border: 1px solid #000;
  margin: 50px auto;
  padding: 50px;
  text-align: justify;
  line-height: 2;
  overflow: auto;
}
.lesson h1 {
  font-size: 30px;
  padding: 5px;
  border-top: 3px solid #004ea2;
  border-bottom: 3px solid #004ea2;
  margin-bottom: 50px;
  text-align: center;
  color: #004ea2;
}
.lesson h2 {
  font-size: 20px;
  margin: 50px 0 30px;
  color: #004ea2;
  border: 1px solid #004ea2;
  padding-left: 20px;
  line-height: 40px;
  border-radius: 20px;
}
.read {
  font-family: serif;
  font-size: 20px;
  margin-bottom: 50px;
}
.slidebox0 {
  width: 70%;
  margin: 50px auto;
}
.slidebox0 figcaption {
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
  padding-bottom: 15px;
  margin-bottom: 20px;
  color: #004ea2;
  border-bottom: 1px solid #004ea2;
}

.ad {
  width: 75%;
  margin: 30px auto;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
.ad li {
  width: 100%;
  border: 1px solid #004ea2;
  line-height: 50px;
  margin: 0 15px;
  border-radius: 5px;
  list-style-type: none;
}
.ad li a {
  display: block;
  color: #004ea2;
  transition: 0.3s;
}
.ad li a:hover {
  background-color: #eef;
}
section table.about {
  width: 100%;
  margin: 30px auto;
}
section table.about th {
  width: 20%;
}
section table.about th,
section table.about td {
  border-color: #004ea2;
  border-left: none;
  border-right: none;
  padding: 10px;
}
.mb {
  margin-bottom: 25px;
}
.lesson table {
  border-collapse: collapse;
  width: 100%;
}
.lesson table li {
  list-style-type: none;
}
.lesson th,
.lesson td {
  font-size: 17px;
  border: 1px solid #000;
  padding: 15px;
  line-height: 1.5;
}
.lesson th {
  width: 130px;
}
.lesson ol {
  margin: 30px 0;
}
.lesson ol li {
  font-size: 17px;
  list-style-position: inside;
}
.lesson ul li {
  font-size: 17px;
  list-style-position: inside;
}
iframe {
  width: 70%;
  height: auto;
  aspect-ratio: 1007 / 566;
  display: block;
  margin: 0 auto 50px;
}
iframe.map {
  margin-bottom: 0;
}
.curri table {
  margin: 50px 0;
}

.lesson dl {
  clear: both;
  /* line-height: 1.5; */
}
.lesson dl dt {
  font-size: 16px;
  color: #004ea2;
  border-bottom: 1px solid #004ea2;
}
.lesson dl dd {
  font-size: 16px;
  padding: 0 0.5em;
  margin-bottom: 5px;
}
footer {
  width: 90%;
  text-align: center;
  margin: 20px auto 0;
  background-color: #004ea2;
}
footer p {
  color: #fff;
  font-size: 10px;
  line-height: 30px;
}
.slidebox {
  width: 60%;
  height: auto;
  float: left;
  margin: 10px 30px 30px 0;
}
.slidebox figcaption {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #004ea2;
}
.slider {
  width: 100%;
  height: auto;
}

#btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 30px;
  background-color: #004ea2;
  color: #fff;
  position: fixed;
  bottom: 20px;
  right: 20px;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}
#btn:hover {
  box-shadow: 0 0 8px #fff;
}
#btn.on {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 800px) {
  * {
    font-size: 14px;
  }

  html {
    scroll-padding-top: 120px;
  }

  header {
    width: 100%;
    left: 0;
    height: 69px;
  }
  header h1 {
    font-size: 20px;
  }
  header h1 span {
    font-size: 10px;
  }
  header p {
    font-size: 12px;
  }
  .topimg img {
    width: 100%;
    margin-top: 70px;
  }
  nav {
    width: 100%;
    top: 69px;
  }
  nav ul li {
    display: inline;
  }
  nav ul li a {
    font-size: 12.8px;
  }
#cinfo{
  width: 300px;
}
#cinfo p a{
  font-size:1.9rem;
}
  .lesson {
    width: calc(96% - 40px);
    border-radius: 30px;
    margin: 20px auto;
    padding: 20px;
  }
  .lesson h1 {
    font-size: 20px;
    padding: 0px;
    margin-bottom: 20px;
  }
  .lesson h2 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 15px;
    line-height: 30px;
    border-radius: 15px;
  }
  .read {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .slidebox0 {
    width: 80%;
    margin: 20px auto;
  }
  .ad li {
    line-height: 40px;
    margin: 0 10px;
  }
  section table.about {
    margin: 10px auto;
  }
  section table.about th {
    width: 25%;
  }
  .mb {
    margin-bottom: 15px;
  }

  .lesson ol li {
    font-size: 13px;
  }
  .lesson th,
  .lesson td {
    font-size: 14px;
    padding: 10px;
  }
  .lesson th {
    width: 100px;
  }
  .lesson ul li {
    font-size: 13px;
  }
  iframe {
    width: 80%;
    margin-bottom: 20px;
  }

  .curri table {
    margin: 30px 0;
  }
  .slidebox {
    margin: 10px 20px 5px 0;
  }

  .lesson dl {
    margin: 20px 0;
  }
  .lesson dl dt,
  .lesson dl dd {
    font-size: 14px;
  }
  footer {
    width: 100%;
  }
}

@media screen and (max-width:570px) {
  nav ul li a {
    font-size: 11px;
  }
}

@media screen and (max-width: 500px) {
  * {
    font-size: 14px;
  }
  html {
    scroll-padding-top: 60px;
  }
  #hum {
    visibility: visible;
    opacity: 1;
  }
  header {
    height: 49px;
  }
  header h1 {
    font-size: 15px;
  }
  header h1 span {
    font-size: 10px;
  }
  header p {
    font-size: 10px;
  }
  .topimg img {
    margin-top: 50px;
  }
  nav {
    position: fixed;
    top: -100%;
    padding: 12px 0;
    background-color: rgba(0, 78, 162, 0.95);
    transition: ease-out 0.5s;
  }
  nav ul {
    border-top: none;
  }
  nav ul li a {
    display: block;
    font-size: 15px;
    line-height: 50px;
    background-color: transparent;
  }
  .show {
    top: 0;
  }
  .lesson {
    width: calc(97% - 32px);
    margin: 20px auto;
    border-radius: 20px;
    padding: 15px;
  }
  .lesson h1 {
    font-size: 18px;
    padding: 0px;
    margin-bottom: 15px;
  }
  .lesson h2 {
    font-size: 15px;
    margin: 20px 0 15px;
    padding-left: 10px;
    line-height: 25px;
    border-radius: 12px;
  }
  .read {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .slidebox0 {
    width: 100%;
  }
  .mb {
    margin-bottom: 5px;
  }
  .lesson th,
  .lesson td {
    font-size: 13px;
    padding: 8px;
  }
  .lesson th {
    width: 100px;
  }
  .lesson ol li {
    font-size: 12px;
  }
  .lesson ul li {
    font-size: 12px;
  }
  iframe {
    width: 100%;
    margin: 0 0 15px;
  }
  .curri table {
    margin: 15px 0;
  }
  .lesson dl {
    margin: 10px 0 0;
  }
  .lesson dl dt,
  .lesson dl dd {
    font-size: 13px;
  }
  .slidebox0 figcaption {
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }
  .slidebox {
    width: 100%;
    float: none;
    margin: 10px 0;
  }
  .slidebox figcaption {
    margin-bottom: 10px;
    font-size: 18px;
  }
}
