@charset "UTF-8";
/* ===== Page Hero ===== */
.page-hero {
  aspect-ratio: 1920/315;
}
@media screen and (max-width: 768px) {
  .page-hero {
    aspect-ratio: 480/177;
  }
}

/* ===== 汎用コンテナ ===== */
.container {
  max-width: calc(1100px + 80px);
  margin: 0 auto;
  padding: 0 40px;
}
@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ===== 共通見出し ===== */
.company-heading {
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .company-heading {
    font-size: 22px;
  }
}
@media screen and (max-width: 480px) {
  .company-heading {
    font-size: 20px;
  }
}

/* ===== 装飾画像（会社概要・沿革共通） ===== */
.company-bg {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 2090px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  max-width: 110%;
}
.company-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media screen and (max-width: 480px) {
  .company-bg {
    display: none;
  }
}

/* ===== 会社概要テーブル ===== */
.section-company-info {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.section-company-info .container {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .section-company-info {
    padding: 80px 0;
  }
}
@media screen and (max-width: 480px) {
  .section-company-info {
    padding: 60px 0;
  }
}

.company-table {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 4px solid #fff;
}
.company-table th,
.company-table td {
  padding: 20px 24px;
  font-size: 15px;
  vertical-align: top;
}
@media screen and (max-width: 768px) {
  .company-table th,
  .company-table td {
    font-size: 14px;
    padding: 16px 16px;
  }
}
@media screen and (max-width: 480px) {
  .company-table th,
  .company-table td {
    font-size: 13px;
    padding: 14px 12px;
  }
}
.company-table th {
  width: 180px;
  text-align: center;
  white-space: nowrap;
  font-weight: 500;
  background: #EDEDEE;
  vertical-align: middle;
}
@media screen and (max-width: 768px) {
  .company-table th {
    width: 120px;
  }
}
@media screen and (max-width: 480px) {
  .company-table th {
    width: 90px;
  }
}
.company-table td {
  color: #555;
  line-height: 1.8;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .company-table .br-pc {
    display: none;
  }
}

/* ===== アクセス ===== */
.section-access {
  padding: 0 0 120px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .section-access {
    padding: 0 0 80px;
  }
}

.access-wrap {
  display: flex;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .access-wrap {
    flex-direction: column;
    gap: 24px;
  }
}

.access-map {
  flex: 0 0 50%;
  min-height: 240px;
  border-radius: 4px;
  overflow: hidden;
}
.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
}
@media screen and (max-width: 768px) {
  .access-map {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 220px;
    border-radius: 0;
  }
  .access-map iframe {
    min-height: 220px;
  }
}
@media screen and (max-width: 480px) {
  .access-map {
    min-height: 200px;
  }
  .access-map iframe {
    min-height: 200px;
  }
}

.access-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .access-info {
    margin: auto;
  }
}
@media screen and (max-width: 480px) {
  .access-info {
    margin: 0;
  }
}

.access-address {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .access-address {
    font-size: 14px;
  }
}
@media screen and (max-width: 480px) {
  .access-address {
    font-size: 13px;
  }
}

.access-station-label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.access-station {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
@media screen and (max-width: 768px) {
  .access-station {
    font-size: 13px;
  }
}

/* ===== 沿革 ===== */
.section-history {
  padding: 100px 0 320px;
  position: relative;
  overflow: hidden;
}
.section-history .company-bg {
  transform: translateX(-50%) scaleX(-1);
  bottom: 0;
}
.section-history .container {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .section-history {
    padding: 60px 0 200px;
  }
}

.history-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.history-timeline::before {
  content: "";
  position: absolute;
  left: 192px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #39EAE4, #6B8BE0, #A855C8);
  border-radius: 2px;
}
@media screen and (max-width: 768px) {
  .history-timeline::before {
    left: 148px;
  }
}
@media screen and (max-width: 480px) {
  .history-timeline::before {
    left: 118px;
  }
}

.history-year-group {
  margin-bottom: 40px;
}
.history-year-group:last-child {
  margin-bottom: 0;
}

.history-year {
  font-size: 28px;
  font-weight: 500;
  color: #77BBC4;
  width: 180px;
  margin-bottom: 8px;
  text-align: right;
}
@media screen and (max-width: 768px) {
  .history-year {
    width: 140px;
    font-size: 24px;
  }
}
@media screen and (max-width: 480px) {
  .history-year {
    width: 100px;
  }
}

.history-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 48px;
  margin-bottom: 8px;
}
.history-row:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .history-row {
    grid-template-columns: 140px 1fr;
    gap: 0 36px;
  }
}
@media screen and (max-width: 480px) {
  .history-row {
    grid-template-columns: 100px 1fr;
  }
}

.history-month {
  font-size: 16px;
  font-weight: 500;
  color: #77BBC4;
  text-align: right;
  padding-top: 2px;
}
@media screen and (max-width: 768px) {
  .history-month {
    font-size: 15px;
  }
}

.history-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}
@media screen and (max-width: 768px) {
  .history-desc {
    font-size: 14px;
  }
}