* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-image: url(/images/trainingbg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.6;
}

/* Main animation */
main {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s ease, transform 1s ease;
}

main.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Container */
.container {
  margin: 0 auto;
  margin-top: 51px;
  padding: 20px;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section Title */
.section-title {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #00947a;
  padding: 20px;
  text-align: center;
  font-size: 28px;
  color: #00947a;
  font-weight: bold;
  margin: 40px auto;
  max-width: 30%;
  border-radius: 12px;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInSlideDown 1s ease forwards;
  animation-delay: 0.5s;
}

/* Business Box */
.business-box {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #cccccc;
  padding: 20px;
  margin: 20px auto;
  max-width: 1000px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInSlideDown 1.2s ease forwards;
  animation-delay: 0.8s;
}

/* Business Content */
.business-content {
  font-size: 16px;
  line-height: 1.8;
  margin: 10px;
}

/* Training Container */
.training-container {
  background-color: #ffffff;
  padding: 20px;
  margin: 50px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInSlideDown 1.5s ease forwards;
  animation-delay: 1s;
}

/* Training Title */
.training-title {
  border-bottom: 5px solid #00947a;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInSlideDown 1.7s ease forwards;
  animation-delay: 1.2s;
}

/* Training Sections */
.training-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #dddddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInSlideDown 1.9s ease forwards;
  animation-delay: 1.4s;
}

/* SAP and Java Sections */
.sap-section,
.java-section {
  padding: 20px 30px;
  height: auto;
  display: flex;
  justify-content: space-between;
  background-color: #e0f7fa;
}

.java-section {
  background-color: #f9d8ff;
}

/* Info Section Styling */
.sap-info,
.java-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
}

.sap-info ul,
.java-info ul {
  list-style: none;
  padding: 0;
}

.sap-info li{
  font-size: 13px;
  margin: 0 10px;
  margin-bottom: 8px;
  color: #333;
}

.java-info li {
  font-size: 18px;
  margin: 0 10px;
  margin-bottom: 8px;
  color: #333;
}

/* Logo Section Styling */
.sap-logo,
.java-logo {
  flex: 1;
  text-align: right;
}

.sap-logo img{
  max-width: 90%;
  height: auto;
}
.java-logo img {
  max-width: 110%;
  height: auto;
}

.sap-logo img {
  margin-right: 0;
}

.java-logo img {
  margin-left: -40px;
}

/* Animation keyframes */
@keyframes fadeInSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 95%;
    margin-top: 80px;
  }

  .training-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .sap-logo img,
  .java-logo img {
    max-width: 100%;
    margin: 0;
  }

  .sap-info,
  .java-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 20px;
    max-width: 100%;
  }

  .training-title {
    font-size: 28px;
  }
}
