/*

    common

*/
body {
	font-size: 1.4rem;
}
img, iframe {
	max-width: 100%;
}
a:link    { color: #000000;}
a:visited { color: #000000;}
a[href]:hover   { opacity: 0.7;}
#c_main a[href]  { text-decoration: underline;}

/*  other  */
body img,
body iframe {
	max-width: 100%;
}





/*

    header

*/

/*  hidden  */
header.global a.contact {
	display: none;
}

/*  layout  */
header.global {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 55px;
}

/*  sitename  */
header.global div.sitename {
	max-width: calc(100% - 60px);
}
header.global div.sitename a img {
	display: block;
	max-height: 55px;
}

/*  menubutton  */
header.global a.menubutton,
header.global a.menubutton span {
	display: inline-block;
	transition: all 0.5s;
	box-sizing: border-box;
}
header.global a.menubutton {
	display: block;
	position: relative;
	width: 30px;
	height: 20px;
	margin-right: 15px;
	cursor: pointer;
}
header.global a.menubutton:hover {
	opacity: 1;
}
header.global a.menubutton span {
	position: absolute;
	left: 0;
	width: 30px;
	height: 1px;
	background-color: #000000;
}
header.global a.menubutton span:nth-of-type(1) { top: 0;}
header.global a.menubutton span:nth-of-type(2) { top: 10px;}
header.global a.menubutton span:nth-of-type(3) { bottom: 0;}
header.global a.menubutton.open span:nth-of-type(1) {
	-webkit-transform: translateY(9.5px) rotate(-45deg);
	transform: translateY(9.5px) rotate(-45deg);
}
header.global a.menubutton.open span:nth-of-type(2) {
	opacity: 0;
}
header.global a.menubutton.open span:nth-of-type(3) {
	-webkit-transform: translateY(-9.5px) rotate(45deg);
	transform: translateY(-9.5px) rotate(45deg);
}

/*  navigation  */
header.global nav.global {
	display: none;
	position: fixed;
	top: 55px;
	left: 0;
	width: 100%;
	height: calc(100% - 45px);
	background-color: rgba(255,255,255,0.9);
	z-index: 9999;
	overflow: auto;
}
header.global nav.global ul {
	margin: 0;
	padding: 3em;
	list-style: none;
}
header.global nav.global ul li {
	margin: 0;
	border-top: 1px #cccccc solid;
}
header.global nav.global ul li a {
	display: block;
	padding: 1em 0;
}
header.global nav.global ul li ul {
	padding: 0;
}
header.global nav.global ul li ul li {
	padding-left: 1.5em;
}


/*

    shortcut

*/

/*  layout  */
body {
	padding-bottom: 60px;
	padding-bottom: 15.5%;
}
#shortcut {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	overflow: hidden;
	z-index: 9;
}
#shortcut ul.side {
	display: none !important;
}
#shortcut ul.footer {
	display: flex;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
#shortcut ul.footer li {
	width: 100%;
	margin: 0;
	letter-spacing: 0;
	list-style: none;
}
#shortcut ul.footer li a {
	display: block;
	opacity: 1;
}
#shortcut ul.footer li a img {
	display: block;
}





/*

    footer

*/

/*  layout  */
footer.global {
	padding: 1em;
}
footer.global a.totop {
	text-align: center;
}

/*  banners  */
footer.global aside.banners ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -0.25em;
}
footer.global aside.banners ul li {
	width: 50%;
	margin: 0;
	list-style: none;
}
footer.global aside.banners ul li a {
	display: block;
	margin: 0.25em;
}
footer.global aside.banners ul li a img {
	display: block;
}





/*

     sub

*/
#c_sub {
	display: none;
}





/*

     main

*/

/*  common  */
#c_main {
	padding: 0 15px 30px;
}
#c_main h1 {
	margin: 0 -15px;
	margin-bottom: 1em;
	font-size: 1.8rem;
	text-align: center;
	color: #666666;
}
#c_main h2 {
	margin: 2em 0 1em;
	padding: 5px 10px;
	background-color: #eeeeee;
	font-size: 1.5rem;
	line-height: 1.25;
	color: #333333;
}
#c_main h2:before {
	content: '■';
}
#c_main #contentfooter {
	display: none;
}

/*  paging  */
#c_main section footer .paging {
	margin: 15px 0;
}
#c_main section footer .paging ul {
	margin: 0 0 0 30px;
	list-style: none;
	text-align: center;
}
#c_main section footer .paging ul li {
	display: none;
	margin: 0 30px 0 0;
}
#c_main section footer .paging ul li.Prev,
#c_main section footer .paging ul li.Next {
	display: inline-block;
}
#c_main section footer .paging ul li a {
	display: block;
	width: 3em;
	height: 3em;
	line-height: 3em;
	text-align: center;
	background-color: #999999;
	color: #ffffff;
	border-radius: 2em;
}





/*

    Article

*/

/*  Common  */
#c_main div.piece {
	width: 100%;
	margin: 1em 0;
}
#c_main div.piece:first-child {
	margin-top: 0;
}

/*  Headings  */
#c_main div.piece.crosshead {
	margin: 0;
}

/*  Hr  */
#c_main div.piece hr {
	border: 0;
	height: 1px;
	background-color: #EEEEEE;
}

/*  Image  */
#c_main div.piece:after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	overflow: hidden;
}
#c_main div.piece div.imagetext.left,
#c_main div.piece div.imagetext.right {
	display: table;
}
#c_main div.piece img {
	display: block;
	margin-bottom: 1em;
}
#c_main div.piece div.imagetext img {
	max-width: 160px;
}
#c_main div.piece div.left img,
#c_main div.piece div.leftfloat img {
	margin-right: 1em;
}
#c_main div.piece div.right img,
#c_main div.piece div.rightfloat img {
	margin-left: 1em;
}
#c_main div.piece div.left div.image,
#c_main div.piece div.right div.image {
	display: table-cell;
	vertical-align: top;
}
#c_main div.piece div.left div.text,
#c_main div.piece div.right div.text {
	display: table-cell;
	vertical-align: top;
}
#c_main div.piece div.leftfloat div.image {
	float: left;
}
#c_main div.piece div.rightfloat div.image {
	float: right;
}
#c_main div.piece.image {
	text-align: center;
}
#c_main div.piece.image img {
	display: inline;
}