/*
Theme Name: Photo
Author: gocha
*/
html {
	height: 100%;
  scroll-behavior: smooth;
}
body {
	font-family: "Sawarabi Mincho", 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 18px;
	line-height: 1.5;
	color: #333;
	height: 100%;
	background: #F3F3F3;
}
body > #contents {
	height: auto;
}
div, ol, ul, dl, form {
	margin: 0px;
	padding: 0px;
}
p, h1, h2, h3, h5, h5, h6, dt, dd, input, textarea, figure {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
}
th, td {
	margin: 0px;
	padding: 0px;
	line-height: normal;
	font-weight: normal;
}
em {
	font-style: normal;
	font-weight: bold;
}
a img {
	border: none;
}
a {
	text-decoration: none;
}
a:hover,
a:hover img {
	opacity: 0.8;
}
header {
	background: #000;
	color: #FFF;
	padding-bottom: 30px;
	position: relative;
}
header .logo {
	width: 180px;
	position: absolute;
	top: 30px;
	left: 30px;
	letter-spacing: 1px;
}
header .logo a{
	color: #FFF;
	font-size: 12px;
}
header input {
	border: 0;
	border-radius: 5px;
	background: #CCC;
	padding: 10px 10px 10px 30px;
	background-image: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/search.svg) ;
	background-repeat: no-repeat;
	background-position: 5px center;
	background-size: 20px;
	width: 300px;
	margin: 30px auto;
}
header .menu {
	position: absolute;
	bottom: 15px;
	right: 30px;
}
header .menu li {
	display: inline-block;
}
header .menu li a{
	color: #FFF;
	padding: 5px;
}

#breadcrumbs {
	background: #6D8681;
}
#breadcrumbs ul {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
	padding: 10px;
	text-align: left;
}
#breadcrumbs ul li {
	display: inline-block;
	color: #FFF;
	margin-left: 5px;
}
#breadcrumbs ul li:after{
	content:">";
	padding-left: 10px;
}
#breadcrumbs ul li:last-child::after{
	content: none;
}
#breadcrumbs ul li a {
	color: #D9CA85;
}
#main {
	width: 100%;
	margin: 0 auto;
	padding-bottom: 50px;
	text-align: left;
}
.title::before {
	content: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/line-before.png);
	padding-right: 10px;
}
.title::after {
	content: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/line-after.png);
	padding-left: 10px;
}
.tags li{
	display: inline-block;
	margin: 0 5px 10px 0;
}
.tags li a{
	background-color: #D9CA85;
	color: #FFF;
	border-radius: 5px;
	background-image: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/tag.svg) ;
	background-repeat: no-repeat;
	background-position: 3px center;
	padding: 3px 3px 3px 15px;
	background-size: 8px;
	font-size: .9em;
}
footer {
	width: calc(100% - 20px);
    background: #333;
    color: #FFF;
    padding: 10px;
    text-align: center;
    }
footer a{
	color: #FFF;	
}
@media screen and (max-width: 1200px) {
	img {
	max-width: 100%;
	height: auto;
	width /***/: auto;
}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
footer {
	width: 100%;
    }
}
@media screen and (max-width: 768px) {
header .logo {
	top: 20px;
	left: 20px;
	letter-spacing: 0.5px;
}
header .logo a{
	font-size: 12px;
	line-height: 1.1;
}
header input {
	width: 250px;
	margin: 30px 0 30px auto;
}
}
@media screen and (max-width: 520px) {
header {
	padding-top: 30px;
	text-align: center;
}
header .logo {
	margin: 0 auto 30px;
	position: inherit;
	top: 0;
	left: 0;
	letter-spacing: 0.3px;
}

header input {
	margin: 15px auto 15px;
}
header .menu {
	margin: 15px auto;
	position: inherit;
}
.title {
	padding-top: 35px;
	background: url("http://photo.gochaxgocha.com/wp-content/uploads/2020/12/k0850_5.svg") no-repeat center top;
	background-size: 200px
}
.title::before {
	content: none;
}
.title::after {
	content: none;
}

.tags li a{
	border-radius: 5px;
	background-image: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/tag.svg) ;
	background-repeat: no-repeat;
	background-position: 3px center;
	padding: 3px 3px 3px 15px;
	background-size: 8px;
	font-size: .8em;
}
}
/*top*/

