@charset "UTF-8";

@media screen and (min-width: 701px) {

  body{
    width: 80%;
    font-size: 16px;
  }

  img {
    border-radius: 5px;
  }

  .img-slide{
    width: 100%;
    border-radius: 5px;
  }
  
  a.btn {
    width: 50%;
    padding: 0;
  }

  a.btn:hover {
    opacity: 0.5;
  }
  
  iframe{
    display: flex;
    width: 80%;
    height: 800px;
    margin: auto;
    border-radius: 5px;
  }

  #page-top {
    width: 20px;
    height: 20px;
    right: 0;
    bottom: 6px;
  }

  #page-top:hover {
   opacity: .5;
  }

  ::-webkit-scrollbar {
    width: 15px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 9px;
    border: 4px solid transparent;
    background-clip: content-box;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: #4d4d4d;
  }
}

@media screen and (max-width: 700px) {

  body{
    width: 100%;
    font-size: 15px;
  }

  .img-slide{
    width: 100%;
    height: 200px;
  }
  
  a.btn {
    width: 65px;
    padding: 0;
  }

  a.btn:active {
    opacity: 0.5;
  }

  iframe{
    display:flex;
    width:100%;
    height:300px;
    margin: auto;
  }

  #page-top {
    width: 10px;
    height: 10px;
    right: 4px;
    bottom: 0;
  }

 #page-top:active {
    opacity: .5;
  }
}

#icon {
  width: 60px;
  height: 60px;
}

body {
  color: #333;
  background: #fff;
  font-family: "Helvetica Neue","Arial","Noto Sans JP","BIZ UDPGothic";
  margin: auto;
  padding: 0;
  letter-spacing: .4px;
}

img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

div {
  box-sizing: border-box;
}

article {
  display: grid;
  grid-template-columns: 50% 50%;
}

.selector {
  font-feature-settings: "palt";
}

header {
  color: #333;
  background: #fff;
  display: flex;
  width: 100%;
  height: 50px;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 1em;
  align-items: center;
  position: fixed;
  opacity: 0.9;
  z-index: 99;
  border-bottom: #333;
}

h1 {
  text-align: center;
}

menu {
  display: flex;
  margin: 0;
  justify-content: space-between;
  position: absolute;
  right: 10em;
}

.scroll-down header {
  translate: 0 -100%;
}

footer{
  color: #fff;
  background: #333;
}

li {
  display: flex;
  list-style: none;
  justify-content: center;
}

ul {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.img-slide{
  display: flex;
  width: 100%;
  height: 1000px;
  top: 150px;
  margin: auto;
  overflow: hidden;
  position:relative;
  text-align: center;
  z-index: 20;
}

.img-slide img{
  display: flex;
  width: 100%;
  position: absolute;
  text-align: center;
}

a.btn {
  color: #333;
  font-weight: bold;
  display: block;
  margin: 2em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: 0.5s;
}

h2{
  display: inline-block;
}

#page-top {
  font-size: 20px;
  display: block;
  background: #888;
  text-decoration: none;
  color: #fff;
  position: fixed;
  line-height: 1;
  border-radius: 50px;
  padding: 20px 20px;
  text-align: center;
  opacity: 0.9;
  transition: all .3s ease;
  z-index: 99;
}