/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

html{
	  font-size: 62.5%;
	  height: 100%;
	}


body {
	padding-top: 140px;
	padding-bottom: 0px;
	color: #5a5a5a;

	font-size: 13px;
	/* font-size: 1.2rem; */
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	text-rendering: optimizeLegibility;
	color: #333;
	}


p, li{
	/* font-size: 16px; */
	/* font-size: 1.6rem; */
	line-height: 1.8em;
	margin-bottom: 0.5em;
	text-align: left;
	}

sup{
	margin-left: 0.2em;
	margin-right: 1em;
	}


table {
	font-size:   1.2em;

	border: solid 0px gray;
	border-collapse: collapse;
	}
	
table.telephone{
	width: 90%;
	margin-left: 3em;
	}
td.def{
	width: 4em;
	vertical-align: top;
	padding: 0.2em;
	}
td.desc{
	vertical-align: top;
	padding: 0.2em;
	}





/* override carousel margin */
.carousel {
	margin-bottom: 0px;
	}

.carousel-caption p {
	margin-bottom: 20px;
	font-size: 1.4em;
	line-height: 1.4;
	}

.carousel-caption{
	display:none;
	}



/* override breadcrumb */
.breadcrumb{
	background-color: #fafafa;
	border: 1px solid #eaeaea;
	border-radius: 2px;

	margin-top: -40px;
	margin-bottom: 50px;
	margin-left: 2em;
	margin-right: 2em;

	font-size: 0.8em;
	}




.dorichicontainer{
	margin: 0 auto;
	}




/* small text area for about the center	 */
.aboutarea{
	margin-top: 0px;
	margin-bottom: 30px;
	background-color: #f5f5f5;
	padding: 20px;
	text-align: center;
	}


.aboutthecenter{
	text-align: left;
	}

.aboutthecenter h2{
	font-size: 1.6em;
	color: #333;
	font-weight: bold;
	text-align: center;
	}
.aboutthecenter p{
	font-size: 1.2em;
	color: #222;
	}


/* news area for homepage and past activity pages */
.news{
	border-bottom: 1px solid #bbb;
	padding-top: 0.8em;
	padding-bottom: 2em;
	}
.news-heading{
	margin-top: 0;
	}
.news p{
	font-size: 1.2em;
	}
.news h3{
	font-size: 1.4em;
	}
	
.thepanel {
    position: relative;
    text-align: center;
    color: white;
		width: 250px;
		height: 300px;
		margin: 20px auto;
		}

	.thepanel img{
		width: 250px;
		height: 300px;
		object-fit: cover;
		opacity: 0.9;
		}

	.thepanel p{
	    font-family: "Noto Sans Japanese", san-serif;
	    line-height: 1.2em;
			color: white;
		}

	.middlecenter {
	    position: absolute;
	    top: 50%;
	    left: 50%;
			font-size: 16px !important;
			font-weight: 600;
			text-align: center;
	    transform: translate(-50%, -50%);
	    text-shadow: 0px 0px 8px black;
		}

	.abovecenter {
	    position: absolute;
	    top: 15%;
	    left: 50%;
	    transform: translate(-50%, -50%);

			font-family: 'Oswald', sans-serif;
			font-weight: 300;
			font-size: 14px !important;
	    text-shadow: 0px 0px 8px black;
	    font-size: 1.4em;
		}
	.belowcenter {
	    position: absolute;
	    top: 80%;
	    left: 50%;
	    transform: translate(-50%, -50%);
		}



/* the bar for oshirase */
.oshirase{
	padding-left: 2em;
	padding-right: 2em;
	color: #222;
	background-color: #7daddd;
	text-shadow: 2px 1px 10px #ddd;
	}

.featurette{
	padding-left: 2em;
	padding-right: 2em;
	}
.featurette p{
	font-size: 1.2em;
	}

.featurette-heading {
	margin-top: 10px;
	margin-bottom: 1em;
	color: #333;
	line-height: 1em;
	font-weight: 700;
	}



/* ---------- override navbar ---------- */

.navbar-wrapper .navbar {
	border: none;
	border-radius: 0px;
	}




