#topics {
  clear: both;
  padding: 60px 3% 100px;
  background: url(../img/topics-bg.jpg) no-repeat center bottom fixed;
  background-size: cover;
  overflow: hidden;
}


.section {
    margin-bottom: 20px;
}

.section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
    max-width: 100%;
    margin: 0px auto;
}
section#company {
    max-width: 1050px;
    margin-bottom: 20px;
}
/* 表示された時に追加されるクラス */
.section.active {
    opacity: 1;
    transform: translateY(0);
}

/*===============================================
    Title Section start
================================================*/

.title-text {
    color: #FFF;
    font-size: 34px;
    letter-spacing: 10px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(../img/main-top.png) no-repeat center center;
    background-size: cover;
    margin-bottom: 80px;
    position: relative;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 40px 20px;
}

.title-content {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    transform: translateX(-100%);
    opacity: 0;
    animation: slideInFromLeft 1s ease-out forwards;
}

.title-icon {
    width: 100px;
    height: 100px;
}

.title-text .main-text {
    font-size: 36px;
    margin: 0;
    letter-spacing: 10px;
}

.title-text small {
    font-size: 14px;
    margin-top: 10px;
    letter-spacing: 2px;
    transform: translateX(100%);
    opacity: 0;
    animation: slideInFromRight 1s ease-out forwards;
    animation-delay: 0.5s; /* 少し遅れて動くと自然です */
}

/* 左から */
@keyframes slideInFromLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 右から */
@keyframes slideInFromRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
   .title-text {
        flex: none;
        height: 150px;
        margin: 0px 0px 0px 0px;
        width: 100%;
        max-width: 100%;
    }
    .title-icon {
    width: 50px;
    height: 50px;
    }
.title-text .main-text {
    font-size: 20px;
}

}

@media screen and (max-width: 480px) {
    .title-text {
        height: 100px;
    }
    .title-text .main-text {
        font-size: 18px;
    }
    .title-text small {
        font-size: 12px;
    }
    .title-icon {
        width: 40px;
        height: 40px;
    }
}

/*================================================
    Title Section end
================================================*/

/*================================================
    privacy Form Styles start
================================================*/

.privacy-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  line-height: 2.6;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #00695c;
  border-left: 6px solid #26a69a;
  padding-left: 12px;
}


.company-info {
  margin-top: 30px;
  padding: 15px;
  background-color: #eefaf8;
  border-left: 4px solid #009688;
  border-radius: 6px;
}
