/*
 Theme Name:   twentyseventeen_child
 Template:     twentyseventeen
*/

/*back to the top_position*/
#re-top {
	position:fixed; /*fix on display*/
	bottom:5%;
	right:5%;
	z-index:10; /*upper layer*/
	background-color:transparent;
}
/*back to the top_button*/
.re-topB {
	position:relative;
	display:block; 
	background-color:rgba(0,0,0,0.7); /*colour of the circle*/
	color:rgb(255,255,255); /*triangle and letter*/
	text-decoration:none;
	font-weight:bold;
	font-size:12px;
	width:60px;
	height:60px;
	text-align:center;
	line-height:24px;
	border-radius:30px;
	padding-top:30px;
	box-sizing:border-box;
}
/*back to the top_vector*/
.re-topB:before {
	content:'\25B2';
	position:absolute;
	top:10px;
	left:0;
	width:100%;
	text-align:center;
	font-size:20px;
}

/*back to the top_revolve*/
.re-topB {
	transition: .85s ;
	-webkit-transform: rotateY( 0deg ) ;
	transform: rotateY( 0deg ) ;
}
#re-top:hover .re-topB {
	-webkit-transform: rotateY( 360deg ) ;
	transform: rotateY( 360deg ) ;
}
 
/*back to the top_hover*/
#re-top:hover .re-topB {
	transition: .85s ;
	color:rgb(255,255,255); /*triangle and letter*/
	background-color:rgba(0,0,0,0.9); /*coulour of the circle*/
	/*box-shadow: 0px 0px 50px rgb(255,255,255); shadow of the circle*/
}

.navigation-top {
	background: rgba(255,255,255,0.9);
	border-bottom: 1px solid rgba(0,0,0,1);
	border-top: 1px solid rgba(0,0,0,1);
}
/* .navigation-top a {*/
/* 	color: rgb(0, 20, 255); */
/* 	-webkit-transition: color 0.3s; */
/* 	transition: color 0.3s; */
/* } */
/* .navigation-top a:hover {*/
/* 	color: #f00; */
/* 	background: rgba(55, 118, 255, 0.35) */
/* }*/

/* Hover effects */
 
.entry-content a,
.entry-summary a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
        -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
        box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
}
.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	color: #000;
	-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 1);
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 1);
}
 
.entry-content a,
.entry-summary a {
        color: #0000ff;
}
 
.entry-content a:visited,
.entry-summary a:visited {
        color:#934C7B;
}

/* undisplay on all pages */
/*.page .entry-title { */
/*    display: none; */
/* } */

.site-info {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.6153846154;
	width:100%;
	text-align:center;
}

.wp-caption-text {
text-align: center;
}

.list {
list-style-position: inside;
text-indent:-1em;
padding-left:1em;
}

/* page width*/

/* change TwentySeventten max width to 900px except frontpage*/
.page.page-one-column:not(.twentyseventeen-front-page) #primary {
	max-width: 900px;/*change from 740px*/
}
/* change TwentySeventten max width to 900px frontpage*/
@media screen and (min-width: 30em) {
	.page-one-column .panel-content .wrap {
		max-width: 900px;/*change from 740px*/
	}
}

/* entrytitle*/
h1.entry-title {
/* border-top:2px solid #004488; */
/* border-bottom:2px solid #004488; */
padding: 0 0 0 15px ;
line-height: 2;
font-size: 26px;
/* background-color: #d4e3fc; */
}
h2.entry-title {
/* border-top:2px solid #004488; */
/* border-bottom:2px solid #004488; */
padding: 0 0 0 15px ;
line-height: 2;
font-size: 26px;
/* background-color: #d4e3fc; */
}
h3 {
/*    border-bottom: 1px solid #205a97;*/
    padding: 0 0 0 15px;
    line-height: 2;
    font-size: 19px;
/*  background-color: #fff; */
/*    background-color: #d4e3fc; */
}

/*dt {*/
/*    color: #004488;*/
/*    }*/

/*dt.concept {*/
/*    color: #004488;*/
/*    font-size: 19px;*/
/*    }*/
    
/*th {*/
/*    color: #004488;*/
/*    }*/
    
.page .panel-content .entry-title, body.page:not(.twentyseventeen-front-page) .entry-title {
    font-size: 26px;
    font-size: 1.5rem;
}

p.footerlogo span {
    display: none;
}
p.footerlogo {
    height: 70px;
    width: 250px;
    background-image: url('./img/logofooter.png');
    background-repeat: no-repeat;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
p.footerlogo { background-image: url('./img/logofooter@2x.png'); background-size: 250px 70px; }
}

/* footeriso*/
p.footeriso span {
    display: none;
}
p.footeriso {
    height: 200px;
    width: 131px;
    background-image: url('./img/ISOIEC27001.png');
    background-repeat: no-repeat;
    background-position: center;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
p.footeriso { background-image: url('./img/ISOIEC27001@2x.png'); background-size: 131px 200px; }
}

