/*---共通コンテナ---*/
.container-main {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 8px gray;
}

.ats-center-container {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

/*---aタグ 共通---*/
.link-main {
  display: flex;
  background-color: none;
  border: #000 solid 1.5px;
  color: #000;
  transition: 0.5s;
  text-decoration: none;
  border-radius: 50px;
  padding: 5px 10px;

  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  align-items: center;
  cursor: pointer;
}

.link-main:hover {
  background-color: rgba(0, 0, 0, 0.15); /*ちょっとだけ暗く*/
}

/*---共通ヘッダーライン---*/
.main-hr {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  background: #525252;
  font-weight: thin;
  height: 1.5px;
}

.sub-hr {
  background: #525252;
  font-weight: thin;
  height: 1.5px;
}

/*===================*/
/*---トップページ用---*/
/*===================*/

/*コンテナ等*/
.top-container {
  margin-top: 0;
  /*height: calc(100vh - 30px);*/
  height: 100vh;
  width: 100%;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.top-container img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.top-container .ats-center-container {
  margin-top: 25px;
}

.ats-top-circles {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

/*テキスト等*/
.top-title {
  margin: 50px 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000000;
  text-align: center;
}

.top-img-text {
  position: relative;
}

.top-background {
  width: 100%;
  height: 90vh;
  background-color: #525252;
}

/*トップ画像の上に表示するテキスト*/
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  width: 100%;
}

/* Animated heading */
.animated-heading {
  font-size: 100px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.3s;
}

/* Animated subheading */
.animated-subheading {
  font-size: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  margin: 10px 0 0 0;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.6s;
}

/* Keyframe animation for fade in and slide up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .animated-heading {
    font-size: 32px;
  }

  .animated-subheading {
    font-size: 16px;
  }
}

/*注目作品*/
.scroll_content_container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.scroll_content {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px;
  flex: 1;
}

.scroll_content::-webkit-scrollbar {
  height: 10px;
}
.scroll_content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}
.scroll_content::-webkit-scrollbar-button {
  display: none;
}
.scroll_content::-webkit-scrollbar-track-piece:start,
.scroll_content::-webkit-scrollbar-track-piece:end {
  background-color: transparent;
}

.scroll_content_list {
  width: max-content;
  height: auto;
  display: flex;
  gap: 2rem;
}

.scroll_content_list::after {
  content: "";
  width: 150px;
  display: block;
  position: relative;
  flex: 0 0 auto;
}

.scroll_content_list_item {
  color: #000;
  width: 250px;
  flex: 0 0 auto;
  border-radius: 10px;
  transition: 0.3s;
  background-color: #ffffff;
  box-shadow: 0 0 8px gray;
  padding: 8px;
}

.scroll_content_list_item a {
  text-decoration: none;
  color: #000;
}

.scroll_content_list_item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.scroll_content_list_item h3 {
  font-size: 1rem; /* 1.25remから1remに縮小 */
  margin: 0.4rem 0;
}

.scroll_content_list_item p {
  font-size: 0.75rem; /* 0.9remから0.75remに縮小 */
  margin-bottom: 0;
}

.scroll_content_list_item:hover {
  scale: 1.02;
  opacity: 0.8;
}

/* スクロールボタンのスタイル */
.scroll_content_scroll_btn {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #525252;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  color: #525252;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll_content_scroll_btn:hover {
  background-color: #525252;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.scroll_content_scroll_btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .scroll_content_list {
    width: max-content;
  }

  .scroll_content_list_item {
    width: 200px;
  }

  .scroll_content_list::after {
    width: 1rem; /* スクロール後の余白もモバイルサイズに合わせて調整 */
  }

  .scroll_content_scroll_btn {
    width: 40px;
    height: 40px;
  }

  .scroll_content_scroll_btn svg {
    width: 18px;
    height: 18px;
  }
}

.site-dev li {
  list-style: none;
}
