@charset "utf-8";
.main__section {
  width: 900px;
  margin: 50px auto;
  font-size: 16px;
  line-height: 1.6em;
  color: #333333;
}
@media screen and (max-width: 768px) {
  .main__section {
    width: 90%;
    margin: 0 auto;
  }
}
/*******************
共通タイトル部分
*******************/
.title__box,
.link__top {
  width: 900px;
  height: 300px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}
.link__top {
  margin-bottom: 20px;
}
.main-about > .title__box,
.link__top.link-about,
.link__box > .link-about {
  background: url(../hp2/company/image_new/img_abouttit.jpg);
  background-size: contain;
  background-repeat: no-repeat;
}
.main-history > .title__box,
.link__top.link-history,
.link__box > .link-history {
  background: url(../hp2/company/image_new/img_historytit.jpg);
  background-size: contain;
  background-repeat: no-repeat;
}
.main-business > .title__box,
.link__top.link-business,
.link__box > .link-business {
  background: url(../hp2/company/image_new/img_businesstit.jpg);
  background-size: contain;
  background-repeat: no-repeat;
}

.title-position,
.link-position {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.title-h2 {
  color: #ffffff;
  font-size: 50px;
  margin: 0;
}
/*.link__top > .title-position > .title-h2{
  margin-bottom: 0;
}
.title-subtext {
  color: #ffffff;
  font-size: 30px;
}*/
@media screen and (max-width: 768px) {
  .title__box,
  .link__top {
    width: 100%;
    height: 0;
    padding-top: calc(100% / 3);
    margin-bottom: 30px;
  }
  .link__top {
    margin-bottom: 20px;
  }
  .title-h2 {
    font-size: 30px;
  }
}
/*******************
共通下部リンク
*******************/
.link__box {
  display: flex;
  margin-bottom: 150px;
}
.link__box .company__link {
  flex: 0 0 440px;
  height: 147px;
  position: relative;
  text-align: center;
  color: #ffffff;
}
.link__box .company__link:first-child {
  margin-right: 10px;
}
.link__box .company__link:last-child {
  margin-left: 10px;
}
.company__link .link-h5 {
  color: #ffffff;
  font-size: 30px;
  /*margin-bottom: 20px;*/
}
/*.company__link .link-subtext{
  font-size: 24px;
}*/
.link__top:hover,
.link__box > .company__link:hover {
  opacity: 0.5;
  transition-duration: 0.5s;
}
#company #footer #footerEND {
  padding:0 0 20px;
}
@media screen and (max-width: 768px) {
  .link__box {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 100px;
  }
  .link__box .company__link {
    flex: 0 0 100%;
    height: 0;
    padding-top: calc(100% / 3);
    margin-bottom: 20px;
  }
  .link__box .company__link:first-child {
    margin-right: 0;
  }
  .link__box .company__link:last-child {
    margin-left: 0;
  }
  .company__link .link-h5 {
    font-size: 22px;
  }
}
/*******************
company
********************/
.main-company {
  margin-bottom: 150px;
}
/*******************
about 内容
*******************/
.main__box .about__definition {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  margin-bottom: 100px;
}
.about__term {
  flex: 0 0 calc(30% - 20px);
  padding: 30px 0 30px 20px;
  border-bottom: 1px solid #1f2774;
}
.about__description {
  flex: 0 0 calc(70% - 20px);
  padding: 30px 0 30px 20px;
  border-bottom: 1px solid #aaa;
}
/*******************
googlemap
*******************/
.googlemap__box {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  height: 345px;
  margin-bottom: 150px;
}

/*******************
history
********************/
.history__tab .tab__group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab__group .tab__btn {
  flex: 0 0 293px;
  text-align: center;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  color: #ffffff;
  background: #1f2774;
}
.tab__group .tab__btn:hover {
  opacity: 0.5;
  transition-duration: 0.5s;
}
.is-active {
  opacity: 0.5;
}
.tab__group .tab__btn:nth-of-type(3n) {
  margin-right: 0;
}

.panel__group .panel__box {
  display: none;
  opacity: 0;
}
.panel__group .panel__box.is-show {
  display: block;
  margin-bottom: 150px;
  animation: opacity ease-in 0.4s forwards;
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.panel__box .box__definition {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  background: #1f2774;
}
.box__definition .box__term {
  flex: 0 0 calc(16% - 80px);
  background: #ffffff;
  padding: 8px 60px 52px 20px;
  position: relative;
}
.box__definition .box__term::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background: #1f2774;
  transform: rotate(45deg);
  top: 12px;
  left: 138px;
}
.box__definition .box__description {
  flex: 0 0 calc(83% - 40px);
  background: #ffffff;
  padding: 8px 0 52px 48px;
  margin-left: 1px;
}
.box__description .box__txt {
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .history__tab .tab__group {
    align-items: stretch;
    margin-bottom: 30px;
  }
  .tab__group .tab__btn {
    flex: 0 0 calc(100% / 3 - 5px);
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 16px 0;
  }
  .panel__group .panel__box.is-show {
    margin-bottom: 100px;
  }
  .panel__box .box__definition {
    width: calc(100% - 20px);
    margin-left: 20px;
    padding: 0 0 50px 20px;
    border-left: 1px solid #1f2774;
    flex-wrap: wrap;
    background: #fff;
  }
  .box__definition .box__term {
    flex: 0 0 90%;
    padding: 0 0 10px 0;
    margin: 0 10% 10px 0;
    border-bottom: 1px dotted #d3d3d3;
  }
  .box__definition .box__term::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    background: #1f2774;
    transform: rotate(45deg);
    top: 5px;
    left: -27px;
  }
  .box__definition .box__description {
    flex: 0 0 90%;
    padding: 0 0 40px 0;
    margin: 0 10% 0 0;
  }
  .box__description .box__txt {
    margin-bottom: 6px;
  }
}
/*******************
business
********************/
.business__group-top {
  margin-bottom: 100px;
}
.business__group-top .top-tit {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.6em;
  margin-bottom: 20px;
  color: #1f2774;
}
.business__group-top .top-txt {
  font-size: 16px;
}
.business__group-middle .description__group {
  display: flex;
  width: 100%;
  margin: 0 0 80px 0;
}
.description__group .description__img {
  width: calc(50% - 20px);
  /*flex: 0 0 calc(50% - 20px);*/
  margin-right: 20px;
}
.description__group .description__caption {
  flex: 0 0 50%;
  margin-top: 10px;
}
.description__caption .description-title {
  font-size: 24px;
  color: #1f2774;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dotted #d3d3d3;
}
@media screen and (max-width: 768px) {
  .business__group-middle .description__group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
  }
  .description__group .description__img {
    width: 100%;
    /*flex: 0 0 100%;*/
    margin-right: 0;
  }
  .description__group .description__caption {
    flex: 0 0 100%;
    margin-top: 10px;
  }
  .description__caption .description-title {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
}
