@charset "utf-8";

/* CSS Document */

/* ======================================================
	html5doctor.com Reset Stylesheet
	v1.6.1
	Last Updated: 2010-09-17
	Author: Richard Clark - http://richclarkdesign.com 
	Twitter: @rich_clark
------------------------------------------------------ */
*
{
	-webkit-box-sizing: border-box;/*	Webkit系用 */
	-moz-box-sizing: border-box;/*		Firefox用 */
	box-sizing: border-box;/*			標準 */
	hyphens: manual;
}

*:before,
*:after
{
	box-sizing: inherit;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd,
ul, ol, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video
{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
/*
	font-size:100%;
*/
	vertical-align: baseline;
	background: transparent;
}

body, hr,
a, img, div, p, blockquote,
strong, span, b, small, em,
dl, dt, dd,
ul, ol, li,
h1, h2, h3, h4, h5, h6, pre,
table, th, td, caption, thead, tbody, tfoot,
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, article,
.Border,
*:before,
*:after,
select,
input, textarea, button, label
{
	border-style: solid;
	border-width: 0;
}

/*
body {
    line-height:1;
}
*/
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section
{
	display: block;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, b,
img,
dl, dt, dd,
ul, ol, li,
fieldset, form, select, label, button, legend, textarea,
table, caption, tbody, tfoot, thead, tr, th, td,
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section
{
	position: relative;
}

nav ul
{
	list-style: none;
}

blockquote,
q
{
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after
{
	content: '';
	content: none;
}

a
{
	margin: 0;
	padding: 0;
	font-size: inherit;
	vertical-align: baseline;
	background: transparent;
}

/* change colours to suit your needs */
ins
{
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}

/* change colours to suit your needs */
mark
{
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

del
{
	text-decoration: line-through;
}

abbr[title],
dfn[title]
{
	border-bottom: 1px dotted;
	cursor: help;
}

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

/* change border colour to suit your needs */
/*
hr
{
	display:block;
	height:1px;
	border:0;
	border-top:1px solid #cccccc;
	margin: 1em 0;
	padding:0;
	clear: both;
}
*/
input,
select
{
	vertical-align: middle;
}

/* ======================================================
	original
------------------------------------------------------ */
body
{
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/*
body
{
	-webkit-text-size-adjust: 100%;
	word-break: normal;
	word-break: break-all;/欧文が改行されるようになるが、句読点の追い込みも無視される/
	word-wrap: break-word;
}
*/




/* ------------------------------------------------------
	<img> */
img
{
	-ms-interpolation-mode: bicubic;
}

/* ------------------------------------------------------
	<iframe>
	[180309]HTML5でiframeの下に隙間ができた。vertical-alignで消す。
	http://blog.doli.jp/blog/2013/post670/
*/
iframe
{
	width: 100%;
	margin-top: 3em;
	margin-bottom: 3em;
	background: transparent;
	border-width: 0;
	vertical-align: bottom;
	overflow-x: hidden;
}

/* ------------------------------------------------------
	<video>
	[180309]HTML5でiframeの下に隙間ができた。vertical-alignで消す。
	http://blog.doli.jp/blog/2013/post670/
*/
video
{
	overflow-x: hidden;
	background: transparent;
	width: 100%;
	height: calc(100% * 0.75);
	vertical-align: bottom;
}

/* ------------------------------------------------------
	<hr> */
hr
{
	display: block;
	height: 1px;
	border-style: solid;
	border-width: 0;
	margin: 2em 0;
}

hr:is(.blank, .Blank)
/*
hr.Blank
*/
{
	background: none;
	border-width: 0;
}

/* ------------------------------------------------------
	<address> */
address
{
	font-style: normal;
}

address img
{
}

/* ======================================================
	<img>
------------------------------------------------------ */
img
{
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	letter-spacing: 0;
}
/*
	border-style: solid;
	border-width: 0;
	letter-spacing: 0;
	vertical-align: bottom;
	display: inline-block;


	IE hack
	http://qiita.com/ShioTsugi/items/4edf6fae3329c4904f29
	http://qiita.com/syossan27/items/75348163b457154a19a9
*/

img[src$=".svg"]
{
	max-width: 100%;
	height: auto;
}

a img,
.Img,
.Img img
{
	display: inline-block;
}

.Img
{
}

.Img img
{
}

.Img+span
{
	display: inline-block;
	vertical-align: middle;
}

.img>.Wrap,
.img img
{
	display: block;
	width: 100%;
}

/* 範囲内へ納める・全体 */
.ImgFit
{
	display: inline-block;
	width: 100%;
}

.ImgFit img
{
	display: block;
	width: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* 範囲内へ納める・はみ出させる */
.ImgCover
{
	display: block;
	width: 100%;
}

.ImgCover img
{
	display: block;
	width: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* トリミング */
.Trimming
{
	position: relative;
	overflow: hidden;
}

.Trimming img
{
	position: absolute;
	top: 0;
	left: 0;
}

/* 写真にフチをつける */
/*
.Snap
{
	text-align: center;
}
*/
.Snap img
{
	border-width: 0.4em;
	border-radius: 0.5em;
	box-shadow: 0.4em 0.4em 0.0em rgba(29,21,21,0.2);
	-moz-box-shadow: 0.4em 0.4em 0.0em rgba(29,21,21,0.2);
	-webkit-box-shadow: 0.4em 0.4em 0.0em rgba(29,21,21,0.2);
}

/* 画像無し */
.NoImg
{
	display: table;
	display: inline-block;
	position: relative;
	width: 100%;
	min-height: 5em;
	background-color: rgba(0,0,0,0.1);
	border-width: 0;
	border-style: dashed;
	text-align: center;
	color: rgba(0,0,0,0.5);
	opacity: 0.6;
}

.NoImg:after
{
	font-size: 0.8em;
	content: "no image";
	display: table-cell;
	display: inline-block;
	position: absolute;
	top: calc(50% - 0em);
	left: 0;
	width: 100%;
	line-height: 0em;
}
/*
	height: 100%;
*/

.NoImg img
{
	width: 100%;
}

/* ------------------------------------------------------
	pic */
figure,
figcaption,
.pic
{
	text-align: center;
}

figcaption,
.pic
{
	line-height: 1.5;
	margin-top: 0.5em;
}
/*
	font-size: 1em;
	text-align: right;
	text-align: center;
	font-size: 0.8em;
*/

/* ======================================================
	<ul><ol><li>
------------------------------------------------------ */
ul,
ol
{
	margin-left: 1.5em;
	margin-top: 1em;
	margin-bottom: 1em;
	text-align: left;
}

li
{
	margin-top: 1em;
	margin-bottom: 1em;
}

li>.Wrap
{
	width: 100%;
}

td>ul,
td>ul>li,
td.Flex>*,
td.Flex>*>*
{
	margin-top: 0;
	margin-bottom: 0;
}

ul ul
{
	list-style-type: disc;
}

/* ======================================================
	<dl>
------------------------------------------------------ */
dl
{
	display: inline-block;
	min-width: 50%;
	text-align: left;
	margin-bottom: 1em;
}

dt
{
	font-size: 1.2em;
	border-bottom-width: 1px;
}

dt:not(:first-child)
{
	margin-top: 2em;
}

dt:before
{
}

dt:after
{
}

dd
{
	margin-top: 0.5em;
	margin-left: 2em;
}

/* ======================================================
	引用
------------------------------------------------------ */
cite
{
	display: block;
	font-size: 0.8em;
	text-align: right;
	letter-spacing: normal;
}
