@font-face {
  font-family: 'WDXL';
  src: url("../../../fonts/WDXL.woff2") format('woff2');
}

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  background-color: rgb(75, 48, 17);
  width: 250px;
  height: 420px;
  transition: all 0.3s;
  z-index: 1000;
}

.sidebar h2 {
  font-size: 18px;
  color: #fff;
  text-align: left;
  line-height: 45px;
  background: rgb(138, 90, 36);
  user-select: none;
  padding-left: 35px;
}

.sidebar img {
  width: 9%;
  margin: 5px 16px 11px 0;
}

.sidebar ul a {
  display: block;
  height: 100%;
  width: 100%;
  line-height: 40px;
  font-size: 16px;
  color: #fff;
  padding-left: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid black;
  transition: 0.4s;
}

ul li:hover a {
  padding-left: 80px;
}

#check {
  display: none;
}

label #btn,
label #cancel {
  position: fixed;
  cursor: pointer;
  background: #b66f2d;
  border-radius: 3px;
  z-index: 1100;
}

label #btn {
  left: 18px;
  top: 13px;
  font-size: 15px;
  color: #fff;
  padding: 6px 12px;
  transition: all 0.5s;
}

label #cancel {
  left: -250px;
  top: 13px;
  color: #fff;
  padding: 4px 9px;
  transition: all 0.5s;
}

#check:checked~.sidebar {
  left: 0;
}

#check:checked~label #btn {
  left: -250px;
  opacity: 0;
  pointer-events: none;
}

#check:checked~label #cancel {
  left: 200px;
}

.section-1 {
  height: 50vh;
  background-image: url("../images/imagei1.jpg");
  background-size: cover;
  background-position: center;
  animation: bg-scroll 3s ease-out forwards;
  position: relative;
}

@keyframes bg-scroll {
  0% {
    background-position: center top; 
  }
  100% {
    background-position: center center; 
  }
}

.section-1 .midasi {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  text-align: center;
}


.section-1 h2 {
  font-family: 'WDXL';
  text-align: center;
  font-size: 55px;
  font-weight: 800;
  color: #c36a6a;
  -webkit-text-stroke: 1px #401e64;
  margin: 0 auto;
}

.section-1 ul {
  width: 100%;
  display: flex;
 justify-content: space-between;
 padding: 0;
  margin-top: 25px;
}

.section-1 ul li {
   color: rgb(16, 143, 84);
  font-size: 25px;
}
  

.kairan-1 {
  text-align: center;
  font-size: 24px;
  display: inline-block;
  background-color: aquamarine;
  line-height: 1.5;
  padding: 18px;
  margin: 50px 0 10px;
}

.kairan-1 span {
  font-size: 16px;
}

iframe {
  margin-bottom: 50px;
}

.kairan-2 {
  text-align: center;
}

.kairan-2 h2 {
  text-align: center;
  font-size: 30px;
  color: brown;
  padding: 10px;
  margin-bottom: 20px;
}

.kairan-2 a {
  display: inline-block;
  margin: 0 auto 15px;
  color: blue;
  padding: 10px;
  border: solid 2px #863434;
  border-radius: 5px;
}

footer {
  padding: 30px;
  text-align: center;
  font-size: 18px;
}