@charset "utf-8";
/* CSS Document */

/*------------------------------------------
  共通
------------------------------------------*/
body.home section h2 {
	font-weight: 500;
	line-height: 1.4;
}
body.home section h3 {
	font-weight: 500;
	line-height: 1.4;
}
body.home section h4 {
	font-family: 'Roboto-Regular',sans-serif;
	font-size: 20px;
	font-weight: 500;
	color: #01a369;
	letter-spacing: 2px;
	line-height: 1.4;
	margin-top: 0;
	margin-bottom: 0;
}

/*------------------------------------------
  slider
------------------------------------------*/
#slider-div h2.title {
	font-weight: 500;
	color: #fff;
}
#slider-div h2.title .maintitle {
	margin-bottom: 20px;
}
#slider-div h2.title .sub {
	font-size: 24px;
}

/*------------------------------------------
  あいさつ（Testimonial Section）
------------------------------------------*/
section#testimonials {
	padding-top: 80px;
}
section#testimonials h4 {
	text-align: center;
	margin-bottom: 20px;
}
section#testimonials .titlebox {
	margin-bottom: 80px;
}
section#testimonials .tate {
	display: flex;
	justify-content: center; /* 横方向の中央 */
	align-items: center;     /* 縦方向の中央 */
}
section#testimonials .tate h2 {
	writing-mode: vertical-rl;
	line-height: 1.5;
	font-weight: 500;
}
section#testimonials .wrap {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row-reverse;
	align-items: center;
}
section#testimonials .txtbox {
	width: 50%;
}
section#testimonials .txtbox h3 {
	font-size: 26px;
	color: #01a369;
	margin-top: 0;
	font-weight: 500;
}
section#testimonials .txtbox ul {
	margin: 0;
	padding: 0;
}
section#testimonials .txtbox ul li {
	font-size: 20px;
	color: #333;
	padding-left: 50px;
	background: url(images/listicon01.png) no-repeat left center;
	min-height: 30px;
	margin: 0 0 20px 0;
}

section#testimonials .phbox {
	width: 50%;
	height: 450px;
	display: flex;
	gap: 50px;
	padding-right: 50px;
	overflow: hidden;
	
	gap: 20px;
}

/* 共通のスクロール表示エリア */
section#testimonials .phbox .scroll-container:last-child {
	/*margin-right: 50px;*/
}
section#testimonials .phbox .scroll-container {
    position: relative;
    width: 200px;      /* 各列の幅 */
    height: 600px;     /* 指定エリア */
    overflow: hidden;  /* エリア外は非表示 */
	
	width: 50%;
	height: 100%;
}

/* 縦に並べる */
section#testimonials .phbox .scroll-content {
    display: flex;
    flex-direction: column;
	align-items: center;
	gap: 16px;           /* 画像間の隙間（好きに） */
    will-change: transform;
	
	gap: 0;
}

section#testimonials .phbox .scroll-content img {
    /*width: 200px;
    height: auto;*/
    display: block;
    margin: 10px 0;
}



/* 下から上へ */
section#testimonials .phbox .scroll-up {
    animation: scroll-up 80s linear infinite;
}

@keyframes scroll-up {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* 上から下へ */
section#testimonials .phbox .scroll-down {
    animation: scroll-down 80s linear infinite;
}

