@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap');

.pw-top {
  width: 100%;
  max-width: 1300px;
  padding-inline: 20px;
  margin-inline: auto;
}

.header{

}


.top-visual{
	margin: 0 20px;
	border-radius: 20px 20px 0 0px;
	overflow: hidden!important;
	position: relative;
}
.tv-inner{
	height: calc( 100vh - 100px);
	background: no-repeat center/cover scroll;
	position: relative;
}

/*NEWS CSSで付与してしまったborder-bottomをトップでは削除*/
.home .nav-wrap{
  border: none;
}

/*========================================
	ヒーロースライダー
========================================*/

.sec-hero{
	position: relative;
	margin: 0 20px;
}

.hero-slider{
  position: relative;
  height: calc( 100svh - 160px ); /* スクリーン高 svhスマホ対応 */
  overflow: hidden; /* 角丸対応 */
  border-radius: 16px; /* 角丸SP */
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.20) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none; /* クリックを邪魔しない */
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .slide.active {
  opacity: 1;
}
@media (min-width:768px){
	.sec-hero{
		margin: 0 30px;
	}
	.hero-slider{
		height: calc( 100vh - 135px ); /* スクリーン高 vhスマホPC対応 */
		border-radius: 32px; /* 角丸PC */
	}
}

/*キャッチコピー*/
.hero-catch{
  position: absolute;
  bottom: 44%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,1.00);
  
  white-space: nowrap;
}
@media (min-width:768px){
  .hero-catch{
    text-align: center;
  }
}
.main-copy{
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  font-weight: 800;
  font-feature-settings: "palt" 1;
  line-height: 1.2;
  text-shadow: 0 0px 10px rgba(0,0,0,0.47);
}
.fv-since{
  font-size: clamp(1.6rem, 1.8vw, 2.1rem);
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  text-shadow: 0 0px 5px rgba(0,0,0,0.9);
  line-height: 1.6;
  margin-top: 0.4em;
}
.fv-since span{
  margin-right: 0.25em;
}



/*========================================
	ヘッドラインニュース
========================================*/

/*１行ニュース箱*/
.headline{
	background: #F9F9F9;
	bottom: 0;
	padding: 15px 0 0;
	width: 100%;
}
/* 見出し「NEWS」*/
.headline-h{
	color: #246524;
	font-weight: 300;
	font-size: 1.6rem;
	margin: 0 0 5px;
}
/* ニュース入れ定義リスト*/
.headline dl{
	font-size: 1.3rem;
	display: flex;
	gap: 0 1em;
}
/*日付*/
.headline dt{
	font-family: "Oswald", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
}
/*リンク処理*/
.headline a:hover{
	text-decoration: underline;
}

@media (min-width:768px){
	/*ニュース箱*/
	.headline{
		position: absolute;/*右下固定*/
		bottom:0;
		right: 0;
		padding: 30px 40px 20px 30px ;
		width: auto;
		border-radius: 24px 0 0 0;/* 角丸 */
	}
	/*PC時 箱の上横 角丸を画像で追加*/
	.headline:before,
	.headline:after{
		content: "";
		position: absolute;
		background-image: url("../image/top/rounded-part-headline.svg");
		background-size: cover;
		background-position: center;
		width: 30px;
		height: 30px;
	}
	.headline:before{
		bottom: 0;
		left: -30px;
	}
	.headline:after{
		top: -30px;
		right: 0;
;
	}
}



/* Section Separator---------------------------------------------------------

　セクション共通部品

----------------------------------------------------------------------------*/
.sec-header{
	margin: 0 0 50px;
}
/*共通英語タイトル・サイズ*/
.sec-header .en-title{
	font-size: 8rem;
	line-height: 1;
}
/*セクションタイトル*/
.h2-title{
	font-size: 2rem;
	line-height: 1;
	margin: 1em 0;
}
/*共通セクション間隔*/
.sec-top{
	margin: 150px auto;
}

/* Section Separator---------------------------------------------------------

　イントロ

----------------------------------------------------------------------------*/
/*セクション*/
.sec-intro{
	margin: 100px auto 0;
	position: relative;
	display: flex;
	overflow: visible; /* ← 重要 */
}

/*見出しの間に現れるイメージ写真 SPのみ */
.intro-sp-ph{
	aspect-ratio: 3 / 2;
	background: url("../image/top/top-intro202601-sp.webp") center left/cover;
}
@media (min-width:768px){
	.intro-sp-ph { display: none; }
}

.col-left{
	width: 100%;
}
/*イントロのコンテンツwrap*/
@media (min-width:768px){
	.col-left {
		width: 34%;
		z-index: 2;
		padding: 50px 0;
	}
}


