*{
	font-family: 'ＭＳ Ｐゴシック','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',monospace;
}

html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	-webkit-overflow-scrolling: touch;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

textarea {
	resize: none;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

#main {
	width: 100%;
	height: 100%;
	position: relative;
}

/* frame resize関係 */
.ui-resizable-e {
	border-left: 1px dotted silver;
	padding-left: 13px;
	background-color: #f9f9f9;
}

.ui-resizable-s {
	border-top: 1px dotted silver;
	padding-top: 13px;
	background-color: #f9f9f9;
}

/* header部分 */
#area-header {
	letter-spacing: -.40em;
	width: 100%;
	height: 20px;
	margin-bottom: -1px;
	background-color: #000000;
	color: white;
	background: url(/images/bg-header.png) no-repeat;
	background-size: 100% 100%;
	line-height: 100%;
}
#area-header img {
	vertical-align: middle;
	cursor: pointer;
	letter-spacing: normal;
	margin-right: 3px;
}
#area-tree-wrap {

	display: inline-block;
	vertical-align: top;
	float: left;

	width: 248px;
	min-width:13px;
	max-width: -webkit-calc(100% - 40px);
	max-width: calc(100% - 40px);
    height: 100%;
	min-height: 20%;
    max-height: calc(100% - 60px);
	overflow: hidden;

	border: 1px solid #000;
	background-color:#fff;

	font-size: 12px;

	/* 選択禁止 */
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}

#to_abso {
	display: inline-block;
	float: right;
	white-space: nowrap;
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: normal;
	margin-right: 10px;
}

#to_abso a:link, #to_abso a:visited, #to_abso a:active {
	color: #fff;
}

/* 左エリア(tree)部分 */
#area-tree {
	width: 100vw;
	height: calc(100% - 60px);
	overflow: auto;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	zoom: 100%;
}
#area-tree ul {
	padding: 0;
}
#area-tree ul li {
	padding: 0 0 0 25px;
	list-style: none;
	background-image: url('/images/icon-thumb/icon-folder-close.png');
	background-repeat: no-repeat;
}
#area-tree ul li.current {
	background-image: url('/images/icon-thumb/icon-folder-open.png');
}
#area-tree ul li a {
	display: inline-block;
	padding: 0.3em;
	text-decoration: none;
	font-size: small;
	color: black;
	overflow-x: hidden;
}
#area-tree ul li a:hover {
	background-color: paleturquoise;
}

/* 右エリア(サムネイル一覧)部分 */
#area-imagepage {
	font-size: 16px;
	text-align: center;
	overflow: hidden;
	overflow-y: scroll;
	background-size: cover;
	background-color: #fff;
	position: absolute;
	display: inline-block;
	margin: -1px 0 -4px 0;
	width: 80%;
	height: calc(100% - 60px);
	-webkit-overflow-scrolling: touch;
}

/* footer部分 */
#area-footer {
	position: fixed;
	width: 100%;
	height: 40px;
	bottom:0;
	right: 0;
	background: url(/images/bg-footer.png) no-repeat;
	background-size: 100% 100%;
}
#area-footer #icon-setting {
	margin: 0 10px;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}

#SNS-PC {
	height: 40px;
	vertical-align: middle;
}

#SNS-PC .fb-like {
	vertical-align: top !important;
	line-height: 100%;
	display: inline-block;
}

#area-footer input[type="button"],#area-footer input[type="submit"] {
	-moz-appearance: button;
	-webkit-appearance: button;
	appearance: button;
	background-color: #dddddd;
	font: 12px/normal 'ＭＳ Ｐゴシック','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',monospace !important;
	padding: 0.5em !important;
	border-radius: 0 !important;
	min-width: 80px;
}

#btn-check_toggle, #btn-download {
	vertical-align: top;
	height: 40px;
	font-family: monospace;
	margin: 0;
}

/**************** 「いいね」クリック時に表示されるフォームを非表示に ****************/
.fb_iframe_widget span { height: 20px; z-index: 0; overflow: hidden; }

/**************** メールで伝える(header) ****************/
#area-mail_form {
	margin: auto;
	display: none;
	font-size: 12px;
	width: 240px;
	height: 280px;
	border: 1px solid black;
	box-sizing: border-box;
	background-color: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
#area-mail_form .close {
	text-align: right;
	height: 20px;
	margin: 10px 10px 20px 0;
}
#area-mail_form .close img {
	vertical-align: middle;
	cursor: pointer;
}
#area-mail_form .caption {
	margin: 10px 3px;
	text-align: center;
}

