
/**** Isotope styles ****/

/* required for containers to inherit vertical size from window */

h3 {
  font-size: 1.3em;
  font-family:'Noto Sans Japanese', sans-serif;
  margin:8px 0px;
  padding:10px 0;
  clear:both;
}
#container {
    width: 85%;
    margin: 20px auto 0;
    min-height: 724px;
}



.element {
  width: 200px;
  margin: 10px 5px;
  padding:3px;
  float: left;
  overflow: hidden;
  position: relative;
  color: #262228;
  font-size:0.9em;
  line-height:1.5em;
  max-width:45%;
  border:1px solid #9E9E9E;
  background-color:#ffffff;
}
.element i{
	color:#c2c2c2;	
}
.element a:hover{
	opacity:0.8;
}
.thumbs{
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height:180px;
  position: relative;
}
.thumbs::before{
  content: "";
  display: block;
  padding-top: 100%;
}
.thumbs a{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.thumbs img{
  width: 100%;
  height: auto;
  line-height: 0;
  position: absolute;
  top: 0;
}
/**** Example Options ****/

#options {
  padding-bottom: 1.0em;
  width:600px;
  margin:0 auto;
}

#options h3 {
  margin-bottom: 0.2em;
  font-size: 15px;
}

#options h4 { 
  font-weight: bold;
}

#options ul {
  margin: 0;
  list-style: none;
    
}

#options ul ul {
  margin-left: 1.5em;
}

#options li {
  float: left;
  margin-bottom: 0.2em;
  width:150px;
  text-align:center;
    
}

#options li a {
  display: block;
  padding: 1.2em;
  border-left: 1px solid #FFFFFF;
  color: #000;
  font-family:'Noto Sans Japanese', sans-serif;
  font-weight:600;
  letter-spacing:0.2em;
  background-color: #C7C9CC;
}

#options li a:hover {
  background-color:#C9C9C9;
}

#options li:first-child a {
  border-left: none;
  border-radius: 2px 0 0 2px;
}

#options li:last-child a {
  border-radius: 0 2px 2px 0;
}

#options li a.selected {
    background-color:#ffce00;
	 text-decoration:none;
}

/* Combination filter options*/

#options .option-combo {
  display: inline-block;
  float: left;
  margin-right: 10px;
}

#options .option-combo ul {
  margin-right: 20px;
  display: inline-block;
}

#options .option-combo h2,
#options .option-combo h4 {
  line-height: 34px;
  margin-bottom: 0;
  margin-right: 5px;
  display: inline-block;
  vertical-align: top;
}
.info-marks{
	width:600px;
	margin-right:auto;
	margin-left:auto;
	text-align: right;

}
.info-marks img{
	width:50%;	

}

/* ここからソート機能CSS */
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}


.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}
/* モーダルここから */

.lock {
    overflow:hidden;
}

.modal-content {
    position:relative;
    display:none;
    width:85%;
    margin:10px 0px;
    padding:20px 10px;
    border:1px solid #aaa;
    background:#FFFFFF;
	 border-radius:2px;
	 max-width:1000px;
}
.modal-content img{
	max-height:600px;
}
.modal-content p {
    margin:0;
    padding:0;
}
.modalText{
	max-width:70%;	
}

.notes-box{
	padding:10px;
	color:#5C5C5C;
	background-color:#E9E9E9;
	font-size:0.9em;
	text-align:left;
	margin:20px 0;
	width:30%;
}

.modal-overlay{
    z-index:1;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.40);
}

.modal-wrap {
    z-index:2;
    display:none;
    position:fixed;
    top:0;
    left:1%;
    width:100%;
    height:100%;
    overflow:auto;
	 text-align:center;
}
.modal-open {
    color:#0375b4;
    text-decoration:underline;
}

.modal-open:hover {
    cursor:pointer;
}

.modal-close {
	 border:1px solid #262228;
	 padding:5px;
	 background-color:#FFFFFF;
	 border-radius:5px;

}

.modal-close:hover {
	 border:1px solid #F00;
	 background-color:#FFE8E8;
    cursor:pointer;
    color:#f00;
}

/* モーダルここまで */


.mainImage img{
	border:1px solid #FF5A74;
	text-align:center;
	width:auto;
	max-width:100%;
}

 
/* モーダルここまで-2 */
/* individual setting */

/* The Magnificent Clearfix: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

#container{
	padding-bottom: 80px;
	position:relative;
}

@media (max-width: 767px){
	 #container {
        width:100%;
        margin: 20px auto 0;
	}
	.modalText{
	max-width:100%;	
}
.notes-box{
	width:50%;
}
}

@media only screen and (max-width: 600px){
	h2{
		text-align:center;
	}

    #options {
    	width:100%;
	}
    #options li {
    	width:50%;
	}
    #options li:first-child a {
  		border-radius: 0;
	}

	#options li:last-child a {
  		border-radius: 0;
	}
	.info-marks{
	width:100%;
	margin-right:auto;
	margin-left:auto;
	text-align: center;

}
	.info-marks img{
	width	:70%;
	}
	
.element{
	margin-right:2%;
	margin-left:3%;
}


}
@media (max-width: 480px){

	.element{
	margin-right:1%;
	margin-left:1%;

}
#container {
    min-height: 568px;
}
}
