/* =================== トップページエリア =================== */

/* スライダーエリア */

.slider-container {
	width: 100%;
	height: 100%;
	background: var(--color-white);
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	overflow: hidden;
	z-index: 1;
}
.slider-contents img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
}
.slider-contents .mv-filter {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
.slider-contents .mv-filter::after {
  content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.2);
	background-image: radial-gradient(#111 30%, transparent 31%), radial-gradient(#111 30%, transparent 31%);
	background-size: 2px 2px;
}

@media screen and (max-width: 767px) {
	.slider-container {
		height: auto !important;
	}
  .slider-contents .mv-filter::after {
    background-color: rgba(0,0,0,0.1);
  }
}

/* スライダーエリアEND */

/* トップページnews */
.top-news-contents {
  background: var(--gradation-color-blue);
  position: relative;
  z-index: 1;
}
.top-news-contents .top-news-content {
  width: calc(100% - 45px);
  max-width: 950px;
  margin: 0 auto;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
}
.top-news-contents .top-news-content .top-news-h2 {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}
.top-news-contents .top-news-content .top-news-h2 h2 {
  color: var(--color-white);
  font-size: 5rem;
  text-shadow: 1px 1px 3px var(--text-main);
  margin: 0;
  font-family: serif;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .top-news-contents .top-news-content .top-news-h2 h2 {
    font-size: var(--font-xl);
    line-height: inherit;
  }
}
.top-news-contents .top-news-content .top-news-h2 a {
  padding-bottom: 10px;
  position: relative;
}
.top-news-contents .top-news-content .top-news-h2 a::before {
  content: "";
  width: 100%;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 0;
  bottom: 8px;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
.top-news-contents .top-news-content .top-news-h2 a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
.top-news-contents .top-news-content ul {
  width: 100%;
  background: var(--color-white);
  padding: 30px 30px 20px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .top-news-contents .top-news-content ul {
    padding: 20px 20px 10px;
  }
}
.top-news-contents .top-news-content ul li {
  background: #f7f7f7;
  margin-bottom: 10px;
}
.top-news-contents .top-news-content ul li:hover {
  background: var(--color-line);
}
@media screen and (max-width: 767px) {
  .top-news-contents .top-news-content ul li:nth-child(n+4) {
    display: none;
  }
}
.top-news-contents .top-news-content ul li a {
  display: flex;
  gap: 30px;
  align-items: center;
  color: var(--text-main);
  padding: 12px 36px;
}
.top-news-contents .top-news-content ul li a .date {
  background: #2445a9;
  padding: 5px;
  color: #fff;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .top-news-contents .top-news-content ul li a .news-title {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .top-news-contents .top-news-content ul li a {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }
}
@media screen and (max-width: 767px) {
  .top-news-contents .top-news-content {
    flex-wrap: wrap;
    padding: 20px 0 30px;
  }
}
/* トップページnewsEnd */

.top-main-contents .main-content {
	padding: 100px 0;
	position: relative;
	background: #fcfcfc;
	width: 100%;
}
.top-main-contents .main-content h2 {
	font-size: 5rem;
}
.top-main-contents .main-content img {
	width: 100%;
	height: auto;
}
.top-main-contents > .main-content > img {
	min-height: 400px;
	object-fit: cover;
}
.top-main-contents .main-content .top-system-development-content {
	background: url("/wp-content/uploads/2023/06/image_system_pc1.jpg");
}
.top-main-contents .main-content .top-product-content {
	background: url("/wp-content/uploads/2023/06/image_net_pc1.jpg");
}
.top-main-contents .main-content .top-web-content {
	background: url("/wp-content/uploads/2023/06/image_web_pc1.jpg");
}
.top-main-contents .main-content .top-system-development-content,
.top-main-contents .main-content .top-product-content,
.top-main-contents .main-content .top-web-content {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color:rgba(255,255,255,0.8);
	background-blend-mode:lighten;
}
.top-main-contents .main-content ul {
	position: relative;
	width: 92%;
	margin-left: auto;
	top: 0;
	display: flex;
	justify-content: space-evenly;
	flex-direction: row;
	padding: 70px 0;
	z-index: 1;
}
.top-main-contents .main-content ul li {
	width: 20%;
	background: var(--color-white);
	box-shadow: 3px 3px 5px var(--text-main);
}
.top-main-contents .main-content ul li a {
	display: block;
}
.top-main-contents .main-content ul li div {
	padding: 15px;
}
.top-main-contents .main-content h3 {
	margin: 0;
}


.top-main-contents .work {
	position: relative;
}
.top-main-contents .work h2 {
	position: relative;
	margin-left: 10vw;
	margin-bottom: -65px;
	display: inline-block;
	font-size: 7.5rem;
	color: var(--color-white);
	text-shadow: 2px 2px 5px var(--text-main);
	z-index: 2;
}
.text-slider {
  position: absolute;
	top: -6.5vh;
	left: -9.4%;
	width: 100vw;
  height: 15vh;
	transform: rotate(-25deg);
  overflow: hidden;
}
.marquee-anim {
  transition: all .3s;
}
.marquee-anim {
  opacity: 1;
  animation: marquee 20s linear infinite;
  position: absolute;
  top: calc(50% - 60px);
  left: 50%;
  display: flex;
  transform: translate(-50%, 0%);
  white-space: nowrap;
}
@keyframes marquee {
  0% {
    transform: translate(-40%, 0%);
	}
	100% {
    transform: translate(-60%, 0%);
	}
}
.marquee-inline {
  display: block;
  padding-right: 1em;
  font-size: 80px;
  font-weight: 600;
	letter-spacing: 0.1em;
  white-space: nowrap;
  color: #f3f3f3;
  text-align: center;
  white-space: nowrap;
}

@media screen and (max-width: 1024px) {
  .top-main-contents .main-content {
    padding: 70px 0 0;
    overflow: hidden;
  }
  .top-main-contents .main-content .top-system-development-content,
  .top-main-contents .main-content .top-product-content,
  .top-main-contents .main-content .top-web-content {
    width: 100%;
    margin: 0;
		flex-wrap: wrap;
    justify-content: center;
		gap: 10px;
    padding: 50px 0;
  }
	.top-main-contents .main-content .work {
		width: 100%;
    text-align: center;
	}
	.top-main-contents .work h2 {
		font-size: var(--font-xl);
    margin-left: 0;
    margin-bottom: -35px;
	}
	.top-main-contents .main-content ul li {
		width: 45%;
	}
  .top-main-contents .main-content h3 {
    font-size: 1em;
  }
  .text-slider {
    top: -3vh;
    left: 0;
    width: 100%;
    height: 10vh;
    transform: inherit;
  }
}

/* バナースライダー */
.widgets-area {
  margin: 100px auto 150px;
  overflow: hidden;
}
.widgets-area .bnr_slider {
  margin: 0;
}
.widgets-area .slick-slide {
  transition: 0.5s;
}
.widgets-area .slick-slide:hover {
  transform: scale(1.03);
  box-shadow: 0 0 5px #888;
}
.widgets-area .bnr_slider .slick-track {
  display: flex;
  align-items: center;
  margin: 35px 0;
}
.widgets-area .bnr_slider img {
  width: 100%;
  height: auto;
}
.progress-bar-container {
  width: 40%;
  height: 6px;
  background-color: #ccc;
  position: relative;
  margin: 70px auto 0;
  border-radius: 3px;
}
.progress-bar {
  height: 100%;
  background-color: #007bff;
  width: 0%;
  border-radius: 3px;
}


@media screen and (max-width: 1024px) {
  .widgets-area {
    margin: 50px auto 100px;
  }
  .widgets-area .bnr_slider .slick-track .slick-slide {
    margin: 0 10px;
  }
  .progress-bar-container {
    margin: 20px auto 0;
  }
}