@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table.table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body {
color:#333;
font-size:16px;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
background:#ffffff;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#000080;text-decoration:none;}
a:hover{color:#85b4d3;}
a:active, a:focus {outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
}

.lb-outerContainer {
    background-color: #222 !important;
}

/*************
/* ヘッダー
*************/
#header{
height:110px;
position:relative;
width:100%;
margin-left:0;
}

#header,
.logo {
	width: 100%;
	margin-left: 0;
}

#header h1{    
	position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

#header a{
color:#333;
font-size:32px;
line-height:1.2;
display:block;
}

#header a:hover{
color:#888;
}

#main {
    min-height: 220px;
}

#gallery,
section.content {
    min-height: 120px;
}

#box_news {
    min-height: 120px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

}

/*************
/* ロゴ
*************/
.logo{
margin-top:6px;
font-size:32px;
font-weight:bold; 
text-align: center;
width:100vw;
position:relative;
}

.logo p {
	max-width: none;
}

.logo p{
text-align:center;
margin:0 auto;
display:inline-block;
font-size:32px;
line-height:1.2;
font-weight:bold;
}

.logo span{
display:block;
color:#333;
font-size:16px;
line-height:1.5;
font-weight:normal;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
padding:10px 0 20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
}

.box{
margin:0 5px;
}

.box img{
max-width:100%;
height:auto;
}

.box h3{padding:10px 0 5px;}

.box h3, .box p{text-align:left;}

.box p.readmore{
padding:10px 5px 5px;
text-align:right;
}

/*************
メイン コンテンツ
*************/
#main{
	margin:0 auto;
}

section.content article{
padding-top:20px;
margin-bottom:30px;
overflow:hidden;
}

* html section.content article{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading{
font-weight:bolder;
font-size:24px;
line-height:36px;
border-bottom:1px solid #D6D6D6;
color:#333;
}

h3.gallery_table{
font-weight:normal;
line-height:32px;
border-bottom:1px solid #D6D6D6;
color:#333;
font-size:16px;
font-weight:bold;
margin:3px 20px 4px 0;
}
	
h3.gallery_tablework{
	font-weight:normal;
	line-height:32px;
	border-bottom:1px solid #D6D6D6;
	color:#333;
	font-size:16px;
	font-weight:bold;
	margin:3px 20px 4px 0;
}
		

section.content img{
max-width:90%;
height:auto;
}

.workimage{
float:left;
clear:left;
margin:3px 20px 10px 0;
}
	
.thumbimage{
margin:3px 20px 10px 0;
}
	
.comicimage{
	width:15%;
	float:left;
	clear:left;
	margin:px 20px 10px 0;
}
		
.workpageimage{
	width:320px;
	float:left;
	clear:left;
	margin:px 20px 10px 0;
}

.snsicon{
width:30px !important;
height:30px !important;
margin:0 !important;
float:none !important;
object-fit:contain !important;
aspect-ratio:1 / 1 !important;
}

.sns-group a {
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	width:30px !important;
	height:30px !important;
	line-height:0 !important;
	flex-shrink:0 !important;
	vertical-align:middle !important;
}

.workicon{
	width:64px;
	height:auto;
	margin:0px 0px 0px 0;
	float:left;
	}
	
.alignleft{
float:left;
clear:left;
margin:3px 20px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 20px;
}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
margin:5px auto 15px auto;
}

table.table td{
border-collapse:collapse;
background-color:#FFFFFF;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
background-color:#F5F5F5;
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;
border-bottom:1px solid #D4D4D4;
border-left:1px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


/*************
/* サイドバー
*************/
#sidebar ul{padding-top:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #f1f1f1;
}

#sidebar li:last-child{
border:0;
margin-bottom:0px;
}

#sidebar li a{
font-size:12px;
display:block;
color:#333;
}

#sidebar li a:hover{
color:#888;
}

#sidebar ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
border:0;
}

ul.list li{height:1%;}

ul.list li img{
float:left;
margin-right:10px;
}

ul.list li{
font-size:12px;
line-height:1.35;
}

/*************
/* SNS
*************/

.snsicon{
	padding-top:0;
	float:none;
	display:block;
	width:30px;
	height:30px;
	object-fit:contain;
	aspect-ratio:1 / 1;
}
	
/*************
/* 戻る
*************/

.return {
	padding: 10px 4px 100px;
}

.cosplay-gallery-return {
	padding-top: 20px;
}

