/*  　　会社情報　　  */
#page.aboutus {
  /*margin-top: 88px;*/
}
#page.aboutus .sec {
  border-bottom: 1px solid #c8c9ca;
}
#page.aboutus .sec_last {
  border: none;
}
#page.aboutus .mainvisual {
  width: 100%;
  height: 200px;
  background-image: url(../images/aboutus/mv.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
#page.aboutus .service_wrap {
  max-width: 960px;
  width: 90%;
  margin: auto;
}
#page.aboutus .service_wrap .aboutus_title {
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: bold;
}
#page.aboutus .mv_ttl {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 35px;
  color: #fff;
  height: 50px;
}
#page.aboutus .mv_ttl span {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}
#page.aboutus .flexbox {
  margin-top: 25px;
  padding-bottom: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#page.aboutus .flexbox img {
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#page.aboutus .flexbox:hover img {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}
#page.aboutus .flexitem_first {
  max-width: 274px;
  width: 100%;
  margin-right: 30px;
}
#page.aboutus .service_inner {
  margin: 40px 0 80px;
}
#page.aboutus .topflexbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#page.aboutus .top_flexitem {
  display: block;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 48%;
  flex: 0 0 48%;
  margin-bottom: 35px;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  position: relative;
}
#page.aboutus .topflexbox .flex_space {
  flex: 0 0 48%
}
#page.aboutus .top_flexitem_txt {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  font-size: 24px;
  color: #fff;
  height: 24px;
  text-align: center;
}
#page.aboutus .top_flexitem:hover {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}
@media (min-width: 1px) and (max-width: 1164px) {
  #page.aboutus {
    /*margin-top: 76px;*/
  }
}

@media (min-width: 1px) and (max-width: 640px) {
  #page.aboutus {
    /* margin-top: 38px;*/
  }
  #page.aboutus .mainvisual {
    height: 150px;
  }
  #page.aboutus .mv_ttl {
    font-size: 25px;
    height: 40px;
  }
  #page.aboutus .mv_ttl span {
    font-size: 14px;
  }
  #page.aboutus .flexbox {
    display: block;
  }
  #page.aboutus .flexitem_first {
    max-width: 100%;
  }
  #page.aboutus .service_wrap .aboutus_title {
    font-size: 18px;
  }
  #page.aboutus .top_flexitem_txt {
    font-size: 18px;
  }
  #page.aboutus .topflexbox {
    display: block;
  }
  #page.aboutus .topflexbox .flex_space {
    display: none;
  }
}

/*  　　会社概要　　  */
#page.company {
  /* margin-top: 88px;*/
}
#page.company .sec {
  border-bottom: 1px solid #c8c9ca;
}
#page.company .sec_last {
  border: none;
}
#page.company .mainvisual {
  width: 100%;
  height: 200px;
  background-image: url(../images/company/mv.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
#page.company .service_wrap {
  max-width: 960px;
  width: 90%;
  margin: auto;
}
#page.company .service_wrap .aboutus_title {
  font-size: 20px;
  margin-bottom: 40px;
}
#page.company .mv_ttl {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 35px;
  color: #fff;
  height: 50px;
}
#page.company .mv_ttl span {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}
#page.company .service_inner {
  margin: 40px 0 80px;
}
#page.company .company_frame table {
  border-collapse: separate;
  border-spacing: 0px 30px;
  width: 100%;
  font-size: 16px;
}
#page.company .company_frame_td_yakuin {
  position: relative;
}
#page.company .company_frame_yakuin_img {
  max-width: 197px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 250px;
}
#page.company .company_frame th {
  text-align: left;
  font-weight: normal;
  width: 120px;
  vertical-align: top;
  line-height: 1.7;
  font-size: 16px;
}
#page.company .company_frame td {
  vertical-align: top;
  line-height: 1.7;
  padding-bottom: 30px;
}
#page.company .company-img01 {
  max-width: 350px;
  width: 100%;
  display: block;
}
#page.company .company-more {
  display: block;
  color: #fff;
  max-width: 175px;
  width: 100%;
  height: 43px;
  line-height: 43px;
  background-color: #b7191d;
  background-image: url(../images/company/ui01.png);
  background-repeat: no-repeat;
  background-size: 10px 9px;
  background-position: 90% center;
  text-align: center;
  margin: auto;
  margin-top: 50px;
  cursor: pointer;
}
#page.company .books-flexbox {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}
#page.company .books-flexitem img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 160px;
}
#page.company .books-flexitem01 {
  max-width: 155px;
}
#page.company .books-flexitem02 {
  max-width: 141px;
}
#page.company .books-flexitem03 {
  max-width: 141px;
}
#page.company .books-flexitem04 {
  max-width: 135px;
}
#page.company .books-flexitem05 {
  max-width: 135px;
}

