@charset "utf-8";

/* ----------------------------------------------------
  quick_up_team　左右の動きがある場合
---------------------------------------------------- */
/* PC以外　縦横への要素はみ出し防止 */
.ani-tome {
  overflow-x: hidden;
  overflow: hidden;
}

/* ----------------------------------------------------
    横文字アニメーション
---------------------------------------------------- */
.marquee-container {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 20s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}

.marquee-item {
  flex-shrink: 0;
}

@media only screen and (max-width: 767px) {
.marquee-item img {
  line-height: .4;
  height: 40px !important;       /* 画像の高さ */
  width: auto;
  display: block;
  margin-right: 60px;    
  }
}

@media print, screen and (min-width: 768px) {
.marquee-item img {
  line-height: .4;
  height: 80px !important;       /* 画像の高さ */
  width: auto;
  display: block;
  margin-right: 175px;  
  }
}

@media print, screen and (min-width: 992px) {
.marquee-item img {
  height: 124px !important;       /* 画像の高さ */
  }
}

/* 無限ループのアニメーション */
@keyframes scrollMarquee {
  0% {
    transform: translate3d(0, 0, 0); /* 変更 */
  }
  100% {
    transform: translate3d(-50%, 0, 0); /* 変更 */
  }
}

/* ----------------------------------------------------
    横文字アニメーション（通常セクション用）
---------------------------------------------------- */
.section-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  margin: 0;
  padding: 40px 0 0 0;/* 余白 */
}

@media print, screen and (min-width: 768px) {
.section-marquee {
  padding: 70px 0 30px 0;/* 余白 */
  }
}

@media print, screen and (min-width: 1200px) {
.section-marquee {
  padding: 150px 0 50px 0;/* 余白 */
  }
}

.section-marquee__track {
  display: flex;
  width: max-content;
  animation: scrollMarquee02 20s linear infinite;
}

.section-marquee__group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}

.section-marquee__item {
  flex-shrink: 0;
}

@media only screen and (max-width: 767px) {
.section-marquee__item img {
  line-height: .4;
  height: 20px !important;       /* 画像の高さ */
  width: auto;
  display: block;
  margin-right: 60px; 
  }
}

@media print, screen and (min-width: 768px) {
.section-marquee__item img {
  line-height: .4;
  height: 80px !important;       /* 画像の高さ */
  width: auto;
  display: block;
  margin-right: 175px;    
  }
}

@media print, screen and (min-width: 992px) {
.section-marquee__item img {
  height: 124px !important;       /* 画像の高さ */
  }
}

/* 無限ループのアニメーション */
@keyframes scrollMarquee02 {
  0% {
    transform: translate3d(0, 0, 0); /* 変更 */
  }
  100% {
    transform: translate3d(-50%, 0, 0); /* 変更 */
  }
}

/* ----------------------------------------------------
  お知らせ
---------------------------------------------------- */
/* 高さ指定
------------------------- */
#news_area_03 {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100px;
  max-height: 300px;
  padding-right: 10px;
}
@media print, screen and (min-width: 768px)  {
#news_area_03 {
  min-height: 100px;
  max-height: 350px;
  }
}
@media print, screen and (min-width: 992px) {
#news_area_03 {
  min-height: 100px;
  max-height: 400px;
  }
}
@media print, screen and (min-width: 1200px) {
#news_area_03 {
  min-height: 100px;
  max-height: 500px;
  }
}

/* スクロールバー
-------------------------- */
#news_area_03::-webkit-scrollbar{width: 10px;}
#news_area_03::-webkit-scrollbar-thumb{ background: #5aae53;}
#news_area_03::-webkit-scrollbar-track-piece:start{ background: #5aae53;}
#news_area_03::-webkit-scrollbar-track-piece:end{ background: #eedecb;}

/* 記事
-------------------------- */
.news_kiji{
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  border:1px solid #222;
  background: #fff;
}
@media print, screen and (min-width: 768px) {
.news_kiji{
  padding: 20px;
  border-radius: 20px;
  }
}
@media print, screen and (min-width: 992px) {
.news_kiji{
  padding: 25px;
  }
}
@media print, screen and (min-width: 1200px) {
.news_kiji{
  padding: 30px;
  }
}

