@charset "utf-8";

/* CSS Template
/topic/scl/css/style.css

 Update:  2026/01/28 */


/* ----------------------------------------------------
全端末共通
---------------------------------------------------- */

.lazy {
  opacity: 0;
  transform: translate(0, 10%);
  transition: 1s;
}
.lazy.loaded {
  transform: translate(0, 0);
  opacity: 1;
}
/* web font ==== */
.nsfont{ font-family: 'Noto Serif JP', serif; font-weight: 500;}
h1,h2,h3,h4,main p{
  font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,Osaka,'MS PGothic',arial,helvetica,sans-serif;
  font-weight: 500;
}
/* common ==== */

.wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.wrapper .text{
  text-align: left;
}

/* header ==== */
.head-in{
  max-width: 1200px;
  height: 72px;
  margin: 0 auto 0;
  position: relative;
}
.head-in .logo{
  max-width: 160px;
  padding: 15px;
}
/* topic-main */
.topic-main{
  width: 100%;
  height: 650px;
  position: relative;
  margin-bottom: 53px;
}
.fallback .topic-main {
	background: url("/common/img/topic/scl/img_main_pc.jpg") no-repeat left top;
}
.webp .topic-main {
	background: url("/common/img/topic/scl/img_main_pc.webp") no-repeat left top;
}
.avif .topic-main {
	background: url("/common/img/topic/scl/img_main_pc.avif") no-repeat left top;
}
.topic-main .inr{
  width: 100%;
  max-width: 900px;
  margin: 0 auto 0 0;
  position: absolute;
  top:58%;left: 880px;
  transform: translateY(-58%);
  color: #000000;
}
.topic-main h1{
  font-size:clamp(18px, 4.286vw, 44px);
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
  color: #FFFFFF;
}
.topic-main h1 span{
  font-size:clamp(18px, 2.5vw, 26px);
  display: block;
  font-weight: 500;
}
.topic-main p:not(.topicBtn) { 
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}
.topic-main .topicBtn a{
  display: block;
  width: 90%;
  max-width: 230px;
  height: 60px;
  line-height: 60px;
  color: #FFFFFF;
  background-color: #dd1503;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  transition: .3s;
  opacity: 1;
}
.topic-main .topicBtn a:hover{
  transition: .3s;
  opacity: .6;
}
.more-list button:hover,.more-list2 button:hover{
  transition: .3s;
  background-color: #f4f4f4;
}

.slide-box{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  position: relative;
}
.service-engineering .slide img{
  max-width: 100%;
  height: auto;
}



.hero {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 800 / 600;
  overflow: hidden;
  margin: 0 auto;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 100%; */
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: slideshow 42s linear infinite;
}

.hero2 {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 400 / 600;
  overflow: hidden;
  margin: 0 auto;
}

.slide2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: slideshow 36s linear infinite;
}

/* スライドごとのディレイ設定 */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
.slide:nth-child(5) { animation-delay: 24s; }
.slide:nth-child(6) { animation-delay: 30s; }
.slide:nth-child(7) { animation-delay: 36s; }

/* スライドごとのディレイ設定 */
.slide2:nth-child(1) { animation-delay: 0s; }
.slide2:nth-child(2) { animation-delay: 6s; }
.slide2:nth-child(3) { animation-delay: 12s; }
.slide2:nth-child(4) { animation-delay: 18s; }
.slide2:nth-child(5) { animation-delay: 24s; }
.slide2:nth-child(6) { animation-delay: 30s; }

/* アニメーションの定義 */
@keyframes slideshow {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  /* 約2秒かけてフェードイン (100 / 42 * 2 ≒ 5%) */
  5% {
    opacity: 1;
  }
  /* 6秒経過時点まで表示を維持しつつズーム (100 / 7 ≒ 14%) */
  14% {
    opacity: 1;
  }
  /* 次の画像が重なるタイミングでフェードアウト */
  19% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}



/* contact */
#contact{
  position: relative;
  width: 100%;
  height: 350px;
  text-align: center;
  /* padding: 215px 10px 0; */
}
.fallback #contact {
	background: url("/common/img/topic/scl/img_contact_pc.jpg") no-repeat left top;
}
.webp #contact {
	background: url("/common/img/topic/scl/img_contact_pc.webp") no-repeat left top;
}
.avif #contact {
	background: url("/common/img/topic/scl/img_contact_pc.avif") no-repeat left top;
}
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, .6),  rgba(0, 0, 0, .6));
  z-index: 0;
}
#contact .inr{
  position: relative;
  z-index: 5;
}
#contact h2{
  font-size:clamp(18px, 6.0vw, 72px);
  color: #FFFFFF;
  margin: 0 auto 55px;
  font-weight: 700;
}
#contact h2 span{
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
}
#contact .topicBtn a{
  display: block;
  width: 90%;
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 0 22px;
  border: 1px solid #FFFFFF;
  border-radius: 6px;
  text-align: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: .3s;
  opacity: 1;
}
#contact .topicBtn a:hover{
  transition: .3s;
  opacity: .6;
  background: rgba(255,255,255,0.3);
}

/* ----------------------------------------------------
メディアクエリ設定 All
---------------------------------------------------- */


/*All END*/

