@charset "UTF-8";
/* CSS Document */

/* 4段 */
.row {
   width: 100%;
   max-width: 1400px;
   margin: 0px auto;
   background: #FFF;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
}
.narrow .row { max-width: 1400px; }
/* fixed width for IE8 */
.ie .row { width: 1400px ; }

.row .row { width: auto; max-width: 100% }

.col {
   position: relative;
   padding: 0px;
   float: left;
}
.row img,
.reveal-modal img {
   max-width: 100%;
   height: auto;
   margin: 0px 0px 10px 0px;
   padding: 0px;
}
#portfolio-wrapper a:hover{
    opacity:0.6;
}


/* 配置 */
/* Portfolio Content */
#portfolio-wrapper {
	margin: 0px;
}
#portfolio-wrapper .col {
	width: 25%; /* 4段 */
	margin: 10px 0px;
	padding: 0px 2px;
}
@media only screen and (max-width: 780px) {
#portfolio-wrapper .col {
	width: 50%; /* 2段 */
	margin: 10px 0px;
	padding: 0px 2px;
}
}
@media only screen and (max-width: 460px) {
#portfolio-wrapper .col {
	width: 100%; /* 1段 */
	margin: 10px 0px;
	padding: 0px 2px;
}
}
.portfolio-item .item-wrap {
	background: #FFF;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
 /*	
   -webkit-box-shadow: 0px 1px 1px rgba(50, 50, 50, 0.1);
   -moz-box-shadow:    0px 1px 1px rgba(50, 50, 50, 0.1);
   box-shadow:         0px 1px 1px rgba(50, 50, 50, 0.1);

   -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;*/
}
/* ポップアップ */
.portfolio-item .item-wrap a {
	margin: 0px;
	padding: 0px;
	display: block;
}
.portfolio-item-meta .item-open{
	font-size: 1.1em;
	line-height: 1.2em;
	margin: 0px;
	padding: 0px 0px 10px 0px;
	display: block;
	background: #FFF;
	height: auto;
	width: auto;
}
@media only screen and (max-width: 900px) {
.portfolio-item-meta .item-open{
	font-size: 1.0em;
	line-height: 1.2em;
	margin: 0px;
	padding: 0px 0px 10px 0px;
	display: block;
	background: #FFF;
	height: auto;
	width: auto;
}
}
@media only screen and (max-width: 460px) {
.portfolio-item-meta .item-open{
	font-size: 1.1em;
	line-height: 1.2em;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	display: block;
	background: #FFF;
	height: auto;
	width: auto;
}
}
.item-open a{
	font-weight: bold;
	color: #000;
	width: 100%;
	height: auto;
	text-align: left;
}
.item-open a:before{
	font-family: "Font Awesome 5 Free";
	content: '\f138';
	font-weight: 900;
	color: #06C;
	padding-right: 5px;
}
.item-open a:hover,
.item-open a:hover:before{
   color: #F00;
}

/* ポップアップで開く */
.reveal-modal-bg {
   position: fixed;
	height: 100%;
	width: 100%;
	background: #000;
	background: rgba(0,0,0,.8);
	z-index: 100;
	display: none;
	top: 0;
	left: 0;
}
.reveal-modal {
	visibility: hidden;
	top: 100px;
	left: 50%;
	margin-left: -300px;
	width:100%;
	max-width: 550px;
	height: auto;
	background: #fff;
	position: absolute;
	z-index: 101;
	padding: 0;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
	-box-shadow: 0 0 10px rgba(0,0,0,.4);
}
@media only screen and (max-width: 600px) {
.reveal-modal {
	visibility: hidden;
	top: 50px;
	left: 5%;
	margin-left: 0px;
	width:90%;
	max-width: 550px;
	height: auto;
	background: #fff;
	position: absolute;
	z-index: 101;
	padding: 0;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
	-box-shadow: 0 0 10px rgba(0,0,0,.4);
}
}
.reveal-modal .description-box {
	padding: 0px;
}
.reveal-modal .description-box .item-open{
	font-size: 1.2em;
	line-height: 1.4em;
	font-weight: bold;
	color: #FFF;
	text-align: left;
	background: #00498A;
	width: 100%;
	height: auto;
	margin: -10px 0px 0px 0px;
	padding: 10px 30px;
}
.reveal-modal .description-box p {
	font-size: 0.9em;
	line-height: 1.4em;
	color: #000;
	width: auto;
	height: auto;
	text-align: left;
	margin: 15px 30px 20px 30px;
	padding: 0px;
}
.reveal-modal .description-box ul li {
	font-size: 1em;
	line-height: 1.5em;
	width: auto;
	height: auto;
	text-align: left;
	margin: 15px 10px;
	padding: 0px 0px;
}
.reveal-modal .description-box ul li a {
	color: #000;
}
.reveal-modal .description-box ul li a:hover{
	color: #F00;
}		
.reveal-modal .description-box ul li a:before{
	font-family: "Font Awesome 5 Free";
	content: '\f138';
	font-weight: 900;
	color: #06C;
	padding-right: 0.3em;/* インデントと揃える */
	font-size: 1em;
	vertical-align: baseline;
}

.reveal-modal .description-box .categories {
   font-size: 1em;
   line-height: 1.2em;
   color: #FFF;
   text-transform: uppercase;
   display: block;
}
.reveal-modal .description-box .categories i {
   margin-right: 8px;
}
.reveal-modal .link-box {
   padding: 20px 30px;
   background: #000;
   text-align: center;
}
.reveal-modal .link-box a {
   font-size: 1.1em;
   line-height: 1.2em;
   color: #fff;
   text-transform: uppercase;
   cursor: pointer;
}
.reveal-modal a:hover {
	color: #F00;
}
.reveal-modal a.close-reveal-modal {
	margin-left: 50px;
}
.reveal-modal a.close-reveal-view:before{
	font-family: "Font Awesome 5 Free";
	content: '\f138';
	font-weight: 900;
	color: #FFF;
	padding-right: 0.3em;/* インデントと揃える */
	font-size: 1em;
	vertical-align: baseline;
}
.reveal-modal a.close-reveal-modal:before{
	font-family: "Font Awesome 5 Free";
	content: '\f410';
	font-weight: 900;
	color: #FFF;
	padding-right: 0.3em;/* インデントと揃える */
	font-size: 1em;
	vertical-align: baseline;
}

/* 461px以上は"item-pc " */
.item-pc {
	display: block !important;
	height: auto;
	width: 100%;
	display: block;
}
.item-sp { display: none !important;}

/* 460px以下は"item-sp" */
@media only screen and (max-width: 460px) {
.item-pc { display: none !important;}
.item-sp {
	display: block !important;
	height: auto;
	width: 100%;
	display: block;
}
}

