html {
  font-size: 62.5%;
}
@media (max-width: 1024px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 40%;
  }
}

/* 会社概要ページのスタイル */
.company-page {
  padding: 8rem 0;
  background-color: #fff;
  min-height: calc(100vh - 10rem);
}

.company-page .container {
  margin-top: 5rem;
}

/* ページヘッダー */
.page-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.page-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--main-color), var(--main-color-light));
}

.page-subtitle {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-top: 2rem;
}

/* 会社情報セクション */
.company-info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 8rem;
}

.company-info-card,
.access-info-card {
  background-color: #fff;
  border-radius: 1.2rem;
  padding: 3rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 0.1rem solid var(--border-color);
}

.company-info-card:hover,
.access-info-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.12);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--main-color-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60%;
  height: 0.3rem;
  background: linear-gradient(90deg, var(--main-color), transparent);
}

/* 情報テーブル */
.info-table {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-row {
  display: flex;
  padding: 1.5rem 0;
  border-bottom: 0.1rem solid #f0f0f0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  flex: 0 0 12rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.5rem;
}

.info-value {
  flex: 1;
  color: var(--text-color);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* アクセス情報 */
.access-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.access-methods {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.access-method {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.access-method:hover {
  background-color: rgba(229, 62, 62, 0.05);
  transform: translateX(0.5rem);
}

.access-icon {
  flex: 0 0 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--main-color), var(--main-color-light));
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
}

.access-details h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

.access-details li {
  padding: 0.5rem 0;
  font-size: 1.4rem;
  color: var(--text-color);
  position: relative;
  padding-left: 2rem;
}

.access-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-weight: 600;
}

/* 地図コンテナ */
.map-container {
  margin-top: 2rem;
}

.map-placeholder {
  background-color: var(--bg-color);
  border: 0.2rem dashed var(--border-color);
  border-radius: 0.8rem;
  padding: 4rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  border-color: var(--main-color-light);
  background-color: rgba(229, 62, 62, 0.02);
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
}

.map-placeholder p {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  font-size: 1.4rem;
  text-decoration: none;
}

/* ビジョンセクション */
.vision-section {
  background: linear-gradient(135deg, var(--bg-color) 0%, #fff 100%);
  padding: 6rem 3rem;
  border-radius: 1.5rem;
  margin-bottom: 8rem;
  position: relative;
  overflow: hidden;
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.vision-item {
  text-align: center;
  padding: 3rem 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.vision-item:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1);
}

.vision-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--main-color), var(--main-color-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.4rem;
}

.vision-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.vision-text {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* CTAセクション */
.company-cta {
  text-align: center;
  padding: 6rem 3rem;
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark) 100%);
  border-radius: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.company-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="white" stroke-opacity="0.1" stroke-width="2" fill="none"/></svg>');
  opacity: 0.3;
}

.company-cta .cta-title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.company-cta .cta-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.3rem;
  background-color: white;
}

.company-cta .cta-text {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.company-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.company-cta .cta-accent-button,
.company-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 3rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.6rem;
}

.company-cta .cta-accent-button {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
  color: white;
}

.company-cta .cta-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 0.2rem solid rgba(255, 255, 255, 0.3);
}

.company-cta .cta-accent-button:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.8rem 2rem rgba(214, 158, 46, 0.4);
}

.company-cta .cta-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-0.3rem);
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .company-info-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .vision-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .company-page {
    padding: 4rem 0;
  }

  .page-title {
    font-size: 3.2rem;
  }

  .company-info-card,
  .access-info-card {
    padding: 2rem;
  }

  .info-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .info-label {
    flex: none;
    font-weight: 700;
    color: var(--main-color-dark);
  }

  .access-method {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .vision-section {
    padding: 4rem 2rem;
  }

  .company-cta {
    padding: 4rem 2rem;
  }

  .company-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .company-cta .cta-title {
    font-size: 2.4rem;
  }

  .page-header {
    margin-bottom: 3rem;
  }

  .section-title::after {
    bottom: -1.5rem;
    left: 16px;
    width: 100%;
    height: 0.45rem;
  }

  .info-label {
    font-size: 2.1rem;
  }

  .info-value {
    font-size: 1.8rem;
  }

  .access-icon {
    width: 4rem;
    margin: 0 auto;
  }

  .access-details {
    margin: 0 auto;
  }

  .access-details h3 {
    font-size: 2rem;
  }

  .access-details li::before {
    display: none;
  }

  .company-info-section {
    margin-bottom: 2rem;
  }

  .vision-item {
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);
  }

  .company-cta .cta-accent-button, .company-cta .cta-button {
    font-size: 2rem;
    justify-content: center;
  }

  .vision-text,
  .map-link {
    font-size: 1.8rem;
  }

  .access-details li {
    font-size: 1.7rem;
  }
}

@media (max-width: 576px) {
  .vision-text {
    font-size: 1.4rem;
  }

  .map-placeholder {
    padding: 3rem 1.5rem;
  }
}