/* this is special!!! */
/* https://work.smarchal.com/twbscolor/3.3.7/css/6699cc5588bbeeeeeeccccff1 */

		.navbar-default {
		  background-color: #6699cc;
		  border-color: #5588bb;
		}
		.navbar-default .navbar-brand {
		  color: #eeeeee;
		}
		.navbar-default .navbar-brand:hover,
		.navbar-default .navbar-brand:focus {
		  color: #ccccff;
		}
		.navbar-default .navbar-text {
		  color: #eeeeee;
		}
		.navbar-default .navbar-nav > li > a {
		  color: #eeeeee;
		}
		.navbar-default .navbar-nav > li > a:hover,
		.navbar-default .navbar-nav > li > a:focus {
		  color: #ccccff;
		}
		.navbar-default .navbar-nav > li > .dropdown-menu {
		  background-color: #6699cc;
		}
		.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
		  color: #eeeeee;
		}
		.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
		.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus {
		  color: #ccccff;
		  background-color: #5588bb;
		}
		.navbar-default .navbar-nav > li > .dropdown-menu > li.divider {
		  background-color: #5588bb;
		}
		.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
		.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
		.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		  color: #ccccff;
		  background-color: #5588bb;
		}
		.navbar-default .navbar-nav > .active > a,
		.navbar-default .navbar-nav > .active > a:hover,
		.navbar-default .navbar-nav > .active > a:focus {
		  color: #ccccff;
		  background-color: #5588bb;
		}
		.navbar-default .navbar-nav > .open > a,
		.navbar-default .navbar-nav > .open > a:hover,
		.navbar-default .navbar-nav > .open > a:focus {
		  color: #ccccff;
		  background-color: #5588bb;
		}
		.navbar-default .navbar-toggle {
		  border-color: #5588bb;
		}
		.navbar-default .navbar-toggle:hover,
		.navbar-default .navbar-toggle:focus {
		  background-color: #5588bb;
		}
		.navbar-default .navbar-toggle .icon-bar {
		  background-color: #eeeeee;
		}
		.navbar-default .navbar-collapse,
		.navbar-default .navbar-form {
		  border-color: #eeeeee;
		}
		.navbar-default .navbar-link {
		  color: #eeeeee;
		}
		.navbar-default .navbar-link:hover {
		  color: #ccccff;
		}

		@media (max-width: 767px) {
		  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
		    color: #eeeeee;
		  }
		  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
		  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
		    color: #ccccff;
		  }
		  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
		  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
		  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		    color: #ccccff;
		    background-color: #5588bb;
		  }
		}


		.navbar-brand-large img{
			height: 40px;
			margin-top: 10px;
			}
		@media (max-width: 767px) {
			.navbar-brand-large img{
				height: 30px;
				margin-top: 10px;
				}
		}

		#navbar a {
			font-weight: normal;
			font-size: 0.8em;
			}
		#navbar a:hover {
			text-decoration: underline;
			}



/* end of this is special!!! */







.carousel-inner > .item > img {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%;
	height: 500px;

	background-color: white;
	object-fit: cover;
	}


.carousel-caption{
	color: white;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, .9);
	}

.carousel-caption h1{
	font-weight: bold;
	color: #eee;
	}



/* typography */

.withunderline{
	border-bottom: 1px solid #444;
	padding-bottom: 2px;
	}

h1 {
	font-size: 24px;
	font-size: 2rem;
	}



/* Noto Sans Japanese has: Thin 100, Light 300, DemiLight 350, Regular 400, Medium 500, Bold 700, Black 900 */

strong, b, h1,h2,h3,h4,h5, .author_align_r, .byline, .imagecaption, .questions{
	font-family:"Noto Sans Japanese","ヒラギノ角ゴ Pro W6","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,sans-serif;
	font-weight: bold;
	margin-top: 1.6em;
	color: #555;
	}

h2.featurette-heading{
	text-align: left;
	font-size: 2rem;
	color: #445;
	}

.featurette h3 {
	margin-top: 2em;
	font-size: 1.8rem;
	color: navy;
	}


.featurette h4 {
	margin-top: 3em;
	font-weight: bold;
	}

.featurette h5 {
	margin-top: 3em;
	font-weight: bold;
	}

.text-muted{
	font-size: 1.4rem;
	line-height: 1.2em;
	}




.dashedrule{
	margin: 20px 0;
	border: 0;
	border-bottom: 1px dashed #aaa;
	}





