/* @group Reset CSS */
/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

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, ol, ul, 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 {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

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:100%;
    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;
}

input, select {
    vertical-align:middle;
}

/* @end */

/* @group Common */
* {
	box-sizing: border-box;
}
body{
    margin: 0 auto;
    min-width: 320px;
	max-width: 1000px;
    font-family: "Helvetica Neue", Arial, -apple-system, BlinkMacSystemFont, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
	font-size: 12px;
    -webkit-text-size-adjust: 100%;
	color: #333333;
}

a, a:visited {
	color: #555555;
	text-decoration: none;
}
a:hover{
    opacity: 0.7;
}

/* @end */

/* @group header */
.Logos {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	padding: 12px 25px 8px;
}
.canonLogo {
	height: 20px;
	width: auto;
}
.cebsLogo img {
	height: 17px;
	width: auto;
}
nav {
	background: #CACACA;
	height: 50px;
	padding-top: 15px;
}
nav .navBox {
	background: #000066;
	height: 35px;
	padding-top: 10px;
	position: relative;
	top: 0;
	left: 0;
}
nav .navLink {
	background: #FFFFFF;
	height: 25px;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 80%;
	text-align: right;
	line-height: 25px;
	font-weight: bold;
	-webkit-border-top-left-radius: 25px;
	-moz-border-radius-topleft: 25px;
	border-top-left-radius: 25px;
	padding-right: 25px;
}
	nav .navLink a::after {
		content: " ： ";
	}
	nav .navLink a:last-child::after {
		content: "";
	}

/* @end */

/* @group main */

main {
	padding: 25px;
	min-height: 100px;
	font-size: 14px;
	line-height: 1.4em;
}
main .flexBox{
display: flex;
flex-direction: row;
justify-content: space-between;
align-content: center;
align-items: center;
}
main.cebs .flexBox {
	margin: 50px 25px 0;
}
main h2 {
	font-size: 1.4em;
	color: #666666;
	margin-bottom: 0.6em;
}
main th,
main td {
	padding: 0.5em;
	font-size: 1.2em;
	line-height: 1.4em;
}
main ul {
	margin-left: 1.5em;
}
main ul li {
	margin-bottom: 0.5em;
	font-size: 14px;
}
main th {
	color: #666666;
	text-align: justify;	
}
main td {
}
.topImg {
	width: 100%;
	height: auto;
}
main.cebs .contents {
	margin: 50px 0;
	font-size: 30px;
}
main .contents {
	width: 70%;
}
	main.cebs .contents,
	main.products .contents {
		width: 100%;
	}
main .photoBox {
	width: 25%;
}
main .photoBox img {
	width: 100%;
	height: auto;
}
main .pGallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin: 50px auto;
}
	main .pGallery dd{
		width: 20%;
		display: block;
	}
		main .pGallery dd img{
		width: 100%;
		height: auto;	
	}
	
/* @end */

/* @group footer */
footer {
	width: 100%;
	font-size: 10px;
	font-weight: bold;	
	margin-top: 25px;
	margin-bottom: 25px;
}

#copyright {
	height: 20px;
	background: #CACACA;
	color: #868686;
	width: 100%;
	line-height: 20px;
	padding-left: 25px;
	display: inline-table;
}

.ceiLink {
	height: 20px;
	line-height: 20px;
	width: 100%;
	text-align: right;
	display: block;
	padding-right: 25px;
}
	.ceiLink img {
		height: 20px;
		width: auto;
	}
#pageinfo {
	position: fixed;
	bottom: -16px;
	right: 0;
	display: block;
	padding: 5px;
	z-index: 99999;
	font-size: 10px;
	transition: all .5s;
}

#pageinfo:hover {
	bottom: 0;
}

#pageinfo p {
	margin: 0;
}

#pageinfo p a {
	text-decoration: none;
	background: #FFFFFF;
	color: #CC0000;
	font-size: 14px;
	padding: 6px;
	text-align: center;
	display: block;
	border-radius: 3px;
	border: 1px solid #CC0000;
}

#pageinfo:hover p a {
	color: #FFFFFF;
	background: #CC0000;
	opacity: 1;
}
/* @end */

/* @group -1000px */
@media screen and (max-width: 1000px){
	main.cebs .contents {
		font-size: 3vw;
	}
}
/* @end */

/* @group -700px */

@media screen and (max-width: 700px){
	main {
		padding: 25px 10px;
	}
	main .flexBox {
		flex-wrap: wrap;
	}
	main .contents {
		width: 100%;
	}
	main table {
		width: 100%;
	}
	main tr {
		display: block;
		border-bottom: 1px solid #333;
		margin-bottom: 25px;
	}
	main tr th,
	main tr td {
		display: block;
	}
	main.cebs .photoBox {
	    width: 50%;
	    margin: auto;
	}
	main.contact,
	main.company {
		padding-top: 50px;
	}
		main.contact .photoBox,
		main.company .photoBox {
			display: none;
		}
	main.cebs .flexBox {
		margin-top: 0;
	}
	main.cebs .contents {
		text-align: center;
		font-size: 4vw;
	}
	nav .navLink {
		width: 100%;
		text-align: right;
		line-height: 25px;
		font-weight: bold;
		-webkit-border-top-left-radius: 0;
		-moz-border-radius-topleft: 0;
		border-top-left-radius: 0;
	}
		nav .navLink a::after {
			content: " | ";
		}
		nav .navLink a:last-child::after {
			content: "";
		}
	.Logos {
		padding: 12px 10px 8px;
	}
	.canonLogo {
		margin-right: 50px;
	}
	.canonLogo,
	.cebsLogo {
		margin: 15px 0;
	}
	
}

/* @end */

/* @group -500px */
@media screen and (max-width: 500px){
	.Logos {
		display: block;
	}
	#copyright {
		text-align: center;
		margin-bottom: 15px;
		padding-right: 25px;
	}
	.ceiLink {
		text-align: center;
	}
	main {
		padding-top: 25px;
	}
	nav .navLink {
		font-size: 4vw;
		text-align: center;
		padding: 10px 0;
	}
}

/* @end */