@charset "utf-8";

/* ======================================
 cmn
====================================== */
.inner_w960,
.inner_w900 {
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.inner_w960 {
  max-width: 960px;
}

.inner_w900 {
  max-width: 900px;
}

.sp_br {
  display: inline-block;
}

/* =================== header =================== */
#header_area {
  position: relative;
}

#header_in {
  max-width: 960px;
  margin: 0 auto 6px;
  overflow: hidden;
}

#header_in h1 {
  font-size: 16px;
  color: #207845;
  padding-top: 6px;
  margin-left: -5px;
}

#header_in .logo {
  float: left;
  padding-top: 5px;
  margin-left: -1px;
}

#header_in .info {
  float: right;
  padding-top: 12px;
  font-weight: bold;
}

#header_in .info .p1 {
  color: #007748;
  font-size: 18px;
  margin: 0 0 7px -5px;
}

#header_in .info .p2 {
  margin-bottom: 2px;
}

#header_in .info .p3 a {
  display: block;
  color: #fff;
  font-size: 15px;
  text-align: center;
  padding: 5px 0 3px;
  background: #007748;
  border-radius: 7px;
  border: 2px solid #007748;
}

#header_in .info .p3 span {
  padding-right: 8px;
  background: url(../img/cmn/header_arrow_off.png) no-repeat right 45%;
}

#header_in .info .p3 a:hover span {
  background: url(../img/cmn/header_arrow_on.png) no-repeat right 45%;
}

#header_in .info .p3 a:hover {
  text-decoration: none;
  background: #fff;
  color: #007748;
}

/* =================== navi =================== */
#global_navi {
  background: url(../img/cmn/navi_bg.png) repeat-x left top;
  border-bottom: 3px solid #fff;
}

#global_navi ul {
  width: 960px;
  height: 100px;
  margin: 0 auto;
}

#global_navi li {
  float: left;
  width: 20%;
  height: 100%;
  position: relative;
}

#global_navi li:after {
  content: "";
  width: 1px;
  height: 70px;
  background: #ddd;
  position: absolute;
  top: 17px;
  right: 0;
}

#global_navi li.n05:after {
  display: none;
}

#global_navi li a:hover {
  text-decoration: none;
}

#global_navi li a {
  display: block;
  height: 100px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 64px 0 10px;
  color: #007748;
  border-bottom: 5px solid #007748;
  background-repeat: no-repeat;
  background-position: center 13px;
}

#global_navi li.n01 a {
  background-image: url(../img/cmn/navi01_off.png);
}

#global_navi li.n02 a {
  background-image: url(../img/cmn/navi02_off.png);
}

#global_navi li.n03 a {
  background-image: url(../img/cmn/navi03_off.png);
}

#global_navi li.n04 a {
  background-image: url(../img/cmn/navi04_off.png);
}

#global_navi li.n05 a {
  background-image: url(../img/cmn/navi05_off.png);
}

#global_navi li.n01:hover a,
#global_navi li.n01.current a {
  background-image: url(../img/cmn/navi01_on.png);
  border-color: #78B91E;
  color: #78B91E;
}

#global_navi li.n02:hover a,
#global_navi li.n02.current a {
  background-image: url(../img/cmn/navi02_on.png);
  border-color: #E70000;
  color: #E70000;
}

#global_navi li.n03:hover a,
#global_navi li.n03.current a {
  background-image: url(../img/cmn/navi03_on.png);
  border-color: #49A8ED;
  color: #49A8ED;
}

#global_navi li.n04:hover a,
#global_navi li.n04.current a {
  background-image: url(../img/cmn/navi04_on.png);
  border-color: #FEC501;
  color: #FEC501;
}

#global_navi li.n05:hover a,
#global_navi li.n05.current a {
  background-image: url(../img/cmn/navi05_on.png);
  border-color: #FF9300;
  color: #FF9300;
}

/* sp */
#global_navi p.button {
  display: none;
  float: right;
  position: absolute;
  cursor: pointer;
  width: 70px;
  height: 60px;
  top: 35px;
  right: 0;
  text-indent: -9999px;
  border-radius: 10px 0 0 10px;
  background: url("../img/cmn/header_menu.png") center center no-repeat #007749;
}

#global_navi p.active {
  background: url("../img/cmn/header_menu_hover.png") center center no-repeat #007749;
}

/* =================== footer =================== */
.pagetop {
  margin: auto;
  max-width: 960px;
  position: absolute;
  bottom: 0;
  right: 0;
}

#footer_in {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  font-size: 14px;
}

#footer_navi {
  overflow: hidden;
  margin: 0 auto 13px;
  max-width: 640px;
}

#footer_navi li {
  float: left;
  width: 20%;
  padding: 3px 0;
  position: relative;
  text-align: center;
}

#footer_navi li:after {
  content: "";
  width: 3px;
  height: 100%;
  top: 0;
  right: 0;
  border-radius: 40%;
  background: #000;
  position: absolute;
}

#footer_navi li:last-child:after {
  display: none;
}

#copy {
  font-size: 14px;
  text-align: center;
  color: #fff;
  padding: 8px 0 7px;
  background: #007748;
}

/* ============================================
index
============================================ */
.main_slide {
  background: #217845;
  max-height: 350px;
  text-align: center;
}

.main_slide a {
  max-width: 960px;
}

.main_slide a,
.main_slide img {
  display: block;
  margin: 0 auto;
}

.top_greeting {
  margin: 42px auto 70px;
  text-align: center;
}

.top_greeting h2 {
  font-size: 30px;
  font-weight: bold;
  padding: 0 5px 7px;
  margin-bottom: 49px;
  background: url(../img/top/top_bg01.png) no-repeat center bottom;
}

.top_greeting .p1 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 19px;
}

.top_greeting .p2,
.top_kodawari .p1 {
  font-size: 15px;
  line-height: 1.8;
}