#page.company .books-flexitem {
  flex: 0 0 13%;
}
#page.company .books-flexitem p {
  font-size: 14px;
  margin-top: 10px;
}
#page.company .contact-flexbox {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}
#page.company .contact-flexitem {
  flex: 0 0 49.5%;
  margin-bottom: 8px;
  border: 1px solid #ededee;
  padding: 20px 30px;
}

#page.company .contact-flexitem:hover .contact-flexitem-txt01 {
  color: #c9191d;
}
#page.company .contact-flexitem-txt01:before {
  content: "";
  padding-left: 10px;
  background-image: url(../images/company/ui02.png);
  background-repeat: no-repeat;
  background-size: 10px 14px;
  background-position: center;
  margin-right: 5px;
}
#page.company .contact-flexitem-txt02 {
  font-size: 12px;
}

#page.company .contact-tel-flexbox {
  border: 1px solid #ededee;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#page.company .contact-tel-flexitem {
  flex: 0 0 50%;
}

#page.company .contact-tel-flexitem-lft {
  flex: 0 0 60%;
}

#page.company .contact-tel-flexitem-rig {
  flex: 0 0 40%;
}

#page.company .contact-tel-flexitem-txt01 {
  font-size: 16px;
}
#page.company .contact-tel-flexitem-txt02 {
  font-size: 12px;
}

#page.company .contact-tel-flexitem-txt01:before {
  content: "";
  padding-left: 10px;
  background-image: url(../images/company/ui02.png);
  background-repeat: no-repeat;
  background-size: 10px 14px;
  background-position: center;
  margin-right: 5px;
}

#page.company .link-flexbox {
  display: flex;
  flex-flow: row wrap;
}

#page.company .link-flexbox li span {
  display: inline-block;
  border-right: 1px solid #000;
  line-height: 1;
  padding: 0 25px;
}

#page.company .link-flexbox a {
  display: inline-block;
  position: relative;
}

#page.company .link-flexbox li:last-child span {
  border-right: none;
}

#page.company .link-flexbox li:first-child span {
  padding-left: 0;
}

#page.company .company-img07 {
  display: none;
}

#page.company .link-flexbox li a:hover {
  color: #ca1a1d;
}

#page.company .link-flexbox li a:hover::after {
  transform: scale(1, 1);
}

#page.company .link-flexbox li a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #ca1a1d;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

#page.company .link-flexbox li a:hover {
  color: #ca1a1d;
}

#page.company .link-flexbox li a:hover::after {
  transform: scale(1, 1);
}

#page.company .tel-img {
  display: block;
  max-width: 265px;
  width: 100%;
  margin-left: auto;
}

#page.company .access-red {
  color: #c9191d;
  font-weight: bold;
  margin-left: 30px;
}

@media (min-width: 1px) and (max-width: 1164px) {
  #page.company {
    /*margin-top: 76px;*/
  }
}

@media (min-width: 1px) and (max-width: 640px) {
  
  #page.company {
    /*margin-top: 38px;*/
  }
  #page.company .mainvisual {
    height: 150px;
  }
  #page.company .mv_ttl {
    font-size: 25px;
    height: 40px;
  }
  #page.company .mv_ttl span {
    font-size: 14px;
  }
  #page.company .company_frame th {
    display: block;
    width: 100%;
    padding: 5px 0 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
  }
  #page.company .company_frame td {
    display: block;
    width: 100%;
    padding-bottom: 10px;
  }
  #page.company .place-tda-mb a {
    display: block;
  }
  #page.company .company_frame table {
    font-size: 14px;
  }
  #page.company .books-flexitem {
    flex: 49.5%;
    margin-bottom: 20px;
  }
  #page.company .link-flexbox li span {
    padding: 0 5px;
    font-size: 12px;
  }
  #page.company .contact-flexitem {
    padding: 10px;
  }
  #page.company .contact-tel-flexbox {
    padding: 10px;
  }
  #page.company .company_frame td.pcv {
    display: none;
  }
  #page.company .company_frame_yakuin_img {
    position: unset;
    margin-top: 10px;
  }
  #page.company .contact-tel-flexitem-rig {
    flex: 0 0 60%;
  }
  #page.company .contact-tel-flexitem-lft {
    flex: 0 0 40%;
  }
}

/*  　　アクセス　　  */
#page.access {
  /* margin-top: 88px;*/
}
#page.access .sec {
  border-bottom: 1px solid #c8c9ca;
}
#page.access .sec_last {
  border: none;
}
#page.access .mainvisual {
  width: 100%;
  height: 200px;
  background-image: url(../images/access/mv.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
#page.access .service_wrap {
  max-width: 960px;
  width: 90%;
  margin: auto;
}
#page.access .service_wrap .aboutus_title {
  font-size: 20px;
  margin-bottom: 40px;
}
#page.access .mv_ttl {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 35px;
  color: #fff;
  height: 50px;
}
#page.access .mv_ttl span {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}
#page.access .service_inner {
  margin: 40px 0 80px;
}
#page.access .access_category {
  margin: 60px 0;
  padding-top: 90px;
  margin-top: -90px;
}
#page.access .access_category iframe {
  width: 100%;
  height: 300px;
}
#page.access .access_category .category_title {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}
@media (min-width: 1px) and (max-width: 1164px) {
  #page.access {
    /* margin-top: 76px;*/
  }
}