.back_button {
	background-color: #fff;
	border: solid 1px #202020;
	border-radius: 10px;
	color: #202020;
	padding: 10px 30px;
	text-decoration: none;
	font-size: 1em;
}

.back_button:hover {
	color: #202020;
	background-color: #e0e0e0;
}

/*************
/* コピーライト
*************/

address{
clear:both;
padding:40px 0 70px 0;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
}

/*************
/* お知らせ
*************/

.box_news{
	width:(100% - 10px);
	height:30px;
	padding:10px;
	border:0px;
	overflow:auto;
	overflow-y:auto;
}

.box_news dl{
	margin-bottom:4px;
	padding-bottom:1px;
	border-bottom:1px solid #DDD;
	display:flex;
}

.box_news dt{
	padding-left:10px;
	width:8em;
}

.box_news dd{
	padding-left:20px;
	width:calc((100% - 10px) - 2.5em);
	font-size:14px;
}

.sns-group{
	margin-top:20px;
	margin-bottom:20px;
	padding-left:20px;
}

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header{
		width:100vw;
		margin-left:calc(50% - 50vw);
		padding:0;
	}
	
	#wrapper,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  	nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	}
	
	nav#mainNav .inner{
	width:932px;
	padding:0 14px;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li:last-child{border-right:1px dotted #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:154px;
	height:45px;
	padding-top:9px;
	color:#333;
	border-left:1px dotted #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#cdcdcd;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	}

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#909090;
  background:#f9f9f9;
	padding-top:9px;
	}
	
	#mainBanner{margin-left:15px;}
	#subpage #mainBanner{margin:17px auto;}
	
	#main{
	width:960px;
	padding-right:15px;
	}
	
	#sidebar article{
	padding-top:7px;
	margin-bottom:20px;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}

	/* グリッド */
	.grid{
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
	#gallery .grid{float:center;}

	.canvas-parent {
		width: 960px;
		height: auto;
		/*background:#ff00ff;*/
		margin:0 auto;
	}
}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	nav#mainNav{
		clear:both;
		width:100%;
		margin:0 auto;
		padding:0;
  		border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
		width:100%;
		display:block;
		height:40px;
		line-height:40px;
		font-weight: bold;
		text-align:left;
	}

	nav#mainNav a#menu span{
		padding-left:10px;
		color:#333;
	}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
		display: none;
		width:100%;
		position: relative;
		right: 0;
		top:0;
		z-index: 1;
	}

	nav#mainNav ul li{
		float: none;
		clear:both;
		width:100%;
		height:auto;
		line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
		color:#333;
		display: block;
		padding:15px 10px;
		text-align:left;
		border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
		border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#888;}

	nav div.panel{float:none;}
	
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0 15px;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
		width:32%;
		margin:10px 0 0 1%;
	}
	
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer .logo,#footer .info{
	width:100%;
	float:none;
	}
	
	.canvas-parent {
		width: 100%;
		height: 25%;
		margin:0 auto;
	}
	
	#footer .logo p{float:none;display:block;}
	#footer .logo img{float:none;padding:0;}
}

/* サムネイルを包む要素（Aタグ） */
a.glightbox {
    position: relative;
    display: inline-block;
    overflow: hidden; /* 画像枠からはみ出る部分を完全にカット */
}

/* ツールチップ本体（画像の左下・全部角丸・自動極小可変） */
a.glightbox::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 4px;              /* 角丸を綺麗に見せるため画像内側に少し隙間を配置 */
    left: 4px;
    transform: translateY(4px);
    
    padding: 4px 7px;         /* 余白を詰めてコンパクト化 */
    background-color: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    
    /* ----【文字サイズ・文字詰めの調整】---- */
    /* 基準10.5px、極小8.5pxまで可変（文字数・画面幅に対応） */
    font-size: clamp(8.5px, 2vw, 12.5px);
    line-height: 1.25;
    letter-spacing: -0.02em;  /* 文字間隔をほんの少し詰めて収まりを良くする */
    white-space: pre-line;
    
    /* ----【全方向の角丸】---- */
    border-radius: 6px;
    
    /* 画像幅からはみ出さない設定 */
    width: auto;
    max-width: calc(100% - 8px); /* 左右の余白分(4px*2)を引いた最大幅 */
    
    word-break: break-all;
    overflow-wrap: anywhere;
    text-align: left;
    box-sizing: border-box;

    z-index: 100;
    
    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

/* ホバー時にフワッと浮かび上がる */
a.glightbox:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}