/* on consultation page */
.listabout{
	width:96%;
	font-size: 1.2em;
	}


/* Photographs of Asbestos page */
#byphotocolumn img{
	border: 1px solid gray;
	}





/* ++++++++++++++++ GENERAL PAGE ++++++++++++++++  */

.pagetitle{
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 60px;
	text-align: center;
	}
.pagetitle h1,h2{
	font-size: 2em;
	line-height: 1.3em;
	}
.pagetitle h3{
	color: #777;
	font-size: 1.2em;
	margin-bottom: -2em;
	}
.pagetitle p{
	font-size: 1.2em;
	border-top: 1px solid silver;
	text-align: center;
	}
.pagetitle .eng{
	font-family: 'Oswald', sans-serif;
	font-weight: 100;
	font-size:1.4em;
	color: #444;
	text-align: center;
	}




.textright{
	text-align: right;
	margin-right: 1em;
	}
.textcenter{
	text-align: center;
	}
.textleft{
	text-align: left;
	margin-left: 1em;
	}

.thecontent p,li{
	font-size: 1.2em;
	line-height: 1.6em;
	margin-bottom: 0.4em;
	}

li>p{
	font-size: 1em;
	}


.thecontent h2{
	font-size: 1.6em;
	margin-top: 3em;
	}
.thecontent h3{
	font-size: 1.4em;
	margin-top: 2em;
	}
.thecontent h4{
	font-size: 1.2em;
	margin-top: 2em;
	}
.thecontent h5{
	font-size: 1em;
	margin-top: 1.5em;
	}
	
.thecontent blockquote{
	margin-left: 1em;
	margin-right: 1em;
	font-size: 1em;
	border-left: 4px solid #bbb;
	}

.news blockquote{
	font-size: 1em;
}

.thecontent small{
	font-size: 1em;
	}

.remarks{
	margin-top: 4em;
	margin-bottom: 2em;
	font-style: oblique;
	color: #555;
	}

/* Use this class with div tag for the lead sentences of the page. */
.lead{
	margin-left:  1em;
	margin-right: 1em;
	margin-bottom: 2em;

	color: #777;
	font-size: 1.2em;
	font-style: oblique;
/* 	text-align: center; */
/* 	text-indent: 1em; */
}

.indentedparagraph{
	margin-left: 2em;
	}



.author_align_r, .byline{
	text-align: right;
	font-weight:bold;
	margin-right: 1em;
	margin-bottom:50px;
	/* font-size: 12px; */
	color: #666;
	}
.bylineremark{
	text-align: right;
	font-size:1em !important; }

.author_small{
	color: #333;
	text-align: right;
	font-size:12px;
	margin-bottom:40px;
	}

.rednew, .simplyred {
	color: #d00;
	}



/* The columns with colour frame */

.optionalcolumn{
	width: 252px;
	margin: 20px auto;
	border: 3px solid #bde;
	border-radius: 10px;
	padding: 1em 1em 0 1em;
	background-color: #fcfcfd;
	box-shadow: 2px 2px 3px #eee;
	}
@media (max-width: 991px) {
	.optionalcolumn{
		width: 90%;
		}
	.optionalcolumn .photograph{
		max-width: 200px;
		}
	}

/* Glyphicon for the column */
.optionalcolumn h3 {
	margin: 0;
	font-size: 30px;
	color: #bde;
	border:none;
	background: transparent ;
	box-shadow: none;
	text-align: center;
	text-shadow: 3px 3px 6px #eee;
	}

.optionalcolumn h4	{
	font-size: 1.6em;
	margin-top: 0.5em;
	margin-bottom: 2em;
	padding-bottom: 10px;
	text-align: center;
	border-bottom: 2px dashed #bde;
	}

.optionalcolumn h5	{
	font-size: 1.4em;
	margin-top: 1.4em;
	}
.optionalcolumn blockquote {
	margin: 0 1em;
	text-indent: -1em;
	line-height: 1.6em;
	}



/* The box for dotted list */
.listbox{
	width: 99%;
	margin-left: auto;
	margin-right: auto;
	padding: 1em 3em;
	border: 1px solid #ccc;
	background-color: #fafafd;
	border-radius: 5px	;
	}

/* The box for numbered list */
.pointlist{
	padding: 0;
	margin: 2em 0;
	border: 1px solid silver;
	}
