@charset "utf-8";

.service-solution-lp .solutionContents.solutionContentsNoPadding,
.solutionContents-inner.solutionContentsInnerNoPadding {
  padding: 0;
}

.service-solution-lp .solutionContents.solutionContentsNoPaddingBottom {
  padding-bottom: 0;
}

/* CSS Template
/topic/makaizo/css/makaizo.css

 Update:  2026/04/06 */


/* ----------------------------------------------------
全端末共通
---------------------------------------------------- */

.lazy {
  opacity: 0;
  transform: translate(0, 10%);
  transition: 1s;
}
.lazy.loaded {
  transform: translate(0, 0);
  opacity: 1;
}
/* web font ==== */
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;
}
/* makaizo-main */
.makaizo-main{
  width: 100%;
  height: 650px;
  position: relative;
  margin-bottom: 53px;
}
.fallback .makaizo-main {
	background: url("/common/img/topic/makaizo/img_main_pc.jpg") no-repeat left top;
}
.webp .makaizo-main {
	background: url("/common/img/topic/makaizo/img_main_pc.webp") no-repeat left top;
}
.avif .makaizo-main {
	background: url("/common/img/topic/makaizo/img_main_pc.avif") no-repeat left top;
}
.makaizo-main .inr{
  width: 100%;
  max-width: 900px;
  margin: 0 auto 0 0;
  position: absolute;
  top:58%;left: 425px;
  transform: translateY(-58%);
  color: #ffffff;
}
.makaizo-main h1{
  font-size:clamp(18px, 4.286vw, 60px);
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
}
.makaizo-main h1 span{
  font-size:clamp(18px, 2.5vw, 30px);
  display: block;
  font-weight: 500;
}
.makaizo-main p:not(.makaizoBtn) { 
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.makaizo-main .makaizoBtn 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;
}
.makaizo-main .makaizoBtn a:hover{
  transition: .3s;
  opacity: .6;
}



/* 共通のコンテナ設定 */
.hero, .hero2 {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 1024 / 682;
  overflow: hidden;
  margin: 0 auto;
}

/* スライドの基本設定 */
.hero .slide,
.hero2 .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* 写真にフェードとアニメーション */
.hero .slide img,
.hero2 .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* キャプション固定 */
.slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  font-size: 14px;
  box-sizing: border-box;
  z-index: 10;
}

.taC {
  text-align: center;
}

/* 1セクション目：14枚用のアニメーション紐付け（42秒周期） */
.hero .slide {
  animation: slide-fade-14 42s linear infinite;
}
.hero .slide img {
  animation: img-slideshow-14 42s linear infinite;
}

/* 2セクション目：13枚用のアニメーション紐付け（39秒周期） */
.hero2 .slide {
  animation: slide-fade-13 39s linear infinite;
}
.hero2 .slide img {
  animation: img-slideshow-13 39s linear infinite;
}

/* 写真専用：14枚用アニメーション（フェード ＋ じわっと拡大） */
@keyframes img-slideshow-14 {
  0% { opacity: 0; transform: scale(1); }
  1.9% { opacity: 1; }          
  11.9% { opacity: 1; }         
  13.8% { opacity: 0; transform: scale(1.05); } 
  100% { opacity: 0; }
}

/* 写真専用：13枚用アニメーション（フェード ＋ じわっと縮小） */
@keyframes img-slideshow-13 {
  0% { opacity: 0; transform: scale(1.05); }
  2.05% { opacity: 1; transform: scale(1.02); }         
  12.82% { opacity: 1; transform: scale(1); }        
  14.87% { opacity: 0; transform: scale(1); } 
  100% { opacity: 0; transform: scale(1.05); }
}

/* スライド全体の表示タイミング（14枚用） */
@keyframes slide-fade-14 {
  0% { opacity: 0; z-index: 1; }
  1.9% { opacity: 1; z-index: 2; }          
  11.9% { opacity: 1; z-index: 2; }         
  13.8% { opacity: 0; z-index: 1; } 
  100% { opacity: 0; z-index: 1; }
}