.top_kodawari {
  text-align: center;
}

.top_kodawari h2 {
  padding-top: 2px;
  width: 502px;
}

.top_kodawari h2.hl01 {
  margin: 0 auto 19px;
  background: url(../img/top/top_bg02.jpg) no-repeat right top;
}

.top_kodawari h2.hl02 {
  margin: 0 auto 23px;
  background: url(../img/top/top_bg03.jpg) no-repeat right top;
}

.top_kodawari .p1 {
  margin-bottom: 27px;
}

.top_kodawari .p1 + .p1 {
  margin-bottom: 42px;
}

.top_kodawari .p2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  color: #663300;
  margin-bottom: 18px;
}

.top_kodawari .p2 p {
  display: inline-block;
  border-bottom: 2px solid;
}

.pcml20 {
  margin-left: 20px;
}

.top_kodawari ul {
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 17px;
}

.top_kodawari .banner a {
  max-width: 520px;
  margin: 0 auto 20px;
}

.top_kodawari li:first-child,
.top_contact li:first-child {
  float: left;
}

.top_kodawari li:last-child,
.top_contact li:last-child {
  float: right;
}

.top_contact {
  padding: 175px 0 76px;
  text-align: center;
  position: relative;
  background: url(../img/cmn/cmn_bg01.png) center center;
}

.top_contact:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  width: 960px;
  height: 122px;
  background: url(../img/top/top_arrow01.png) no-repeat center top;
}

.top_contact h2 {
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  margin-bottom: 48px;
}

.top_contact ul {
  max-width: 900px;
  margin: auto;
}

.top_blog {
  padding: 68px 0 76px;
}

.top_blog .inner_w845 {
  max-width: 845px;
  margin: auto;
}

.top_blog .hl {
  float: left;
  width: 171px;
  height: 160px;
  padding: 31px 28px 0;
  margin-top: 26px;
  background: url(../img/top/top_bg04.png) no-repeat left top;
}

.top_blog .blog_list {
  float: right;
}

.top_blog .blog_list dl {
  max-width: 640px;
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #999;
}

.top_blog .blog_list dl:last-child {
  border: none;
}

.top_blog .blog_list dl,
.top_blog .blog_list dl a {
  color: #333;
}

.top_blog .blog_list dt,
.top_blog .blog_list dd {
  display: inline-block;
  vertical-align: top;
}

.top_blog .blog_list dt,
.top_blog .blog_list dd .title {
  font-weight: bold;
}

.top_blog .blog_list dd p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top_blog .blog_list dt {
  width: 150px;
}

.top_blog .blog_list dd {
  width: 480px;
}

.top_blog .blog_list dd .title {
  margin-bottom: 10px;
}

.top_blog .banner {
  clear: both;
  padding-top: 68px;
  text-align: center;
}

.top_access {
  overflow: hidden;
  margin-bottom: 87px;
  padding: 75px 0;
  color: #fff;
  background: url(../img/cmn/cmn_bg01.png) center center;
}

.top_access .map,
.company_access .map {
  float: left;
  margin-top: 5px;
}

.top_access .map iframe,
.company_access .map iframe {
  width: 480px;
  height: 250px;
}

.top_access .text {
  float: right;
  width: 350px;
  margin-top: 2px;
}

.top_access .text .title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  padding: 7px 10px 10px 44px;
  border-bottom: 1px dotted #fff;
  background: url(../img/top/top_bg05.png) no-repeat left top;
}

.top_access .text .p1 {
  line-height: 1.6;
  margin-bottom: 20px;
}

.top_access .text .p1 span {
  display: block;
  font-weight: bold;
}

.top_access .text .p2 a {
  display: block;
  color: #fff;
  padding: 7px 0 3px 25px;
  text-decoration: underline;
  background: url(../img/top/top_pin.png) no-repeat left top;
}

.top_access .text .p2 a:hover {
  text-decoration: none;
}

.brown_banner {
  max-width: 750px;
  margin: 0 auto 100px;
  clear: both;
  overflow: hidden;
  border: 5px solid #eee;
  padding: 20px 30px;
}

.brown_banner li:first-child {
  float: left;
}

.brown_banner li:last-child {
  float: right;
}

/* ============================================
下層共通
============================================ */
.bread {
  max-width: 960px;
  margin: 20px auto 18px;
  font-size: 12px;
}

.bread,
.bread a {
  color: #207845;
}

.main_image {
  padding-top: 9px;
  height: 220px;
  background: url(../img/cmn/cmn_bg02.jpg) center center;
}

.main_image h2 {
  max-width: 960px;
  margin: auto;
  text-align: center;
  height: 200px;
  padding: 87px 0 0 12px;
}

.main_image.service h2 {
  background: url(../img/service/main_bg.png) no-repeat center center;
}

.main_image.inquiry h2 {
  background: url(../img/inquiry/main_bg.png) no-repeat center center;
}

.main_image.case h2 {
  background: url(../img/case/main_bg.png) no-repeat center center;
}

.main_image.company h2 {
  background: url(../img/company/main_bg.png) no-repeat center center;
}

.main_image.service h2,
.main_image.inquiry h2 {
  padding-left: 95px;
}

.service_hl,
.case_hl,
.company_hl,
.inquiry_hl {
  font-size: 28px;
  font-weight: bold;
  padding: 28px 0 18px 81px;
  margin-bottom: 14px;
  color: #fff;
}

.service_hl {
  background: url(../img/service/hl_bg.png) no-repeat left top;
}

.case_hl {
  background: url(../img/case/hl_bg.png) no-repeat left top;
}

.company_hl {
  background: url(../img/company/hl_bg.png) no-repeat left top;
}

.inquiry_hl {
  background: url(../img/inquiry/hl_bg.png) no-repeat left top;
}

