@charset "UTF-8";

/*会社概要ページ*/

.company_title {
  background-image: url(../img/company_outline_title.jpg);
  text-align: center;
}

.company_lead {
  max-width: 980px;
  text-align: center;
  margin: 0px auto 60px;
}
.company_lead h3 {
  color: #3d3d3d;
  font-size: 22px;
  letter-spacing: 1px;
  position: relative;
  padding-left: 10px;
  margin-left: 40px;
  text-align: left;
  padding: 0 15px;
}
.company_lead h3:before {
  content: url(../../../common/img/top_h2.png);
  position: absolute;
  bottom: -6px;
  left: -30px;
}
.company_lead p {
  max-width: 880px;
  display: inline-block;
  text-align: left;
  font-size: 16px;
  line-height: 28px;
  color: #3d3d3d;
  padding: 60px 10px 0px 10px;
}

.company_under_link {
  margin: 0 auto 70px;
  display: flex;
  justify-content: center;
  height: 60px;
  border-bottom: 4px solid #a0d468;
  list-style: none;
  text-align: center;
}
.company_under_link li {
  margin: 5px 6px;
  width: 25%;
}
.company_under_link li a {
  width: 100%;
  height: 55px;
  display: block;
  text-decoration: none;
  line-height: 55px;
  background: #f6f6f6;
  color: #3d3d3d;
  font-weight: bold;
  font-size: 18px;
}
.company_under_link li a.li_current {
  background: #a0d468;
  color: #fff;
  text-decoration: none;
}
.company_under_link li a:hover {
  background: #c7e8a3;
  color: #fff;
}
.company_under_link li a.li_current:hover {
  opacity: 0.8;
}

.company_lead-access {
  margin-bottom: 40px;
}