/*右カラムの写真　PCのみ*/
.col-right{
	display: none;
}
@media (min-width:768px){
	.col-right {
		display: block;
		background: url("../image/top/top-intro202601.webp") center left/cover;
		position: absolute; /* ← これが安定 */
		top: 0;
		bottom: 0;
	
		left: 41.55%; /* 左カラムの幅ぶんからスタート */
	
		width: calc(58.45% + ( 100vw - 1300px ) / 2 );
		/* 右端まで伸びる「確実に伸びる式」 */
	
		border-radius: 300px 0 0 300px;
	}
}
/*768-1140までの間の写真の幅調整*/
@media (max-width: 1300px) {
  .col-right {
	  width: 58.45%;
	}
}
/*「地域と歩む、確かなものづくり」*/
.intro-copy{
	font-size:min(10vw,45px);
	font-weight: 500;
	line-height: 1.2;
	font-family: "Noto Sans jp", Meiryo, "sans-serif";
}
@media (min-width:768px){
	.intro-copy{
		font-size:min(4vw,45px);
	}
}
/*タイトル - わたしたちについて*/
.intro-title{
	font-size: 2rem;
	font-weight: 600;
	margin: 1em 0;
}
/*ボディーコピー*/
.intro-body{
	margin: 30px 0;
	line-height: 2;
}

/*緑の角丸ボタン--------*/
.btn_top-index{
	max-width: 306px;
}
.btn_top-index a{
	background: #3c6d50;
	color: #FFF;
	display: block;
	line-height: 7rem;
	padding: 0 4rem;
	border-radius: 50px;
	position: relative;
}
.btn_top-index a::after{
	content: '→';
	color: #3c6d50;
	font-size: 2.8rem;
	height: calc( 7rem - 10px );
	aspect-ratio: 1 / 1;
	background: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	position: absolute;
	right:5px;
	top: 5px;
}
/*緑の角丸ボタンSサイズ*/
.btn_top-index.s{
	max-width: 202px;
	margin: 0 auto;
}
.btn_top-index.s a{
	line-height: 5rem;
	padding: 0 3rem;
	font-size: 1.4rem;
	font-weight: 600;
}
.btn_top-index.s a::after{
	height: calc( 5rem - 10px );
}

/*セクション間のマージン*/
main section{
	margin: 100px 0;
}

/* Section Separator---------------------------------------------------------

　事業内容

----------------------------------------------------------------------------*/

.sec-service figure{
	border-radius: 15px;
	overflow: hidden;
}
.sec-service ul{
	display: flex;
	flex-direction: column;
	gap: 20vw 0;
}
.sec-service h3{
	font-size: 2.2rem;
	font-weight: 600;
	line-height: 1;
	margin: 1em 0 0.5em;
	text-align: center;
}
.sec-service p{
	font-size: 1.4rem;
	line-height: 1.6;
	margin: 1.5em 0;
	font-weight: 300;
}
@media (min-width:768px){
	.sec-service ul{
		display: flex;
		flex-direction: row;
		gap: 0 5vw;
	}
	.sec-service ul li{
		flex: 1;
	}
}
/* Section Separator---------------------------------------------------------

　施工実績

----------------------------------------------------------------------------*/



/* slickのスライドアイテム */
.works-slick .slick-child {
  /* 幅などはslickの設定や全体レイアウトに任せる */
}

/* 画像枠（アスペクト比 480 : 730 を固定） */
.works-slick .slick-child figure.works-thumb {
  width: 100%;
  aspect-ratio: 480 / 730; /* ★ここがポイント：どんな画像も480:730枠に合わせる */
  overflow: hidden;
  margin: 0 0 16px 0;
  background-color: #f5f5f5; /* 読み込み前のダミーカラー */
}

/* 画像本体（枠の中で切り抜き拡大表示） */
.works-slick .slick-child figure.works-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 枠を埋めるように切り抜き */
  object-position: center;/* 中央を基準にする */
  display: block;
}