/* ----------------------------------------------------
～ 960px （スマートフォンレイアウト）
---------------------------------------------------- */
@media (max-width: 960px) {
.pc-only {
  display: none;
}
.head-in .logo{
  max-width: 130px;
  padding: 10px;
}
/* topic-main */
.topic-main{
  width: 100%;
  height: 450px;
  position: relative;
  margin-bottom: 40px;
}
.fallback .topic-main {
	background: url("/common/img/topic/scl/img_main_sp.jpg") no-repeat left top;
  background-size: cover;
}
.webp .topic-main {
	background: url("/common/img/topic/scl/img_main_sp.webp") no-repeat left top;
  background-size: cover;
}
.avif .topic-main {
	background: url("/common/img/topic/scl/img_main_sp.avif") no-repeat left top;
  background-size: cover;
}
.topic-main .inr{
  width: 100%;
  max-width: 900px;
  height: 100%;
  margin: 0 auto 0 auto;
  padding-top: 65px;
  position: relative;
  top:0;left: 0; right: 0;
  transform: none;
  color: #000000;
}
.topic-main h1{
  font-size:clamp(22px, 4.286vw, 36px);
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}
.topic-main h1 span{
  font-size:clamp(16px, 2.5vw, 26px);
  display: block;
  font-weight: 500;
}
.topic-main p:not(.topicBtn) { 
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}
.topic-main .topicBtn a{
  position: absolute;
  bottom: 18px;left: 0;right: 0;
  margin: 0 auto 0;
}

/* contact */
#contact{
  position: relative;
  width: 100%;
  /* height: 450px; */
  text-align: center;
  padding: 40px 10px 0;
}
.fallback #contact {
	background: url("/common/img/topic/scl/img_contact_sp.jpg") no-repeat center center;
  background-size: cover;
}
.webp #contact {
	background: url("/common/img/topic/scl/img_contact_sp.webp") no-repeat center center;
  background-size: cover;
}
.avif #contact {
	background: url("/common/img/topic/scl/img_contact_sp.avif") no-repeat center center;
  background-size: cover;
}
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, .6),  rgba(0, 0, 0, .6));
  z-index: 0;
}
#contact .inr{
  position: relative;
  z-index: 5;
}
#contact h2{
  font-size:clamp(28px, 6.0vw, 72px);
  color: #FFFFFF;
  margin: 0 auto 70px;
  font-weight: 700;
}
#contact .topicBtn a{
  display: block;
  width: 90%;
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 0 22px;
  border: 1px solid #FFFFFF;
  border-radius: 6px;
  text-align: center;
  color: #FFFFFF;
  text-decoration: none;
}


/* ～ 960px （スマートフォンレイアウト） END*/
}

/* ----------------------------------------------------
～ 499px（スマートフォンレイアウト）
---------------------------------------------------- */
@media (max-width: 499px) {



/*  ～ 499px（スマートフォンレイアウト） END */
}

/* ----------------------------------------------------
タブレット（縦）＆モバイル（横）：500px ～ 960px （スマートフォンレイアウト）
---------------------------------------------------- */
@media (min-width: 500px) and (max-width: 960px) {



/* 500px ～ 960px （スマートフォンレイアウト） END*/
}

/* ----------------------------------------------------
タブレット（縦）＆モバイル（横）：～ 960px （スマートフォンレイアウト）
---------------------------------------------------- */
@media (max-width: 960px) {
.pc-only {
  display: none;
}


/* ～ 960px （スマートフォンレイアウト） END*/
}

/* ----------------------------------------------------
タブレット（横）＆デスクトップ：961px～
---------------------------------------------------- */
@media (min-width: 961px) {
.sp-only {
  display: none;
}


/* 961px ～ END*/
}

/* ----------------------------------------------------
タブレット（横）＆デスクトップ：961px ～ 1199px （PCレイアウト）
---------------------------------------------------- */
@media (min-width: 961px) and (max-width: 1199px) {

  .topic-main .inr{
    width: 100%;
    max-width: 900px;
    margin: 0 auto 0 0;
    position: absolute;
    top:58%;left: 390px;
    transform: translateY(-58%);
    color: #000000;
  }

/* 961px ～ 1199px （PCレイアウト） END*/
}

/* ----------------------------------------------------
デスクトップ：1920px～ （PCレイアウト）
---------------------------------------------------- */
@media (min-width: 1920px) {

  .fallback .topic-main {
    background: url("/common/img/topic/scl/img_contact_pc.jpg") no-repeat left top;
    background-size: cover;
  }
  .webp .topic-main {
    background: url("/common/img/topic/scl/img_contact_pc.webp") no-repeat left top;
    background-size: cover;
  }
  .avif .topic-main {
    background: url("/common/img/topic/scl/img_contact_pc.avif") no-repeat left top;
    background-size: cover;
  }
  .fallback #contact {
    background: url("/common/img/topic/scl/img_contact_pc.jpg") no-repeat left top;
    background-size: cover;
  }
  .webp #contact {
    background: url("/common/img/topic/scl/img_contact_pc.webp") no-repeat left top;
    background-size: cover;
  }
  .avif #contact {
    background: url("/common/img/topic/scl/img_contact_pc.avif") no-repeat left top;
    background-size: cover;
  }

/* 1920px～ （PCレイアウト）  END*/
}


.video-container {
  position: relative;
  overflow: hidden;
  margin: 60px auto;
  justify-content: center;
  align-items: flex-start;
  /* 動画のサイズに合わせて調整 */
  width: 720px; 
  aspect-ratio: 4 / 5;
  max-width: 100%;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}