#mail_form {
	margin: 0 20px 20px 20px;
}
#mail_form label {
	margin-top: 10px;
	display: inline-block;
}
#mail_form input[name="mail_addr"], #mail_form textarea[name="mail_memo"] {
	width: 100%;
}
#mail_form input[type="submit"] {
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	width: 150px;
	height: 30px;
	background-color: #2E9AC1;
	color: #fff;
	text-shadow: 2px 2px 3px #333333;
	border: none;
}

/**************** メールで伝える(footer) ****************/
#area-footer-mail_form input[name="mail_addr"] {
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	height: 18px;
}
#area-footer-mail_form input[type="submit"] {
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border: none;
	background-color: #2E9AC1;
	color: #fff;
}

/**************** device-widthによって調整 ****************/
/* 横768以下の場合 */
@media not screen and (min-device-width: 769px) {
	#area-tree-wrap {
		width: 230px;
	}
}
/* 横500以下の場合 iphone6+の縦など */
@media not screen and (min-device-width: 501px) {
	#area-tree-wrap {
		width: 150px;
	}
}
/* 横320以下の場合 */
@media not screen and (min-device-width: 321px) {
	#area-tree-wrap {
		width: 120px;
	}
	#advertise1,#advertise2,#advertise3 {
		width: 180px;
		margin: 10px auto;
		text-align: center;
	}
}

/* コメント関係 */
#comment_count_fukidasi {
	position: absolute;
	display: table;
	bottom: 20px;
	left: 20px;

	width: 32px;
	height: 27px;

	font-size: 12px;
	line-height: 12px;
	text-align: center;
	text-overflow: ellipsis;

	background: url(/images/comments/fukidashi02.png) no-repeat center center;
	overflow: hidden;
}

.comment_count {
	display: table-cell;
	vertical-align: middle;
}

/* コメント投稿フォーム */
#area-comments {
	display: none;
	width : 300px;
	height: 380px;
	padding: 10px;
	font-size: 12px;
	border: 1px solid #000000;
	background-color: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
#area-comments > div {
	text-align: right;
	margin-bottom: 10px;
}
#comments-close {
	cursor: pointer;
}
#add-comment-name {
	width: 280px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
#add-comment-data {
	width: 280px;
}

/* コメント一覧 */
#comments-list {
	list-style: none;
	width: 100%;
	height: 220px;
	margin-bottom: 20px;
	padding-left: 0;
	border: 1px dotted silver;
	overflow: auto;
	white-space: pre;
	word-wrap: break-word;
}
#comments-list li {
	padding-bottom: 20px;
}
#comments-list li div.comment-fukidashi {
	background: url(/images/comments/fukidashi250_top.jpg) no-repeat center top
	,url(/images/comments/fukidashi250_bottom.jpg) no-repeat center bottom;
	width: 280px;
	min-height: 1px;
	padding: 10px 10px 8px 10px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;margin: 0 0 0 auto;
}
#comments-list li div.comment-fukidashi div {
	background: url(/images/comments/fukidashi250_middle.jpg) repeat-y center;
	width: 100%;
	height: auto;
	margin-top: 3px;
	padding: 0 10px 0 30px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	word-wrap: break-word; white-space: -moz-pre-wrap; white-space: normal;
}
#comments-list li div.comment-date {
	width: 100%;
	text-align: left;
}

/* 拡大イメージ */
#area-zimage {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.5);
	-moz-opacity: 0.5;
	width: 100%;
	height: 100%;
}
#area-zimage-window {
	background: url(/images/loading.gif) no-repeat center center white;
	position: relative;
	width: calc(100% - 100px);
	height: calc(100% - 100px);
	border: 10px solid silver;
	margin: 50px auto;
	overflow: hidden;
}
#area-zimage-zoom {
	position: absolute;
	top: 20px;
	left: 20px;
	cursor: pointer;
}
#area-zimage-close {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
}
#area-zimage-image {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

/* 拡大イメージ->tw/fb */
#downloadButton, #twitterButton, #facebookButton {
	position: absolute;
	right: 20px;
	cursor: pointer;
	display: inline;
	width: 169px;
}
#downloadButton {
	bottom: 100px;
}
#twitterButton {
	bottom: 60px;
}
#facebookButton {
	bottom: 20px;
}

/* wait画面 */
#wait {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: none;
}
#wait .wait_msg {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
#wait .wait_msg div {
	margin: auto;
	padding: 20px;
	width: 80%;
	font-size: 14px;
	color: black;
	background-color: white;
	border: 3px solid silver;
	line-height: 1.3em;
}
#wait .wait_msg p {
	height: 15px;
}
#wait .wait_msg a {
	font-size: 16px;
}

