/*
Theme Name: カープフォト
Description: カープフォト Template
Author: 管理人
*/



body{
	font-family:"メイリオ", Meiryo,  "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:14px;
    overflow-x: hidden;
}

.in{
    margin:auto;
}
a{
    display: inline-block;
    color: #000;
    transition: 0.5s;
}
a:hover{
    opacity: 0.4
}
img{
    max-width: 100%;
	width:100%;
    margin: auto;
    vertical-align: bottom;
    display: inline-block;
    pointer-events: none; 
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    touch-callout:none;
    user-select:none;
}
ul,li{
    list-style: none;
}

h2,h3,h4,h5,h6{
    color: #000;
}

/*ヘッダー*/
header{
   /* border-bottom: 4px solid #000;*/
    background-color: #fff;
}
header a{
    /*color: #fff;*/
}

/*一覧*/
.photcontent ul{
    position: relative;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
.phot_list > ul > li{
    padding: 60px 0 ;
}
.phot_list > ul > li + li{
}
.photcontent{
    margin-top: 10px;
}
.photcontent ul::after{
    content: "";
    display: block;
    clear: both;
}
.photcontent ul li{
    float: left;
    width: 373px;
	width: 23%;
    margin-right: 20px;
    margin-right: 2%;
    margin-bottom: 20px;
}
.photcontent ul li:nth-child(4n+4){
    margin-right: 0;
}
#infscr-loading,.navigation{
    margin-top: 30px;
    text-align: center;
}

#infscr-loading,.navigation{
    margin-top: 30px;
    text-align: center;
}
.foogallery.fg-light.fg-shadow-outline .fg-item-inner{
    box-shadow:none !important;
}
/*写真ホバー*/

.grid-item a{
    position: relative;
    color: #fff;
    font-size: 0;
    font-size: 30px;
}
.grid-item a::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: hsla(232, 12%, 13%, 0.17);
    transition: 0.5s;
    opacity: 0;
}
.grid-item a i{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1em;
    height: 1em;
    left: 0;
    right: 0;
    transition: 0.5s;
    opacity: 0;
}
.grid-item a:hover,
.grid-item a:hover::before,
.grid-item a:hover i{
    opacity: 1;
}

/*写真*/
.lightbox{
   top: 0 !important;
    bottom: 0;
    position: fixed;
	margin:auto;
	right:0;
}
.lb-outerContainer{
	position: absolute;
	margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}
.lb-dataContainer{
    position: absolute;
    margin: auto;
    top:-20px;
    right: -32px;
    left: 0;
    z-index: 10;
}
.lb-data .lb-close{
    position: relative;
    background-color: #000;
    background-image: none;
    opacity: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.lb-data .lb-close::before,
.lb-data .lb-close::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 71%;
    height: 9%;
    margin: -7% 0 0 -36%;
    background: #ffffff;
}
.lb-data .lb-close::before {
    transform: rotate(-45deg);
}
.lb-data .lb-close::after {
    transform: rotate(45deg);
}
.lb-nav a.lb-prev,
.lb-nav a.lb-next{
    opacity: 1;
}
.lightboxOverlay{
    position: fixed;
    width: 100vw !important;
    height: 100vh !important;
}
.lb-details{
    display: none;
}
.caption_01{
	font-weight: bold;
	margin-bottom:0.5em;
	font-size: 20px;
}
.caption_02{
	margin-top:0.5em;
	text-align:right;
    height: 3em;
}
/*セレクトボックス*/

nav::after{
    content: "";
    display: block;
    clear: both;
}
.taim_select{
    overflow: hidden;
    padding: 2em 0 0;
    text-align: center;
}
.taim_select.is-fixed{
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    padding: 1em 0;
    z-index: 1;
    /*background-color: #000;*/
}
.taim_select select{
    width: 100%;
    padding-right: 1em;
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none; 
    padding: 8px 38px 8px 8px;
    color: #000;
}
.taim_select select::-ms-expand {
    display: none;
}
.taim_select form{
    position: relative;
    border-radius: 2px;
    border: 2px solid #000;
    background: #ffffff;
    width: 90%;
    max-width: 300px;
    float: right;
}

.taim_select form::before {
    position: absolute;
    top: 1em;
    right: 0.8em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
    pointer-events: none;
}
/*投降ページ*/
.content{
    margin-top: 30px;
}

/*次、前ボタン*/
.singlnav{
    max-width: 500px;
    width: 90%;
    margin-top: 60px;
    text-align: center;
}
.singlnav li,
.singlnav ul{
    list-style: none;
}
.singlnav ul::after{
    content: "";
    display: block;
    clear: both;
}
.singlnav ul{
    position: relative;
}
.singlnav li{
    display: inline-block;
    margin: 0 2px;
}

.singlnav li.nextPost a,
.singlnav li.prevPost a{
}
.singlnav li a{
    padding: 6px 20px;
    border: 1px solid #000;
}
.singlnav li.nextPost a:hover,
.singlnav li.prevPost a:hover,
.singlnav li.homePost a:hover{
    opacity: 1;
    color: #fff;
    background-color: #000;
}

/*ページナビ*/
.pagination{
    text-align: center;
}
.pagination li{
    display: inline-block;
}
.pagination li span,
.pagination li a{
    display: inline-block;
    padding: 2px 5px;
    min-width: 2em;
    border: 1px solid #000;
    margin: 5px;
}
.pagination li a {
    background-color: #000;
    color: #fff;
}

/*フッター*/


footer{
    margin-top: 120px;
}
/*ページトップ*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
    z-index: 2;
}
#page-top a {
    text-align: center;
    font-size: 0;
    width: 65px;
    height: 65px;
    background-color: #fff;
    padding: 7px 4px;
    border-radius: 50%;
    opacity: 1;
}
#page-top a i {
    font-size: 30px;
    display: block;
}
#page-top a p {
    font-size: 12px;
}