@charset "UTF-8";
/* ==========================================================================
   会社概要（company.php）
   ========================================================================== */

/* 経営理念＋ごあいさつ */
.hgw-philosophy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.hgw-philosophy__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.hgw-philosophy__head .heading__en { margin-bottom: -16px; }
.hgw-philosophy__ttl {
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.hgw-philosophy__text { font-size: 1.7rem; }
.hgw-message {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding: 72px 96px;
  background: #fff;
  border-radius: 32px;
}
.hgw-message__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.hgw-message__en { line-height: 1.3; }
.hgw-message__text {
  font-size: 1.6rem;
  line-height: 2.1;
  text-wrap: pretty;
}
.hgw-message__sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-top: 8px;
}

@media (max-width: 896px) {
  .hgw-philosophy { gap: 40px; }
  .hgw-philosophy__ttl { font-size: 2.6rem; }
  .hgw-message { padding: 48px 32px; border-radius: 24px; }
}
@media (max-width: 639px) {
  .hgw-philosophy__ttl { font-size: 2.2rem; }
  .hgw-philosophy__text { font-size: 1.5rem; text-align: left; }
  .hgw-message { padding: 32px 20px; }
  .hgw-message__text { font-size: 1.5rem; }
}

/* 会社情報（table-basic の罫線・余白を元データに合わせる） */
.hgw-profile {
  border-top: 2px solid #096fc8;
}
.hgw-profile th,
.hgw-profile td {
  padding: 20px 28px;
  border: 0;
  border-bottom: 1px solid #C9DCEB;
  vertical-align: top;
}
.hgw-profile th {
  width: 220px;
  background: #F3F9FE;
}

@media (max-width: 639px) {
  .hgw-profile th,
  .hgw-profile td { padding: 14px 16px; }
  .hgw-profile th { width: 110px; }
}

/* アクセス */
.hgw-access__map {
  height: 440px;
  border-radius: 16px;
}

@media (max-width: 639px) {
  .hgw-access__map { height: 300px; }
}

/* 沿革 */
.hgw-history {
  display: flex;
  flex-direction: column;
  margin-left: 120px;
  border-left: 2px solid #019dea;
}
.hgw-history__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 0 40px 40px;
}
.hgw-history__item--now { padding-bottom: 8px; }
.hgw-history__dot {
  position: absolute;
  left: -8px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #096fc8;
}
.hgw-history__item--now .hgw-history__dot { background: #FFC93C; }
.hgw-history__year {
  position: absolute;
  left: -150px;
  top: 0;
  width: 120px;
  font-size: 2.6rem;
  text-align: right;
}

@media (max-width: 639px) {
  .hgw-history { margin-left: 72px; }
  .hgw-history__item { padding-left: 24px; }
  .hgw-history__year { left: -88px; width: 64px; font-size: 1.8rem; }
}
