/*------------------------------------------
会社概要
--------------------------------------------*/
.firstec-table-company{
  width: 100%;
  border-collapse:collapse;
  text-align: left;
  font-size: 14px;
  max-width: 1200px;
}
.firstec-table-company caption{
  font-weight: 600;
}
.firstec-table-company td ,th{
  border-bottom: 2px solid #c1c7c6;
  padding: 1em;
}
.firstec-table-company th {
  border-bottom: 2px solid #4d9bc1;;
  font-weight: bold;
  width: 20%;
  background-color: #fff !important;
}
.firstec-table-company th:m{
  background-color: #000;
  color: #fff;
  border-bottom: solid 1px #fff;
}

@media screen and (max-width: 860px) {
  .firstec-table-company {
    width: 90%;
    margin: auto;
  }
  .firstec-table-company th, td {
    width: 90%;
    display: block;
  }
  .firstec-table-company th{
    background-color: #0168b7 !important;
    color: #fff;
    border-bottom: solid 1px #000000;
  }
  .firstec-table-company td{
    border-top: solid 1px #fff;
  }
}


/*------------------------------------------------
企業理念
------------------------------------------------*/
.ft-philosophy{
  width:100%;
  max-width: 1200px;
}

.ft-philosophy th {
    font-size:20px;
    font-weight:bold;
    border-bottom:none;
    text-align:left;
    vertical-align:top;
    width:30%;
}

.ft-philosophy td {
     color: #0267b9;
     font-size:25px;
     padding-bottom:5em;
}

.ft-philosophy span {
     font-size:30px;
     font-weight:bold;
}

@media screen and (max-width: 860px) {
  .ft-philosophy th, td {
    width:90%;
    display:block;
  }

  .ft-philosophy th {
    text-align:center;
  }

}

/* 会社沿革*/
.timeline-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.timeline {
  position: relative;
  list-style: none;
  padding: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background: #e0e0e0;
  z-index: 1;
}

.timeline-item {
  margin-bottom: 50px;
}

.timeline-date {
  position: relative;
  z-index: 2;
  margin: 5px;
  font-weight: bold;
  background: #0267b9;
  color: white;
  width: 150px;
  text-align: center;
  line-height: 36px;
  font-weight: bold;
  left: 4px;
  border-radius: 8px;
}

.timeline-content {
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-left: 60px;
}

.timeline-corporate .timeline-content {
  border-top: 3px solid #0267b9;
  padding-top: 15px;
}

/* 事業内容 */
.ft-business {
  width:100%;
  max-width: 1200px;
}

.ft-business th {
    font-size:17px;
    font-weight:bold;
    border-bottom:none;
    text-align:left;
    vertical-align:top;
    width:30%;
}

.ft-business td {
    padding-bottom:50px;
}

@media screen and (max-width: 860px) {
  .ft-business th {
    width:90%;
    display:block;
  }

  .ft-business th {
    text-align: left;
  }

}

/*アクセス*/
.access-map{
  display: flex; /* これで子要素が横並びになる */
  align-items: flex-start; /* 上端を揃える場合 */
}

.access-map th{
  white-space: nowrap;
}

.access-map img{
  width:50%;
  margin:20px;
}

@media screen and (max-width: 860px) {
.access-map{
  display: block;
}
.access-map img{
  width:100%;
}
}

/*代理店様情報*/
.partner li a{
  text-decoration: none;
}


.partner li{
  list-style:none;
  border-bottom:0.5px solid ;
  padding:20px 0;
  width:100%;
}

.partner li a:hover{
  text-decoration: underline;
}