/*
カスタム CSS 機能へようこそ。

使い方についてはこちらをご覧ください
(英語ドキュメンテーション)。http://wp.me/PEmnE-Bt
*/
/* ホームの大見出しスタイル
===========================
CSS定義と表示テキストの対応表
===========================
#home-hero h1 {...}
 → 東京新宿タトゥースタジオ（改行）『FOX GATE TATTOO』
#home-hero h1 .subtext {...}
 → （フォックスゲートタトゥー／旧ブロッサム）
#home-hero p {...}
 → 和彫り 刺青 ワンポイント デザイン画像多数
=========================== */
#home-hero h1 {
/* 2文字分の大きさ */
	font-size: 2em;
}

#home-hero h1 .sub-text {
/* 2文字分の大きさ × 0.8 倍 = 1.6文字分の大きさ */
	font-size: .8em;
}

/* レスポンシブ対応：画面サイズ 580px 以下 */
@media (max-width: 580px) {
	#home-hero h1 {
	/* 1.785文字分の大きさ */
		font-size: 1.785em;
	}
}

/* レスポンシブ対応：画面サイズ 480px 以下 */
@media (max-width: 480px) {
	#home-hero h1 {
	/* 1.5文字分の大きさ */
		font-size: 1.5em;
	/* 行の高さ（0.5文字分の行間余白） */
		line-height: 1.5em;
	}
	
	#home-hero h1 .sub-text {
	/* 1.5文字分の大きさ × 0.6 倍 = 0.9文字分の大きさ */
		font-size: .6em;
	}
	
	#home-hero p {
	/* 0.8文字分の大きさ */
		font-size: .8em;
	}
}

/* ギャラリー画像のタイトル
   オレンジの枠線を左に追加
========================= */
.panel-grid .widget-title {
	border-left: solid 4px #fe310f !important;
/*font-size: .9rem;*/
/*padding: 10px 0 !important;*/
}

/* 画面の幅780px以下の場合
========================= */
@media (max-width: 780px) {
	/* ギャラリー画像の途中での折り返しを防止 */
	.panel-grid:before, .panel-grid:after {
		clear: none !important;
	}
	
	/* ギャラリー画像の表示サイズを均一化 */
	.gallery a {
		overflow: hidden;
		height: 138px !important;
	}
	
	/* ギャラリー画像にスクリーンの３分の１の大きさを設定し、 左寄せの回り込み表示に指定。さらに余白の調整など */
	#pg-19-1 .panel-grid-cell, #pg-19-2 .panel-grid-cell,  #pg-19-4 .panel-grid-cell, #pg-19-5 .panel-grid-cell, #pg-19-6 .panel-grid-cell, #pg-19-7 .panel-grid-cell, #pg-19-8 .panel-grid-cell, #pg-19-9 .panel-grid-cell, #pg-19-11 .panel-grid-cell, #pg-19-12 .panel-grid-cell, #pg-19-13 .panel-grid-cell, #pg-19-14 .panel-grid-cell, #pg-19-15 .panel-grid-cell {
		width: calc(100% / 3) !important;
		float: left !important;
		margin-bottom: 0 !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	
	/* カテゴリ画像にもギャラリー画像とほぼ同様の設定。画像の表示サイズを大きくして印象を変えている */
	#pg-19-16 .panel-grid-cell {
		float: left !important;
		width: calc(100% / 2) !important;
		margin-bottom: 15px !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	
	/* テキストサイズの調整 */
	.panel-grid .cat-title {
		font-size: .9rem;
	}
}

/* 画面の幅640px以下の場合
========================= */
@media (max-width: 640px) {
	/* ギャラリー画像の表示サイズを再調整 */
	.gallery a {
		height: 142px !important;
	}
	
	/* ギャラリー画像をスクリーンの２分の１の大きさに設定。画面の幅780px以下の設定もここで上書きされる */
	#pg-19-1 .panel-grid-cell, #pg-19-2 .panel-grid-cell, #pg-19-4 .panel-grid-cell, #pg-19-5 .panel-grid-cell, #pg-19-6 .panel-grid-cell, #pg-19-7 .panel-grid-cell, #pg-19-8 .panel-grid-cell, #pg-19-9 .panel-grid-cell, #pg-19-11 .panel-grid-cell, #pg-19-12 .panel-grid-cell, #pg-19-13 .panel-grid-cell, #pg-19-14 .panel-grid-cell, #pg-19-15 .panel-grid-cell {
		width: calc(100% / 2) !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	
	/* カテゴリ画像はスクリーンいっぱいの大きさに設定 */
	#pg-19-16 .panel-grid-cell {
		width: 100% !important;
	}
}

