@charset "utf-8";

/* ========== 全体の設定 ========== */
html * {
	box-sizing: border-box;
}
html, body {
	font-size: 14px;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;	
 	color: #fff;
}
body, div, p, h1, h2, h3, h4, ul, figure, input {
	margin: 0;
	padding: 0;
}
body {
	background: #000;
}
ul {
	list-style: none;
}
p {
	line-height: 1.8;
	text-align: justify;
}
a {
	text-decoration: none;
	color: #fff;
}
a:hover {
	opacity: 0.6;
}
img {
	width: 100%;
	height: auto;
	vertical-align: middle;
}
/* 写真の拡大（モーダルウィンドウ） */
#glaylayer {
	position: fixed;
	-webkit-overflow-scrolling: touch;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #000;
	cursor: pointer;
}
#overlayer {
	position: relative;
	margin: 0 auto;
	width: calc(125vh - 50px);
	max-width: 100%;
	min-width: 360px;
}
#overlayer button{
	background: none;
	color: #fff;
	font-size: 21px;
	width: 100%;
	border: none;
	margin: 0;
	padding-top: 10px;
	cursor: pointer;
}
@media screen and (min-width: 768px) {
	#overlayer img {
	}
}

.container {
	margin: 0;
}
@media screen and (min-width: 768px) {
	.container {
		width: 1180px;
		margin: 0 auto;
		padding: 0 10px;
	}
}
/* ========== モバイルナビ ========== */
#mobile-nav {
	position: fixed;
	display: none;
	-webkit-overflow-scrolling: touch;
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
	/* font-size: 17px; */
	font-size: 15px;
	line-height: 1.4;
	top: 65px;
	bottom: 0;
	width: 100%;
	background: #353232;
	overflow: auto;
	padding: 10px 20px;
	z-index: 999;
}
#mobile-nav > * {
	-webkit-transform:translateZ(0);
}
#mobile-nav li:first-child {
	border-top: 1px solid #666;
}
#mobile-nav li {
	border-bottom: 1px solid #666;
}
#mobile-nav li a {
	display: block;
	/* padding: 12px 0; */
	padding: 8px 0;
}
#mobile-nav li.nav-heading, #mobile-nav li.nav-gallerylink {
	background: #444;
}
#mobile-nav li.nav-heading {
	font-size: 12px;
	color: #ccc;
	/* padding: 15px 0 15px 14px; */
	padding: 8px 0 8px 14px;
}
#mobile-nav li.nav-heading::before {
	content:"";
	padding-left: 4px;
	border-left: 5px solid #999;
}
#mobile-nav li.nav-heading-sub {
	font-size: 10px;
	color: #ccc;
	padding: 15px 0 15px 13px;
}
#mobile-nav li.nav-gallerylink a {
	font-size: 12px;
	padding-left: 30px;
}
@media screen and (min-width: 768px) {
	#mobile-nav {
		display: none !important;
	}
}

/* ========== ヘッダー ========== */
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 10px;
	padding-bottom: 15px;
}
.header-logo {
	width: 120px;
}
.header-nav {
	display: none;
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
	padding-bottom: 5px;
}
.nav-btn {
	background: none;
	background: url(../images/nav-open.png);
	background-size: 40px 40px;
	border: none;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
}
.open {
	background: url(../images/nav-close.png);
	background-size: 40px 40px;
}
@media screen and (min-width: 768px) {
	.header-inner {
		padding: 10px 0 28px;
	}
	.header-logo {
		width: 256px;
		padding-left: 16px;
		padding-top: 22px;
	}
	.header-nav {
		display: flex;
		margin-top: auto;
		margin-bottom: -5px;
	}
	.header-nav li {
		margin-right: 35px;
	}
	.header-nav li a {
		display: block;
		color: #ccc;
		padding: 5px;
	}
	.nav-btn {
		display: none;
	}
}

/* ========== フッター ========== */
footer {
	margin-top: 30px;
	padding: 15px 10px;
	border-top: 1px solid #333;
}
footer p {
	font-size: 10px;
	text-align: center;
	line-height: 1.5;
}
@media screen and (min-width: 768px) {
	footer {
		min-width: 1190px;
	}
}


