html{
    scroll-behavior: smooth;
}


#banksy{
    height: 395px;
}

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

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

#year{
    font-size:40px;
    text-align: center;
    padding-top: 50px;
}

#banksy{
    display: block;
    margin:0 auto;
    padding-bottom: 30px;
}

.arrow{
    position: relative;
    display: inline-block;
    color: #000;
    margin:16px 48%;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}

.arrow::before,.arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    content: "";
    vertical-align: middle;
}

.yajirushi::before{
	left: 3px;
	width: 27px;
	height: 27px;
	border-bottom: 5px solid #000;
	border-right: 5px solid #000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.yajirushi2::before{
	left: 3px;
	width: 27px;
	height: 27px;
	border-bottom: 5px solid #000;
	border-right: 5px solid #000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}


#yearbt{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
    margin: 0 65px;
}

#yearbt li{
    width: calc(100% / 7);
    padding: 0 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#yearbt li a{
    display: block;
    text-align: center;
    font-size: 30px;
    color:#000;
    background-color: #fff;
    border: 1px solid;
    text-decoration: none; 
    padding: 14px 0 16px 0;
}

#yearbt li a:hover{
    background-color: #d8d8d8;
}


h3{
    font-size:30px;
    text-align: center;
    padding-top:80px;
    padding-bottom: 30px;
}

.box{
    border: 1px solid;
    margin: 50px auto;
    width: 860px;
    padding-bottom: 18px;
}

.contents{
    display: flex;
}

h4{
    font-size:30px;
    margin: 10px 0 0 18px;
    padding-bottom: 8px;
}

.text2{
    display:block;
    font-style: 16px;
    margin: 0 12px 5px 18px;
}

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

.contents img{
    margin: -15px 20px 18px 0;
}

.artimg2010{
    margin: -15px 20px 18px 50px !important;
}

#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;
    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) {

    h2{
        padding-top: 10px;
    }

    body{
        background-image: none;
    }

    #banksy{
        width: 275px;
        height: 183px;
    }

    #container p{
        text-align: justify;
    }

    #text{
        width: 85%;
        margin: auto;
        font-size: 14px;
    }

    .arrow{
        display: none;
    }

    h3{
        padding-top: 30px;
    }

    #yearbt{
        justify-content: flex-start;
        margin: 0 20px;
    }

    #yearbt li{
        width: calc(100% / 5);
        padding: 0 5px;
        margin-bottom: 10px;
    }

    #yearbt li a{
        font-size: 18px;
        padding: 8px 0;
    }

    .box{
        width: 90%;
        margin: 14px auto;
        padding: 0;
    }

    h4{
        font-size: 16px;
        padding-bottom: 4px;
    }

    .text2{
        font-size: 12px;
    }

    .country{
        padding-bottom: 12px;
    }

    .contents{
        display:block;
    }

    .contents img{
        display: block;
        width: 35%;
        padding-bottom: 15px;
        text-align: center;
        margin: auto;
    }

    .artimg2010{
        margin: auto !important;
    }


    #contentslink{
        display: none;
    }

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