/* 画面の幅420px以下の場合
========================= */
@media (max-width: 420px) {
	/* ギャラリー画像の表示サイズを再調整 */
	.gallery a {
		height: 108px !important;
	}
	
	/* フォントサイズの再調整 */
	.panel-grid .cat-title {
		font-size: .7em;
	}
	
	.panel-grid .widget-title {
		font-size: .9rem;
		padding: 5px 0 !important;
	}
	
	#pg-w570477b5e1e4a-0 .panel-grid-cell, #pg-w570477b5e1e4a-1 .panel-grid-cell, #pg-w570477b5e1e4a-2 .panel-grid-cell {
	}
}

/* 2カラムの余白 */
@media screen and (max-width: 640px) {
	[class*="col-"] {
		padding-right: 5px !important;
	}
}

/* リストの左寄せ */
.campaign ul {
	padding-left: 1em;
}

.campaign ul li {
	text-align: left;
}

@media screen and (max-width: 768px) {
	.campaign ul {
		padding: 5px;
	}
}

/* ボタンの調整
========================= */
.ow-button-base {
	zoom: 1;
/* All the special styles */
}

.ow-button-base:before {
	content: '';
	display: block;
}

.ow-button-base:after {
	content: '';
	display: table;
	clear: both;
}

.ow-button-base a {
	text-align: center;
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	line-height: 1em;
}

.ow-button-base a .sow-icon-image,
.ow-button-base a [class^="sow-icon-"] {
	font-size: 1.3em;
	height: 1em;
	width: auto;
	margin: -.1em .75em -.2em -.75em;
	display: block;
	float: left;
}

.ow-button-base a .sow-icon-image {
	width: 1em;
	background-size: cover;
}

.ow-button-base.ow-button-align-left {
	text-align: left;
}

.ow-button-base.ow-button-align-right {
	text-align: right;
}

.ow-button-base.ow-button-align-center {
	text-align: center;
}

.ow-button-base.ow-button-align-justify a {
	display: block;
}