.top_kodawari .banner a,
.service_flow .banner a {
  display: block;
  background: #007748;
  padding: 11px;
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  color: #fff;
  border-radius: 10px;
  border: 2px solid #007748;
}

.top_kodawari .banner a:hover,
.service_flow .banner a:hover {
  text-decoration: none;
  color: #007748;
  background: #fff;
}

.top_kodawari .banner a span,
.service_flow .banner a span {
  padding-right: 25px;
  background: url(../img/top/top_arrow_off.png) no-repeat right center;
}

.top_kodawari .banner a:hover span,
.service_flow .banner a:hover span {
  background: url(../img/top/top_arrow_on.png) no-repeat right center;
}

/* ============================================
service
============================================ */
.service_flow {
  margin-bottom: 92px;
}

.service_flow .flow_box {
  background: #F5F5F5;
  position: relative;
  border-radius: 10px;
  margin: 28px 0 50px 10px;
  padding: 5px 0 42px;
  min-height: 210px;
}

.service_flow .flow_box:after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 12px;
  width: 6px;
  height: 40px;
  background: #D6EABB;
}

.service_flow .flow_box .number {
  display: block;
  position: absolute;
  top: -10px;
  left: -10px;
}

.service_flow .flow_box h4 {
  font-weight: bold;
  font-size: 23px;
  color: #207845;
  padding-left: 53px;
  margin-bottom: 24px;
}

.service_flow .flow_box .text {
  line-height: 1.8;
  padding-left: 53px;
  max-width: 570px;
}

.service_flow .flow_box .image {
  position: absolute;
  top: -10px;
  right: 17px;
}

.service_flow .flow_box.last {
  margin-bottom: 70px;
}

.service_flow .flow_box.last:after {
  display: none;
}

.service_flow .flow_box.last h4 {
  font-size: 46px;
  padding: 71px 0 0 134px;
}

.service_flow .banner {
  overflow: hidden;
}

.service_flow .banner li {
  width: 45%;
  height: auto;
}

.service_flow .banner li:first-child {
  float: left;
}

.service_flow .banner li:last-child {
  float: right;
}

.service_osusume {
  margin-bottom: 62px;
}

.service_osusume .inner_w900 {
  position: relative;
  overflow: visible;
}

.service_osusume .image {
  margin-bottom: 20px;
}

.service_osusume .role {
  padding-left: 127px;
}

.service_osusume .title {
  font-size: 20px;
  color: #1F7845;
  font-weight: bold;
  padding: 3px 0;
  margin-bottom: 7px;
  border-bottom: 1px solid #1F7845;
}

.service_osusume dl {
  margin: 12px 0 20px;
}

.service_osusume dt,
.service_osusume dd {
  display: table-cell;
  color: #444;
  font-size: 18px;
}

.service_osusume dt {
  font-weight: bold;
  padding-right: 24px;
  margin-right: 30px;
  background: url(../img/service/service_arrow.png) no-repeat right center;
}

.service_osusume dd {
  padding-left: 10px;
}

.service_osusume .serviceman1 {
  background: url(../img/service/service_bg08.jpg) no-repeat center center;
  width: 82px;
  height: 100px;
  display: block;
  position: absolute;
  top: -20px;
  left: 437px;
}

.service_osusume .serviceman2 {
  background: url(../img/service/service_bg09.jpg) no-repeat center center;
  width: 102px;
  height: 129px;
  display: block;
  position: absolute;
  top: 510px;
  left: -1px;
}

.service_price {
  color: #1F7845;
  margin-bottom: 92px;
}

.service_price .image {
  float: right;
  margin-top: 30px;
}

.service_price .text {
  color: #000;
  margin-bottom: 10px;
}

.service_price h4 {
  font-weight: bold;
  padding: 5px 0 6px;
}

.service_price tr,
.service_security .period tr {
  border: 1px solid #1F7845;
}

.service_price th,
.service_security .period th {
  background: #E4F2D0;
}

.service_price th,
.service_price td,
.service_security .period th,
.service_security .period td {
  width: 151px;
  padding: 7px 0 4px;
  text-align: center;
  border-right: 1px solid #1F7845;
}

.service_price .p1 {
  clear: both;
  font-weight: bold;
  background: #E4F2D0;
  text-align: center;
  padding: 15px;
}

.service_security {
  overflow: hidden;
  margin-bottom: 40px;
}

.service_security h4 {
  font-weight: bold;
  color: #1F7845;
  padding: 5px 0 6px;
}

.service_security .alignleft {
  width: 560px;
}

.service_security .alignright {
  width: 320px;
}

.service_security .period {
  margin-bottom: 32px;
}

.service_security .period table {
  color: #1F7845;
  margin-bottom: 9px;
}

.service_security .period .text {
  color: #444;
  font-size: 14px;
}

.service_security .period .space {
  background: #fff;
}

.service_security .period .space,
.service_security .period .first {
  width: 98px;
}

.service_security .target ul {
  margin-bottom: 58px;
}

.service_security .target li,
.service_security .notcovered li {
  margin-bottom: 10px;
}

.service_security .target ul li span {
  display: block;
  float: left;
  width: 120px;
  color: #1F7845;
}

.service_security .target ul li span:before,
.service_security .notcovered ul li:before {
  content: "◎";
}

.service_security .inspection {
  overflow: hidden;
  margin-bottom: 60px;
}

.service_security .inspection li {
  color: #1F7845;
  padding: 33px 0;
  margin-right: 10px;
  text-align: center;
  width: 83px;
  float: left;
  background: url(../img/service/service_bg07.png) no-repeat center center;
}

.service_security .inspection li:last-child {
  margin-right: 0;
}

.service_security .insurance .text {
  border: 2px solid #663300;
  line-height: 1.8;
  padding: 10px;
}


/* ============================================
case
============================================ */
.case_list {
  overflow: hidden;
}

#reform .inner_w900 {
  position: relative;
}

