body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-image: url("/images/servicebg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

h2,
h3 {
  color: #00947a;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

section {
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 1200px;
  margin-bottom: 40px;
}

.title-container {
  margin-bottom: 30px;
}

/* 企業理念セクション */
.policy-content-container {
  text-align: center;
}

.policy-content-container p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 会社概要セクション */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease, transform 1s ease;
}

th,
td {
  text-align: left;
  padding: 16px;
  border: 1px solid #ddd;
}

th {
  font-weight: bold;
  background-color: #f1f1f1;
  color: #00947a;
}

td {
  color: #555;
}

tr:nth-child(even) {
  background-color: rgba(240, 240, 240, 0.8);
}

.loaded h2,
.loaded h3,
.loaded .policy-content-container p,
.loaded table {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .policy-content-container p {
    font-size: 16px;
  }

  h3 {
    font-size: 20px;
  }

  table,
  th,
  td {
    font-size: 9px;
  }
}
