/*
Theme Name: Pia
Theme URI: https://www.pia-abc.com/blog/twentyeleven-pia/
Description: Pia Language Theme.
Author: Pia Language
Author URI: https://www.pia-abc.com/
Template: twentyeleven
Version: 1.0
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)

License:
License URI:

General comments (optional).
*/

@import url("../twentyeleven/style.css");

html {
  height: 100%;
}

body {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: auto;
  font-family: 'メイリオ',Meiryo,Osaka,'ＭＳ Ｐゴシック',Arial,sans-serif;
}

.container-wrapper {
  margin: 0 auto;
  max-width: 960px;
}

@media (max-width: 768px) {
  .container-wrapper {
    margin-left: -15px;
    margin-right: -15px;
  }
}
#container {
  width: 100%;
  overflow: hidden;
  min-height: 100%;
  position: relative;
  padding: 0;
}

#branding {
	border:none;
	padding:10px;
}

/* ----------------------------------------- [ Background ]------------------------------------------------------- */
#backgroundContainer {
  position: absolute;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  min-height: 500px;
}

#top {
  position: relative;
  margin: 0;
  z-index: 10;
  background: #00BFFF;
  overflow: visible;
  height: 150px;
}

#topBackground, #bottomBackground {
  position: absolute;
  width: 2000px;
  overflow: visible;
  background-position: center;
}

#topBackground {
  height: 250px;
  margin-left: -600px;
  background-image: url("https://www.pia-abc.com/img/top.png");
  z-index: -1;
}

#center {
  position: absolute;
  z-index: 1;
  top: 150px;
  bottom: 100px;
  width: 100%;
  background-color: #00BFFF;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.5, deepskyblue), color-stop(1, white));
  background: -moz-linear-gradient(top, deepskyblue 50%, white);
}

#bottom {
  position: absolute;
  height: 100px;
  bottom: 0;
  width: 100%;
  z-index: 10;
  background-color: #7CFC00;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(0.2, lawngreen));
  background: -moz-linear-gradient(top, white, lawngreen 20%);
}

#bottomBackground {
  height: 100px;
  background-image: url("https://www.pia-abc.com/img/bottom.png");
  margin-top: -25px;
  z-index: 100;
  bottom: 40px;
  margin-left: -400px;
}

/* ----------------------------------------- [ Generic ]------------------------------------------------------- */

#maincontent {
  margin: 25px 0 0 0;
  overflow: hidden;
  padding: 0 0 90px 0;
}

#maincontent h2 {
  font-weight: 900;
  color: white;
  font-family: 'メイリオ';
  margin-top: 10px;
  text-shadow: 1px 1px 2px #999;
  text-align: center;
}

.container {
  z-index: 1000;
}
.bkg-white {
  background-color: #B7EDFB;
}

#images-wrapper {
  position: relative;
}

.image-item {
  display: none;
  position: absolute;
}

@media (max-width: 768px) {
  #maincontent {
    margin-top: 15px;
  }
}

/* ----------------------------------------- [ Header ]------------------------------------------------------- */

#header, #header a {
  color: white;
  text-decoration:none;
  font-family: 'メイリオ',Meiryo,Osaka,'ＭＳ Ｐゴシック',Arial,sans-serif;
}

#title {
  overflow: hidden;
}

#header h1 {
  margin:0;
  clear:none;
}

#header h1 a {
  font-weight: 700;
  font-size: 38px;
  color: white;
  margin: 0;
  padding: 6px 0 0 0;
  width: 100%;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  font-family: 'Nunito', sans-serif;
}


#header h1 .top, #header h1 .bottom {
  margin: 0;
  line-height: 90%;
  display: block;
}

#header h1 .top {
  width: 100%;
  font-size: 50px;
}

#header h1 .bottom {
	display:inline-block;
	margin-bottom:5px;
}

#header h1 .sub {
	display:inline-block;
	font-size:0.6em;
	font-family: 'メイリオ',Meiryo,Osaka,'ＭＳ Ｐゴシック',Arial,sans-serif;
}

#header #address {
	text-align: right;
	float:right;
	font-size: 14px; font-weight: normal; margin: 0; padding: 0;
}

#headerTabs {
  clear: both;
}

#headerTabs ul {
  height: 30px;
  list-style:none;
  margin:0;
}

#headerTabs li {
  color: white;
  font-size: 18px;
  font-weight: 700;
  height: 30px;
  line-height: 30px;
  display: inline;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  -webkit-transform: scale(1, 1);
  /* Safari and Chrome */
  -moz-transform: scale(0.85, 0.85);
  /* Firefox */
  -ms-transform: scale(0.85, 0.85);
  /* IE 9 */
  -o-transform: scale(0.85, 0.85);
  /* Opera */
}

#headerTabs a {
  color: white;
  padding: 0 5px 0 5px;
}

#headerTabs .home {
  font-weight: bold;
  font-size: 20px;
  -webkit-transform: scale(1, 1);
  /* Safari and Chrome */
  -moz-transform: scale(1, 1);
  /* Firefox */
  -ms-transform: scale(1, 1);
  /* IE 9 */
  -o-transform: scale(1, 1);
  /* Opera */
}

#headerTabs a:hover {
  color: yellow;
  text-decoration: none;
}

#tophr {
  position: relative;
  margin: 0px 0px 0px 0px;
  *margin-top: -15px;
  text-align: left;
  width: 100%;
  height: 1.5px;
  color: #fff;
  border: 0;
  background: #fff;
}

.telephone {
  font-size: 1.5em;
  text-align: center;
  float:right;
  color:black;
  background-color: white;
  max-width: 200px;
  margin: 5px auto 0 auto;
  border-radius: 8px;
  padding: 2px;
}

.telephone a {
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  color: black;
}

.telephone i {
  margin-right: 5px;
}

#header .telephone  a{
	color:black;
}

@media (max-width: 768px) {
  #header {
    padding-right: 10px;
    padding-left: 10px;
  }
  
	#header .telephone {
		max-width:none;
		float:none;
		font-size:2em;
  }
}

#menubar .navbar {
	margin-bottom: 0px;
	background: rgb(84,180,235); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(84,180,235,1) 0%, rgba(47,164,231,1) 60%, rgba(29,156,229,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(84,180,235,1)), color-stop(60%,rgba(47,164,231,1)), color-stop(100%,rgba(29,156,229,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(84,180,235,1) 0%,rgba(47,164,231,1) 60%,rgba(29,156,229,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(84,180,235,1) 0%,rgba(47,164,231,1) 60%,rgba(29,156,229,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(84,180,235,1) 0%,rgba(47,164,231,1) 60%,rgba(29,156,229,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(84,180,235,1) 0%,rgba(47,164,231,1) 60%,rgba(29,156,229,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#54b4eb', endColorstr='#1d9ce5',GradientType=0 ); /* IE6-9 */
	border-bottom:1px solid #178acc;
}
#menubar button.navbar-toggle {
	border-color: white;
}

#menubar .navbar-toggle .icon-bar {
	background-color:white;
}

#menubar .navbar-brand {
	padding-bottom:0px;
	margin:0;
	font-weight:900;
}

#menubar-links  {
	border-color:#1995dc;
 /*background-color:rgba(135,224,253,1);*/
}

#menubar-links li a {
	font-weight:900;
}