/* ===================================================
   about.css
   会社概要ページ
   corporate-services.css を読み込んだうえで使用
   =================================================== */

/* =============================================
   代表メッセージ
   ============================================= */
.about-message {
  background: #e5ebf6;
  padding: 76px 0 84px;
}

.about-message__container {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
}

.about-message__header {
  margin-bottom: 40px;
}

.about-message__eyebrow {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #4568ac;
  font-weight: 700;
}

.about-message__title {
  margin: 12px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 46px;
  color: #0f43c0;
}

.about-message__content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.about-message__photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.about-message__name {
  margin: 14px 0 0;
  text-align: center;
  font-size: 15px;
  color: #113577;
}

.about-message__name strong {
  font-size: 20px;
  color: #0f43c0;
}

.about-message__text {
  background: #fff;
  border: 1px solid #c5d3eb;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 12px 30px rgba(17, 53, 124, 0.08);
}

.about-message__text p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 2;
  color: #333;
  font-weight: 700;
}

.about-message__text p:last-child {
  margin-bottom: 0;
}

/* =============================================
   会社情報テーブル
   ============================================= */
.about-info {
  background: #dce3f2;
  padding: 76px 0 84px;
}

.about-info__container {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.about-info__header {
  margin-bottom: 40px;
}

.about-info__eyebrow {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #4568ac;
  font-weight: 700;
}

.about-info__title {
  margin: 12px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 46px;
  color: #0f43c0;
}

.about-info__card {
  background: #fff;
  border: 1px solid #c5d3eb;
  border-radius: 20px;
  padding: 8px 0;
  box-shadow: 0 12px 30px rgba(17, 53, 124, 0.08);
  overflow: hidden;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table tr {
  border-bottom: 1px solid #e8eef8;
}

.about-table tr:last-child {
  border-bottom: none;
}

.about-table th,
.about-table td {
  padding: 22px 28px;
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}

.about-table th {
  width: 160px;
  font-weight: 700;
  color: #0f43c0;
  background: #f5f8ff;
  white-space: nowrap;
}

.about-table td {
  color: #333;
  font-weight: 700;
}

/* =============================================
   Googleマップ
   ============================================= */
.about-map {
  background: #e5ebf6;
  padding: 76px 0 84px;
}

.about-map__container {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
}

.about-map__header {
  margin-bottom: 32px;
}

.about-map__eyebrow {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #4568ac;
  font-weight: 700;
}

.about-map__title {
  margin: 12px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 46px;
  color: #0f43c0;
}

.about-map__lead {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #23417f;
}

.about-map__embed {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #c5d3eb;
  box-shadow: 0 12px 30px rgba(17, 53, 124, 0.08);
}

.about-map__embed iframe {
  display: block;
  width: 100%;
  height: 450px;
}

/* アクセスカード */
.about-map__access-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid #c5d3eb;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(17, 53, 124, 0.08);
}

.about-map__access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-map__access-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  background: #edf3ff;
  border: 1px solid #c8d8f3;
  border-radius: 12px;
}

.about-map__access-line {
  font-size: 12px;
  font-weight: 700;
  color: #4568ac;
}

.about-map__access-station {
  font-size: 18px;
  font-weight: 700;
  color: #0f43c0;
}

.about-map__access-time {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 767px) {
  .about-message {
    padding: 52px 0 64px;
  }

  .about-message__container {
    width: calc(100% - 24px);
  }

  .about-message__title {
    font-size: 28px;
  }

  .about-message__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-message__photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .about-message__text {
    padding: 24px 18px;
  }

  .about-message__text p {
    font-size: 14px;
  }

  /* テーブル */
  .about-info {
    padding: 52px 0 64px;
  }

  .about-info__container {
    width: calc(100% - 24px);
  }

  .about-info__title {
    font-size: 28px;
  }

  .about-info__card {
    border-radius: 16px;
  }

  .about-table th,
  .about-table td {
    display: block;
    width: 100%;
    padding: 0 20px;
  }

  .about-table th {
    padding-top: 18px;
    padding-bottom: 4px;
    background: none;
    font-size: 13px;
  }

  .about-table td {
    padding-top: 0;
    padding-bottom: 18px;
    font-size: 14px;
  }

  .about-table tr {
    display: block;
  }

  /* マップ */
  .about-map {
    padding: 52px 0 64px;
  }

  .about-map__container {
    width: calc(100% - 24px);
  }

  .about-map__title {
    font-size: 28px;
  }

  .about-map__lead {
    font-size: 15px;
  }

  .about-map__embed {
    border-radius: 16px;
  }

  .about-map__embed iframe {
    height: 300px;
  }

  .about-map__access-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .about-map__access-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-map__access-item {
    padding: 14px 16px;
  }
}