@media screen and (max-width: 700px) {
  .company_lead {
    padding-top: 0;
    margin-bottom: 2em;
  }

  .company_lead h3 {
    font-size: 110%;
    line-height: 1.6;
    margin-left: 0;
    padding: 0;
  }

  .company_lead h3::before {
    content: '';
    width: 1.4em;
    height: 1.4em;
    padding-left: 0;
    background: url(../../../common/img/top_h2_sp.png) no-repeat;
    background-size: auto 100%;
    position: static;
    top: 7px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3em;
  }

  .company_under_link {
    height: auto;
    margin-bottom: 2em;
  }

  .company_under_link li {
    margin: 0 0.2em;
    width: 33%;
  }
  .company_under_link li a {
    width: 100%;
    height: 3.5em;
    display: block;
    font-size: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .company_under_link li a.li_current {
    background: #a0d468;
    color: #fff;
    text-decoration: none;
  }
  .company_under_link li a:hover {
    background: #a0d468;
    color: #fff;
  }
}

.company_wrap {
  max-width: 980px;
  margin: 0 auto 120px;
}

.company_advantage {
  padding: 0 10px;
  display: block;
  justify-content: space-around;
  flex-wrap: wrap;
}
.company_advantage div {
  max-width: 425px;
  height: 370px;
  margin: 0px 0 40px;
  float: left;
}
.company_advantage div:nth-child(even) {
  float: right;
}

.company_advantage div p {
  font-size: 16px;
  line-height: 30px;
  color: #353535;
  padding-top: 20px;
  position: relative;
  padding-left: 3.2em;
}
.company_advantage div img {
  box-shadow: 0px 0px 8px 3px #efefef;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.company_advantage div:nth-child(1) p:before {
  content: url(../img/ic_company01.png);
  position: absolute;
  top: 27px;
  left: 0;
  display: inline-block;
  width: 37px;
  height: 39px;
  background-size: contain;
}
.company_advantage div:nth-child(2) p:before {
  content: url(../img/ic_company02.png);
  position: absolute;
  top: 27px;
  left: 0;
  display: inline-block;
  width: 41px;
  height: 41px;
  background-size: contain;
}
.company_advantage div:nth-child(3) p:before {
  content: url(../img/ic_company03.png);
  position: absolute;
  top: 27px;
  left: 0;
  display: inline-block;
  width: 40px;
  height: 39px;
  background-size: contain;
}
.company_advantage div:nth-child(4) p:before {
  content: url(../img/ic_company04.png);
  position: absolute;
  top: 27px;
  left: 0;
  display: inline-block;
  width: 43px;
  height: 40px;
  background-size: contain;
}

.overview_table {
  width: 100%;
  border-collapse: collapse;
  color: #3d3d3d;
  font-size: 16px;
}

.overview_table .th_title {
  background: #f0f4f6;
  border: 2px solid #fff;
  text-align: center;
  vertical-align: middle;
  width: 36%;
  line-height: 1.6;
  padding: 5px;
  font-weight: normal;
}
.overview_table td {
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.6;
  padding: 0 20px;
  background: #fafafa;
  border: 2px solid #fff;
}
.td_title_etc {
  text-align: right;
  padding-right: 20%;
  list-style: none;
}

.overview_table td ul,
.overview_table td p {
  list-style: none;
  padding: 17px 20px;
  margin: 0;
}
.overview_table td ul li span a {
  font-size: 14px;
  background: #a0d468;
  padding: 2px 5px 0;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.overview_table td ul li span a:hover {
  opacity: 0.8;
}

.outline_wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 350px;
  margin: 0 auto 80px;
  background: url(../img/company_overview.png) 50% 78px no-repeat;
  background-size: contain;
}
.outline_wrap div {
  background: #f0f4f6;
  padding: 12px 15px;
  position: absolute;
}
.outline_wrap div:nth-child(1) {
  max-width: 300px;
  top: 0px;
  left: 0px;
}
.outline_wrap div:nth-child(2) {
  max-width: 187px;
  top: 212px;
  left: 17px;
}
.outline_wrap div:nth-child(3) {
  max-width: 280px;
  top: 0px;
  left: 211px;
}
.outline_wrap div:nth-child(4) {
  max-width: 280px;
  top: 212px;
  left: 330px;
}
.outline_wrap div:nth-child(5) {
  max-width: 250px;
  top: 0px;
  left: 630px;
}
.outline_wrap div:nth-child(6) {
  max-width: 280px;
  top: 212px;
  left: 630px;
}
.outline_wrap div p {
  font-size: 16px;
  line-height: 1.7;
  color: #3d3d3d;
}
.outline_wrap div p span {
  font-weight: bold;
}
.outline_wrap p.date {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #3d3d3d;
}

@media screen and (max-width: 920px) {
  .outline_wrap {
    background: url(../img/company_overview.png) 50% 40% no-repeat;
    background-size: contain;
  }
  .outline_wrap div {
    background: #f0f4f6;
    padding: 10px;
    position: absolute;
  }
  .outline_wrap div:nth-child(1) {
    max-width: 33%;
    top: 20px;
    left: 0px;
  }
  .outline_wrap div:nth-child(2) {
    max-width: 33%;
    top: 210px;
    left: 0px;
  }
  .outline_wrap div:nth-child(3) {
    max-width: 33%;
    top: 20px;
    left: 37%;
  }
  .outline_wrap div:nth-child(4) {
    max-width: 33%;
    top: 210px;
    left: 27%;
  }
  .outline_wrap div:nth-child(5) {
    max-width: 33%;
    top: 20px;
    left: 70%;
  }
  .outline_wrap div:nth-child(6) {
    max-width: 33%;
    top: 210px;
    left: 65%;
  }
}

@media screen and (max-width: 700px) {
  .company_wrap {
    max-width: 750px;
    margin: 0 0 7em;
  }

  .company_advantage {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .company_advantage div {
    max-width: inherit;
    height: auto;
    margin: 0px 10px 3em;
  }
  .company_advantage div p {
    font-size: 95%;
    line-height: 1.8;
    color: #353535;
    padding-top: 55px;
    position: relative;
    padding-left: 0;
  }
  .company_advantage div img {
    box-shadow: 0px 0px 8px 3px #efefef;
    margin-bottom: 20px;
  }
  .company_advantage div:nth-child(1) p:before {
    content: url(../img/ic_company01.png);
    position: absolute;
    top: 0px;
    left: calc(50% - 20px);
    display: inline-block;
    width: 37px;
    height: 39px;
    background-size: contain;
  }
  .company_advantage div:nth-child(2) p:before {
    content: url(../img/ic_company02.png);
    position: absolute;
    top: 0px;
    left: calc(50% - 20px);
    display: inline-block;
    width: 41px;
    height: 41px;
    background-size: contain;
  }
  .company_advantage div:nth-child(3) p:before {
    content: url(../img/ic_company03.png);
    position: absolute;
    top: 0px;
    left: calc(50% - 20px);
    display: inline-block;
    width: 40px;
    height: 39px;
    background-size: contain;
  }
  .company_advantage div:nth-child(4) p:before {
    content: url(../img/ic_company04.png);
    position: absolute;
    top: 0px;
    left: calc(50% - 20px);
    display: inline-block;
    width: 43px;
    height: 40px;
    background-size: contain;
  }

  .outline_wrap {
    position: relative;
    height: 1225px;
    max-width: 750px;
    background: url(../img/company_overview_sp.png) 10% 0 no-repeat;
    background-size: contain;
    margin: 0 0px 80px;
  }
  .outline_wrap div {
    background: #f0f4f6;
    padding: 20px;
    position: absolute;
    max-width: inherit;
  }
  .outline_wrap div:nth-child(1) {
    max-width: inherit;
    left: 25%;
    top: 30px;
  }
  .outline_wrap div:nth-child(2) {
    max-width: inherit;
    left: 25%;
    top: 270px;
  }
  .outline_wrap div:nth-child(3) {
    max-width: inherit;
    left: 25%;
    top: 430px;
  }
  .outline_wrap div:nth-child(4) {
    max-width: inherit;
    left: 25%;
    top: 600px;
  }
  .outline_wrap div:nth-child(5) {
    max-width: inherit;
    left: 25%;
    top: 820px;
  }
  .outline_wrap div:nth-child(6) {
    max-width: inherit;
    left: 25%;
    top: 1010px;
  }

  .outline_wrap p.date {
    right: 15px;
  }
}

/*ごあいさつ*/

.message_wrap {
  max-width: 980px;
  margin: 0 auto 80px;
}
.message_wrap h4 {
  font-size: 25px;
  line-height: 40px;
  color: #353535;
  position: relative;
  margin: 1.5em auto 50px;
  padding-bottom: 35px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  letter-spacing: 1px;
}
.message_wrap h4:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0px;
  display: inline-block;
  width: 44px;
  height: 2px;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #a0d468;
}
.message_wrap p {
  font-size: 16px;
  line-height: 30px;
  color: #353535;
  margin: 1.5em auto;
  width: 100%;
  max-width: 770px;
}

.message_wrap p:last-child {
  text-align: right;
  line-height: 35px;
  vertical-align: middle;
  margin-top: 75px;
}
.message_wrap p:last-child img {
  vertical-align: middle;
  margin: -8px 0 0 15px;
}

.message_wrap .name strong {
  font-size: 180%;
  font-family: '游明朝体', 'Yu Mincho', YuMincho, 'ヒラギノ明朝 Pro', 'Hiragino Mincho Pro',
    'MS P明朝', 'MS PMincho', serif;
  margin-left: 0.3em;
}

@media screen and (max-width: 700px) {
  .company_wrap {
    margin-bottom: 5em;
  }

  .message_wrap {
    max-width: 980px;
    margin: 0 0 4em;
  }

  .message_wrap h4 {
    font-size: 85%;
    line-height: 1.8;
    padding-bottom: 1.5em;
    margin-bottom: 2em;
  }

  .message_wrap p {
    font-size: 90%;
    line-height: 1.7;
  }

  .message_wrap p:last-child {
    margin: 2em 0 0 0;
    line-height: 1.6;
  }

  .message_wrap p:last-child img {
    width: 30.133333333333333vw;
    height: 6.4vw;
  }
}

/*アクセスページ*/

.access_wrap {
  padding-top: 20px;
  max-width: 980px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
}
.access_wrap > div {
  width: 48%;
}
.access_wrap > div p {
  font-size: 16px;
  line-height: 30px;
  color: #353535;
  font-style: normal;
}
.access_wrap > div p:last-child {
  margin: 0.5em 0;
}

.access_wrap address {
  display: block;
  margin-bottom: 20px;
}

.ggmap {
  height: 344px;
  position: relative;
  overflow: hidden;
  margin-top: 2em;
}
.ggmap iframe,
.ggmap object,
.ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 344px;
}