/* 日付
-------------------------- */
.news_date{
  color: #888;
  font-size: 15px;
  line-height: 15px;
  margin-bottom: 8px;
}
.news_date i{
  color: #5aae53;
  font-size: 9px;
  position: relative;
  top: -2px;
  margin-right: 8px;
}

/* テキストリンク
-------------------------- */
.news_html{
  margin-top: 1px;
  font-size: 15px;
  line-height: 25px;
}

/* テキストリンク
-------------------------- */
.news_html a:link,
.news_html a:visited{text-decoration:underline; color:#222;}
.news_html a:hover,
.news_html a:active{text-decoration:none; color:#222;}

/* movie
-------------------------- */
.news_photos{margin-top: 5px;}
@media print, screen and (min-width: 768px) {.news_photos{ margin-top: 10px;}}

/* ----------------------------------------------------
  施工実績（TOP）
---------------------------------------------------- */
/* ----------------------------------------------------
   カテゴリ　2並び
---------------------------------------------------- */
/* カテゴリエリア
-------------------------- */
.items_area_01 {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media print, screen and (min-width: 768px) {
.items_area_01 {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  }
}

@media print, screen and (min-width: 1400px) {
.items_area_01 {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  }
}

/* アイテム　ボックス
-------------------------- */
.items_box_01 {
  padding: 20px;
  background: #fff;
  border:1px solid #222;
  border-radius: 10px;
}

@media print, screen and (min-width: 768px) {
.items_box_01 {
  border-radius: 20px;
  }
}

@media print, screen and (min-width: 1200px) {
.items_box_01 {
  padding: 30px;
  border-radius: 30px;  
  }
}

/* ----------------------------------------------------
  画像拡大
---------------------------------------------------- */
/* zoom
------------------------- */
.zoom-link {cursor: zoom-in;}
.zoom-link img {transition: transform 0.3s ease;}
.zoom-link:hover img {transform: scale(1.05);}

/* 縦横比
------------------------- */
.photo-ofi {
  display: block;
  overflow: hidden;
  width: 80%;
  max-width: 100%;  
  margin: 0 auto 5px;  /* 左右autoで中央寄せ、下に5pxの余白 */  
  aspect-ratio: 100 / 40;
  background: #fff; /* 任意色 */
  border: 0px solid #eee; /* 任意色 */
  margin-bottom: 5px;
}
.photo-ofi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* アイテム　ボックス　写真
-------------------------- */
.items_box_01 .photo-ofi {
  margin-bottom: 10px;
}

/* アイテム　ボックス　カテゴリ
-------------------------- */
.items_ctgr{
  display: inline-block;
  font-size: 14px;
  line-height: 20px;  
  padding: 6px 15px 6px 15px;
  border-radius: 100px;
  color: #fff; /* 任意色 */
  background: #222; /* 任意色 */
}

/* アイテム　ボックス　テキスト
-------------------------- */
.items_box_text{
  font-size:20px;
  line-height:30px;
  margin-top: 4px;
}

/* アイテム　ボックス　テキスト
-------------------------- */
.items_box_text_02{
  font-size:16px;
  line-height: 26px;
  color: #bbb; /* 任意色 */
}

/* ----------------------------------------------------
  画像　スマホだと中央、それ以外は左揃い
---------------------------------------------------- */
.banner-row {
  display: flex;
  gap: 15px;
  justify-content:flex-start;
  align-items: flex-start;
  margin-top: 10px;
}
  
/* ----------------------------------------------------
  施工実績（WORKS）
---------------------------------------------------- */
/* ----------------------------------------------------
   カテゴリ　2並び
---------------------------------------------------- */
/* カテゴリエリア
-------------------------- */
.items_area_01_b {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media print, screen and (min-width: 768px) {
.items_area_01_b {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  }
}

@media print, screen and (min-width: 1200px) {
.items_area_01_b {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  }
}

/* アイテム　ボックス
-------------------------- */
.items_box_01_b {
  padding: 20px;
  background: #fff;
  border:1px solid #222;
  border-radius: 10px;
}

@media print, screen and (min-width: 768px) {
.items_box_01_b {
  border-radius: 20px;
  }
}

@media print, screen and (min-width: 1200px) {
.items_box_01_b {
  padding: 30px;
  border-radius: 30px;  
  }
}

/* ----------------------------------------------------
  画像拡大
---------------------------------------------------- */
/* zoom
------------------------- */
.zoom-link_b {cursor: zoom-in;}
.zoom-link_b img {transition: transform 0.3s ease;}
.zoom-link_b:hover img {transform: scale(1.05);}

/* 縦横比
------------------------- */
.photo-ofi_b {
  display: block;
  overflow: hidden;
  width: 80%;
  max-width: 100%;  
  margin: 0 auto 5px;  /* 左右autoで中央寄せ、下に5pxの余白 */  
  aspect-ratio: 100 / 40;
  background: #fff; /* 任意色 */
  border: 0px solid #eee; /* 任意色 */
  margin-bottom: 5px;
}
.photo-ofi_b img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* アイテム　ボックス　写真
-------------------------- */
.items_box_01_b .photo-ofi_b {
  margin-bottom: 10px;
}

/* アイテム　ボックス　カテゴリ
-------------------------- */
.items_ctgr_b{
  display: inline-block;
  font-size: 14px;
  line-height: 20px;  
  padding: 6px 15px 6px 15px;
  border-radius: 100px;
  color: #fff; /* 任意色 */
  background: #222; /* 任意色 */
}

/* アイテム　ボックス　テキスト
-------------------------- */
.items_box_text_b{
  font-size:20px;
  line-height:30px;
  margin-top: 4px;
}

/* アイテム　ボックス　テキスト
-------------------------- */
.items_box_text_02_b{
  font-size:16px;
  line-height: 26px;
  color: #bbb; /* 任意色 */
}

/* ----------------------------------------------------
  画像　スマホだと中央、それ以外は左揃い
---------------------------------------------------- */
.banner-row_b {
  display: flex;
  gap: 15px;
  justify-content:center;
  align-items: flex-start;
  margin-top: 10px;
}
  
@media print, screen and (min-width: 768px) {
.banner-row_b {
  justify-content:flex-start;
  }
}

/* ----------------------------------------------------
	 カテゴリー（カタログ）
---------------------------------------------------- */
.p-news__tab {
	margin-bottom: 20px;
}

.js-tab {
	margin-bottom: 0;
}

.nav-tabs {
	border-bottom: 0;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 10px;
}

.nav-tabs > li {
	flex: 0 0 calc(50% - 5px);
	width: calc(50% - 5px);
	margin-right: 0;
	box-sizing: border-box;
}

.nav-tabs i {
	margin-left: 5px;
}

/* 未選択時 */
.nav-tabs > li > a,
.nav-tabs > li > a:focus {
	display: block;
	width: 100%;
	box-sizing: border-box;
	color: #222;
	text-align: center;
	background-color: #fff;
	border: 1px solid #222;
	font-size: 18px;
	padding: 20px 5px;
	border-radius: 10px;
	-webkit-transition-duration: 300ms;
	transition-duration: 300ms;
}

/* 未選択時のホバー時 */
.nav-tabs > li > a:hover {
	color: #222;
	background-color: #f5f5f5;
}

/* 選択中 */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	display: block;
	width: 100%;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
	background-color: #ea3c63;
	border: 1px solid #222;
	font-size: 18px;
	padding: 20px 5px;
	border-radius: 10px;
}

@media print, screen and (min-width: 768px) {
	.js-tab {
		margin-bottom: 0;
	}
	.nav-tabs > li {
		margin-right: 0;
	}
	.p-news .nav-tabs::before,
	.p-news .nav-tabs::after {
		display: none;
	}

	/* 余白 フォント */
	.nav-tabs > li > a,
	.nav-tabs > li > a:focus,
	.nav-tabs > li.active > a,
	.nav-tabs > li.active > a:hover,
	.nav-tabs > li.active > a:focus {
		font-size: 20px;
		padding: 20px 20px;
	}
}

/* ニュースエリア
---------------------------------------------------- */
.news_area{
  background: #f7f5f2;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  position: relative;
  transition: box-shadow .3s ease;
}

/* ----------------------------------------------------
   h1
---------------------------------------------------- */
.h1_wide01{ padding:10px;}
@media print, screen and (min-width: 768px) {.h1_wide01{ padding:20px;}}

.p-anima-9 {
	position: relative;
	overflow: hidden;
}
.p-anima-9__intro {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	background-color: #ea3c63; /* 任意色 */
	top: 0;
	left: 0;
	z-index: 9;
	width: 100%;
	height: 100%;
	will-change: transform;
}
.p-anima-9.__anima .p-anima-9__intro {
	animation: anima_intro_9 0.8s cubic-bezier(0.46, 0.26, 0.15, 0.89) 1.6s 1 forwards;
}
.p-anima-9__intro div {
	overflow: hidden;
	position: relative;
}
.p-anima-9__intro div::before {
	background-color: #ea3c63; /* 任意色 */
	content: "";
	display: block;
	position: absolute;
	bottom: -100%;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 1.5em;
}
.p-anima-9.__anima .p-anima-9__intro div::before {
	animation: anima_title_musk_9 0.5s cubic-bezier(0.46, 0.26, 0.15, 0.89) 0.6s 1 forwards;
}
.p-anima-9__intro div span {
	color: #fff; /* 任意色 */
	display: block;  
	transform: translate(0, 105%);
}
.p-anima-9.__anima .p-anima-9__intro div span {
	animation: anima_title_9 0.5s cubic-bezier(0.46, 0.26, 0.15, 0.89) 1 forwards;
}

@keyframes anima_title_9 {
  0% {
    transform: translate(0, 105%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes anima_title_musk_9 {
  0% {
    bottom: -100%;
  }
  100% {
    bottom: 0;
  }
}

@keyframes anima_intro_9 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(105%);
  }
}

/* 背景
-------------------------- */
.p-mv {
	display: flex;
	align-items: center;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	width: 100%;
	position: relative;
  border-radius: 30px;
  padding: 40px 0px;
}
.h2-02{	background-image: url("../images/h2_02.jpg");}
.h2-03{	background-image: url("../images/h2_03.jpg");}
.h2-04{	background-image: url("../images/h2_04.jpg");}
.h2-05{	background-image: url("../images/h2_05.jpg");}
.h2-06{	background-image: url("../images/h2_06.jpg");}

@media print, screen and (min-width: 768px) {.p-mv {padding: 80px 0px;}}
@media print, screen and (min-width: 992px) {.p-mv {padding: 130px 0px 140px 0;}}

.p-mv::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

/* 文字の装飾
-------------------------- */
.p-mv__title { 
	position: relative;
	z-index: 1;
	font-size: 28px;
  line-height:50px;  
	line-height: normal; 
}
@media print, screen and (min-width: 768px) {
.p-mv__title {
	font-size: 63px;
  line-height: 85px;
  }
}
@media print, screen and (min-width: 992px) {
.p-mv__title {
	font-size: 73px;
  line-height: 95px;
  }
}

.p-mv__title02 {
	color: #fff;
	font-size: 20px;
	line-height: 13px;
  letter-spacing: 5px;  
	position: relative;
	z-index: 1;
	text-align: center;	
	margin: 0 auto;
	width: fit-content;
	padding: 0px 20px;
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
}

.p-mv__title02 span {
	display: block;
  margin: 0 auto;
}

@media only screen and (max-width: 767px) {
.p-mv__title02 span {
  width: 250px;
  }
}

@media print, screen and (min-width: 768px) {
.p-mv__title02 {
	font-size: 25px;
	line-height: 5px;
	}
.p-mv__title02 span {
  max-width: 400px;
	}
}

@media print, screen and (min-width: 992px) {
.p-mv__title02 {
	font-size: 30px;
	line-height: 10px;
	}
.p-mv__title02 span {
  max-width: 500px;
	}
}

@media print, screen and (min-width: 1200px) {
.p-mv__title02 {
	font-size: 42px;
	line-height: 25px;
	}
.p-mv__title02 span {
  max-width: 740px;
	}
}