@charset "UTF-8";
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
object {
    pointer-events: none;
  }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* グローバル設定 */

@font-face {
    font-family: "LogoTypeGothic";
    font-style: "normal";
    font-weight: 400;
    src:url("LogoTypeGothic.woff") format("woff");
}

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 400;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}

body	{
	margin:0;
	padding:0;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Yu Gothic", YuGothic, sans-serif;
	background-color:#f1f1f1;
	color:#666;
	font-size:small;
}


header	{
	width:100%;
	min-width:1000px;
	margin:0 0 20px;
	padding:0;
	background-color:#20212B;
	color:#FFF;
	border-bottom:1px solid #CCC;
	display: flex;
}

main {
	background-color:#FFF;
	width:90%;
	max-width:1200px;
	margin:auto;
	padding:2em;
	box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),0 3px 3px -2px rgba(0,0,0,0.12),0 1px 8px 0 rgba(0,0,0,0.2);
}


.sitelogo {
	display: block;
	width:100%;
	color:#FFF;
	text-decoration: none;
	flex-basis: 200px;
	margin-left:calc((100% - 1000px)*0.5);
	}
	

.sitelogo h1	{
	margin:0;
	padding:10px 0 0;
	width:200px;
	height:70px;
	font-family: "LogoTypeGothic";
	font-size:large;
	text-align: center;
}

.sitelogo h1 span {
	font-size:smaller;
}



header	nav	{
	flex-basis:auto;
	margin:0;
	padding:0;
}

header	nav ul {
	margin:0;
	padding:0;
	display: flex;
	min-width:60%;
}

header	nav ul li {
	display:block;
	flex-basis: 100px;
	height:50px;
}

header	nav ul li a	{
	position:relative;
	display:inline-block;
	width:100px;
	padding-top:30px;
	text-align:center;
	color:#FFF;
	text-decoration:none;
	font-size:medium;
	font-family: 'Comfortaa', cursive;
}
header	nav ul li a::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #FFF;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform .3s;
  }

  header	nav ul li a:hover::after {
	transform: scale(1, 1);
  }


.sns {
	margin:1em 0;
	padding:0px;
	list-style:none;
	display: flex;
}


.sns li	{
	margin-left:10px;
	padding:0px;
}

.sns_mobile {
	display:none;
}
}

.sns2 {
	margin:0;
	padding:0;
	list-style:none;
	display: flex;
}


.sns2 li	{
	margin-left:10px;
	padding:0px;
}


h2 {
	margin:10px 0px;
	padding:5px 10px;
	text-align: center;
	color:#333;
	font-weight:normal;
	font-size:x-large;
	font-family: 'Comfortaa', cursive;
}



.works h3, .goods h3, .doujin h3 {
	font-size:large; 
    position: relative;
    padding-bottom: 0.5em;
    border-bottom: 4px solid #DDD;
}

.works h3:after, .goods h3:after, .doujin h3:after{
    position: absolute;
    content: " ";
    border-bottom: solid 4px #446689;
    bottom: -4px;
    width:10%;
    display: block;
}



h4 {
	text-align:left;
	margin:10px 0px;
	padding:5px 10px;
	border-left:4px solid #dddddd;
	color:#333;
	font-weight:normal;
	font-size:small;
}


main a, .info a	{
	color:#999;
	}
	
main a:hover, .info a:hover	{
	color:#AAA;
}


footer	{
	width:100%;
	min-width:1000px;
	text-align:right;
	background-color:#20212B;
	color:#FFF;
	font-size:small;
	border-top:1px solid #D9D9D9;
	font-family: 'Comfortaa', cursive;
	margin-top:1em;
}

footer	p	{
	padding:20px;
	margin:0;
	
}


/* トップページ設定 */

main.home	{
	padding:1em 0;
}


.slideshow	{
	width:90%;
	max-width:1200px;
	margin:auto;
}

.info	{
	width:90%;
	max-width:1200px;
	margin:10px auto 20px;
	padding:10px 0;
	border-radius: 5px;
	border: 1px solid #CCC;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),0 3px 3px -2px rgba(0,0,0,0.12),0 1px 8px 0 rgba(0,0,0,0.2);
	background-color:#FFF;
}

.info ul	{
	width:100%;
	margin:0;
	padding:0;
	list-style:none;
}

.info ul li	{
	display:inline-block;
	width:30%;
	padding:0 1.5%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.info ul li:nth-child(2)	{
	border-left:1px solid #CCC;
	border-right:1px solid #CCC;
}
.topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	width:100%;
}

.topics	section	{
	flex-basis:30%;
	background-color: #333;
	margin-bottom:20px;
}

.topics h3	{
	font-size:medium;
	font-weight:normal;
	line-height:1em;
	color:#FFF;
	margin:10px;
}