.pointlist > h3{
	background-color: #6699cc;
	padding: 10px;
	margin-top: -5px;
	color: #fff;
	}
.pointlist > ol{
	margin: 2em 2em 2em 0em;
	}
.pointlist p,h4{margin: 1em;}
		

/* ++++++++++++++++ END GENERAL PAGE ++++++++++++++++  */




/* ++++++++++++++++ FOOTER ++++++++++++++++  */

footer {
	clear: both;

	bottom: 0px;
	width: 100%;
	background-color: #69c;
/* 	min-height: 50px; */

	margin-top: 20px;
	color: #eee;
	text-align: center;
	}
#footerlogo{
	text-align: left;
	}
#contactinfo{
	margin: 1em;
	padding: 10px 30px;
 	text-align: right;
 	
 	word-break: keep-all;	// for line break at white space of the header.
	}

#contactinfo p{
	font-size: 1em;
	line-height: 1em;
	}

footer h5{
	font-size: 1em;
	}

footer a {
	color: #ccf;
	}
footer a:hover {
	color: #ccf;
	}

/*  logo in footer */
#footerlogo img{
	height: 30px;
	margin: 10px;
	}

@media (max-width: 767px) {
	#footerlogo, #contactinfo{
		text-align: center;
		
		word-break: keep-all;	// for line break at white space of the header.
		}
	#contactinfo p{
		line-height: 1.4em;
		margin-bottom: 1em;
		}
	}
	
	


/* menu area in the footer */

#fullmenu{
	background-color: #73a6d8;
	text-align: left;
	padding: 1em;
	}

#fullmenu ul{
	list-style-type: none;
	padding-left: 0em;
	}

#fullmenu li{
	font-size: 1em;
	margin-bottom: 0.5em;
	}
#fullmenu a{color: white;}

#fullmenu .groupname{
	color: #444;
	font-weight: 700;
	}

.googlesearchbox{
	width: 80%;
	color: #666;
}

/* ++++++++++++++++ END FOOTER ++++++++++++++++  */




/*  img related */

.graphics{
	margin: 10px auto;
	max-width: 90%;
	}
.photograph {
	max-width: 90%;
	outline: solid 1px #999;
	margin: 10px;
	}
.withframe{
	border: 1px solid #ccc;
	margin: 20px;
	}
.imagecaption{
	font-size: 50px;
}


img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.photocaption {
	font-size: 1em;
	margin-bottom: 2em;
	font-style: oblique;
	line-height: 1.6em;
	color: #333;
	text-align:center;
	}
.copyrightcaption{
	font-family:'noto sans','helvetica', sans-serif;
	font-size: 1em;
	font-weight: 100;
	color: #333;
	font-style: oblique;
	text-align: left;
	margin-bottom: 2em;
	}


.quotebox  {
	width: 80%;
	background-color: #eee;
	margin:	10px;
	padding:	2em;
	border:		1px solid #777 }

.roundquote{
	width: 90%;
	background-color: #fafafa;
	margin:	10px;
	padding: 10px;
	border:		1px solid #999;
	border-radius: 4px;
	box-shadow: 2px 2px 2px 1px rgba(200, 200, 200, 0.1);
	}
.roundquote p{
	margin: 1em;
	}

.oldarticleremark{
	color: #333;
	width: 95%;
	background-color: #fafafa;
	margin:	10px;
	padding: 8px;
	border:		1px solid #999;
	border-radius: 6px;
	box-shadow: 2px 2px 2px 1px rgba(200, 200, 200, 0.1);
	}


/* for embedded YouTube video */

.videoarea{
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
	margin-bottom: 50px;
	}

.videoarea iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border: 1px solid #aaa;
	}

hr{
	height: 0px;
	border-top: 1px solid #aaa;
	}

/* This is for the position of the possible line break. */
.oneline{
	display: inline-block;
	}

.vmargin{
	margin-top: 20px;
	margin-bottom: 20px;
	}

/*.the panel holding the image and the text */
.ppp{
	border: 1px solid pink;	
	color: green;
	}

/* for use with the br tag in the long button to break within narrower screen. */
@media (min-width: 768px) {
	.widerscreenonly{
		display: none;
		}
	}


.hide{
	display: none;
	}