/**** inner ****/
.inner {
  width: 1000px;
  margin: 0 auto;
}

/****************** Header *****************/

/** Header Contact **/

#header_upper_block {
  display: table;
  width: 100%;
}
/* 上２色ボーダー */
#header_upper_block:before,
#header_upper_block:after {
  display: table-cell;
  border-top-width: 10px;
  border-top-style: solid;
  content: "";
}
#header_upper_block #header_contact {
  display: table-cell;
  width: 1000px;
  border-top: 10px solid #5d3929;
}
#header_upper_block #header_contact:after {
  content: "";
  display: block;
  clear: both;
}

#header_upper_block:before {
  border-top-color: #80b363;
}
#header_upper_block:after {
  border-top-color: #5d3929;
}

/* ヘッダー戻る */
#header_contact > #header_return_top {
  float: left;
  width: 150px;
  display: table;
}
#header_contact > #header_return_top a {
  display: table-cell;
  vertical-align:middle;
  text-align:center;
  height: 39px;
  background-color: #f7f5f4;
  border-left: 1px solid #edebea;
  border-right: 1px solid #edebea;
  border-bottom: 1px solid #edebea;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  line-height:0;
  transition: background .3s;
}
#header_contact > #header_return_top a:hover {
  background-color: white;
}
#header_contact > #header_return_top a img {
  height: 12px;
}

/* ヘッダー問い合わせ */
#header_contact > .header_contact_container {
  display: table;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-left: 1px solid #edebea;
  border-bottom: 1px solid #edebea;
  border-right: 1px solid #edebea;
  box-sizing: border-box;
  width: 300px;
  float: right;
  overflow:hidden;
}
#header_contact > .header_contact_container a {
  display: table-cell;
  text-align:center;
  vertical-align:middle;
  height: 40px;
  line-height:0;
  transition: background-color .4s;
}
#header_tel {
  background-color: #80b363;
}
#header_tel:hover {
  background-color: rgba(128,179,99,0.7);
}
#header_tel img {
  height: 12px;
}
#header_mail img {
  height: 13px;
}
#header_mail:hover {
  background-color: rgba(128,179,99,0.3);
}

/***************** Gnavi ***************/
#gnav ul {
  display: table;
  width: 100%;
  margin: 4px 0 50px;
}
#gnav ul li {
  display: table-cell;
  vertical-align:middle;
}
#gnav ul li a img {
  height: 43px;
  transition: opacity .4s;
}
#gnav ul li a img:hover {
  opacity: 0.5;
}
#gnav ul li#gn_logo a img  {
  height: 116px;
}
#gnav ul li:nth-child(-n+3) {
  text-align:left;
}
#gnav ul li:nth-child(n+5) {
  text-align:right;
}
#gnav ul li:nth-child(4) {
  text-align:center;
}

/*********** topImg ***************/
#topImg_section {
  display: table;
  width: 100%;
  margin-bottom: 75px;
}
#topImg_section:before,
#topImg_section:after {
  content: "";
  display: table-cell;
  background-repeat:no-repeat;
}
#topImg_body {
  display: table-cell;
  width: 1000px;
}
#topImg_section:before {
  background-color: #ebf2e7;
  background-image: url(../images/main-visual-left.png);
  background-position:right top -80px;
  background-size: 494px auto;
}
#topImg_section:after {
  background-color: #f6f6f5;
  background-image: url(../images/main-visual-right.png);
  background-position: left bottom -80px;
  background-size: 464px auto;
}

.topImgItem {
  width: 1000px;
  height: 400px;
}
.topImgItem img {
  width: 100%;
}

/******************************** Footer *******************************/
#footer {
  background-color: #fafafa;
  padding-top: 33px;
}
#footer_to_top {
  text-align:center;
  padding-bottom:34px;
}
#footer_to_top a img {
  height: 112px;
  transition: opacity .4s;
}
#footer_to_top a img:hover {
  opacity: 0.6;
}
#footer_text_link {
  text-align:center;
  padding-bottom: 19px;
  line-height: 1;
}
#footer_text_link a {
  color: #595757;
  font-size: 12px;
  text-decoration:none;
  transition: opacity .3s;
}
#footer_text_link a:hover {
  opacity: 0.7;
}
#footer_text_link a:after {
  content: "|";
}
#footer_text_link a:last-child:after {
  content: "";
}
#footer address {
  display: table;
  width: 100%;
}
#footer address:before,
#footer address:after {
  border-bottom-width: 10px;
  border-bottom-style: solid;
  display: table-cell;
  content: "";
}
#footer address:before {
  border-bottom-color: #80b363;
}
#footer address:after {
  border-bottom-color: #5d3929;
}
#footer address span {
  display: table-cell;
  text-align:center;
  font-size: 10px;
  color: #595757;
  padding-bottom: 24px;
  line-height:1;
  width: 1000px;
  border-bottom: 10px solid #5d3929;
}

/**************** 階層 コンテンツヘッダー部分 *****************/
.page_line {
  display: table;
  width: 100%;
}
.page_line > .page_line_content {
  border-top: 10px solid #f6f6f5;
  display: table-cell;
  width: 1000px;
}
.page_line:before {
  content: "";
  display: table-cell;
  border-top: 10px solid #ebf2e7;
}
.page_line:after {
  content: "";
  display: table-cell;
  border-top: 10px solid #f6f6f5;
}
