/*! common.css */

/* =============================================================================
   全ページ共通css
   ========================================================================== */


body {
	height: 100%;
	color: #222;
	text-align: center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 120%;
}
img {
	vertical-align:bottom;
}

@media screen and (min-width: 640px) {
	body {
		background: url(../img/index/bg.png);
	}
}

@media screen and (max-width: 640px) {
	body {
		background: #fff;
	}
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #ffd1d4;
    transition: 0.5s;
}


@media screen and (min-width: 640px) {
.lineLink a {
  position: relative;
  display: inline-block;
  padding: 0 0 1em 0;
  color: #000;
  text-decoration: none;
}

.lineLink a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #000;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.lineLink a:hover::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

.nav_estimate a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #000;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.nav_estimate a:hover::after {
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
}
}

.font_dosis {
	font-family: 'Dosis', sans-serif;
}

::selection {
	color: #fff;
	background: #91d0dd; /* Safari */
}

::-moz-selection {
	color: #fff;
	background: #91d0dd; /* Firefox */
}


/*========================================
   Container
  ========================================*/
  
#container {
	position: relative;
	top: 0;
	left: 0;
	height: 100%;
	margin: 0 auto;
	text-align: left;
}

@media screen and (min-width: 640px) {
	#container {
		width: 80%;
		float: right;
		background: url(../img/share/bg_white.png) 4em top repeat-y;
	}
}

@media screen and (max-width: 640px) {
	#container {
		width: 100%;
		background: #fff;
	}
}


/*========================================
   Header
  ========================================*/
  
header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
}
 
@media only screen and (min-width: 640px) {
  nav#menu-box {
	  position: absolute;
	  top: 0;
	  right: 0;
	  padding: 2% 0;
	  z-index: 99;
	  margin:0 0 0 6em;
	  }

  nav#menu-box ul {
	  overflow: hidden;
	  }

  nav#menu-box ul li {
	  margin-right: 3em;
	  display: inline-block;
	  }

  nav#menu-box ul li.nav_estimate a {
	  padding: 10px 15px;
	  color: #fff;
	  border-radius: 5px;
	  display: block;
	  background: #ffbbc0;
	  }
	  
  nav#menu-box ul li.current a {
	  color: #ccc;
	  }

  nav#menu-box ul li.nav_estimate a:hover {
	  background: #ffd1d4;
	  }

  #toggle { 
	  display: none;
	  }
}
 
@media only screen and (max-width: 640px) {
	nav#menu-box {
		position: absolute;
		top: 0;
		width: 100%;
		padding: 0;
		z-index: 99;
		}
	
	#menu {
		display: none;
	}

	#menu li {
		display: block;
		float: left;
		width: 100%;
		margin: 0;
		padding: 0;
		background-color: rgba(255, 187, 187, 0.9);
		-webkit-background-color: rgba(255, 187, 187, 0.9);
		-moz-background-color: rgba(255, 187, 187, 0.9);
		}

	#menu li a {
		display: block;
		padding: 1.5em;
		color: #fff;
		text-decoration: none;
		border-top: 1px solid #ffd0d3;
		background: url(../img/share/ap_arrow_white.png) no-repeat right 1em center;
		}

	#menu li a:hover {
		background: url(../img/share/ap_arrow_white.png) no-repeat right 1em center #ffbbc0;
		}	

	#toggle {
		display: block;
		position: relative;
		width: 100%;
		background: url(../img/share/sp_menu_icon.png) no-repeat 1em center;
	}
	
	#toggle a{
		display: block;
		position: relative;
		padding: 0.8em 0;
		color: #fff;
		text-align: center;
		text-decoration: none;
	}
}


/*========================================
   Contents
  ========================================*/
  
#contents {
	margin: 0 0 0 4em;
	padding: 0;
}

@media screen and (min-width: 640px){
	#contents {
		margin: 0 0 0 4em;
	}
}

@media screen and (max-width: 640px){
	#contents {
		margin: 0;
	}
}


/*========================================
   Contact
  ========================================*/
  
#contact_bottom {
	position: relative;
	top: 0;
	left: 0;
	width: 80%;
	margin: 6em auto 0 auto;
	text-align: center;
}

#contact_bottom h2 {
	line-height: 160%;
}

#contact_bottom p span.cb_cont {
	font-size: 160%;
	font-weight: bold;
	padding-left: 20px;
}

p.cb_estimate,
p.cb_meeting,
p.cb_tel {
	margin: 3em 0.5em 0 0.5em;
	font-size: 60%;
	text-align: left;
}

@media screen and (min-width: 640px){
	p.cb_estimate,
	p.cb_meeting,
	p.cb_tel {
		width: 29%;
		float: left;
		display: inline-block;
}
}

@media screen and (max-width: 1280px){
	p.cb_estimate,
	p.cb_meeting,
	p.cb_tel {
		width: 90%;
		display: inline-block;
	}
}
@media screen and (max-width: 640px){
	p.cb_estimate,
	p.cb_meeting,
	p.cb_tel {
		width: 90%;
		display: inline-block;
	}
#contact_bottom {
	margin: 10em auto 0 auto;
}
}