#top .top-img {
	width: calc(100% - 400px);
	padding: 200px;
	background: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/9ECAFAF2-8DDD-428F-9139-42F65F76B967-e1605677342391.jpeg) center center;
	background-size: 100%;
	position: relative;
	margin-bottom: 30px;
}
#top .top-img .logo img {
	-webkit-filter:drop-shadow(0 0 5px rgba(0, 0, 1px, 1.0));
    -moz-filter:drop-shadow(0 0 5px rgba(0, 0, 1px, 1.0));
    -ms-filter:drop-shadow(0 0 5px rgba(0, 0, 1px, 1.0));
    filter:drop-shadow(0 0 5px rgba(0, 0, 1px, 1.0));
}
#top .top-img h1{
	position: absolute;
	top: 30px;
	left: 30px;
	width: 180px;
}
#top .top-img h1 a{
	color: #FFF;
	font-size: 12px;
	letter-spacing: 1px;
}
#top .top-img input {
	border-radius: 5px;
	border: 0;
	background: hsla(0,0%,83%,0.80);
	padding: 10px 10px 10px 30px;
	background-image: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/search.svg);
	background-repeat: no-repeat;
	background-position: 5px center;
	background-size: 20px;
	max-width: 300px;
	width: 80%;
	margin: 30px auto;
	color: #333;
}
#top .top-img input::placeholder ,
#top .top-img input:-ms-input-placeholder,
#top .top-img input::-ms-input-placeholder {
  color: gray;
}
#top .menu {
	position: absolute;
	top: 30px;
	right: 30px;
}
#top .menu li {
	display: inline-block;
}
#top .menu li a{
	color: #FFF;
	padding: 5px;
}
#top .categories,
#top .latest {
	max-width: 1200px;
	width: 96%;
	margin: 0 auto 30px;
}
#top .categories h2,
#top .latest h2 {
	margin: 50px auto 30px;
}
#top .categories ul,
#top .latest .photos {
	display: flex;
	justify-content: space-between;
	margin-top 30px;
	flex-wrap: wrap;
}
#top .categories li,
#top .latest .image{
	width: 16%;
	list-style: none;
	margin-bottom: 10px;
}
#top .categories a {
	color: #FFF;
	display: block;
	width:  100%;
	position: relative;
	background: #000;
}
#top .categories a:before {
  content: "";
  display: block;
  padding-top: 75%;
}

#top .categories a span {
	position: absolute;
	top: 50%;
 	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translateY(-50%) translateX(-50%);
	font-size: 1.3em;
}
#top .categories a img{
	width:  100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.6;
}
#top .latest {
	font-size: .8em;
}
#top .latest img{
	margin: 0;
	padding: 0;
	width:  100%;
}
@media screen and (max-width: 1200px) {
	#top .top-img {
	width: 100%;
	padding: 150px 0;
}
#top .categories a span {
	font-size: 1.2em;
}
}
@media screen and (max-width: 960px) {
#top .top-img {
	padding: 100px 0;
}
#top .categories a span {
	font-size: 1.1em;
}
	}
@media screen and (max-width: 768px) {
#top .categories li,
#top .latest .image{
	width: 32%;
	}
	
}
@media screen and (max-width: 520px) {
#top .top-img {
	padding: 30px;
	margin-bottom: 30px;
	background-size: cover;
}
#top .top-img h1{
	position: inherit;
	margin: 0 auto;
	text-align: center;
	top: 0;
	left: 0;
}
#top .menu{
	position: inherit;
	margin: 0 auto;
	top: 0;
	right: 0;
}
#top .top-img input {
	margin: 30px auto 15px;
}
#top .categories li,
#top .latest .image{
	width: 48%;
}	
#top .categories a span {
	font-size: 1.3em;
}
}
/*single-post*/

#main.single-post #wrap{
	display: flex;
	justify-content: space-between;
	max-width: 1220px;
	width: 100%;
	margin: 0 auto 50px;
}

#main.single-post article {
	max-width: 900px;
	width: 74.5%;
}
#main.single-post h1 {
	text-align: center;
	font-size: 1.5em;
	margin: 30px auto;
}
#main.single-post .photo h2 {
	margin: 0 10px 15px;
}
#main.single-post .photo figure {
	text-align: center;
	max-width: 900px;
	max-height: 1500px;
	margin: 0 auto 15px;
	width: 100%;
	height: auto;
}
#main.single-post .photo figure img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
#main.single-post .photo .comment {
	padding: 10px;
	background: #FFF;
	margin-bottom: 30px;
}
#main.single-post .recommend h2 {
	margin: 50px auto 30px;
	text-align: center;
}
#main.single-post .ad {
	max-width: 728px;
	max-height: 90px;
	background: #999;
	margin: 30px auto;
	width: 100%;
}
#main.single-post .download a{
	width: 100%;
	text-align: center;
	background: #6D8681;
	color: #FFF;
	display: block;
	padding: 10px 0;
	margin-bottom: 30px;
	border-radius: 5px;
}
#main.single-post .categories, {
	width: 100%;
	margin: 0 auto 30px;
}
#main.single-post .categories h2 {
	margin: 50px auto 30px;
}
#main.single-post .categories ul{
	display: flex;
	justify-content: space-between;
	margin-top 30px;
	flex-wrap: wrap;
}
#main.single-post  .categories li{
	width: 16%;
	list-style: none;
	margin-bottom: 10px;
}
#main.single-post  .categories a {
	color: #FFF;
	display: block;
	width:  100%;
	position: relative;
	background: #000;
}
#main.single-post  .categories a:before {
  content: "";
  display: block;
  padding-top: 75%;
}

