@charset "UTF-8";

#company {
  padding: 0;
  background: var(--gray);
  overflow: hidden;
}

#company .pageHeader::before {
  content: "COMPANY";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(12rem, 25vw, 35rem);
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}

.companyDetail {
  padding: 5%;
  max-width: 120rem;
  margin: 0 auto;
}
.companyDetail .lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 auto 3em;
  color: var(--black);
}
.gridContents {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.infoCard {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.infoCard .label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: #aaa;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.infoCard .label .labelJp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.05em;
  display: block;
  padding-left: 0.5em;
}
.infoCard .content {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--black);
}
.infoCard .content .sub {
  font-size: 1.4rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

.infoCard.medium {
  grid-column: span 6;
}

.infoCard.full {
  grid-column: span 12;
}

.infoCard.featured {
  grid-column: span 12;
  background: var(--purple);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.infoCard.featured .label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
}

.infoCard.featured .content {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 500;
}
.infoCard.featured .content .sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
  text-align: left;
}

.itemBox {
  padding: 2rem;
  background: #f8f6f3;
  border-radius: 1rem;
  position: relative;
  font-size: 1.5rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 500;
}

.locationGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.locationGrid .itemBox {
  justify-content: flex-start;
}
.locationGrid .itemBox .tag {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  background: var(--orange);
  padding: 0.15em 1em;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.locationGrid .itemBox address {
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.locationGrid .itemBox .gMap {
  width: 100%;
  border-radius: 0.8rem;
  overflow: hidden;
}
.locationGrid .itemBox .gMap iframe {
  width: 100%;
  height: 250px;
  display: block;
}

.businessGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.businessGrid .itemBox {
  overflow: hidden;
}
.businessGrid .itemBox .businessIcon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 12rem;
  height: 12rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}
.businessGrid .itemBox .businessIcon.icon-video {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'%3E%3C/polygon%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'%3E%3C/rect%3E%3C/svg%3E");
}
.businessGrid .itemBox .businessIcon.icon-calendar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 4H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z'%3E%3C/path%3E%3Cpath d='M16 2v4'%3E%3C/path%3E%3Cpath d='M8 2v4'%3E%3C/path%3E%3Cpath d='M3 10h18'%3E%3C/path%3E%3Cpath d='M8 14h.01'%3E%3C/path%3E%3Cpath d='M12 14h.01'%3E%3C/path%3E%3Cpath d='M16 14h.01'%3E%3C/path%3E%3Cpath d='M8 18h.01'%3E%3C/path%3E%3Cpath d='M12 18h.01'%3E%3C/path%3E%3Cpath d='M16 18h.01'%3E%3C/path%3E%3C/svg%3E");
}
.businessGrid .itemBox .tag {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  background: var(--orange);
  padding: 0.3em 1em;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.businessGrid .itemBox p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--black);
}

.officersGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.officersGrid .itemBox .position {
  font-size: 1.4rem;
  color: var(--orange);
  font-weight: 500;
}
.officersGrid .itemBox .name {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--black);
}

.statsRow {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.statCardWrapper {
  background: var(--white);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
}
.statCard {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  flex: 1;
}
.statCard .label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: #aaa;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.statCard .label .labelJp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.05em;
  display: block;
  padding-left: 0.5em;
}
.statCard .itemBox {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
}
.statCard .value {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
}
.statCard .note {
  font-size: 1.2rem;
  color: var(--black);
  margin-top: 0.5rem;
  line-height: 1.6;
  opacity: 0.7;
}

.infoCard.medium .content .itemBox {
  min-height: 10rem;
}

.groupLink {
  color: var(--orange);
  font-weight: 500;
  transition: all 0.3s ease;
}
.groupLink:hover {
  color: var(--purple);
  text-decoration: underline;
}

@media screen and (max-width: 999px) {
  .companyDetail {
    padding: 10% 2rem;
  }
  .companyDetail .lead {
    font-size: 14px;
    margin: 0 auto 1em;
  }
  .gridContents {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .infoCard {
    padding: 2rem;
  }
  .infoCard.featured {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .infoCard.featured .content {
    font-size: 14px;
  }
  .infoCard.featured .content .sub {
    font-size: 12px;
  }
  .itemBox {
    font-size: 14px;
  }
  .locationGrid {
    grid-template-columns: 1fr;
  }
  .businessGrid {
    grid-template-columns: 1fr;
  }
  .businessGrid .itemBox p {
    font-size: 14px;
  }
  .statCard .value {
    font-size: 14px;
  }
  .officersGrid {
    grid-template-columns: 1fr;
  }
  .locationGrid .itemBox address {
    font-size: 14px;
  }
  .locationGrid .itemBox .gMap iframe {
    height: 150px;
  }
  .officersGrid .itemBox .position {
    font-size: 14px;
    white-space: nowrap;
  }
  .statsRow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .statCard {
    padding: 2rem 1.5rem;
  }
}
