html{
    scroll-behavior: smooth;
}

h2{
  text-align: center;
  font-size: 20px;
  padding-top:30px;
  padding-bottom: 30px;
}

h3{
  font-size: 30px;
  color:#fff;
  width: 900px;
  height: 600px;
  margin: 0 auto;
  padding: 20px 0 0 20px;
  background-image:url(/exhibition/img/sample.jpg)
}

#text{
  font-size:16px;
  margin: 30px 60px 0 60px ;
  padding-bottom: 30px;
  text-align: justify;
}

#mokuji{
  font-size: 20px;
  padding-left: 265px;
}

#box {
  margin: auto;
  width: 500px;
  padding: 20px;
  border: 1px solid;
  background-color: #fff;
}

#box li{
  padding: 0 0 15px 15px;
  list-style: none;
  text-underline-offset: 5px;
}

#box li a{
  font-size:18px;
  color: #000;
}

h4{
  font-size:40px;
  padding: 80px 0 5px 0;
  text-align: center;
}

.country{
  text-align: center;
  font-size:14px;
  padding-bottom: 15px;
}

.slider {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.slider .img01 {
  margin-left: 30px;
  order: 1;
  width: 40%;
}

.slider .img00 {
  margin-left: 30px;
  order: 1;
  width: 30%;
}

.slider .img02 {
  text-align: center;
  order: 4;
  width: 100%;
}

.text2{
  font-size:16px;
  margin-left: -50px;
  text-align: justify;
  order:2;
  width: calc(100% - 40% - 10px);
}

  .text3{
    font-size:16px;
    margin-left: -30px;
    text-align: justify;
    order:2;
    width: calc(100% - 40% + 70px);
}

.triangleset{
    flex-flow: column;
    order:3;
    margin-top: 6px;
    margin-bottom: 16px;
}

.triangle{
    background: #000;
    height: calc(tan(60deg) * 20px / 2);
    width: 18px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    margin: 0 0 6px 220px;
}




   
.banksymuseum:hover {
  transform: translateY(-20px);
}

#contentslink {
  display: flex;
  justify-content:space-around;
  text-align: center;
  padding:110px;
}

#contentslink img:hover {
  transform: translateY(-20px);
}

li {
  list-style:none;
  font-size: 20px;
  font-weight: bold;
}
    
.linktext{
  color: #000;
  text-decoration:underline #000;
}
    
.homebt {
  display:flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: 16px;
  text-align: center;
  width: 360px;
  height: 40px;  
  box-sizing: border-box;
  color: #fff;
  background-color: #000;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none; 
  padding-top: 5px;
  transition: .3s;
  position: relative;
  overflow: hidden;
}
      
      
.homebt::after{
  content: "";
  display: block;
  width: 26px;
  height: 40px;
  border-radius: 0 50px 50px 0;
  background-color: #d12c1e;
  transition: all 0.3s ease-out ;
  position: absolute;
  top: 0;
  left: 0;
}
      
      
.homebt:hover::after {
  width: 100%;
  border-radius: 0%;
}

.homebt span{
  z-index: 1;
  position: relative;
  top: -2px;
}





@media screen and (max-width: 768px) {
  /*max-widthの数値以内の幅のときの指示(要はスマホ用)*/
  .triangleset{
    display: none;
  }
    
  h2{
    padding-top: 10px;
  }

  body{
    background-image: none;
  }

  .country{
    font-size:12px;
    margin: 0 auto;
    padding-bottom: 15px;
  }


  h3{
    font-size: 16px;
    width: 90%;
    height: 208px;
    background-size: cover;
    padding: 10px;
    margin: 10px;
  }

  #text{
    text-align: justify;
    font-size:14px;
    margin: 0 5%;
  }

  #mokuji{
    padding-left: 10%;
  }

  #box {
      width: 90%;
      padding: 10px;
  }

  #box li{
      padding: 0 0 10px 15px;
  }

  #box li a{
      font-size:14px;
  }

  h4{
    font-size: 20px;
    padding: 40px 0 5px 0;
  }

  #londondoesntwork{
    width: 230px;
    margin: auto;
  }

  .slider {
    margin-bottom: 30px;
    width: 100%;
  }

  .text2{
  width: 90%;
  font-size:14px;
  margin: 0 auto;
  background-color: #eaeaea;
  padding: 10px;
  margin-bottom: 10px;
  text-align: justify;
  }

  .text3{
    width: 90%;
    font-size:14px;
    margin: 0 auto;
    background-color: #eaeaea;
    padding: 10px;
    margin-bottom: 10px;
    text-align: justify;
  }

    .slider .img00{
      margin-left: 0;
    }

    .slider .img01{
      margin-left: 0;
  }

    .slider .img02{
      margin-left: 0;
      margin-top: 20px;
  }

    .slider img{
      margin: auto;
      max-width: 80%;
      max-height: 250px;
  }

  .slick-prev,
  .slick-next{
    position: absolute;
    width: 20px;
    height: 20px;
    background:none;
    border: 0;
    font-size: 0;
    border-bottom: 5px solid #000;
    border-right: 5px solid #000;
    box-sizing: border-box;
  }

  .slick-prev { 
    left: 4px;
    top: 70%;
    transform: rotate(135deg) translateY(-50%);
    transform-origin: 50% 50%;
    z-index: 1;
  }

  .slick-next{
    right: 2px;
      top: calc(70% + 5px);
      transform: rotate(-45deg) translateY(-50%);
      transform-origin: 100% 100%;
  }

  .st{
    text-align: center;
  }

  #contentslink{
    display: none;
  }
  .homebt{
    margin: 20px auto;
    text-align: center;
    width: 200px;
    font-size: 18px;
    }
}