/* 会社概要（page-about.php） */
.about-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 5% 72px;
}

.about-sec + .about-sec {
  margin-top: 56px;
}

.about-ttl {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--main-color, #0058A2);
  color: var(--accent-color, #1F3663);
  font-size: 24px;
  font-weight: 700;
}

.about-table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  background: #fff;
}

.about-table th,
.about-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #DCE3EA;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.about-table th {
  width: 9em;
  background: #F0F8FF;
  color: var(--accent-color, #1F3663);
  font-weight: 700;
}

.about-table a {
  color: var(--main-color, #0058A2);
  text-decoration: underline;
}

.about-list {
  margin: 0;
  padding-left: 1.2em;
}

.about-list li {
  list-style: disc;
}

.about-rep {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 20px;
}

.about-rep img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-rep-name {
  color: #555;
  font-size: 14px;
}

.about-rep-name b {
  display: block;
  color: var(--accent-color, #1F3663);
  font-size: 22px;
}

.about-rep-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.9;
}

.about-rep > div {
  flex: 1;
  min-width: 0;
}

.about-rep-table {
  margin-top: 16px;
  border-top: 1px solid #DCE3EA;
}

.about-rep-table th {
  width: 5em;
}

#representative {
  scroll-margin-top: 130px;
}

@media only screen and (max-width: 767px) {
  .about-inner {
    padding: 32px 16px 48px;
  }

  .about-ttl {
    font-size: 20px;
  }

  .about-table th,
  .about-table td {
    display: block;
    width: auto;
    padding: 10px 12px;
    font-size: 14px;
  }

  .about-table th {
    border-bottom: 0;
  }

  .about-rep {
    flex-direction: column;
    gap: 16px;
  }

  .about-rep img {
    width: 96px;
    height: 96px;
  }

  /* 代表の項目は短いので、スマホでも横並びのまま */
  .about-rep-table th,
  .about-rep-table td {
    display: table-cell;
    border-bottom: 1px solid #DCE3EA;
    font-size: 13px;
  }

  .about-rep-table th {
    width: 4em;
  }

  #representative {
    scroll-margin-top: 90px;
  }
}