@keyframes scroll-down {
    0%   { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}


/* 重要：2セット分並べた全体を"半分"だけ動かすと綺麗にループする */
.scroll-up{
  animation: scrollUp 18s linear infinite;
}
.scroll-down{
  animation: scrollDown 18s linear infinite;
}

/* 2セット分(=200%)並んでいる前提で -50% 動かす */
@keyframes scrollUp{
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@keyframes scrollDown{
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

/* ユーザーが動きを減らす設定なら止める */
@media (prefers-reduced-motion: reduce){
  .scroll-up,.scroll-down{ animation: none; }
}



/*------------------------------------------
  PROMISE（Team Section）
------------------------------------------*/
section#team {
	padding-bottom: 80px;
	padding-top: 80px;
}
section#team .page-team {
	float: none;
}
section#team .titlebox {
	margin-bottom: 50px;
}
section#team .container .titlebox h4 {
	margin: 0 auto 10px;
}
section#team .container .txtbox {
	width: 80%;
	margin: 0 auto 50px;
}
section#team .txtbox p {
	margin: 0 0 15px;
	font-size: 18px;
}
section#team #topprom {
	position: relative;
}
section#team #topprom .wrap {
}
section#team #topprom .box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
section#team #topprom .box:nth-child(2) {
	flex-direction: row-reverse;
}
section#team #topprom .txt,
section#team #topprom .ph {
	width: 50%;
}
section#team #topprom .txt {
	padding: 30px 8%;
}
section#team #topprom .txt .title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 30px;
}
section#team #topprom .num {
	width: 18%;
	font-size: 74px;
	font-weight: 700;
	font-style:italic;
	padding-right: 10px;
	letter-spacing: 0;
	color: #01a369;
	line-height: 1;
}
section#team #topprom h3 {
	width: 82%;
	font-size: 28px;
	margin: 0;
	line-height: 1.3;
}
section#team #topprom .com {
	padding-left: 20px;
}

section#team #topprom .ph {
	text-align: center;
}
section#team #topprom .ph img {
	width: 100%;
	height: auto;
}


/*------------------------------------------
  LOW COST（ribbon Section）
------------------------------------------*/
section#ribbon .ribbon-content {
	max-width: 100%;
}
section#ribbon .ribbon-content h2 {
	font-size: 36px;
	letter-spacing: 0;
	margin-top: 0;
}
section#ribbon .ribon-box .txtbox {
	width: 70%;
	margin: 0 auto;
	font-size: 18px;
}
section#ribbon .ribon-box .header-button.left-button {
	font-size: 18px;
}

/*------------------------------------------
  事業内容・エリア（SERVICE Section）
------------------------------------------*/
section#services {
	padding-bottom: 0;
	padding-top: 50px;
}
body.home .service-wrapper {
	background-color: #fff;
}
section#services .service-block.hidden {
	display: none;
}
section#services .service-block {
	float: none;
	padding-top: 50px;
}
section#services .page-services {
	margin-bottom: 50px;
	float: none;
}
section#services h4 {
	color: #01a369;
}
#wrap_topservice ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
#wrap_topservice ul a.img-box {
	width: 25%;
	position: relative;
    overflow: hidden;
}
#wrap_topservice ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#wrap_topservice li h3 {
	margin: 0 auto 10px;
	color: #00ffa4;
}

#wrap_topservice .img-box img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

#wrap_topservice li .txtbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  width: 80%;
}
#wrap_topservice li .txtbox .txt {
	line-height: 1.5;
}

/* オーバーレイ（任意） */
#wrap_topservice a.img-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  /*opacity: 0;*/
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* ホバー時 */
#wrap_topservice ul a.img-box:hover img {
  transform: scale(1.1);
}

#wrap_topservice ul a.img-box:hover::before {
  opacity: 1;
}



/*エリア*/
#toparea {
	background: url(images/img_area.png) no-repeat right center;
	padding-bottom: 220px;
	padding-top: 100px;
}
#toparea .txtbox {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 50px;
}
#toparea h2 {
	margin: 0 0 30px;
}

/*------------------------------------------
  施工事例（Latest Post Section）
------------------------------------------*/
section#latest-post {
	padding-top: 50px;
	padding-bottom: 50px;
}
section#latest-post .container {
	max-width: 100%;
	width: 100%;
}
section#latest-post h2.main-heading {
	margin-bottom: 50px;
}


section#latest-post .works_scroller{
  overflow: hidden;
  width: 100%;
}