/* スライド全体の表示タイミング（13枚用） */
@keyframes slide-fade-13 {
  0% { opacity: 0; z-index: 1; }
  2.05% { opacity: 1; z-index: 2; }         
  12.82% { opacity: 1; z-index: 2; }        
  14.87% { opacity: 0; z-index: 1; } 
  100% { opacity: 0; z-index: 1; }
}

/* 1セクション目：14枚すべてのディレイ設定（3秒刻み） */
.hero .slide:nth-child(1)  { animation-delay: 0s; }
.hero .slide:nth-child(1) img  { animation-delay: 0s; }
.hero .slide:nth-child(2)  { animation-delay: 3s; }
.hero .slide:nth-child(2) img  { animation-delay: 3s; }
.hero .slide:nth-child(3)  { animation-delay: 6s; }
.hero .slide:nth-child(3) img  { animation-delay: 6s; }
.hero .slide:nth-child(4)  { animation-delay: 9s; }
.hero .slide:nth-child(4) img  { animation-delay: 9s; }
.hero .slide:nth-child(5)  { animation-delay: 12s; }
.hero .slide:nth-child(5) img  { animation-delay: 12s; }
.hero .slide:nth-child(6)  { animation-delay: 15s; }
.hero .slide:nth-child(6) img  { animation-delay: 15s; }
.hero .slide:nth-child(7)  { animation-delay: 18s; }
.hero .slide:nth-child(7) img  { animation-delay: 18s; }
.hero .slide:nth-child(8)  { animation-delay: 21s; }
.hero .slide:nth-child(8) img  { animation-delay: 21s; }
.hero .slide:nth-child(9)  { animation-delay: 24s; }
.hero .slide:nth-child(9) img  { animation-delay: 24s; }
.hero .slide:nth-child(10) { animation-delay: 27s; }
.hero .slide:nth-child(10) img { animation-delay: 27s; }
.hero .slide:nth-child(11) { animation-delay: 30s; }
.hero .slide:nth-child(11) img { animation-delay: 30s; }
.hero .slide:nth-child(12) { animation-delay: 33s; }
.hero .slide:nth-child(12) img { animation-delay: 33s; }
.hero .slide:nth-child(13) { animation-delay: 36s; }
.hero .slide:nth-child(13) img { animation-delay: 36s; }
.hero .slide:nth-child(14) { animation-delay: 39s; }
.hero .slide:nth-child(14) img { animation-delay: 39s; }

/* 2セクション目：13枚すべてのディレイ設定（3秒刻み） */
.hero2 .slide:nth-child(1)  { animation-delay: 0s; }
.hero2 .slide:nth-child(1) img  { animation-delay: 0s; }
.hero2 .slide:nth-child(2)  { animation-delay: 3s; }
.hero2 .slide:nth-child(2) img  { animation-delay: 3s; }
.hero2 .slide:nth-child(3)  { animation-delay: 6s; }
.hero2 .slide:nth-child(3) img  { animation-delay: 6s; }
.hero2 .slide:nth-child(4)  { animation-delay: 9s; }
.hero2 .slide:nth-child(4) img  { animation-delay: 9s; }
.hero2 .slide:nth-child(5)  { animation-delay: 12s; }
.hero2 .slide:nth-child(5) img  { animation-delay: 12s; }
.hero2 .slide:nth-child(6)  { animation-delay: 15s; }
.hero2 .slide:nth-child(6) img  { animation-delay: 15s; }
.hero2 .slide:nth-child(7)  { animation-delay: 18s; }
.hero2 .slide:nth-child(7) img  { animation-delay: 18s; }
.hero2 .slide:nth-child(8)  { animation-delay: 21s; }
.hero2 .slide:nth-child(8) img  { animation-delay: 21s; }
.hero2 .slide:nth-child(9)  { animation-delay: 24s; }
.hero2 .slide:nth-child(9) img  { animation-delay: 24s; }
.hero2 .slide:nth-child(10) { animation-delay: 27s; }
.hero2 .slide:nth-child(10) img { animation-delay: 27s; }
.hero2 .slide:nth-child(11) { animation-delay: 30s; }
.hero2 .slide:nth-child(11) img { animation-delay: 30s; }
.hero2 .slide:nth-child(12) { animation-delay: 33s; }
.hero2 .slide:nth-child(12) img { animation-delay: 33s; }
.hero2 .slide:nth-child(13) { animation-delay: 36s; }
.hero2 .slide:nth-child(13) img { animation-delay: 36s; }