.case_link ul {
  overflow: hidden;
  margin: 9px auto 18px;
}

.case_link li {
  background: #35210A;
  width: 290px;
  float: left;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-right: 10px;
  padding: 4px;
}

.case_link li a {
  display: block;
  color: #fff;
  padding: 5px 0;
  border: 1px solid #726454;
}

.case_link li span {
  padding-bottom: 16px;
  display: block;
  background: url(../img/case/case_arrow_off.png) no-repeat center bottom;
}

.case_link li a:hover span {
  background: url(../img/case/case_arrow_on.png) no-repeat center bottom;
}

.case_link li a:hover {
  text-decoration: none;
  background: #fff;
  color: #35210A;
}

.case_link2 {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 280px;
}

.case_link2 a {
  display: block;
  padding: 15px;
  border: 7px solid #91C31E;
  background: #EFFFBF;
  text-decoration: none;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  color: #007746;
}

.case_list .list_box {
  overflow: hidden;
}

.case_list .list_box div {
  float: left;
  max-width: 596px;
}

.case_list .list_box h4 {
  font-size: 20px;
  font-weight: bold;
  color: #1F7845;
  padding: 20px 0 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid #1F7845;
}

.case_list .list_box h5 {
  font-size: 20px;
  font-weight: bold;
  color: #1F7845;
  margin-bottom: 22px;
  clear: both;
}

.case_list .list_box h5:before {
  content: "■";
  font-size: 18px;
}

.case_list .list_box ul {
  width: 596px;
  float: left;
  margin-bottom: 20px;
}

.case_list .list_box li {
  width: 290px;
}

.case_list .list_box li.before {
  float: left;
  margin-right: 15px;
}

.case_list .list_box li.after,
.case_list .list_box table {
  float: right;
}

.case_list .list_box li span {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  padding: 8px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.case_list .list_box li.before span {
  background: #91C31E;
}

.case_list .list_box li.after span {
  background: #004000;
}

.case_list .list_box table {
  width: 290px;
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  border-collapse: separate;
}

.case_list .list_box table th,
.case_list .list_box table td {
  padding: 17px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #999;
}

.case_list .list_box table th {
  text-align: center;
  border-right: 1px solid #999;
  background: #D4E4D9;
  color: #1F7845;
  font-size: 18px;
  width: 80px;
}

/* ============================================
company
============================================ */
.company_greeting {
  margin-bottom: 34px;
}

.company_greeting .text {
  line-height: 1.8;
  float: left;
  width: 500px;
}

.company_greeting .image {
  float: left;
  margin-top: 6px;
  margin-left: 30px;
}

.company_greeting .image span {
  display: block;
  margin-top: 5px;
}

.company_greeting .image2 {
  float: left;
  margin-top: 190px;
  margin-left: 25px;
}

.company_outline {
  padding: 55px 0 72px;
  background: url(../img/cmn/cmn_bg01.png) center center;
}

.company_outline ul {
  max-width: 590px;
  margin: auto;
}

.company_outline li {
  padding: 30px 0 5px;
  border-bottom: 2px solid #99C1A9;
}

.company_outline,
.company_outline a {
  color: #fff;
}

.company_access {
  margin: 40px auto 40px;
}

.company_access h3 {
  margin-bottom: 40px;
}

.company_access .map {
  margin-bottom: 45px;
}

.company_access .text {
  width: 387px;
  float: right;
}

.company_access .text .p0 {
  line-height: 1.8;
}

.company_access .text .p3 {
  line-height: 1.8;
  text-indent: 5em;
  margin-bottom: 30px;
}

.company_access .text .p1 {
  line-height: 1.8;
  margin-bottom: 30px;
}

.company_access .text .p2 a {
  display: block;
  padding: 7px 0 3px 25px;
  background: url(../img/company/company_pin.png) no-repeat left top;
}

.company_access ul {
  clear: both;
  overflow: hidden;
  text-align: center;
}

.company_access li:first-child {
  float: left;
}

.company_access li:last-child {
  float: right;
}

.company_access li span {
  display: inline-block;
  font-weight: bold;
  padding: 6px 20px 4px;
  background: #007748;
  min-width: 150px;
  color: #fff;
  margin: 5px auto 0;
  text-align: center;
  border-radius: 15px;
}

.company_add {
  display: block;
  margin: 0 0 5px 70px;
}

.company_tel {
  display: block;
  margin: 0 0 5px 70px;
}

.company_ninka {
  display: block;
  margin: 0 0 5px 105px;
}

/* ============================================
inquiry
============================================ */
.inquiry_form {
  margin-bottom: 115px;
}

.inquiry_form .p1 {
  color: #1F7845;
  margin-bottom: 10px;
}

.form_area {
  width: 592px;
  margin: auto;
}

.inquiry_policy {
  margin-bottom: 160px;
}

.inquiry_policy .policy {
  max-width: 860px;
  height: 284px;
  margin: auto;
  padding: 20px 30px;
  font-size: 15px;
  line-height: 1.2;
  border: 2px solid #ccc;
  overflow-y: scroll;
}

.inquiry_policy .policy ul {
  margin-bottom: 15px;
}

.inquiry_policy .policy li:before {
  content: "●";
  font-size: 10px;
}

.thanksbox {
  text-align: center;
  padding: 60px 10px 0;
}

.thanksbox p {
  margin-bottom: 40px;
}

.thanksbox a {
  color: #207845;
}


/* system */
.formTable tr {
  font-size: 15px;
  border-bottom: 1px solid #1F7845;
}

.formTable tr:last-child {
  border: none;
}

.formTable th {
  font-weight: bold;
  color: #666;
  width: 200px;
}

.formTable td {
  width: 395px;
}

.formTable th,
.formTable td {
  vertical-align: top;
  padding: 22px 0;
}

.formTable td.radio_td {
  vertical-align: top;
  padding: 22px 0 12px;
}

.formTable th span {
  font-weight: normal;
  color: #1F7845;
  padding-left: 5px;
}

.formTable td span {
  display: block;
  color: #B8B8B8;
  padding: 5px 0;
  font-weight: bold;
}

.formTable td label {
  font-weight: bold;
  color: #666;
  margin: 0 40px 10px 0;
  display: inline-block;
}

.formTable td input[type="text"],
.formTable td textarea {
  width: 99%;
  font-size: 20px;
}

.formTable td input[type="radio"] {
  margin: 0 5px 0 0;
}

.formTable td textarea {
  resize: none;
  height: 160px;
}

#formWrap .submit {
  text-align: center;
}

