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

}

.section {
    margin-bottom: 20px;
    background-color: transparent;
    box-shadow: none;
    padding: 40px 20px;
}

.section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
    max-width: 100%;
    margin: 0px auto;
}
section#workflow{
    max-width: 1050px;

}
/* 表示された時に追加されるクラス */
.section.active {
    opacity: 1;
    transform: translateY(0);
}
.section h2 {
    font-size: 1.8rem;
    background: linear-gradient(145deg, #f4f8f7, #e6f0ec);
    border-left: 6px solid #2a7365;
    padding-left: 12px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/*===============================================
    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
================================================*/

/*================================================
    workflow Form Styles start
================================================*/



/* ============================
   STEP FLOW
   ============================ */
.section-flow {
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-3px);
}

.step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #009688;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
  display: flex;
  align-items: end;
}

.step-title .icon {

  mask-size: contain;
}



.step-note {
  font-size: 0.95rem;
  color: #555;
}

.step-caution {
  font-size: 0.9rem;
  color: #c62828;
  margin-top: 8px;
}

.step-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: #009688;
  margin: 10px 0;
}

/* ============================
   DOCUMENT LIST
   ============================ */
.step-docs {
  margin: 10px 0 0 20px;
  padding: 0;
  list-style: none;
}

.step-docs li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;
  font-size: 0.95rem;
}

.step-docs li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #009688;
  font-weight: bold;
}

/* ============================
   ABOUT FLOW
   ============================ */
.about-flow {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.about-flow-title {
  margin-bottom: 30px;
}

.about-flow-note {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #444;
}

.about-flow-content-main {
  background: #e0f2f1;
  border-left: 4px solid #009688;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.about-flow-content-note {
  margin-top: 20px;
  font-size: 0.9rem;
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 15px;
  border-radius: 8px;
}

.about-flow-content-note .note-title {
  margin-bottom: 10px;
  font-weight: 600;
  color: #e65100;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .step {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-icon {
    margin-bottom: 10px;
  }
  .step-title {
    font-size: 1rem;
  }
  #topics h1 {
    font-size: 1.6rem;
  }
  #topics h2 {
    font-size: 1.2rem;
  }
  #topics h3 {
    font-size: 1.1rem;
  }
}
.icon {
  width: 50px;
  height: 50px;
  display: inline-block;
  position: relative;
  filter: invert(45%) sepia(91%) saturate(7482%) hue-rotate(204deg) brightness(101%) contrast(101%);


}
.step-docs strong {
    display: inline-block;
    width: 20px;
    font-weight: bold;
    color: #ffffff;
    border: 0px solid;
    border-radius: 50px;
    background: orangered;
    text-align: center;
}
/* 本体の <img> は非表示にする（altは親要素に残るのでSEO的にもOK） */

section h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #00695c;
    border-left: 6px solid #26a69a;
    padding-left: 12px;
    line-height: 2.6;
    background: #ffff;
    letter-spacing: 14px;

}