/* ========== index.html ========== */
.keyvisual {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow:hidden;
	z-index: -1;
}
.keyvisual img {
	position: absolute;
	top: -5%;
	width: 150%;
}
@media screen and (min-width: 768px) {
	.keyvisual img {
		top: -15%;
		min-width: 1200px;
		width: 100%;
	}
}
.top-logo {
	margin-top: 55%;
	margin-right: 5px;
}
.access-cnt {
	display: flex;
	justify-content: flex-end;
	margin-right: 15px;
	padding-top: 5px;
	text-align: right;
}
.access-cnt img {
	width: auto;
}
@media screen and (min-width: 768px) {
	.access-cnt {
		margin-right: 20px;
	}
}
.top-nav {
	display: flex;
	justify-content: center;
	flex-direction: column;
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
	font-size: 16px;
	margin: 0;
	padding: 50px 0 10px;
}
.top-nav li {
	padding: 5px 20px;
}
.top-nav li a {
	display: block;
	color: #ccc;
	padding: 5px;
}
@media screen and (min-width: 768px) {
	.top-container {
		padding: 0;
		width: 1210px;
	}
	.top-logo {
		width: 698px;
		margin-top: 292px;
		margin-left: auto;
		margin-right: 0;
	}
	.top-nav {
		flex-direction: row;
		justify-content: flex-end;
		padding: 100px 22px 100px 0;
		font-size: 14px;
	}
	.top-nav li {
		padding: 0 0 0 35px;
	}

}

/* ========== profile.html/contact.html ========== */
.profile-photo {
	position: relative;
}
.profile-text, .contact-text {
	padding: 10px;
}
.profile-name, .contact-name {
	font-size: 21px;
	padding: 10px 0 15px;
}
.profile-credit {
	font-size: 10px;
	position: absolute;
	right: 10px;
	bottom: 0;
}
.contact-mail {
	font-size: 18px;
}
.contact-btn {
	color: #FC0;
	text-decoration: underline; 
}
.contact-btn:hover {
	color: #F60;
}
@media screen and (min-width: 768px) {
	.profile, .contact {
		position: relative;
	}
	.profile-text {
		position: absolute;
		right: 0;
		bottom: 0;
		padding: 0;
	}
	.profile-name {
		padding-bottom: 24px;
	}
	.profile-credit {
		font-size: 13px;
		position: static;
		padding-top: 24px;
	}
	.contact-text {
		position: absolute;
		right: 70px;
		bottom: 90px;
	}
	.contact-mail {
		padding-top: 25px;
	}
}

/* ========== gallery.html（一部slidegallery.htmlと共通） ========== */
.sidebar {
	display: none;
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
}
@media screen and (min-width: 768px) {
	.gallery-container {
		display: flex;
	}
	.sidebar {
		display: block;
		width: 250px;
	}
	.side-pagetitle {
		font-size: 16px;
		line-height: 1.0;
		color: #ccc;
		border-left: 4px solid #ccc;
		margin-bottom: 15px;
		padding-left: 4px;
	}
	.side-category {
		color: #777;
		line-height: 1.5;
		letter-spacing: 3px;
		border-bottom: 1px solid #777;
		margin-bottom: 9px;
		padding-top: 3px;
	}
	.side-category-sub {
		font-size: 12px;
		color: #999;
		line-height: 1.0;
		letter-spacing: 1px;
		border-left: 3px solid #999;
		margin: 14px 0 9px;
		padding: 0 0 0 4px;
	}
	.side-nav {
		margin: 10px 0 20px;
	}
	.side-nav li a {
		display: block;
		background: #353232;
		font-size: 12px;
		line-height: 1.3;
		color: #ccc;
		margin-bottom: 5px;
		padding: 12px 0 11px 12px;
	}
}
#gallery-h2 {
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
	font-size: 14px;
	font-weight: normal;
	padding-bottom: 20px;
}
.gallery-h3 {
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 3px;
	color: #ccc;
	margin: 20px 0 15px;
	padding-bottom: 2px;
	border-bottom: 1px solid #999;
}
.gallery-h4 {
	font-size: 12px;
	font-weight: normal;
	line-height: 1.0;
	letter-spacing: 1px;
	color: #ccc;
	margin: 25px 0 15px;
	padding: 1px 0 0 5px;
	border-left: 3px solid #ccc;
}
.gallery-about {
	display: flex;
	flex-flow: column;
	padding-bottom: 40px;
}
.gallery-about p {
	font-size: 12px;
}
.gallery-about__map {
	max-width: 267px;
	margin: 0 auto;
	padding-top: 20px;
}
.gallery-about__map a {
	display: block;
	margin-bottom: 15px;
}
.gallery-about__map a:last-child {
	margin-bottom: 0;
}
.gallery-main {
	padding: 10px;
}
.gallery-list {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}
.gallery-list li {
	flex: 0 0 31.8%;
	margin-bottom: 25px;
}
.gallery-list li:empty {
	margin-bottom: 0;
}
.gallery-list a {
	display: block;
}
.gallery-list p {
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
	font-size: 12px;
	text-align: center;
	line-height: 1.5;
	padding-top: 7px;
}
@media screen and (min-width: 768px) {
	.gallery-main {
		width: 910px;
		padding: 4px 35px;
	}
	.gallery-about {
		flex-flow: row;
		justify-content: space-between;
	}
	.gallery-about p {
		flex: 1 1 auto;
	}
	.gallery-about__map {
		flex: 0 0 267px;
		margin: 0;
		padding-top: 0;
		padding-left: 20px;
	}
	.gallery-list li {
		margin-bottom: 40px;
	}
}