#formWrap .submit input {
  background: #145A45;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  padding: 2px 14px;
  margin: 0 5px;
  border: 2px solid #145A45;
  font-family: "メイリオ", Meiryo, sans-serif;
}

#formWrap .submit input:hover {
  background: #fff;
  color: #145A45;
}

/* ============================================
SP
============================================ */
@media only screen and (min-width:641px) {
  #global_navi .panel {
    display: block !important;
  }
}

@media only screen and (max-width:640px) {

  .inner_w960,
  .inner_w900,
  .inner_w845 {
    padding: 20px 15px 40px;
  }

  .pcml20 {
    margin-left: 0px;
  }

  /* header */
  #header_in {
    width: auto;
    height: auto;
  }

  #header_in h1 {
    padding: 5px 15px 0;
    font-size: 12px;
  }

  #header_in .logo {
    max-width: 350px;
    width: 70%;
    float: none;
    margin: 0;
    padding: 0 0 0 15px;
  }

  #header_in .info,
  #global_navi li:after {
    display: none
  }

  /* navi */
  #global_navi {
    border: none;
  }

  #global_navi p.button {
    display: block;
  }

  #global_navi .panel {
    display: none;
    overflow: hidden;
    background: #fff;
    z-index: 9999;
    width: 100%;
  }

  #global_navi ul {
    width: 100%;
    height: auto;
    border-top: 1px solid #007748;
  }

  #global_navi li {
    float: none;
    width: 100%;
    height: auto;
  }

  #global_navi li a {
    height: auto;
    padding: 15px 15px 15px 70px;
    text-align: left;
    border-bottom: 1px solid #007748;
    background-position: 15px center;
    background-size: 30px;
  }

  /* footer */
  .pagetop {
    position: relative;
    text-align: right;
    margin: 15px;
  }

  #footer_in {
    width: auto;
    min-width: inherit;
  }

  #footer_navi {
    margin: 0;
  }

  #footer_navi li {
    width: 100%;
    padding: 0;
    border-top: 1px solid #aaa;
  }

  #footer_navi li a {
    display: block;
    padding: 15px;
  }

  #footer_navi li:after {
    display: none;
  }

  /* top */
  .top_greeting,
  .top_kodawari,
  .top_contact,
  .top_blog,
  .top_access {
    padding: 0;
    margin: 0;
  }

  .top_kodawari .inner_w960 {
    padding-bottom: 0;
  }

  .top_greeting h2 {
    margin: 0 -15px 20px;
    padding: 10px;
    background: #C8E27F;
  }

  .top_kodawari h2 {
    width: 100%;
  }

  .top_kodawari h2.hl01,
  .top_kodawari h2.hl02 {
    background: none;
  }

  .top_kodawari li:first-child,
  .top_contact li:first-child,
  .top_kodawari li:last-child,
  .top_contact li:last-child {
    float: none;
  }

  .top_contact:before {
    width: 100%;
  }

  .top_contact {
    padding-top: 110px;
  }

  .top_contact h2,
  .top_contact li {
    margin-bottom: 10px;
  }

  .top_blog .hl {
    margin: auto;
  }

  .top_blog .hl,
  .top_blog .blog_list {
    float: none;
  }

  .top_blog .blog_list dt,
  .top_blog .blog_list dd {
    display: block;
  }

  .top_blog .blog_list dt,
  .top_blog .blog_list dd {
    width: 100%;
  }

  .top_blog .banner {
    padding-top: 20px;
  }

  .top_access .map,
  .company_access .map,
  .top_access .text {
    float: none;
  }

  .top_access .map iframe,
  .company_access .map iframe {
    width: 100%;
  }

  .top_access .text {
    width: 100%;
    margin-top: 20px;
  }

  /* 下層共通 */
  .bread {
    display: none;
  }

  .main_image {
    padding: 0;
    height: auto;
  }

  .main_image h2 {
    padding: 30px 15px;
    height: auto;
  }

  .main_image.service h2 {
    background: #E80000;
  }

  .main_image.case h2 {
    background: #49A8ED;
  }

  .main_image.company h2 {
    background: #FEC501;
  }

  .main_image.inquiry h2 {
    background: #FF9300;
  }

  .main_image.service h2,
  .main_image.inquiry h2 {
    padding-left: 0;
  }

  .service_hl,
  .case_hl,
  .company_hl,
  .inquiry_hl {
    padding: 10px 0 10px 50px;
    margin: 0 -15px 10px;
    border-top: 4px solid #007749;
    border-bottom: 4px solid #007749;
  }

  .service_hl {
    color: #E80000;
    border-color: #E80000;
    background: url(../img/service/hl_sp.png) no-repeat 10px 10px #fff;
  }

  .case_hl {
    color: #49A8ED;
    border-color: #49A8ED;
    background: url(../img/case/hl_sp.png) no-repeat 10px 10px #fff;
  }

  .company_hl {
    color: #FEC501;
    border-color: #FEC501;
    background: url(../img/company/hl_sp.png) no-repeat 10px 10px #fff;
  }

  .inquiry_hl {
    color: #FF9300;
    border-color: #FF9300;
    background: url(../img/inquiry/hl_sp.png) no-repeat 10px 10px #fff;
  }

  /* service */
  .service_flow,
  .service_osusume,
  .service_price,
  .service_security {
    margin-bottom: 0;
  }

  .service_flow .flow_box {
    margin: 40px 0;
    padding: 15px;
  }

  .service_flow .flow_box:after {
    display: none;
  }

  .service_flow .flow_box .number {
    display: block;
    position: absolute;
    top: -10px;
    left: -10px;
  }

  .service_flow .flow_box h4 {
    padding-left: 40px;
  }

  .service_flow .flow_box .text {
    padding-left: 0;
  }

  .service_flow .flow_box .image {
    position: relative;
    top: auto;
    right: auto;
    margin: 10px auto;
    max-width: 150px;
  }

  .service_flow .flow_box.last {
    margin-bottom: 40px;
  }

  .service_flow .flow_box.last h4 {
    padding: 40px 0 0;
    text-align: center;
  }

  .service_flow .banner li {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .service_flow .banner li:first-child,
  .service_flow .banner li:last-child {
    float: none;
  }

  .service_osusume .role {
    padding-left: 0;
  }

  .service_osusume dt,
  .service_osusume dd {
    vertical-align: middle;
  }

  .service_osusume dt {
    width: 60px;
    padding: 0;
  }

  .service_osusume .serviceman1,
  .service_osusume .serviceman2 {
    display: none;
  }

  .service_price .image {
    float: none;
    margin-bottom: 20px;
  }

  .service_security h4 {
    font-weight: bold;
    color: #1F7845;
    padding: 5px 0 6px;
  }

  .service_security .alignleft,
  .service_security .alignright {
    width: 100%;
    float: none !important;
  }

  .service_security .period,
  .service_security .target,
  .service_security .notcovered,
  .service_security .inspection {
    margin-bottom: 40px;
  }

  .service_security .target ul {
    margin-bottom: 0;
  }

  .service_security .inspection li {
    margin-right: 5px;
  }

  .service_security .target ul li span {
    float: none;
  }

  .service_price .price_list table,
  .service_price .price_list th,
  .service_price .price_list td {
    width: 100%;
  }

  .service_price .price_list tr:first-child {
    display: none;
  }

  .service_price .price_list td {
    display: block;
    border-right: none;
    padding: 0 0 10px;
  }

  .service_price .price_list td span {
    background: #E4F2D0;
    display: block;
    padding: 10px;
    margin-bottom: 10px;
  }

  /* case */
  .case_list {
    margin-bottom: 0 !important;
  }

  .case_link ul {
    margin: 0 auto;
  }

  .case_link li {
    width: 90%;
    max-width: auto;
    float: none;
    margin: 0 auto 10px;
  }

  .case_link2 {
    position: static;
    width: auto;
    margin: 40px 0 0;
  }

  .case_link2 a {
    display: block;
    padding: 15px;
    border: 10px solid #91C31E;
    background: #EFFFBF;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
  }

  .case_list .list_box div,
  .case_list .list_box ul {
    float: none;
  }

  .case_list .list_box ul {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .case_list .list_box li {
    width: 48%;
    max-width: 290px;
  }

  .case_list .list_box li.before {
    margin-right: 0;
  }

  .case_list .list_box table {
    width: 100%;
  }

  .case_list .list_box table th,
  .case_list .list_box table td {
    display: block;
  }

  .case_list .list_box table th {
    width: 100%;
    border-right: none;
  }

  /* company */
  .company_greeting {
    margin-bottom: 0;
  }

  .company_greeting .text {
    float: none;
    width: 100%;
    margin-bottom: 20px;
  }

  .company_greeting .image,
  .company_greeting .image2 {
    float: none;
    text-align: center;
    margin-left: 0;
  }

  .company_greeting .image2 {
    margin-top: 20px;
  }

  .company_outline {
    padding: 0;
  }

  .company_access {
    margin: 0;
  }

  .company_access h3,
  .company_access .map {
    margin-bottom: 10px;
  }

  .company_access .text {
    width: 100%;
    float: none;
    margin-bottom: 20px;
  }

  .company_access .text .p1 {
    margin-bottom: 10px;
  }

  .company_access li:first-child,
  .company_access li:last-child {
    float: none;
    text-align: center;
  }

  .company_access li:first-child {
    margin-bottom: 40px;
  }

  .company_access li:last-child {
    width: 100%;
  }

  .company_access li img {
    display: block;
    margin: 0 auto;
  }

  .company_access .text .p3 {
    text-indent: 0;
  }

  .company_add {
    margin: 0;
    padding: 10px 0;
  }

  .company_tel {
    margin: 0;
  }

  .company_ninka {
    margin: 10px 0 0;
  }

  /* inquiry */
  .form_area {
    width: 100%;
  }

  .inquiry_policy {
    margin-bottom: 40px;
  }

  .inquiry_policy .policy {
    margin: 0 15px;
  }

  .inquiry_form {
    margin-bottom: 0;
  }

  /* system */
  .formTable,
  .formTable th,
  .formTable td {
    width: 100%;
    max-width: 640px;
  }

  .formTable td input[type="text"],
  .formTable td textarea {
    width: 90%;
  }

  .formTable th,
  .formTable td {
    display: block;
  }

  .formTable th {
    padding: 15px 0 10px;
  }

  .formTable td {
    padding: 0 0 10px;
  }

  .brown_banner {
    padding: 20px;
    margin: 0 15px 40px;
    text-align: center;
  }

  .brown_banner li:first-child {
    margin-bottom: 20px;
  }

  .brown_banner li:first-child,
  .brown_banner li:last-child {
    float: none;
  }


}


/*タブ切り替え全体のスタイル*/
.tabs {
  position: relative;
  padding: 37px 0 40px;
}

/*タブのスタイル*/
.tab_item {
  position: absolute;
  top: 0px;
  left: 20px;
  width: 120px;
  height: 40px;
  border-bottom: 3px solid #663300;
  border-left: 3px solid #663300;
  border-right: 3px solid #663300;
  border-top: 3px solid #663300;
  line-height: 38px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #663300;
}

.tab_item.abs2 {
  left: 150px;
}

.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 25px 25px 12px;
  clear: both;
  overflow: hidden;
  border: 3px solid #663300;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  border-bottom: 3px solid #fff;
  cursor: default;
  background: #fff;
  color: #663300;
}