@media screen and (max-width: 700px) {
  .access_wrap {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 80px;
    display: block;
  }
  .access_wrap > div {
    max-width: 100%;
    margin: 0 15px 100px;
  }

  .overview_table {
    font-size: 100%;
  }

  .overview_table th,
  .overview_table td {
    padding: 0.7em;
    font-size: 100%;
    line-height: 1.6;
  }

  .overview_table td ul,
  .overview_table td p {
    padding: 0;
  }

  .overview_table td ul li {
    margin-bottom: 0.3em;
  }

  .overview_table td ul li:last-of-type {
    margin-bottom: 0;
  }

  .outline_wrap div {
    width: 70%;
    padding: 0.8em 1em;
    box-sizing: border-box;
  }

  .outline_wrap div p {
    font-size: 110%;
    line-height: 1.6;
  }

  .company_lead-access h3 {
    margin-left: -1em;
  }

  .access_wrap > div {
    width: auto;
    margin-bottom: 3em;
  }

  .access_wrap > div p {
    font-size: 100%;
    line-height: 1.6;
  }

  .ggmap {
    height: 70vw;
    margin: 2em -15px 0 -15px;
  }
}

.historyWrapper {
  max-width: 1000px;
  margin: 0 auto 6em;
  padding: 12em 0 0 0;
}

