@charset "utf-8";

/****************************************************************************************************************************
	文士芸術家一覧
****************************************************************************************************************************/

article.under section.artist ul{
  margin-top:20px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
     -ms-flex-align: center;
        align-items: center;
}

article.under section.artist ul li{
  width: 18.4%;
  margin-right:2%;
  margin-bottom:30px;

  text-align: center;
  background: #004066;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
     -ms-flex-align: center;
        align-items: center;
  -webkit-box-pack: center;
     -ms-flex-pack: center;
   justify-content: center;
  }



article.under section.artist ul li:nth-child(5){
  margin-right:0;
}

article.under section.artist ul li a{
  padding:16px 0;
  width: 100%;
  display: block;
  color:#fff;
  font-size:20px;
}

article.under section.artist .text_center{
  text-align: center;
  padding:30px 0 0 0;
}

article.under section.artist .text_center h2{
  text-align: center;
  font-size:23px;
position: relative;
display: inline-block;
padding: 0 30px;
}

article.under section.artist .text_center h2:before, article.under section.artist .text_center h2:after{
content: '';
position: absolute;
top: 50%;
display: inline-block;
width: 20px;
height: 1px;
background-color: black;
margin:0;
border-bottom:none;
  }

article.under section.artist .text_center h2:before {
  left:0;
}
article.under section.artist .text_center h2:after {
  right: 0;
}

article.under section.artist .artist_list ul{
   display: -webkit-box;
  display: -ms-flexbox;
  display: flex; 
}

article.under section.artist .artist_list ul li{
  display: block;
    background: none;
    width:23.5%;
    margin-right:2%;
}

article.under section.artist .artist_list ul li:nth-child(4n) {
    margin-right:0;
  }

  article.under section.artist .artist_list ul li a{
    color:#505050;
    font-size:14px;
    text-align: left;
    padding:0;
    letter-spacing: 0;
  }
  .link{
    text-align:center;
    border:1px solid #505050;
    margin-top:5px;
  }

  article.under section.artist .artist_list ul li a .img{

    height:226px;
    overflow: hidden;
    position: relative;
  }

  article.under section.artist .artist_list ul li a .img img{

    height:226px;
      display: block;
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    margin: auto;
}

.artist_wrap{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top:80px;

}


.artist_wrap .img{
    width: 320px;
     height:350px;
    overflow: hidden;
    position: relative;
    margin-right:50px;
}


.artist_wrap .img img{
      display: block;
    width: 320px;
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    margin: auto;
}

.artist_wrap .text .position{
  font-size:19px;
}

.artist_wrap .text .name{
  font-size:30px;
  color:#ab8050;
  margin:10px 0 5px 0;
}

.artist_wrap .text .name span{
  font-size:17px;
  margin-left:20px;
  }

.artist_wrap .text .outline{
  font-size:14px;
}

.artist_wrap .text .detail{
  padding-top: 15px; 
  position: relative; 
  border-top: 2px 
  solid #3c3c3c; 
  font-size:16px;
  margin-top:15px;
  }

.artist_wrap .text .detail:before{
content: "."; 
line-height: 0;
 display: block; 
 overflow: hidden; 
 position: absolute; 
top: -1px; 
 width: 10%; 
 border-top: 1px solid #ab8050;
}

a.back{
  border:1px solid #3c3c3c;
  display: inline-block;
  padding:3px 30px;
  margin-top:80px;
}

.artist{
  padding-bottom:80px;
}

/****************************************************************************************************************************
  レスポンシブ　1000px
****************************************************************************************************************************/

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

article.under section.artist .artist_list ul li{
  width: 31%;
  margin-bottom:15px;
}

article.under section.artist .artist_list ul li:nth-child(4n){
     margin-right: 2%; 
}

article.under section.artist .artist_list ul li:nth-child(3n){
     margin-right: 0; 
}

article.under section.artist .artist_list ul li a{
  font-size:16px;
}

.artist_wrap{
  display: block;
  margin-top:20px;
}

.artist_wrap .img{
  position: static;
  width: auto;
  height: auto;
    overflow: visible;

}
.artist_wrap .img img{
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;

}

.artist_wrap .img{
    margin-right:0;
}

.artist_wrap .text .detail{
  border:none;
  margin-top:0;
}

.artist_wrap .text .detail:before{
  border: none;
}

.artist_wrap .text .outline{
    padding-top: 15px;
    position: relative;
    border-top: 2px solid #3c3c3c;
    font-size: 16px;
    margin-top: 15px;
  }
.artist_wrap .text .outline:before{
    content: ".";
    line-height: 0;
    display: block;
    overflow: hidden;
    position: absolute;
    top: -1px;
    width: 10%;
    border-top: 1px solid #ab8050;
}

a.back{
  margin-top:10px;
}


article.under section.artist ul li.last{
  width:36.8%;

}



@media screen and (max-width: 600px) {
article.under section.artist .artist_list ul li:nth-child(5n){
     margin-right: 2%; 
}

article.under section.artist .artist_list ul li:nth-child(3n){
     margin-right: 2%; 
}

article.under section.artist .artist_list ul li:nth-child(even){
     margin-right: 0%; 
}


article.under section.artist .artist_list ul li{
  width: 48%;
}


article.under section.artist ul li a{
  font-size:16px;
}
}