/* profilelogo*/
p.profilelogo span {
    display: none;
}
p.profilelogo {
    height: 70px;
    width: 250px;
    background-image: url('./img/profilelogo.png');
    background-repeat: no-repeat;
    background-position: center;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
p.profilelogo { background-image: url('./img/profilelogo@2x.png'); background-size: 250px 70px; }
}

/*footer#colophon {*/
/*background-color: #d4e3fc;*/
/*}*/

/* Hover effects */
 
.entry-content a,
.entry-summary a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.site-info.a,
.widget_authors a strong {
        -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
        box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
}
 
.entry-content a,
.entry-summary a,
.comment-content a {
        color: #0000ff;
}
 
.entry-content a:visited,
.entry-summary a:visited,
.comment-content a:visited {
        color:#934C7B;
}
.site-info a,
.site-info a:visited {
        -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
        box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
}

.site-footer .widget-area ul li a {
        -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
        box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0);
}

.single-featured-image-header img

/* eliminate 2nd header image */
.page-template-page-head-img-modify img {
		display: none;
}
.single-featured-image-header img {
		display: none;
}
.single-featured-image-header {
		border:none;
}
.my-head-img-large .site-content {
		padding-top:2.5em;
}
@media screen and (min-width: 48em){
	.my-head-img-large .site-content {
		padding-top:5.5em;
	}
}
@media screen and (min-width: 48em)
.wrap {
      padding-bottom: 4.5em;
/*    padding-top: 6em; */
      padding-top: 2em;
}
@media screen and (min-width: 30em)
.wrap {
    padding-bottom: 2em;
    padding-top: 3.5em;
}
.wrap {
    padding-bottom: 0.5em;
/*  padding-top: 1.75em; */
    padding-top: 2.5em;
}

@media screen and (min-width: 48em){
.panel-content .wrap {
    padding-bottom: 4.5em;
/*  padding-top: 6em; */
    padding-top: 4em;
}
}

@media screen and (min-width: 48em) {
.page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
    margin-bottom: 2em;
}
}
/*	.site-footer .widget-column.footer-widget-1 {
*		float: left;
*		width: 33.33%;
*		padding: 0 5px;
*	}
*
*	.site-footer .widget-column.footer-widget-2 {
*		float: left;
*		width: 33.33%;
*		padding: 0 5px;
*	}
*    .site-footer .widget-column.footer-widget-3 {
*		float: left;
*		width: 33.33%;
*		padding: 0 5px;
*	}
*/
	.site-footer {
		font-size: 14px;
		font-size: 0.875rem;
		line-height: 1.6;
		margin-top: 3em;
	}
@media screen and (min-width: 48em) {
	/* Footer */
	.site-footer .widget-column.footer-widget-1 {
		float: left;
		width: 40%; /*36% */
		margin-right: 5%; /* new */
	}
	.site-footer .widget-column.footer-widget-2 {
		float: left; /* right */
		width: 30%; /*58% */
		margin-right: 5%; /* new */
	}
	.site-footer .widget-column.footer-widget-3 {
		float: left;
		width: 20%;
	}
}

/* contactlogo*/
h5.tel span {
    display: none;
}
h5.tel {
    height: 137px;
    width: 136px;
    background-image: url('http://ksa.qee.jp/system-you/img/tel.png');
    background-repeat: no-repeat;
    background-position: center;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
h5.tel { background-image: url('http://ksa.qee.jp/system-you/img/tel@2x.png'); background-size: 136px 137px; }
}
h5.fax span {
    display: none;
}
h5.fax {
    height: 137px;
    width: 136px;
    background-image: url('http://ksa.qee.jp/system-you/img/fax.png');
    background-repeat: no-repeat;
    background-position: center;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
h5.fax { background-image: url('http://ksa.qee.jp/system-you/img/fax@2x.png'); background-size: 136px 137px; }
}

/* ul ol list */
ul.tbl, ol.tbl {
    margin: 0 0 1.5em;
    padding: 0 0 0 1em;
}

/*media all change logo size*/
body.has-header-image.title-tagline-hidden.home .custom-logo-link img, body.has-header-video.title-tagline-hidden.home .custom-logo-link img {
    max-height: 80px;
    max-width: 100%;
}

body.home.title-tagline-hidden.has-header-image .custom-logo-link img, body.home.title-tagline-hidden.has-header-video .custom-logo-link img
{
    max-height: 80px;
    max-width: 100%;
}
section ul {
	list-style: none;
}
section ul li {
	padding-left: 20px;
	line-height: 1.6em;
	background: url('http://sanryo.org/img/PDF_32.png') left 0px top 3px no-repeat;
	background-size: 15px auto;
}