@charset "utf-8";

/*========================================================================================================================


  ◇◆◇ 院内ご案内 ◇◆◇
  
  
========================================================================================================================*/

.photo-b {
  position:relative;
}

.photo-cols ul {
  list-style:none;
  box-sizing:border-box;
}

.photo-cols li {
  float:left;
  position:relative;
  box-sizing:border-box;
}

.photo img {
  vertical-align:bottom;
}

.photo .cp {
  display:inline-block;
  color:#fff;
  line-height:1.4;
  box-sizing:border-box;
}

@media print,screen and (min-width:768px) {
  .photo-b {
    width:900px;
    margin-left:auto;
    margin-right:auto;
    margin-top:50px;
    margin-bottom:20px;
  }
  
  .photo-cols {
    width:1140px;
    margin-left:auto;
    margin-right:auto;
    padding-bottom:60px;
  }
  
  .photo-cols li {
    width:530px;
    margin-left:20px;
    margin-right:20px;
    margin-top:40px;
  }

  .photo .cp {
    background-color:rgba(130,110,180,0.8);
    position:absolute;
    left:0;
    bottom:0;
    padding:0.5em 0.7em;
  }
}

@media screen and (max-width:767px) {
  .photo-b {
    padding:2em 1em 0 1em;
  }
  
  .photo-cols {
    overflow:hidden;
    padding-left:1em;
    padding-right:1em;
    padding-top:1.3em;
    padding-bottom:2em;
  }
  
  .photo-cols ul {
    margin-left:-1%;
    margin-right:-1%;
  }
  
  .photo-cols li {
    width:50%;
    padding-left:1%;
    padding-right:1%;
    margin-top:2%;
  }
  
  .photo .cp {
    background-color:#a192c7;
    width:100%;
    padding:0.7em;
  }
}

@media screen and (max-width:640px) {
  .photo .cp {
    font-size:87.5%;
  }
}

@media screen and (max-width:500px) {
  .photo-b {
    padding:1.5em 0.7em 0 0.7em;
  }
  
  .photo-cols {
    padding-left:0.7em;
    padding-right:0.7em;
    padding-top:0.7em;
    padding-bottom:1.5em;
  }
}

@media screen and (max-width:420px) {
  .photo .cp {
    font-size:75.0%;
  }
}