section#latest-post .works_track{
  display: flex;
  align-items: flex-start;
  width: max-content;
  flex-wrap: nowrap;
  gap: 16px;           /* ★間隔はここで一括管理 */
  will-change: transform;
  
  gap: 0px;
}

/* works_list の gap は0にする（li間は track の gap で管理） */
section#latest-post ul.works_list{
  display: flex;
  gap: 16px;              /* ★ここを0 */
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  
  gap: 0px;
}

/* li自体に右マージンを付ける方式でもOKだが、今回はtrack gapが楽 */


section#latest-post .works_list li{
  flex: 0 0 auto;
  width: 272px;
  background-color: #fff;
  
  width: 270px;
}
section#latest-post .works_list .inner{
  /*width: 272px;*/
  padding-bottom: 10px;
}
section#latest-post .works_list .ph{
  /*width: 272px;*/
  height: 180px;
  overflow: hidden;
  text-align: center;
}
section#latest-post .works_list .ph img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* はみ出し部分を隠して統一 */
  display: block;
  
  display: inline-block;
}
section#latest-post .works_list .cate{
  font-size: 12px;     /* 少し小さめ */
  margin-top: 10px;
  display: inline-block;
  background-color: #01a369;
  color: #fff;
  line-height: 1.3;
  padding: 2px 5px;
  border-radius: 5px;
}
section#latest-post .works_list h3{
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  margin: 4px 0 0;
  padding: 0 10px;
}

/*------------------------------------------
  お知らせ・インフォメーション（固定ページ）
------------------------------------------*/
#wrap_home .title {
	text-align: center;
	margin-bottom: 50px;
}
#wrap_home h4 {
}
#wrap_home h2 {
	margin: 0 auto;
}


section#topnews {
	padding-top: 100px;
	padding-bottom: 80px;
}
section#topnews .newslist {
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
section#topnews .newslist ul {
}
section#topnews .newslist ul li {
	display: flex;
	flex-wrap: wrap;
	font-size: 16px;
	line-height: 1.5;
}
section#topnews .newslist li .box {
}
section#topnews .newslist li .date {
	width: 110px;
}
section#topnews .newslist li .newstitle {
}
section#topnews .newslist a {
	padding: 10px;
	display: block;
	width: 100%;
	border-bottom: 1px solid #ccc;
	color: #333;
	font-weight: 400;
}
section#topnews .newslist a:first-child {
	border-top: 1px solid #ccc;
}
section#topnews .newslist a:hover {
	background-color: #F1F1F1;
}
section#topnews .morebtn {
	text-align: center;
	margin-top: 50px;
}
section#topnews .morebtn .inner {
	display: inline-block;
	background-color: #01a369;
	color: #fff;
	font-size: 18px;
	padding: 7px 60px;
}

/*インフォメーション*/
section#topinfoarea {
	background: url(images/bg_topinfo.jpg) no-repeat center;
	background-size: cover;
	padding: 80px 20px 140px;
}
section#topinfoarea .wrap {
	display: flex;
	flex-wrap: wrap;
}
section#topinfoarea .box {
	width: 50%;
}
section#topinfoarea .infotxt {
	padding-right: 50px;
}
section#topinfoarea .infotxt h3 {
	margin: 0 0 10px;
	color: #01a369;
}
section#topinfoarea .infotxt table {
	width: 100%;
}
section#topinfoarea .infotxt tr {
	background-color: #fff;
}
section#topinfoarea .infotxt tr:nth-child(2n) {
	background-color: rgba(255, 255, 255, 0);
}
section#topinfoarea .infotxt th,
section#topinfoarea .infotxt td {
	text-align: left;
	padding: 7px 10px;
	line-height: 1.5;
	font-size: 15px;
}
section#topinfoarea .infotxt th {
	width: 22%;
	font-weight: 400;
}
section#topinfoarea .infotxt td {
}

section#topinfoarea .gmap {
}






























