/* --------------------------------------
 * About US - Base Styles (PC/Common)
 * -------------------------------------- */

.about-banner {
  margin-bottom: 50px;
  padding: 0;
}

.about-us {
  width: 100%;
  height: 316px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.about-banner__title {
  font-family: 'Hiragino Sans', sans-serif;
  font-size: 60px;
  line-height: 75px;
  font-weight: normal;
  letter-spacing: -0.6px;
  color: #ffffff;
  text-align: center;
  opacity: 1;
  position: relative;
  z-index: 2;
  margin: 0;
}

/* --------------------------------------
 * 理事長ご挨拶セクション 
 * -------------------------------------- */

.about-container {
  max-width: 1266px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-greeting-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-greeting {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 100px;
}

.section-subtitle {
  display: block;
  font-size: 16px;
  font-weight: normal;
  margin-top: 5px;
}

.about-greeting__content {
  display: grid;
  grid-template-columns: 412px 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.about-greeting__image {
  max-width: 100%;
}

.about-greeting__text {
  padding: 0;
  position: relative;
}

.about-greeting__title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 30px;
  padding-bottom: 15px;
  color: rgba(67, 103, 136, 1);
}

.about-greeting__message {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(67, 103, 136, 1);
}

.about-greeting__signature {
  margin-top: 40px;
  margin-right: 20px;
}

.about-greeting__position {
  font-size: 24px;
  color: rgba(67, 103, 136, 1);
  margin-bottom: 5px;
  font-weight: 300;
}

.about-greeting__name {
  font-size: 24px;
  font-weight: 500;
  color: rgba(67, 103, 136, 1);
}

.signature-wrap {
  display: flex;
  justify-content: flex-end;
}

.page-title::after {
  width: 220px;
}

.about-overview .page-title::after {
  width: 150px;
}

.about-access .page-title::after {
  width: 150px;
}

.about-timeline .page-title::after {
  width: 150px;
}

.about-overview__table .flex {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.about-overview__table .flex > .role-label {
  flex: 0 0 100px;
  min-width: 50px;
  max-width: 100px;
  font-weight: 300;
  display: inline-block;
  box-sizing: border-box;
}

.about-overview__table .flex > .role-name {
  flex: 1 1 auto;
  word-break: break-word;
}

/* --------------------------------------
 * 組合概要/主な事業（統合テーブル）
 * -------------------------------------- */
.about-overview {
  padding: 80px 0;
  background: #fff;
}

.about-overview__table-wrap {
  margin: 70px auto 80px;
}

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

.about-overview__table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.about-overview__table tr:last-child {
  border-bottom: none;
}

.about-overview__table tr:nth-child(even) {
  background-color: rgba(0, 86, 174, 0.01);
}

.about-overview__table tr:nth-child(odd) {
  background-color: rgba(0, 86, 174, 0.06);
}

.about-overview__table th {
  padding: 15px 20px;
  color: rgba(67, 103, 136, 1);
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

.about-overview__table td {
  width: 75%;
  color: rgba(67, 103, 136, 1);
  padding: 15px 20px;
  font-weight: 300;
  font-size: 24px;
  line-height: 2;
  vertical-align: top;
}

.about-overview__table td ol {
  padding-left: 30px;
  list-style: decimal;
  font-size: 22px;
  color: rgba(67, 103, 136, 1);
  font-weight: 300;
}

.about-overview__table tr.business-section-title-row {
  background-color: rgba(0, 86, 174, 1);
  border-bottom: 2px solid #ffffff;
}

.about-overview__table tr.business-section-title-row th {
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  color: #ffffff;
  border-right: none;
}

.about-overview__table tr.business-row td {
  padding: 10px 20px;
}

.about-overview__table tr.business-row td.num {
  width: 50px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.about-overview__table tr.business-row td:last-child {
  width: auto;
  border-right: none;
}

.about-overview__table tr:nth-child(3) td,
.about-overview__table tr:nth-child(4) td,
.about-overview__table tr:nth-child(5) td {
  font-weight: 500;
  font-family: 'Noto Sans', sans-serif;
  text-align: left;
  vertical-align: top;
  padding: 15px 20px;
  width: 25%;
}

/* --------------------------------------
 * 沿革セクション (タイムライン) スタイル - PC版
 * -------------------------------------- */

.about-timeline {
  padding: 80px 0;
}

.timeline-container {
  max-width: 1266px;
  margin: 0 auto;
  padding: 80px 20px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.timeline-date {
  display: flex;
  width: 250px;
  padding-right: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(67, 103, 136, 1);
  flex-shrink: 0;
  margin-right: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 0 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.timeline-year {
  font-size: 24px;
  font-weight: 400;
}

.timeline-month {
  font-size: 24px;
  font-weight: 400;
  padding-top: 0;
  grid-column: 2;
}

.timeline-month span {
  display: block;
}

/* マーカーと縦線 */
.timeline-marker-line {
  width: 2px;
  background-color: #ddd;
  flex-shrink: 0;
  position: relative;
  align-self: stretch;
  margin-top: 6px;
  top: 10px;
  margin-bottom: -25px;
}

.timeline-item:last-child .timeline-marker-line {
  height: 6px;
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: rgba(67, 103, 136, 1);
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  flex-grow: 1;
  padding-left: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.6;
  color: rgba(67, 103, 136, 1);
}

.timeline-content p {
  margin: 0 0 5px 0;
}
.timeline-content p:last-child {
  margin-bottom: 0;
  font-weight: 400;
  color: rgba(67, 103, 136, 1);
  font-size: 24px;
}

/* --------------------------------------
 * アクセスセクション (Google Map)
 * -------------------------------------- */

.about-access {
  margin: 80px 0 200px;
  background: #fff;
}

.access-address {
  max-width: 975px;
  margin: 0 auto 10px;
  padding: 0 15px;
  text-align: left;
  color: rgba(67, 103, 136, 1);
  font-size: 16px;
  line-height: 1.5;
}

.access-address p {
  margin: 0;
}

.access-address .map-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}

.access-map-container {
  max-width: 975px;
  margin: 0 auto;
}

.access-map-container iframe {
  border: 0;
  width: 100%;
  max-width: 975px;
  height: 615px;
  display: block;
  margin: 0 auto;
}

/* 交通アクセス情報 */
.access-info {
  max-width: 975px;
  margin: 30px auto 0;
  padding: 0 15px;
}

.access-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.access-info li {
  display: flex;
  color: rgba(67, 103, 136, 1);
  list-style: none;
}

.access-info li:last-child {
  margin-bottom: 0;
}

.access-icon {
  width: 58px;
  height: 68px;
  display: flex;
  margin-right: 30px;
  flex-shrink: 0;
}

.access-info p {
  margin: 0;
  line-height: 1.6;
}

/* アクセス詳細 */
.access-details p {
  position: relative;
  padding-left: 30px;
  font-size: 20px;
  font-weight: 300;
}

.access-details p + p {
  margin-top: 5px;
}

.access-details p::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(67, 103, 136, 1);
}

li.train-access-group {
  margin-left: 79px;
}

/* responsive */

@media (max-width: 1222px) {
  .about-greeting__message {
    text-align: left;
    font-size: 18px;
  }
}

@media (max-width: 1000px) {
  .about-greeting {
    padding: 50px 0;
  }
  .about-greeting__content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  .about-greeting__image {
    max-width: 300px;
    margin: 0 auto;
  }
  .about-greeting__title {
    border-bottom: none;
    padding-bottom: 0;
  }
  .about-greeting__signature {
    text-align: center;
    margin-top: 30px;
  }
}

/* --- 875px --- */
@media (max-width: 875px) {
  .about-overview__table th {
    font-size: 20px;
  }
  .about-overview__table td {
    font-size: 18px;
  }
}

/* --- 810px --- */
@media (max-width: 810px) {
  .timeline-container {
    padding: 50px 15px;
  }
  .timeline-item {
    margin-bottom: 15px;
  }
  .timeline-date {
    padding-right: 15px;
    width: 150px;
    padding-top: 5px;
    padding-bottom: 5px;
    overflow: hidden;
  }
  .timeline-year {
    font-size: 16px;
  }
  .timeline-month {
    font-size: 16px;
    display: block;
    padding-left: 0;
  }
  .timeline-marker-line {
    width: 2px;
    background-color: #ddd;
    margin: 0 15px 0 20px;
    top: 6px;
    position: relative;
    align-self: stretch;
    margin-bottom: -15px;
  }
  .timeline-item:last-child .timeline-marker-line {
    height: 6px;
    margin-bottom: 0;
  }
  .timeline-content {
    padding-left: 20px;
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .timeline-dot {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-color: rgba(67, 103, 136, 1);
    border-radius: 50%;
    z-index: 2;
  }
  .timeline-content p:last-child {
    margin-bottom: 0;
    font-weight: 400;
    color: rgba(67, 103, 136, 1);
    font-size: 16px;
  }
  .about-overview__table td ol {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* Banner */
  section.about-banner {
    margin-bottom: 30px;
  }
  .about-us {
    height: 160px;
  }
  .about-banner__title {
    font-size: 36px;
  }

  /* Greeting & Base */
  .about-greeting {
    padding: 50px 0;
  }
  .about-container {
    padding: 0 15px;
  }
  .about-greeting__content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  .about-greeting__image {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    height: 350px;
    overflow: hidden;
  }
  .about-greeting__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-greeting__title {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0;
    text-align: center;
    font-size: 16px;
  }
  .about-greeting__signature {
    text-align: center;
    margin-top: 30px;
  }
  .about-greeting__message {
    text-align: left;
    font-size: 16px;
  }

  /* Access */
  .about-access {
    padding: 50px 0;
  }
  .access-map-container iframe {
    height: 300px;
  }
  li.train-access-group {
    margin-left: 49px;
  }
  .access-details p {
    font-size: 13px;
  }
  .access-info li {
    font-size: 15px;
  }
  .access-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }

  /* Overview & Timeline */
  .about-overview {
    padding: 0;
    background: #fff;
  }
  .about-timeline {
    padding: 0;
  }
  .about-overview__table .flex {
    display: flex;
    align-items: flex-start;
    gap: 25px;
  }
}

/* --- 560px --- */
@media (max-width: 560px) {
  /* Overview Table */
  .about-overview__table th {
    font-size: 16px;
  }
  .about-overview__table td {
    font-size: 14px;
  }
  .about-overview__table td ol {
    padding-left: 18px;
  }

  /* Timeline */
  .timeline-container {
    padding: 50px 15px;
  }
  .timeline-item {
    margin-bottom: 15px;
  }
  .timeline-date {
    width: 80px;
    padding-right: 15px;
    margin-right: 5px;
    flex-direction: column;
  }
  .timeline-year {
    font-size: 14px;
  }
  .timeline-month {
    font-size: 14px;
    padding-left: 0;
  }
  .timeline-marker-line {
    margin: 0 10px 0 15px;
    top: 10px;
    margin-bottom: -14px;
  }
  .timeline-item:last-child .timeline-marker-line {
    height: 6px;
    margin-bottom: 0;
  }
  .timeline-dot {
    top: 5px;
    width: 12px;
    height: 12px;
  }
  .timeline-content {
    padding-left: 20px;
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .about-overview__table td ol {
    font-size: 14px;
  }
}

/* --- 530px --- */
@media (max-width: 530px) {
  .access-details p::before {
    width: 16px;
    height: 16px;
  }
  .about-access {
    padding: 50px 0;
  }
  .access-map-container iframe {
    height: 300px;
  }
  li.train-access-group {
    margin-left: 9px;
  }
  .access-details p {
    font-size: 10px;
    padding-left: 20px;
    overflow-wrap: anywhere;
  }
  .access-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  .about-overview__table td ol {
    padding-left: 30px;
    list-style: decimal;
    color: rgba(67, 103, 136, 1);
    font-weight: 300;
  }
  .about-greeting__position {
    font-size: 18px;
  }
  .about-overview__table .flex > .role-label {
    flex: 0 0 70px;
    min-width: 70px;
  }
}