/* FLY => GIGAFILE SPACE への誘導UI */
#space-box {
	position: absolute;
	bottom: 20px;
	left: 0;
	text-align:center;
	width: 220px;
	height: auto;
}
#space-box .close-space-box {
	text-align: right;
	width: auto;
	margin: 0 auto;
}
#space-box-pc-news{
	display:block;
	font-size:12px;
	line-height:130%;
	text-align:center;
	color: white;
	margin: 1em 0;
}
.space-box-inner {
	width: 180px;
	height: auto;
	margin: 0 auto;
	padding: 10px;
	border-radius: 10px;
	background-color: white;
	border: solid 5px mediumseagreen;
}
.space-box-inner p {
	color: white;
	font-weight: bold;
	margin: 1em 0;
	line-height: 1.5em;
}


/* ページnavi */
#area-pages {
	display: inline-block;
	position: relative;
	margin-top: 1px;
	width:100%;
	height: 40px;
	background-color: #f9f9f9;
	border-bottom: 1px double silver;
}

#prev_btn, #next_btn {
	position: absolute;
	top: 0;
	margin: 0;
}
#prev_btn {
	left: 0;
}
#next_btn {
	right: 0;
}

#area-pagenavi {
	width: auto;
	height: 40px;
	margin-left: 40px;
	overflow: hidden;
	white-space: nowrap;
}

#area-imagepage_footer {
	margin-bottom: 30px;
	white-space: nowrap;
}

/* top説明文 */
.first-caption {
	margin: 10px auto 0 auto;
	font-size: 24px;
}

#area-path {
	text-align: center;
	font-weight: bold;
	margin-top: 10px;
}

/* 広告 */
#advertise2 {
}

/* 広告 prt.nu */
#pr-prt {
	margin: 20px 0;
	height: 60px;
}

#area-images {
	padding-top: 0;
	margin-bottom: 30px;
	min-height: 50px;
}

.title-long {
	font-size: 12px;
	position: relative;
	min-width: 200px;
}

div.title-long div {
	display: none;
	position: absolute;
	left: 12px;
	border: 1px solid black;
	padding: 5px;
	background-color: #ffffe1;
}

/* img単体 */
.image-area {
	position: relative;
	display: inline-block;
	margin: 10px 1px 24px 1px;
	width: 320px;
	height: 320px;
	text-align: center;
	vertical-align: bottom;
	background-color: transparent;
}
.image-area .adsbygoogle {
	margin: 16px auto 0 auto;
}
.image-data {
	position: relative;
	width: 300px;
	height: 300px;
	margin: 16px auto 0 auto;
	display: block;
	background-color: #fff;
	border: 1px solid #cccccc;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background: url(/images/loading.gif) no-repeat center center;
}
.image-data img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 300px;
	height: 300px;
	object-fit: cover;
}
.image-title {
	text-align: left;
	margin-top: 10px;
	white-space:nowrap;
	line-height:1em;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	cursor: pointer;
}
.image-size {
	margin-top: 10px;
	word-wrap: break-word;
}

/* コメント数 */
.comment_count {
	font-size: 12px;
	color: #fff;
	background-color: #990000;
	position: absolute;
	left: 10px;
	bottom: 3px;
	width: auto;
	max-width: 60px;
	padding: 2px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.count0 {
	opacity: 0.4;
	background-color: #666;
}


/* page next/prev */
#page-prev, #page-next {
	margin: 0 5px;
	cursor: pointer;
}

/* 選択中のファイル数 */
#area-selected {
	text-align: center;
	margin-bottom: 20px;
	white-space: nowrap;
}

/* サポート一覧 */
#area-support {
	font-size: 12px;
	margin-bottom: 50px;
	min-height: 400px;
}

#area-support ul {
	display: inline-block;
	text-align: left;
}

#area-support .caution {
	color: #ff0000;
}

/* ページャのボタン */
a.button.page {
	padding: 0;
	display: table-cell;
	vertical-align: middle;
}
a.button.page div {
	width: 40px;
	font: 11px/normal sans-serif;
}

/* 広告表示 */
.wrap_pc_banner {
	position: relative;
	display: flex;
	width: 100%;
	min-width: 970px;
	height: 250px;
	background: #FFF;
	margin: 10px auto;
	padding:0;
}

.wrap_pc_banner > .pc_banner {
	flex-basis: auto;
	margin: 0 auto;
}

