.comanyInfo {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--fz18);
  margin-bottom: 9rem;
}
.comanyInfo dt {
  width: 130px;
  padding: 2rem;
  box-sizing: border-box;
  text-align: center;
}
.comanyInfo dd {
  width: calc(100% - 130px);
  padding: 2rem;
  box-sizing: border-box;
}
.comanyInfo dt:nth-of-type(odd),
.comanyInfo dd:nth-of-type(odd) {
  background-color: #eeeeee;
}
.companyHistory {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 9rem;
}
.companyHistory dt {
  border-top: 1px solid var(--pointColor3);

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  width: 200px;
  font-size: var(--fz22);
  font-weight: 600;
  color: var(--pointColor3);
}
.companyHistory dt:nth-last-of-type(1) {
  border-bottom: 1px solid var(--pointColor3);
}
.companyHistory dd {
  display: flex;
  border-top: 1px solid #eeeeee;
  padding: 2rem 0;
  box-sizing: border-box;
  width: calc(100% - 200px);
  font-size: var(--fz18);
}
.companyHistory dd:nth-last-of-type(1) {
  border-bottom: 1px solid #eeeeee;
}
.companyHistory dd.historyGroupBox {
  flex-direction: column;
}
.companyHistory dd .historyGroup {
  display: flex;
}
.companyHistory dd .month {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  box-sizing: border-box;
  font-weight: 600;
}
.companylist {
  display: flex;
  gap: 2rem;
}
.companylist li {
  width: calc(100% / 3);
  text-align: center;
  background-color: #fff;
  border: 1px solid transparent;
  border-image: var(--grade);
  border-image-slice: 1;
  position: relative;
  overflow: hidden;
}
.companylist li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: var(--grade);
  transition: 0.5s;
  z-index: 0;
  opacity: 0;
}
.companylist li a {
  font-size: var(--fz18);
  color: var(--pointColor3);
  font-weight: 500;
  position: relative;
  z-index: 1;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.companylist li a i {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translate(0, -50%);
}
.companylist li:hover a {
  color: #fff;
}
.companylist li:hover a i svg path {
  stroke: #fff;
}
.companylist li:hover::before {
  left: 0;
  opacity: 1;
  animation: gradient-move 2s infinite linear;
}

/* 交通アクセス */
.accessSec .subwayText {
  display: flex;
  align-items: center;
}
.accessSec .subwayText .subway {
  background-color: #d10000;
  padding: 0.5rem 1.5rem;
  box-sizing: border-box;
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
}
.accessSec .subwayText p {
  margin-left: 1rem;
  font-size: var(--fz24);
  font-weight: 600;
}
.accessSec .subwayText .subwayColor {
  color: #d10000;
}
.accessSec .adressText {
  margin: 2rem 0;
  font-size: var(--fz18);
}
.accessSec .googlemap {
  width: 100%;
}
.accessSec .googlemap iframe {
  width: 100%;
}
/* 拠点紹介 */
.officesSec .officesImg {
  text-align: center;
}
.officesSec .officesImg img {
  width: 100%;
}
.officesSec .officesList {
  margin: 5rem 0;
}
.officesSec .officesList li {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.officesSec .officesList .officeBox {
  max-width: 264px;
  width: 100%;
  margin-bottom: 2rem;
}
.officesSec .officesList .officeBox img {
  display: block;
  width: 100%;
}
.officesSec .officesList .officeBox p {
  margin-top: 0.2rem;
  background-color: var(--pointColor3);
  font-size: var(--fz18);
  color: #fff;
  padding: 0.4rem 1rem;
  text-align: center;
}

.officesSec .table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 7rem;
}
.officesSec .table th,
.officesSec .table td {
  text-align: center;
  padding: 12px 8px;
  position: relative;
}
.officesSec .table th {
  background: rgba(0, 78, 162, 0.1);
  border-bottom: 1px solid #e5e5e5;
}
.officesSec .table td {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}
.tabs {
  width: 100%;
  border-radius: 8px;
  background: #fafafa;
  margin-bottom: 10rem;
}
.tabButtons {
  display: flex;
  width: 100%;
}
.tabButtons li {
  width: calc(100% / 4);
  padding: 1.5rem 1.2rem;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 0.5rem 0.5rem 0 0;
  border: 1px solid #bdbdbd;
  border-bottom: none;
  background: #fafafa;
  transition: background 0.3s;
  color: var(--pointColor3);
  font-weight: 600;
  text-align: center;
}
.tabButtons li.active {
  background: #e5edf6;
  border: none;
}
.tabButtons li:hover {
  background: rgba(0, 78, 162, 0.276);
}
.tabContent {
  padding: 1.6rem;
  box-sizing: border-box;
  background: #e5edf6;
  border-radius: 0 0 0.5rem 0.5rem;
}
.tab {
  display: none;
  padding: 2rem;
  background: #fff;
}

.tab.active {
  display: block;
}
.tabGoogleMap {
  width: 100%;
}
.tabGoogleMap iframe {
  width: 100%;
}
.tabInfo {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}
.tabInfo li {
  display: flex;
  gap: 2rem;
}
.tabInfo li .tabInfoTitle {
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--pointColor3);
}
/* 台湾昵帕有限公司 */
.overseasSec .overseasBox {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}
.overseasSec .overseasBox .overseasBoxImgarea {
  width: 500px;
}
.overseasSec .overseasBox .overseasBoxTextarea {
  width: calc(100% - 500px);
}
.overseasSec .overseasBox .overseasBoxImgarea img {
  display: block;
  max-width: 100%;
}
.overseasSec .overseasBox p {
  font-size: var(--fz18);
}
.overseasSec .overseasBox .overseasSiteList {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.overseasSec .overseasBox .overseasSiteList li {
  width: calc(100% / 3);
}
.overseasSec .overseasBox .overseasSiteList a {
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  font-size: var(--fz20);
  font-weight: 600;
  color: var(--pointColor3);
  border: 1px solid var(--pointColor3);
  border-radius: 50px;
  padding: 1rem 2rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.overseasSec .overseasBox .overseasSiteList a:hover {
  background-color: var(--pointColor3);
  color: #fff;
  transform: scale(1.05);
}
.overseasSec .overseasBox .overseasSiteList a img {
  margin-left: 0.5rem;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}
.overseasSec .overseasBox .overseasSiteList a:hover img {
  transform: rotate(90deg);
  filter: invert(1);
}
@media screen and (max-width: 1080px) {
  .overseasSec .overseasBox {
    flex-wrap: wrap;
  }
  .overseasSec .overseasBox .overseasBoxTextarea {
    width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .comanyInfo dt,
  .comanyInfo dd {
    padding: 1.2rem;
  }
  .comanyInfo dt {
    width: 120px;
  }
  .comanyInfo dd {
    width: calc(100% - 120px);
  }
  .companyHistory dt,
  .companyHistory dd {
    width: 100%;
    padding: 1.2rem;
  }
  .companyHistory dt {
    justify-content: flex-start;
    border-top: none;
  }
  .companyHistory dd {
    border-bottom: 1px solid var(--pointColor3);
  }
  .companyHistory dt:nth-last-of-type(1) {
    border-bottom: none;
  }
  .companyHistory dd .month {
    align-items: flex-start;
    width: 40px;
    margin-right: 1rem;
  }
  .officesSec .officesList li {
    gap: 1.2rem;
  }
  .officesSec .officesList .officeBox p {
    font-size: var(--fz16);
  }
  .tabInfo {
    flex-wrap: wrap;
  }
  .companylist {
    flex-direction: column;
  }
  .companylist li {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .officesSec .officesList .officeBox p {
    font-size: var(--fz14);
  }
  .overseasSec .overseasBox .overseasSiteList {
    gap: 1rem;
  }
  .overseasSec .overseasBox .overseasSiteList li {
    width: calc(100% / 3 - 1rem);
  }
}
