/* styles.css */
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* メインコンテナ */
.information-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

section {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
}

/* 会社概要テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.info-table th {
  width: 25%;
  text-align: left;
  color: #2c3e50;
  background-color: #f8f9fa;
}

.info-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-table li {
  margin-bottom: 0.5rem;
}

/* 代表メッセージ */
.message-content {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

.message-content p {
  margin-bottom: 1.5rem;
}

/* 沿革 */
.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.history-table th {
  width: 30%;
  text-align: left;
  color: #2c3e50;
}

/* アクセス */
.access-content {
  margin-top: 1rem;
}

.access-info h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.access-info p {
  margin-bottom: 1rem;
}

.transport {
  font-weight: bold;
  color: #2c3e50;
}

/* 戻るボタン */
.back-button-container {
  text-align: center;
  margin-top: 60px;
}

.back-button {
  display: inline-block;
  padding: 15px 40px;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background: #0052a3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding: 0.5rem 1rem;
  }

  .history-table th,
  .history-table td {
    display: block;
    width: 100%;
  }

  .message-content br {
    display: none;
  }
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.button {
  width: 100px;
  padding: 15px;
  text-align: center;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background 0.3s;
}

.button:hover {
  background-color: #0056b3;
}

.button-main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
  background-color: #f5f5f5;
}