.tabs input:checked + .tab_item:hover {
  opacity: 1;
}

.case_cg {
  overflow: hidden;
}

.case_cg li {
  float: left;
  margin: 0 20px 10px 0;
  color: #333;
  font-weight: bold;
  font-size: 14px;
}

.case_cg li a {
  color: #333;
}

.wp_case_list {
  padding: 30px 0;
  overflow: hidden;
}

.wp_case_list li {
  width: 32%;
  float: left;
  margin-bottom: 15px;
}

.wp_case_list li:nth-child(3n) {
  float: right;
}

.wp_case_list li:nth-child(3n+1) {
  clear: both;
  margin-right: 2%;
}

.wp_case_list li .title {
  font-weight: bold;
  padding: 5px;
  color: #1F7845;
  line-height: 1.4;
}

.wp_case_list li a {
  display: block;
  border-bottom: 3px solid #fff;
  padding: 10px 10px 2px;
}

.wp_case_list li a:hover {
  border-bottom: 3px solid #1F7845;
  text-decoration: none;
}

.wp_case_list .detail_image {
  position: relative;
}

.wp_case_list .detail_image img {
  display: block;
}

.wp_case_list .detail_image .thumb_cg {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.wp_case_list .detail_image .thumb_cg .cg_spot {
  background: #1F7845;
  color: #fff;
  display: inline-block;
  padding: 6px 10px 5px;
  line-height: 1.0;
  margin: 0 5px 0 0;
}

.wp-pagenavi {
  text-align: center;
  margin-bottom: 40px;
}

.wp-pagenavi a,
.wp-pagenavi .current {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 18px;
  border-bottom: 2px solid #fff;
}

.wp-pagenavi .current {
  color: #1F7845;
  border-bottom: 2px solid #1F7845;
}

.wp-pagenavi a:hover {
  text-decoration: none;
  border-bottom: 2px solid;
}


@media only screen and (max-width:640px) {

  .wp-pagenavi a,
  .wp-pagenavi .current {
    padding: 5px;
  }
  
  .wp_case_list li {
    width: 48%;
    float: left;
  }

  .wp_case_list li:nth-child(3n) {
    float: none;
  }

  .wp_case_list li:nth-child(3n+1) {
    clear: none;
    margin-right: 0;
  }
  .wp_case_list li:nth-child(2n) {
    float: right;
  }

  .wp_case_list li:nth-child(2n+1) {
    clear: left;
    float:left;
  }
  .wp_case_list li a {
    padding: 0 0  2px;
  }
  .wp_case_list li .title {
    padding: 5px 0;
  }
  
  .wp_case_list .detail_image .thumb_cg {
    bottom: 0px;
    left: 5px;
  }

  .wp_case_list .detail_image .thumb_cg .cg_spot {
    font-size:12px;
    margin: 0 5px 5px 0;
  }
  .tab_content {
    padding: 15px 10px 1px;
  }
  .tabs {
    padding: 37px 0 30px;
  }
  .case_cg li {
    float: left;
    margin: 0 20px 15px 0;
  }
  .wp_case .brown_banner{
    margin-bottom:0px;
  }

}

.post_title{
  color:#1F7845;
  font-weight:bold;
  font-size:20px;
  border-bottom:2px solid;
  margin-bottom:25px;
  padding:15px 0 3px;
}
.post_beaf{
  margin-bottom:60px;
  padding-top:23px;
}

.post_beaf:after{
  content:" ";
  display:block;
  clear:both;
}

.beaf_box {
  width:48%;
  position:relative;
}
.beaf_box img{
  width:100%;
}

.post_beaf .before{
  float:left;
  width:37.77%;
}

.post_beaf .after{
  float:right;
  width:58.55%;
}

.post_beaf .abs{
  width:161px;
  position: absolute;
  top:-23px;
}

.post_beaf .before .abs{
  left:-30px;
}

.post_beaf .after .abs{
  left:-20px;
}

.post_beaf .beaf_arrow{
  position: absolute;
  bottom:-155px;
  left:133px;
}

.post_beaf .beaf_arrow img{
  width:211px;
}

.wp_case .inner_w900{
  overflow: visible;
}

.post_other_img{
  overflow: hidden;
  margin-bottom:50px;
  display:block;
}
.post_other_img_child{
  width:13.33%;
  float: left;
  display:block;
  margin:0 1.111% 10px 0;
  cursor:pointer;
}
.post_pop_txt{
  text-align:center;
  margin-bottom:15px;
}

.post_other_img_child > img{
  width:100%;
  vertical-align: middle;
}

.post_other_img .post_other_img_child:nth-child(7n){
  margin-right:0;
  float:right;
}

.post_other_img .post_other_img_child:nth-child(7n+1){
  clear:both;
}

.mfp-close{
  font-family:"メイリオ", Meiryo, sans-serif !important;
  font-size:75px !important;
  height: 75px !important;
  line-height: 75px !important;
}

img.mfp-img{
  padding: 75px 0 40px !important;
}

.mfp-figure:after{
  background:none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.post_table{
  border:2px solid #1F7845;
  width:100%;
  margin-bottom:50px;
}

.post_table th{
  width:150px;
  padding:10px;
  vertical-align: middle;
  font-weight:bold;
  background:#1F7845;
  border-bottom:2px solid #fff;
  color:#fff;
}

.post_table tr:last-child th{
  border-bottom:2px solid #1F7845;
}

.post_table td{
  border:2px solid #1F7845;
  padding:10px;
  vertical-align: middle;
}

.post_comment{
  margin-bottom:50px;
}
.post_comment > h4{
  font-weight:bold;
  color:#fff;
  font-size:24px;
  text-align: center;
  background:#75BB27;
  padding:10px 20px;
}

.post_comment > .in{
  background:#E4F2D0;
  padding:20px;
}

.other_link{
  margin-bottom:50px;
}
.other_link h4{
  border-left:5px solid #663300;
  padding-left:10px;
  margin-bottom:20px;
  font-weight:bold;
  font-size:18px;
}

.other_link dl{
  overflow: hidden;
  border-bottom:2px solid #663300;
}
.other_link dl + dl{
  margin-top:20px;
}

.other_link dl dt{
  background:#663300;
  color:#fff;
  font-weight:bold;
  padding:11px 10px 9px;
  float:left;
  width:120px;
}
.other_link dl li{
  float:left;
  margin:10px 0 10px 15px;
}
.other_link dl li a{
  border-bottom:1px solid;
  color:#333;
}
.other_link dl li a:hover{
  text-decoration: none;
  border-bottom:1px solid #fff;
}

@media only screen and (max-width:640px){
  .post_beaf{
    padding-top:0;
    max-width:400px;
    margin:0 auto 40px;
  }

  .beaf_box {
    width:100%;
  }

  .post_beaf .before{
    float:none;
    width:100%;
    text-align: center;
  }

  .post_beaf .after{
    float:none;
    width:100%;
    text-align: center;
  }

  .post_beaf .abs{
    width:140px;
    top:-15px;
  }
  
  .post_beaf .before .abs{
    left:-10px;
  }

  .post_beaf .after .abs{
    left:-10px;
  }

  .post_beaf .beaf_arrow{
    position: static;
    text-align: center;
    padding-top:20px;
    padding-bottom:20px;
  }
  
  .post_beaf .beaf_arrow img{
    width:30px;
  }
  
  .post_other_img{
    margin-bottom:40px;
  }
  
  .post_other_img_child{
    width:24%;
    margin:0 1.3% 1.3% 0;
  }
  
  .post_other_img .post_other_img_child:nth-child(7n){
    margin-right:1.3%;
    float:left;
  }

  .post_other_img .post_other_img_child:nth-child(7n+1){
    clear:none;
  }

  .post_other_img .post_other_img_child:nth-child(4n){
    margin-right:0;
    float:right;
  }

  .post_other_img .post_other_img_child:nth-child(4n+1){
    clear:both;
  }

  .post_other_img_popup .popup_inner{
    padding-top:40px;
    padding-bottom:40px;
  }

  .post_other_img_close img{
    width:30px;
  }

  .post_table th{
    width:100px;
  }
  
  .post_comment > h4{
    font-size:22px;
    padding:10px 15px;
  }

  .post_comment > .in{
    padding:10px 15px;
  }
  
  .other_link dl dt{
    float:none;
    width:auto;
  }
  
  .other_link dl li{
    margin:10px 15px 10px 0;
  }
}


/*single markup style*/

.markup p{
  margin-bottom:25px;
  line-height:1.6;
}
.markup img{
  max-width:100%;
  height:auto;
}
.markup img.alignright{
  float:right;
  margin:0 0 15px 15px;
  display:block;
}
.markup img.alignleft{
  float:left;
  margin:0 15px 15px 0;
  display:block;
}
.markup img.aligncenter{
  display:block;
  margin:0 auto 15px;
}
.markup h1{
  font-size:36px;
  border-bottom:6px solid;
  margin:0 0 35px;
}
.markup h2{
  font-size:32px;
  border-bottom:5px solid;
  margin:0 0 35px;
}
.markup h3{
  font-size:28px;
  border-bottom:4px solid;
  margin:0 0 35px;
}
.markup h4{
  font-size:24px;
  border-bottom:3px solid;
  margin:0 0 35px;
}
.markup h5{
  font-size:20px;
  border-bottom:2px solid;
  margin:0 0 35px;
}
.markup h6{
  font-size:16px;
  border-bottom:1px solid;
  margin:0 0 35px;
}
.markup td{
  padding:10px;
  border:1px solid;
}
.markup table{
  margin-bottom:25px;
}
.markup ul,
.markup ol{
  padding-left:2.0em;
  margin-bottom:25px;
}
.markup ul li{
  list-style:outside;
  margin-bottom:10px;
  line-height:1.4;
}
.markup ol li{
  list-style:outside decimal;
  margin-bottom:10px;
  line-height:1.4;
}
.markup a{
  text-decoration:underline;
  color:#999;
}

#wpn-box{
  position:relative;
  overflow:hidden;
  margin-bottom:100px;
  min-height:35px;
}
#wpn-left a,#wpn-center a,#wpn-right a{
  display:inline-block;
  width:120px;
  padding:3px 0;
  text-align:center;
  border:3px solid #a2daff;
  color:#fff;
  background:#44aaee;
  font-weight:bold;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}
#wpn-left a{
  width:70px;
}
#wpn-right a{
  width:70px;
}



#wpn-left a:hover,#wpn-center a:hover,#wpn-right a:hover{
  background:#44aaee;
  color:#fffd3b;
  text-decoration:none;
}

#wpn-left a{
  float:left;
}

#wpn-right a{
  float:right;
}

#wpn-center a{
  position:absolute;
  top:0;
  left:0;
  right:0;
  margin:0 auto;
}


@media only screen and (max-width:640px){

  /*詳細用*/
  /*single markup style*/
  .markup img.alignright,
  .markup img,
  .markup img.alignleft{
    float:none;
    margin:0 auto;
    display:block;
  }
  .markup img.emoji {
    display: inline !important;
  }
  .post_content{
    padding:10px;
  }

}/*media*/