.topics img {
	margin:0;
	width:100%;
	height:270px;
	object-fit: cover;
}
.topics img, .works img, .gallery img:hover{
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
  }

  .topics img:hover, .works img:hover {
	opacity: .5;
}

  .gallery img:hover {
	box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),0 3px 3px -2px rgba(0,0,0,0.12),0 1px 8px 0 rgba(0,0,0,0.2);
}


.pagination {
	display:block;
	margin:1em;
	text-align:center;
	font-size:large;
}

.pagination a, .pagination strong, .pagination b {
	display:inline-block;
	width:3em;
}

.disabled {
	display:none!important;
}

.topicspage {
	 overflow-y:auto;
	-ms-overflow-style:none;
}

.topicspage::-webkit-scrollbar{
	display:none;
}

.topicspage  {
	width:80%;
	margin:2em auto 80px;
	padding:1em;
	box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),0 3px 3px -2px rgba(0,0,0,0.12),0 1px 8px 0 rgba(0,0,0,0.2);
}

.topicspage article {
	display:flex;
}

.topic_image {
   flex-basis:calc(50% - 2em);
}

.topic_content {
	flex-basis:50%;
	margin-left:2em;
}

.topic_content img {
	max-width:100%;
	height:auto;
}

.topic_content ul {
	list-style:none;
}


.topic_image img {
	max-width:100%;
	height:auto;
}

time	{
	font-size:small;
	font-weight:normal;
}

/* シングルページ設定 */


.single article {
	margin-left:5em;
}

/* Works設定 */



.works_list	{
	margin:10px 0;
	padding:0;
	list-style-type:none;
	font-size:0.85em;
	display:flex;
	flex-wrap: wrap;
	width:100%;
	
}

.works_list	img	{
	margin-bottom:10px;
}

#game li, #art_book li, #novel li, #cover_illust li, #books li, #collabo li {
	flex-basis:240px;
	height:400px;
	margin:5px;
}

#game li img, #art_book li img, #novel li img, #cover_illust li img, #books li img, #collabo li img{
	width:220px;
	height:auto;
}

#related_books li, #application li, #freepaper li, #related_games li, #others li, #virtual li {
	flex-basis:175px;
	height:320px;
	margin:5px;
}

 #related_books li img, #anime_music li img, #freepaper li img, #related_games li img, #others li img, #virtual li img {
	width:175px;
	height:auto;
}

#anime_music li {
	flex-basis:175px;
	height:250px;
	margin:5px;
}

#freepaper li, virtual li {
	flex-basis:140px;
	height:300px;
	margin:5px;
}

#goods ul, #cardgame ul, #etc ul	{
	list-style:none;
	line-height:1.5em;
}

.goods li	{
	width:175px;
	height:200px;
	display:block;
	margin:5px;
	float:left;
}



.gallery_list {
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-around;
	align-content: space-around;
}

.gallery_list a {
	flex-basis:auto;
	margin-bottom:1em;
}

.gallery_list img {
	width:280px;
}


/* 同人誌個別ページ設定 */
.doujinshi	article	{
	width:750px;
	border-bottom:1px solid #CCC;
	margin-bottom:10px;
}


.doujin_cover	{
	width:280px;
	margin-right:20px;
	padding:30px 0;
	float:left;
}
.doujin_cover	img{
	width:280px;
}

.doujin_detail	{
	width:450px;
	float:left;	
}


.doujinshi	section p	{
	margin:10px 0;
	padding:10px;
	border-bottom:1px solid #CCC;

}

.itaku p	{
	border-bottom:none!important;
	line-height:0.8em;
}

.itaku a	{
	display:inline-block;
	width:200px;
	height:40px;
	margin:5px;
}

.doujin_sample	{
	width:130px;
	margin-right:5px;
}

/* 同人誌一覧 */


#doujin_list section	{
	margin:30px 0;
}


#doujin_list	ul	{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	flex-wrap:wrap;
	align-content:space-around;
}

#doujin_list	ul li	{
	flex-basis:200px;
	height:250px;
	margin:10px 15px;
}

#doujin_list img {
	max-width:100%;
	max-height:100%;
}

/*ブログ*/

.blog article	{
	margin:30px 0;
	padding-bottom:30px;
	border-bottom:1px solid #CCC;
}


/*ブログアーカイブ*/
.blog_archive ul	{
	width:200px;
	margin:0 auto;
	padding:0;
}

.blog_archive ul li a	{
	display:inline;
	color:#666;
	text-decoration:underline;
	border:none;
}
.blog_archive ul li a:hover	{
	background-color:transparent;
	color:#CCC;
}

.blog_monthly	{
	list-style:none;
	min-height:400px;
}
.blog_pages	{
	text-align:center;
}

.blog_pages	span	{
	display:inline-block;
	width:30px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}