/* ========== slidegallery.html ========== */
#slidegallery {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}
#slidegallery li {
	flex: 0 0 31%;
	margin-bottom: 20px;
	cursor: pointer;
}
#slidegallery li:empty {
	margin: 0;
	cursor: none;
}
#slidegallery li:hover {
	opacity: 0.6;
}
.thumb button, #slide-nav button {
	background: none;
	color: #fff;
	width: 100%;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
}
#slide {
	display: none;
	position: fixed;
	-webkit-overflow-scrolling: touch;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #000;
}
#slide-num {
	text-align: left;
	padding: 2px 20px 1px;
}
#slide-img {
	position: relative;
	margin: 0 auto;
}
#slide-text {
	font-family: ヒラギノ明朝 Pro W3, Hiragino Mincho Pro, ＭＳ Ｐ明朝, MS PMincho, serif;
	margin: 0 auto;
	padding: 7px 20px;
}
#slide-text .text-butterfly {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #666;
}
.italic {
	font-style: italic;
}
#slide-nav {
	display: flex;
	justify-content: center;
	border-top: 1px solid #666;
	font-size: 42px;
}
#slide-prev, #slide-next, #slide-close {
	margin: 0 10px;
	padding: 3px 20px 0px;
	cursor: pointer;
}
#slide-close {
	position: absolute;
	font-size: 14px;
	right: 0;
	padding-top: 16px
}
#slide-prev:hover, #slide-close:hover, #slide-next:hover {
	opacity: 0.5;
}
@media screen and (min-width: 768px) {
	#slidegallery li {
		flex: 0 0 131px;
	}
	.thumb button, #slide-nav button {
		outline: none;	
	}
	#slide-img {
		text-align: center;
		position: relative;
		width: calc(125vh - 100px);
		max-width: 100%;
		min-width: 360px;
	}
	#slide-text {
		max-width: 1500px;
	}
	#slide-text p {
		/*padding-left: 20px;*/
		display: inline;
	}
	#slide-text p:first-child {
		padding-left: 0;
	}
	#slide-text .text-butterfly {
		border-bottom: none;
	} 
	#slide-text p:before {
		content: "●";
		padding-right: 3px;
	}
	#slide-close {
		font-size: 21px;
		padding-top: 7px
	}
}
/*スライド表示時に後ろの要素がスクロールしないための準備*/
body.fixed{
  position: fixed;
  width:100%;
}


/* ========== pc/sp表示切り替え ========== */
.sp {
	display: block;
}
.pc {
	display: none;
}
@media screen and (min-width: 768px) {
	.sp {
		display: none;
	}
	.pc {
		display: block;
	}
}