#main.single-post  .categories a span {
	position: absolute;
	top: 50%;
 	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translateY(-50%) translateX(-50%);
	font-size: 1.3em;
}
#main.single-post  .categories a img{
	width:  100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.6;
}
#side {
	max-width: 300px;
	width: 24.5%;
	height: 100%;
	}
#side .ad-1 {
	max-width: 300px;
	max-height: 200px;
	background: #999;
	margin: 30px auto;
}
#side .wp-tag-cloud li{
	display: inline-block;
	margin: 0 5px 5px 0;
}
#side .wp-tag-cloud li a{
	background-color: #D9CA85;
	color: #FFF;
	border-radius: 5px;
	background-image: url(http://photo.gochaxgocha.com/wp-content/uploads/2020/11/tag.svg) ;
	background-repeat: no-repeat;
	background-position: 3px center;
	padding: 5px 5px 5px 15px;
	background-size: 10px;
	font-size: 12px;
}
@media screen and (max-width: 1220px) {
#main.single-post #wrap{
	width: 96%;
}
#side .wp-tag-cloud li{
	margin: 0 3px 5px 0;
}
}
@media screen and (max-width: 1220px) {
#side .wp-tag-cloud li a{
	background-position: 2px center;
	padding: 5px 4px 5px 14px;
	font-size: 10px;
}
}
@media screen and (max-width: 520px) {
	#main.single-post #wrap{
	display: block;
		margin: 0 auto 30px;
}

#main.single-post article,
#side {
	width: 100%;
	max-width: 100%;
	}
}
/*固定ページ*/
#main.page {
	max-width: 1200px;
	width: 96%;
	margin: 0 auto;
}
#main.page h1 {
	text-align: center;
	font-size: 24px;
	border-bottom: 2px solid #333;
	margin: 30px auto;
	display: block;
	width: auto;
}
#main.page h2 {
	margin-bottom: 15px;
}
#main.page h2::before {
	content: "◆";
	margin-right:5px;
}
#main.page section {
	margin-bottom: 50px;
}
#main.page p,
#main.page ul,
#main.page ol{
	margin-bottom: 30px;
}
#main.page ul,
#main.page ol{
	margin-left: 30px;
}
/*写真アーカイブ*/
#main .gallery {
	max-width: 1200px;
	width: 96%;
	margin: 0 auto;
}
#main .gallery h1 {
	text-align: center;
	font-size: 24px;
	margin-top: 30px;
	margin-bottom: 30px;
	width: auto;
}
#main .gallery .text {
	text-align: center;
	margin-bottom: 30px;
}
#main .gallery .text　a {
	text-decoration: underline;
}
#main .gallery .photo-lists {
	column-count: 3;
	column-gap:10px;
}
#main .gallery div {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
	margin-bottom: 20px;
}
#main .gallery div figure img {
	width: 100%;
	height: auto;
}
@media screen and (max-width: 768px) {
#main .gallery .photo-lists {
	column-count: 2;
	column-gap:10px;
}
#main .gallery .text {
	font-size: .9em;
	width: 96%;
	margin: 0 auto 30px;
}
}
@media screen and (max-width: 520px) {
#main .gallery .text {
	font-size: .8em;
	text-align: left;
}
#main .gallery .photo-lists h2{
	font-size: .9em;
}
	#main .gallery .photo-lists .tags {
		display: none;
	}
}
/*写真リスト*/
.lists  {
	width: 100%;
	margin: 0 auto;
}
.lists {
	column-count: 6;
	column-gap:10px;
}
.lists .image {
	-webkit-column-break-inside: avoid;
	  page-break-inside: avoid;
	  break-inside: avoid;
	margin-bottom: 30px;
}
.lists .image h3 {
	font-size: 10px;
}
.lists .image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
@media screen and (max-width: 768px) {
.lists {
	column-count: 3;
}
@media screen and (max-width: 520px) {
.lists {
	column-count: 2;
}
}
/*利用規約*/
#main.page .policy {
	max-width: 700px;
	margin: 0 auto 50px;
}