/* -------------------------------------
GANREF
Copyright (c) 2016 Impress Corporation. All rights reserved.
------------------------------------- */

@import "/css/application_sp.css";
@import "/css/jquery.fileupload.css";
@import "/common/css/resp_sp.css";


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
 
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block;}
body {
	line-height: 1.4;
	-webkit-text-size-adjust: 110%;
}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

b, strong {font-weight:bold;}


/***********************************************************************/

.respBreadcrumbs .breadcrumbs ol li:first-child {
	margin-left: 6em;
}


#mainCntInner{margin:4vw}


.sns {
	display:none;
}


#subject h1 {
	font-size: 1.3rem;
	font-weight: bold;
}


#subject .title-area {
	text-align: center;
	margin-bottom: 1rem;
	padding-bottom: 10px;
	border-bottom: 2px dotted #ccc;
	margin: 1em 0;
}


#subject .title-area p {
	margin-bottom: 0.5rem;
}

#subject .title-area em {
	font-weight: bold;
	font-style: normal;
}


#subject .title-area h1 {
}


.entry-btn {
	margin-bottom: 1rem;
}

.entry-btn a {
	text-align: center;
	display: block;
	padding: 0.5rem 1rem;
	background-color: #FDE823;
	border-radius: 6px;
	font-weight: bold;
	color: #000;
	font-size:1rem;
	margin: 5px 0;
	text-decoration: none;
}

/**********************************************************************/

#search-result { 
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
}

#search-result li {text-align: center;}

#search-result .thumb img{
	display:block;
	position:absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	max-width:96%;
	max-height:96%;
    border: none;
}


@media screen and (max-width: 375px) {
    #search-result li {
        width:45vw;
        margin: 0 0.5vw 10px 0.5vw;
    }

    #search-result .thumb {
        display: block;
        position:relative;
        vertical-align: middle;
        text-align: center;
        width:45vw;
        height:45vw;
        border:1px solid #e9e9e9;
        border-top-color:#efefef;
        border-left-color:#efefef;
        background-color:#fff;
        box-sizing: border-box;
        margin-bottom: 3px;
    }
}

@media screen and (min-width: 376px) {
    #search-result li {
        width:30vw;
        margin: 0 0.3vw 10px 0.3vw;
    }

    #search-result .thumb {
        display: block;
        position:relative;
        vertical-align: middle;
        text-align: center;
        width:30vw;
        height:30vw;
        border:1px solid #e9e9e9;
        border-top-color:#efefef;
        border-left-color:#efefef;
        background-color:#fff;
        box-sizing: border-box;
        margin-bottom: 3px;
    }
}



#search-result li .title {
	font-size: 0.9rem;
	word-wrap: break-word;
}

#search-result li .author {
	font-size: 0.8rem;
	word-wrap: break-word;
	display: block;
}

#search-result li .author::after {content: 'さん'}

#search-result li .created,
#search-result li .ganref_point,
#search-result li .date_time_original,
#search-result li .iconPR,
#search-result li .iconFT,
#search-result li .favorite,
#search-result li .comment {
	display: none;
}


/************#subject-index*******************/

#subject-index ul {
}

#subject-index ul li {
	border-top: 1px solid #e5e5e5;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	padding: 1rem 0.5rem;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

#subject-index ul li:last-child {
	border-bottom: 1px solid #e5e5e5;
}


#subject-index ul li a {
	text-decoration: none;
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto; 
	margin-right:1em;
}

#subject-index ul li i::after {
 	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transform: translate(0, 0);
	content: "";
	color: #0D47A1;
	vertical-align: middle;
}

#subject-index ul li a em{
	font-size: 1.2rem;
	font-weight: bold;
	font-style: normal;
}


#subject-index h3 {
	position: relative;
	padding: 0.5em;
	background: #b4accc;
	color: #fff;
	margin: 20px 0;
}

#subject-index h3::before {
	position: absolute;
	content: '';
	top: 100%;
	left: 0;
	border: none;
	border-bottom: solid 15px transparent;
	border-right: solid 20px rgb(151, 150, 156);
}


#subject-index ul:first-of-type li:first-child,
#subject-index ul:first-of-type li:nth-child(2),
#subject-index ul:first-of-type li:nth-child(3) {
	background: #fcffe0;
}