.works-slick{
	margin: 0 -20px 50px;
}
.slick-child{
	margin: 0 15px;
}
.works-slick h3{
	font-size: 1.5rem;
	line-height: 1.3;
	margin: 0.75em 0 0.25em;
}
.works-tag{
	display: flex;
	gap: 7px 7px;
}
.works-tag li{
	font-size: 1.2rem;
	line-height: 1;
	border: 1px solid #333;
	padding: 0.4em;
	border-radius: 5px;
}
@media (min-width:768px){
	.works-flex{
		display: flex;
		
		position: relative;
		overflow: visible; /* ← 重要 */
	}
	.top-works-header{
		width: 23%;
		background: rgba(232,232,232,0.00);
		/* position: absolute; ← 不要であれば削除（Flexboxで横並びにする） */
	}
	.top-works-header p{
		font-size: 1.4rem;
		line-height: 1.6;
	}
	.works-slick{
		/*width: 70%;*/
		background: rgba(198,198,198,0.00);
		margin: 0 0 50px;
		
		/* ↓ position: absolute をやめて relative（通常フロー）に戻す */
		position: relative; 
		/* top: 0; bottom: 0; も削除 */
		
		/* 左側の余白は margin-left で調整 */
		margin-left: 2%; 

		/* 画面右端までスライダーを突き出させる計算式 */
		width: calc( 75% + ( 100vw - 1100px ) / 2 );
	}
}

/*768-1140までの間の写真の幅調整*/
@media (480px <= width <= 1140px ) {
	.works-slick{
		width: 65%;
		width: calc( 65% + 20px );
	}
}


.btn_top-index.works{
	margin: 0 auto;
}
@media (min-width:768px){
	.btn_top-index.works{
		margin: 0 0 0 auto;
	}
}

.slider-controls{
	display: none;
}
@media (min-width:768px){
	.slider-controls{
		display: flex;
		gap: 0 15px;
		margin: 30px 0 0;
	}
	.custom-btn{
		font-size: 3rem;
		border: 1px solid #333;
		border-radius: 100px;
		width: 80px;
		aspect-ratio: 1 / 1;
		text-align: center;
	}
}

/* Section Separator---------------------------------------------------------

　お知らせ

----------------------------------------------------------------------------*/

/*リストそのもの FLEXタテ*/
ul.news-list{
	display: flex;
	flex-direction: column;
	gap: 25px 0;
}
/*リストの各コマ*/
ul.news-list li{
	padding: 20px;
	background: #FFF;
	border-radius: 5px;
	position: relative;
}
ul.news-list li a{
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
}
ul.news-list li:hover .title-text{
	background: linear-gradient(transparent 60%, #E6F8FA 30%);
	display: inline-block;
}
/*日付・インライン*/
ul.news-list li time{
	
}
/*タグ・インライン*/
ul.news-list li .news-tag{
	display: inline-block;
	/*border: 1px solid #333;*/
	
	font-size: 1.2rem;
	line-height: 2.0;
	padding: 0 10px;
	border-radius: 30px;
	vertical-align: 1px;
	text-align: center;
	margin: 0 0 0 0.8em;
}
/*お知らせ本文*/
ul.news-list li div{
	margin: 0.25em 0 0;
}

@media (min-width:768px){
	.news-flex{
		display: flex;
		gap: 0 100px;
	}
	ul.news-list{
		width: 100%;
	}
	ul.news-list li{
		padding: 30px 40px;
		display: flex;
		align-items: flex-start;
		gap: 0 0px;
	}
	ul.news-list li a{
		position: absolute;
		top: 0;
		left: 0;
	}
	ul.news-list li time{
		width: 110px;
		flex: 0 0 110px; 
	}
	ul.news-list li .news-tag{
		width: 130px;
		flex: 0 0 130px; 
		padding: 0px 0;
		vertical-align: 2px;
	}
	ul.news-list li div{
		flex: 1 1 auto;
		/*width: calc( 100% - 300px );*/
		margin: -0.05em 0 0 30px;
	}
}

/* Section Separator---------------------------------------------------------

　企業情報

----------------------------------------------------------------------------*/

.col-right-company{
	background: url("../image/top/top-company.jpg") center left/cover;
	min-height: 400px;
}

.company-sp-ph{
	background: url("../image/top/top-company.jpg") center left/cover;
	margin: 0 0 30px;
}

/* Section Separator---------------------------------------------------------

　採用情報

----------------------------------------------------------------------------*/
.sec-recruit{
	position: relative;
	padding: 80px 0;
	text-align: center;
	color: #FFF;
	z-index: 0;
	background: #000000;
	margin: 200px 0 0;
}
.sec-recruit::before{
	z-index: -1;
	content:'';
	position: absolute;
	top: 0;
	display: block;
	opacity: 0.65;
	width: 100%;
	height: 100%;
	background: url("../image/top/recruit-bg2026.webp") center center/cover;
}
.sec-recruit .en-title{
	font-size: 8rem;
}
.sec-recruit .h2-title{
	margin-top: 0.5em;
  color: #FFF;
}

.sec-recruit .intro-txt{
	line-height: 2;
	margin: 50px 0;
}
.btn_top-index.recruit{
	margin: 0 auto;
	text-align: left;
}