p.cb_estimate,
p.cb_meeting {
	color: #fff;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 3px 0 #d5edf2;
}

p.cb_estimate span.cb_cont,
p.cb_meeting span.cb_cont {
	background: url(../img/share/arrow_white.png) no-repeat left center;
}

p.cb_tel span.cb_cont {
	background: url(../img/share/arrow_pink.png) no-repeat left center;
}

p.cb_estimate {
	background: #75c4d5 url(../img/share/cb_estimate.png) no-repeat;
	background-position: right 10px center;
}

p.cb_estimate:hover {
	/*-webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;*/
    transition: 0.5s;
	background: #91d0dd url(../img/share/cb_estimate.png) no-repeat;
	background-position: right 10px center;
}

p.cb_meeting {
	background: #75c4d5 url(../img/share/cb_meeting.png) no-repeat;
	background-position: right 10px center;
}

p.cb_meeting:hover {
	/*-webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;*/
    transition: 0.5s;
	background: #91d0dd url(../img/share/cb_meeting.png) no-repeat;
	background-position: right 10px center;
}

p.cb_tel {
	color: #ff7680;
	padding: 9px 10px;
	border: 1px solid #ffcfd2;
	border-radius: 5px;
	box-shadow: 0 3px 0 #ffedee;
	background: #fff url(../img/share/cb_tel.png) no-repeat;
	background-position: right 10px center;
}

@media screen and (min-width: 640px){
	p.cb_estimate span.cb_cont,
	p.cb_meeting span.cb_cont {
		background-size: 8%;
}

	p.cb_tel span.cb_cont {
		background-size: 11%;
}

	p.cb_estimate {
		background-size: 9%;
}

	p.cb_estimate:hover {
		background-size: 9%;
}

	p.cb_meeting {
		background-size: 11%;
}

	p.cb_meeting:hover {
		background-size: 11%;
}

	p.cb_tel {
		background-size: 11%;
}
}

@media screen and (max-width: 1280px){


	p.cb_estimate {
		background-size: auto 80%;
}

	p.cb_estimate:hover {
		background-size: auto 80%;
}

	p.cb_meeting {
		background-size: auto 80%;
}

	p.cb_meeting:hover {
		background-size: auto 80%;
}

	p.cb_tel {
		background-size: auto 80%;
}
}

@media screen and (max-width: 640px){
	p.cb_estimate span.cb_cont,
	p.cb_meeting span.cb_cont {
		background-size: 8%;
}

	p.cb_tel span.cb_cont {
		background-size: 11%;
}

	p.cb_estimate {
		background-size: 6%;
}

	p.cb_estimate:hover {
		background-size: 6%;
}

	p.cb_meeting {
		background-size: 7%;
}

	p.cb_meeting:hover {
		background-size: 7%;
}

	p.cb_tel {
		background-size: 7%;
}
}


/*========================================
   Footer
  ========================================*/
  
footer{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	margin: 6em 0 0 0;
	padding: 0 0 5em 0;
	text-align: center;
	border-top: 2px solid #000;
}

.foot_wrap {
	text-align: left;
	vertical-align: top;
}

.foot_area p,
.foot_info p {
	margin-top: 2em;
}

p.page_top {
	cursor: pointer;
}

.foot_info img {
	width: 100%;
	margin-top:2em;
	max-width: 263px;
}

footer h2 {
	margin: 0;
	font-size: 80%;
	line-height: 1.8;
}

footer ul {
	overflow: hidden;
	display: inline-block;
}

footer li {
	display: inline-block;
	margin: 0 10px 0 0;
}

footer .mySiteLink {
	margin: 15px 0 0 0;
	font-size:60%;
}

@media screen and (min-width: 1280px){
	.foot_wrap {
		margin: 5em 0 0 4em;
		padding: 0 6em;
}
	.foot_area {
		width: 60%;
		float: left;
}

	.foot_info {
		width: 30%;
		float: right;
}

	footer ul {
		float: left;
}

	p.copyright  {
		float: right;
}

	p.page_top  {
		margin-left: 1em;
		float: right;
}
	footer .mySiteLink {
		float: none;
		clear: both;
}
}
@media screen and (max-width: 1280px){
	.foot_wrap {
		margin: 5em 0 0 0;
		padding: 0 5em 0 8em;
		text-align: center;
}

	.foot_info h2 {
		margin-top: 5em;
}

	p.copyright  {
		margin-top: 2em;
}

}
@media screen and (max-width: 640px){
	.foot_wrap {
		margin: 5em 0 0 0;
		padding: 0 3em;
		text-align: center;
}

	.foot_info h2 {
		margin-top: 5em;
}

	p.copyright  {
		margin-top: 2em;
}

	p.page_top  {
		display: none;
}
footer li {
	margin: 0 ;
}
}