@media (min-width: 1px) and (max-width: 640px) {
  #page.access {
    /* margin-top: 38px;*/
  }
  #page.access .mainvisual {
    height: 150px;
  }
  #page.access .mv_ttl {
    font-size: 25px;
    height: 40px;
  }
  #page.access .mv_ttl span {
    font-size: 14px;
  }
}

/*  　　代表メッセージ　　  */
#page.message {
  /*      margin-top: 88px; */
}
#page.message .sec {
  border-bottom: 1px solid #c8c9ca;
}
#page.message .sec_last {
  border: none;
}
#page.message .mainvisual {
  width: 100%;
  height: 200px;
  background-image: url(../images/message/mv.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
#page.message .service_wrap {
  max-width: 960px;
  width: 90%;
  margin: auto;
}
#page.message .service_wrap .aboutus_title {
  font-size: 20px;
  margin-bottom: 40px;
}
#page.message .mv_ttl {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 35px;
  color: #fff;
  height: 50px;
}
#page.message .mv_ttl span {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}
#page.message .service_inner {
  margin: 40px 0 80px;
}
#page.message .message_content {
  margin: 45px 0;
}
#page.message .message_content .messega_text {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 1px;
}
#page.message .message_content .messega_text.massega_space {
  margin-bottom: 30px;
}
#page.message .message_content .messega_title {
  font-size: 20px;
  line-height: 2;
  font-weight: bold;
}
@media (min-width: 1px) and (max-width: 1164px) {
  #page.message {
    /* margin-top: 76px;*/
  }
}
@media (min-width: 1px) and (max-width: 640px) {
  #page.message {
    /*margin-top: 38px;*/
  }
  #page.message .mainvisual {
    height: 150px;
    background-position: right -120px center;
  }
  #page.message .mv_ttl {
    font-size: 25px;
    height: 40px;
  }
  #page.message .mv_ttl span {
    font-size: 14px;
  }
}

/*  　　クライアント紹介　　  */
#page.client {
  /* margin-top: 88px;*/
}
#page.client .sec {
  border-bottom: 1px solid #c8c9ca;
}
#page.client .sec_last {
  border: none;
}
#page.client .mainvisual {
  width: 100%;
  height: 200px;
  background-image: url(../images/client/mv.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
#page.client .service_wrap {
  max-width: 960px;
  width: 90%;
  margin: auto;
}
#page.client .service_wrap .aboutus_title {
  font-size: 20px;
  margin-bottom: 40px;
}
#page.client .mv_ttl {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 35px;
  color: #fff;
  height: 50px;
}
#page.client .mv_ttl span {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}

#page.client .service_inner {
  margin: 40px 0 80px;
}
#page.client .client_text .client_title {
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 25px;
}
#page.client .client_text .client_comment {
  font-size: 16px;
  line-height: 2;
}
#page.client .client_text .client_comment._last {
  margin-bottom: 25px;
}
@media (min-width: 1px) and (max-width: 1164px) {
  #page.client {
    /*margin-top: 76px;*/
  }
}
@media (min-width: 1px) and (max-width: 640px) {
  #page.client {
    /*margin-top: 38px;*/
  }
  #page.client .mainvisual {
    height: 150px;
  }
  #page.client .mv_ttl {
    font-size: 25px;
    height: 40px;
  }
  #page.client .mv_ttl span {
    font-size: 14px;
  }
}

/*お問い合わせページ*/

#page.contact.in {
}
#page.contact.in .mainvisual {
  background-image: url(../images/contact/mv.png);
}

#page.contact.in .iframe_pcv {
  display: block;
}
#page.contact.in .iframe_spv {
  display: none;
}

#page.contact.in .tel-txt01 {
  margin-top: 30px;
  text-align: center;
}

#page.contact.in .tel-txt02 {
  text-align: center;
  margin-bottom: 20px;
}

#page.contact.in .tel-btn {
  display: block;
  margin: auto;
  max-width: 300px;
}

@media (min-width: 1px) and (max-width: 910px) {
  #page.contact.in .iframe_pcv {
    display: none;
  }
  #page.contact.in .iframe_spv {
    display: block;
  }
}

#page.books .company_frame table {
  border-collapse: separate;
  border-spacing: 0px 30px;
  width: 100%;
  font-size: 16px;
}
#page.books .company_frame th {
  text-align: left;
  font-weight: normal;
  width: 120px;
  vertical-align: top;
  line-height: 1.7;
  font-size: 16px;
}
#page.books .company_frame td {
  vertical-align: top;
  line-height: 1.7;
  padding-bottom: 30px;
}
