@charset "UTF-8";

/* 企業理念 */

.corporatephilosophy {
  position: relative;
  margin: 50px auto;
}

.corporatephilosophy_container {
  padding: 0 0 70px 0;
}


.corporatephilosophy_box {
  position: relative;
  width: 100%;
  overflow: hidden;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

.corporatephilosophy {
  position: relative;
  overflow: hidden;
}

.corporatephilosophy_container::after {
  position: absolute;
  content: '';
  top: 25%;
  right: 0;
  background: linear-gradient(180deg, #E8F7FB 0%, #F2FDF5 100%);
  height: 75%;
  z-index: -1;
  margin: 0 calc(50% - 50vw);
  width: 60vw;
  animation-fill-mode: forwards;
  transform: translateX(100%);
  transition: 0.9s;
}


.scroll-in .corporatephilosophy_container::after {
  transform: translateX(0);
}


.corporatephilosophy h3 {
  position: relative;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 798px) {

  .corporatephilosophy_box h3 {
    font-size: 15px;
    position: relative;
    top: 40px;
  }

  .corporatephilosophy h3 {
    font-size: 20px;
    top: 25px;
  }
}

/* 会社概要 */
.companyoverview {
  background-image: url(../image/company_background.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40%;
}

.daiichi_table th {
  font-weight: bold;
  white-space: nowrap;
  padding-right: 40px;
}

.daiichi_table td {
  margin-left: 30px;
}

.daiichi {
  display: flex;
  justify-content: space-between;
  margin: 0px auto 90px auto;
}

.companyoverview_map {
  width: 50%;
}

.companyoverview_subtitle {
  margin-bottom: 50px;
}

@media (max-width: 1080px) {
  .companyoverview {
    background-size: 60%;
    background-position: center;

  }
  .companyoverview_map {
    width: 80%;
  }
}

@media (max-width: 798px) {
  .daiichi {
    display: block;
    margin: 0px auto 50px auto;
  }

  .daiichi_table {
    margin-bottom: 15px;
  }

  .companyoverview_map {
    margin: 0 auto;
  }

  .companyoverview_subtitle {
    margin-bottom: 20px;
  }

  .daiichi_table th{
    padding:4px 20px 4px 0;
  }
  .daiichi_table td{
    padding: 4px;
  }

}


/* 沿革 */
.history_table {
  position: relative;
  top: 1%;
  border-collapse: collapse
}

.history_table tr {
  border-bottom: 1px solid #C1BFBF;
}

.history_table th {
  white-space: nowrap;
  line-height: 1.5em;
  padding: 30px 40px 30px 0;
}

.history_table td {
  padding: 20px 0;
}

.history_box {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 10%;
}

.history_box:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #E8F7FB 0%, #F2FDF5 100%);
  height: 103%;
  z-index: -1;
  margin: 0 calc(50% - 50vw);
  width: 80vw;
  animation-fill-mode: forwards;
  transform: translateX(-100%);
  transition: 0.9s;
}

.scroll-in .history_box:after {
  transform: translateX(0);
}

@media (max-width: 798px) {
  .history_box {
    margin-bottom: 12%;
  }
}