.historyWrapper ul {
  min-height: 1em;
  list-style: none;
  background: url(../img/company_overview02.png) no-repeat center center;
  position: relative;
  margin-bottom: 12em;
}

.historyWrapper li {
  position: absolute;
  bottom: 4em;
}

.historyWrapper li div {
  background: #f0f4f6;
  padding: 12px 15px;
  width: 12em;
  line-height: 1.5;
  position: relative;
  z-index: 110;
}

.historyWrapper li::before {
  content: '';
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #a0d468;
  border-radius: 50em;
  position: absolute;
  left: 0;
  bottom: -64px;
  z-index: 100;
}

.historyWrapper li::after {
  content: '';
  width: 67%;
  height: 1px;
  background: #222;
  position: absolute;
  bottom: 0;
  left: -10%;
  transform: rotate(-60deg);
}

.historyWrapper .date {
  text-align: right;
}

.historyWrapper li h4 {
  margin-bottom: 0.2em;
}

.historyWrapper li:nth-child(even) {
  bottom: inherit;
  top: 4em;
}

.historyWrapper li:nth-child(even)::after {
  top: -5px;
  bottom: inherit;
  width: 60%;
  left: -41%;
}

.historyWrapper li:nth-child(even)::before {
  top: -66px;
  bottom: inherit;
}

.historyWrapper li:nth-child(1) {
  position: absolute;
  left: -1%;
}

.historyWrapper li:nth-child(1)::after {
  left: -7%;
  width: 50%;
}

.historyWrapper li:nth-child(1) div {
  width: 12.5em;
  margin-left: 0;
}

.historyWrapper li:nth-child(2) {
  left: 10%;
}

.historyWrapper li:nth-child(2)::after {
  left: -45%;
  width: 66%;
}

.historyWrapper li:nth-child(2) div {
  margin-left: -3em;
  width: 11em;
}

.historyWrapper li:nth-child(3) {
  left: 27%;
}

.historyWrapper li:nth-child(3) div {
  margin-left: -2em;
  width: 11em;
}

.historyWrapper li:nth-child(3)::after {
  left: -11%;
}

.historyWrapper li:nth-child(4) {
  left: 36%;
}

.historyWrapper li:nth-child(4) div {
  margin-left: -3em;
}

.historyWrapper li:nth-child(5) {
  left: 52%;
}

.historyWrapper li:nth-child(5) div {
  margin-left: -3em;
}

.historyWrapper li:nth-child(6) {
  left: 60%;
}

.historyWrapper li:nth-child(6) div {
  margin-left: -3em;
}

.historyWrapper li:nth-child(7) {
  left: 78%;
}

.historyWrapper li:nth-child(7) div {
  margin-left: -4em;
}

.historyWrapper li:nth-child(7)::after {
  left: -8%;
  width: 70%;
}

.historyWrapper li:nth-child(8) {
  left: 86%;
}

.historyWrapper li:nth-child(8) div {
  margin-left: -4em;
}

.historyWrapper li:nth-child(8)::after {
  left: -48%;
  width: 70%;
}

@media screen and (max-width: 700px) {
  .historyWrapper {
    padding: 0.5em 0 1.5em 0;
    margin-bottom: 4em;
  }

  .historyWrapper ul {
    min-height: 1em;
    list-style: none;
    background: url(../img/company_overview_sp02.png) no-repeat 2.5% bottom;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-bottom: 1em;
  }

  .historyWrapper li {
    position: relative !important;
    left: inherit !important;
    bottom: inherit !important;
    right: inherit !important;
    top: inherit !important;
    padding-left: 18%;
    margin-bottom: 2em;
  }

  .historyWrapper li::before {
    bottom: inherit !important;
    top: 0 !important;
    left: 0 !important;
    transform: translateX(50%);
  }

  .historyWrapper li::after {
    transform: rotate(20deg) !important;
    width: 20% !important;
    top: 1.2em !important;
    left: 5% !important;
    bottom: inherit !important;
  }

  .historyWrapper div {
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }
}