/* contact */
#contact{
  position: relative;
  width: 100%;
  height: 450px;
  text-align: center;
  padding: 45px 10px 0;
  background: #FFFFFF;
}
#contact .inr{
  position: relative;
  z-index: 5;
}
#contact .makaizoBtn 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;
  background: #D50000;
  text-decoration: none;
  transition: .3s;
  opacity: 1;
}
#contact .makaizoBtn a:hover{
  transition: .3s;
  border: 1px solid #D50000;
  color: #D50000;
  opacity: 1;
  background: #FFFFFF;
}

/* ----------------------------------------------------
メディアクエリ設定 All
---------------------------------------------------- */


/*All END*/

/* ----------------------------------------------------
～ 960px （スマートフォンレイアウト）
---------------------------------------------------- */
@media (max-width: 960px) {
.pc-only {
  display: none;
}
.head-in .logo{
  max-width: 130px;
  padding: 10px;
}
/* makaizo-main */
.makaizo-main{
  width: 100%;
  height: 450px;
  position: relative;
  margin-bottom: 40px;
}
.fallback .makaizo-main {
	background: url("/common/img/topic/makaizo/img_main_sp.jpg") no-repeat left top;
  background-size: cover;
}
.webp .makaizo-main {
	background: url("/common/img/topic/makaizo/img_main_sp.webp") no-repeat left top;
  background-size: cover;
}
.avif .makaizo-main {
	background: url("/common/img/topic/makaizo/img_main_sp.avif") no-repeat left top;
  background-size: cover;
}
.makaizo-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: #ffffff;
}
.makaizo-main h1{
  font-size:clamp(25px, 4.286vw, 60px);
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}
.makaizo-main h1 span{
  font-size:clamp(16px, 2.5vw, 30px);
  display: block;
  font-weight: 500;
}
.makaizo-main p:not(.makaizoBtn) { 
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}
.makaizo-main .makaizoBtn a{
  position: absolute;
  bottom: 18px;left: 0;right: 0;
  margin: 0 auto 0;
}

/* news */
#news h2{
  font-size:clamp(24px, 4.0vw, 48px);
}
#news li.set{
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #e3e3e3;
  padding: 18px 7px 17px 10px;
  opacity: 1;
  transition: all 0.4s ease 0s;
}
#news li.set p{
  font-weight: 300;
}

.en #news li.set .date,
#news li.set .date{
  width: 100%;
  margin-bottom: 6px;
}
#news li.set .title{
  width: 100%;
}

/* contact */
#contact{
  height: 350px;
  padding: 35px 10px 0;
}

/* ～ 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) {

  .makaizo-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 .makaizo-main {
    background: url("/common/img/topic/makaizo/img_main_pc.jpg") no-repeat left center;
    background-size: cover;
  }
  .webp .makaizo-main {
    background: url("/common/img/topic/makaizo/img_main_pc.webp") no-repeat left center;
    background-size: cover;
  }
  .avif .makaizo-main {
    background: url("/common/img/topic/makaizo/img_main_pc.avif") no-repeat left center;
    background-size: cover;
  }

/* 1920px～ （PCレイアウト）  END*/
}