.so-widget-sow-button-atom-07869780f9a6 .ow-button-base a {
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 1em;
	padding: 1em 2em;
	background: #333333;
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0,#1a1a1a),color-stop(1,#333333));
	background: -ms-linear-gradient(bottom,#1a1a1a,#333333);
	background: -moz-linear-gradient(center bottom,#1a1a1a 0%,#333333 100%);
	background: -o-linear-gradient(#333333,#1a1a1a);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#1a1a1a',GradientType=0);
	border: 1px solid;
	border-color: #121212 #0d0d0d #050505;
	color: #FFFFFF !important;
	-webkit-border-radius: .25em;
	-moz-border-radius: .25em;
	border-radius: .25em;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.065);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.065);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.065);
	text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.so-widget-sow-button-atom-07869780f9a6 .ow-button-base a .sow-icon-image,
.so-widget-sow-button-atom-07869780f9a6 .ow-button-base a [class^="sow-icon-"] {
	margin: -.1em .75em -.2em -.75em;
}

.so-widget-sow-button-atom-07869780f9a6 .ow-button-base a:visited,
.so-widget-sow-button-atom-07869780f9a6 .ow-button-base a:active,
.so-widget-sow-button-atom-07869780f9a6 .ow-button-base a:hover {
	color: #FFFFFF !important;
}

.so-widget-sow-button-atom-07869780f9a6 .ow-button-base a.ow-button-hover:hover {
	background: #383838;
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0,#1f1f1f),color-stop(1,#383838));
	background: -ms-linear-gradient(bottom,#1f1f1f,#383838);
	background: -moz-linear-gradient(center bottom,#1f1f1f 0%,#383838 100%);
	background: -o-linear-gradient(#383838,#1f1f1f);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#383838',endColorstr='#1f1f1f',GradientType=0);
	border-color: #171717 #121212 #0a0a0a;
	color: #ffffff;
}

@font-face {
	font-family: 'sow-fontawesome';
	src: url('font/fontawesome-webfont.eot?v=4.6.3');
	src: url('font/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('font/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('font/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('font/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('font/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format("svg");
	font-weight: normal;
	font-style: normal;
}

.sow-icon-fontawesome {
	font-family: 'sow-fontawesome';
	display: inline-block;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.sow-icon-fontawesome[data-sow-icon]:before {
	content: attr(data-sow-icon);
}

/* キャンペーン
------------------------------------- */
.campaign {
	margin-bottom: 20px;
}

.campaign ul li {
	text-align: left;
}

/* 画像の余白
------------------------------------- */
.so-widget-image {
	margin: 20px 0;
}

/* レイアウトクリア
------------------------------------- */
.clearfix {
	margin-bottom: 30px;
}

.clearfix:after {
	content: " ";
	display: block;
	clear: both;
}

/* トップページメニューの調整
--------------------------------------- */
@media screen and (min-width: 769px) {
	#home-works > div.col-1-6 {
		padding: 0 4px 0 0;
		transition: all 1s ease 0;
		border-right: 1px solid #ccc;
		box-shadow: 1px 0 0 #fff;
	}
	
	#home-works > div.col-1-6:first-child {
		border-left: 1px solid #fff;
	}
}

@media screen and (min-width: 769px) {
	div.col-1-6 {
		padding: 0 4px 0 0;
		transition: all 1s ease 0;
		border-right: 1px solid #ccc;
		box-shadow: 1px 0 0 #fff;
	}
	
	div.col-1-6:first-child {
		border-left: 1px solid #fff;
	}
	
	div.col-1-6:hover {
		background: rgba(0,0,0,0.1);
	}
}

/* SNSアイコンとFBページプラグインの調整
--------------------------------------- */
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style] {
	max-width: 100%;
}

ul.icon-top {
	margin: 0 auto 10px;
	padding: 0;
	display: flex;
	justify-content: space-around;
	max-width: 420px;
}

ul.icon-top li {
	float: none;
	margin: 0 2px;
	width: calc((100%-20px)/6);
}

ul.icon-top li:first-of-type {
	margin-left: 0;
}

ul.icon-top li:last-of-type {
	margin-right: 0;
}

ul.icon-top li a {
	max-width: 64px;
	width: 100%;
}

/* 画像ギャラリーの調整
========================= */
.ngg-gallery-thumbnail a {
	margin: 0 !important;
}

.ngg-gallery-thumbnail {
	border: 0 !important;
	background: none !important;
	width: 100%;
}

@media (max-width: 420px) {
	.ngg-gallery-thumbnail-box {
		width: 15.7%;
		margin-right: 5px;
	}
	
	/* 余白の再調整 */
	#pg-19-1 .panel-grid-cell, #pg-19-2 .panel-grid-cell,	#pg-19-4 .panel-grid-cell, #pg-19-5 .panel-grid-cell,	#pg-19-6 .panel-grid-cell, #pg-19-7 .panel-grid-cell, #pg-19-8 .panel-grid-cell, #pg-19-9 .panel-grid-cell, #pg-19-11 .panel-grid-cell, #pg-19-12 .panel-grid-cell, #pg-19-13 .panel-grid-cell, #pg-19-14 .panel-grid-cell, #pg-19-15 .panel-grid-cell {
		padding-left: 5px !important;
		padding-right: 5px !important;
		display: block;
	}
}

@media (max-width: 780px) {
	#pg-19-0.panel-no-style, #pg-19-0.panel-has-style > .panel-row-style, #pg-19-1.panel-no-style, #pg-19-1.panel-has-style > .panel-row-style, #pg-19-2.panel-no-style, #pg-19-2.panel-has-style > .panel-row-style, #pg-19-3.panel-no-style, #pg-19-3.panel-has-style > .panel-row-style, #pg-19-4.panel-no-style, #pg-19-4.panel-has-style > .panel-row-style, #pg-19-5.panel-no-style, #pg-19-5.panel-has-style > .panel-row-style, #pg-19-6.panel-no-style, #pg-19-6.panel-has-style > .panel-row-style, #pg-19-7.panel-no-style, #pg-19-7.panel-has-style > .panel-row-style, #pg-19-8.panel-no-style, #pg-19-8.panel-has-style > .panel-row-style, #pg-19-9.panel-no-style, #pg-19-9.panel-has-style > .panel-row-style, #pg-19-10.panel-no-style, #pg-19-10.panel-has-style > .panel-row-style, #pg-19-11.panel-no-style, #pg-19-11.panel-has-style > .panel-row-style, #pg-19-12.panel-no-style, #pg-19-12.panel-has-style > .panel-row-style, #pg-19-13.panel-no-style, #pg-19-13.panel-has-style > .panel-row-style, #pg-19-14.panel-no-style, #pg-19-14.panel-has-style > .panel-row-style, #pg-19-15.panel-no-style, #pg-19-15.panel-has-style > .panel-row-style, #pg-19-16.panel-no-style, #pg-19-16.panel-has-style > .panel-row-style {
		display: block;
	}
}

/* フッターウィジェットのデザイン */
.footer-area .footer-widget {
	width: 100%;
}

.footer-area .footer-widget.center {
	display: flex;
	justify-content: flex-start;
}

.footer-area .footer-widget.center div {
	flex: 1;
}

.footer-area .footer-widget .wp-image-17637 {
	max-width: 120px;
}

@media(min-width:801px) {
	.footer-area {
		display: flex;
		justify-content: flex-end;
	}
	
	.footer-area .footer-widget.left,
								.footer-area .footer-widget.center {
		width: 34%;
	}
	
	.footer-area .footer-widget.right {
		width: 28%;
	}
}

@media(min-width:1024px) {
	.footer-area .footer-widget.left,
						.footer-area .footer-widget.center {
		width: 38%;
	}
	
	.footer-area .footer-widget.right {
		width: 20%;
	}
}

@media(max-width:800px) {
	.footer-area .footer-widget {
		margin-bottom: 20px;
	}
	
	.footer-area .footer-widget.right {
		display: flex;
		justify-content: flex-start;
	}
	
	.footer-area .footer-widget.right div {
		flex: 1;
	}
}

/* フッターのカスタムメニュー */
.footer-widget ul.menu {
	margin: 0 0 .75em .25em;
	padding: 0;
	font-size: .85em;
}

.footer-widget ul.menu li {
	list-style: none;
	padding: 0;
}

.footer-widget ul.menu li:before {
	content:'▷';
	font-size: .5em;
	vertical-align: middle;
	margin: 0 5px;
	color: #c30;
}

/* フッターの画像リンク */
a.widget_sp_image-image-link:hover,
a.widget_sp_image-image-link:focus {
	opacity: .8;
}











/* ---追加CSS 20190221------------------------- */
.page-entry-header .entry-title{
	display: none;
}


div.sl-overlay{
	background: #000;
	opacity:0.5;
}
div.sl-wrapper .sl-close,
div.sl-wrapper .sl-counter{
	color: #fff;
}
div.sl-wrapper .sl-navigation button{
	color: #fff;
}
div.sl-wrapper .sl-image .sl-caption{
	padding: 2px 20px;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 15px;
	text-shadow: rgb(34, 34, 34) 0px 1px 2px;
	color: #fff;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
	position: absolute;
	height: auto;
	bottom: -2.2em;
	display: block;
  text-align: center;
}


.navigation-container > button{
	overflow: hidden;
}
.navigation-container .toggle-menu:focus {
	background: #e85335;
	border: 3px solid #e85335;
}
body{
	padding-right:0 !important;
}


div.ngg-gallery-thumbnail-box {
	width: 16.66666667% !important;
/* 	width: calc(100% / 6) !important; */
}
.ngg-gallery-thumbnail{
	margin: 5px;
	width: calc(100% - 10px);
}
.grid-pad,
.page-full-contain{
	min-width: initial;
}

.ngg-galleryoverview{
	margin-top: 5%;
}
.ngg-galleryoverview br{
	display: none;
}


/* clearfix */
.close_clearfix:after{
  content: "";
  clear: both;
  display: block;
}


@media screen and (max-width: 780px) {
	
	.ngg-gallery-thumbnail{
		width: calc(100% - 4px);
	}
	div.ngg-gallery-thumbnail img{
		margin: 0 !important;
	}
	div.ngg-gallery-thumbnail{
		margin: 2px;
	}
	
}
@media screen and (max-width: 640px) {
	[class*="col-"] {
		padding-right: 0 !important;
	}
}

@media screen and (max-width: 500px) {
	
	div.ngg-gallery-thumbnail-box{
		width: 25% !important;
/* 		width: calc(100% / 4) !important; */
		margin-right: 0;
	}
	
}

