/* コンテンツエリア用のスタイル - Lab8 */
.contents-area {
  padding: 100px 0;
  position: relative;
  background-color: #f9f9f9;
}

.contents-area__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.contents-area__title {
  margin-bottom: 60px;
}

.contents-area__flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.contents-area__left,
.contents-area__right {
  flex: 1;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contents-area__subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
  padding-left: 15px;
}

.contents-area__subtitle:before {
  content: "";
  width: 5px;
  height: 24px;
  background: linear-gradient(to bottom, #0078d7, #00a1ff);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.contents-area__list {
  list-style: none;
  padding: 0;
}

.contents-area__item {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.contents-area__item:last-child {
  border-bottom: none;
}

.contents-area__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
  padding: 5px 0;
}

.contents-area__link:hover {
  color: #0078d7;
}

.contents-area__link i {
  color: #0078d7;
  transition: all 0.3s;
}

.contents-area__link:hover i {
  transform: translateX(5px);
}

.contents-area__sitemap-btn {
  display: inline-block;
  background: linear-gradient(to right, #0078d7, #00a1ff);
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.contents-area__sitemap-btn:hover {
  background: linear-gradient(to right, #006bc0, #0095eb);
}

.contents-area__sitemap-btn i {
  margin-left: 8px;
  transition: all 0.3s;
}

.contents-area__sitemap-btn:hover i {
  transform: translateX(5px);
}

@media screen and (max-width: 768px) {
  .contents-area {
    padding: 60px 0;
  }
  
  .contents-area__flex {
    flex-direction: column;
  }
  
  .contents-area__left,
  .contents-area__right {
    width: 100%;
    margin-bottom: 30px;
  }
}
