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

/*
Theme Name: 田中鉄筋
Theme URI: https://nagano.it.com/ttekkin/
Author: NAGANO IT
Description: 田中鉄筋様専用ワードプレステーマ
Version: 1.0
*/


/*――――――――――――――――――――――――――――――――
  1. カラーパレット（CSS変数）
――――――――――――――――――――――――――――――――*/
:root {
  --primary:   #003047;
  --secondary: #fcb900;
  --accent:    #000000;
  --bg:        #FFFFFF;
  --text:      #003047;
}

/*――――――――――――――――――――――――――――――――
  2. ベースリセット＆レイアウト
――――――――――――――――――――――――――――――――*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'ヒラギノ角ゴ Pro','メイリオ', sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

/*――――――――――――――――――――――――――――――――
  3. タイポグラフィ
――――――――――――――――――――――――――――――――*/
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-family: 'ヒラギノ角ゴ Pro','メイリオ', sans-serif;
}
h1 {
  font-size: 48px;
  line-height: 1.2;
}
h2 {
  font-size: 36px;
  line-height: 1.3;
}
p, li, a, span {
  font-size: 16px;
  line-height: 1.75;
}

/*――――――――――――――――――――――――――――――――
  4. ボタン共通スタイル
――――――――――――――――――――――――――――――――*/
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
}
.btn:hover {
  background: var(--secondary);
  color: var(--accent);
  cursor: pointer;
}

/*――――――――――――――――――――――――――――――――
  5. レスポンシブ設計
――――――――――――――――――――――――――――――――*/

/* header：768px 以下でナビを隠してハンバーガー表示 */
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .global-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

}

/*――――――――――――――――――――――――――――――――
  6. ふわっと動き追加
――――――――――――――――――――――――――――――――*/
/*----------------------------
scroll_up ｜下から上へ出現
----------------------------*/
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}

/*----------------------------
scroll_left ｜左から出現
----------------------------*/
.scroll_left {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/*----------------------------
scroll_right ｜右から出現
----------------------------*/
.scroll_right {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/*----------------------------
timing ｜遅れて出現
----------------------------*/
.timing02 {transition-delay: .2s;}
.timing03 {transition-delay: .4s;}
.timing04 {transition-delay: .6s;}
.timing05 {transition-delay: .8s;}

/*―――――――――――――――――
  Header（site-header）
―――――――――――――――――*/
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--bg);
}

/* ロゴ画像 */
.site-header .logo img {
  display: block;
  height: 65px;
  width: auto;
}

/* グローバルナビ */
.global-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

a{
    text-transform: uppercase;
    color: var(--primary);
    cursor: pointer;
    transition: color .2s ease;
		text-decoration: none;
		}
		
a:hover{
color: var(--secondary);
}

.ctabtn{
position: fixed;
right: -1px;
top:40%;
z-index: 99999;
}


.cta-switchr {
  content: url("images/top/ctabth.png");
}

.cta-switch:hover {
  content: url("images/top/ctabtn-h.png");
}

.global-nav li {
  font-family: 'ヒラギノ角ゴ Pro','メイリオ', sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary);
  cursor: pointer;
  transition: color .2s ease;
}

.global-nav li:hover {
  color: var(--secondary);
}

/* Instagramアイコン */
.global-nav li img {
  display: block;
  width: 24px;
  height: auto;
}



/*――――――――――――――――――――
  Mobile Hamburger Menu
――――――――――――――――――――*/
.site-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg);
  z-index: 10;
}

/* ハンバーガーボタン */
.menu-toggle {
  display: none;           /* デフォルトは非表示 */
  /* 背景色をプライマリーに */
  background: var(--primary);
  /* 正方形にしたい場合 */
  width: 40px;
  height: 40px;
  /* 中央に3本線を縦並び */
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  /* 余白 */
  padding: 6px;
  /* 枠線なし */
  border: none;
}

/* 線を白に */
.menu-toggle span {
  display: block;
  width: 70%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

/* メニュー（ドロワー）初期状態は非表示 */
.global-nav {
  display: flex;
  gap: 1.5rem;
}
.global-nav.is-open {
  display: flex;
}

/* 768px 以下で切り替え */
@media (max-width: 767px) {

/* スマホ幅の目安（例：max-width:767px）でだけ効くように */
  .ctabtn{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    /* pointer-events:none で、隠れている間はクリックも受け付けないように */
    pointer-events: none;
  }
  .ctabtn.visible{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }


	.site-header .logo img{
	height: 45px;
	}
  /* ハンバーガーを表示 */
  .menu-toggle {
    display: flex;
  }
  /* 通常メニューは隠す */
  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  /* 開いたときに表示 */
  .global-nav.is-open {
    display: flex;
  }
	
	.global-nav ul {
		display: block;
	}
  .global-nav li {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
  }
  .global-nav li:last-child {
    border-bottom: none;
  }
}

/*――――――――――――――――――――――――――
  Hero セクション：全画面動画
――――――――――――――――――――――――――*/
.hero {
  position: relative;
  width: 100%;
  height: 100vh;        /* ビューポートの高さをフルに使う */
  overflow: hidden;     /* はみ出しは隠す */
  background: #000;     /* 動画読み込み前の背景色（お好みで） */
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;    /* 動画のアスペクト比をキープして拡大 */
}

/* ラッパーを position:relative に */
.fv-video-wrapper {
  width: 100%;
  height: auto; /* 必要に応じて高さを固定してもOK */
}

/* 中央で回るスピナー */
.fv-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px; /* 自身の半分だけオフセット */
  border: 4px solid rgba(255,255,255,0.6);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fv-spin 0.8s linear infinite;
  z-index: 10;
}

/* スピナー非表示用 */
.fv-spinner.hidden {
  display: none;
}

@keyframes fv-spin {
  to { transform: rotate(360deg); }
}


@media (max-width: 768px) {
  /* wrapper を画面いっぱいに */
  .fv-video-wrapper {
    position: relative;   /* spinner 用にも必要 */
    width: 100%;
    height: 100vh;        /* hero と同じ高さに */
  }

  /* 動画を wrapper にピッタリ合わせる */
  .hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* transform はリセット */
    transform: none;
    object-fit: cover;    /* 縦横比を保って切り出し */
  }
}



/*――――――――――――――――――――――――――――
  Newsセクション リニューアル
――――――――――――――――――――――――――――*/
.news {
  padding: 4rem 2rem;
  background: var(--bg);
	max-width: 1300px;
	margin: auto;
}
.news .news__inner {
  max-width: 1150px;
	position: relative;
  margin: 0 auto;
}

/* ヘッダー：タイトルと「一覧を見る」リンク */
.news__title {
  text-align: center;
	font-size: 36px;
	font-weight: bold;
	color: var(--primary);
	margin-bottom: 4rem;
	position: relative;
}
.news__title::after {
  content: '';
	width: 4rem;
	height: 3px;
	background: var(--primary);
	position: absolute;
	bottom: -0.5rem;
	left: 50%;
	transform: translateX(-50%);
}
.news__more {
  font-size: 1rem;
  color: darkgray;
  text-decoration: none;
  transition: color .2s ease;
	position: absolute;
	top:0;
	right: 0;
}
.news__more:hover {
  color: var(--primary);
}

/* リスト本体：2カラムレイアウト */
.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: 1.5rem;
}
.news__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 2rem;
  align-items: center;
  padding: 0.75rem 0 0;
  position: relative;
}
/* 項目間の区切り線（全幅）*/
.news__list li::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 71%;
  height: 1px;
  background: #e0e0e0;
}

/* 日付ピル */
.news__list time {
	width: 300px;
  display: inline-block;
  padding: 1rem 1.5rem;
  border: 1px solid var(--primary);
  border-radius: 2rem;
  background: var(--bg);
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  text-align: center;
  white-space: nowrap;
}

/* お知らせテキスト */
.news__list a {
  color: var(--primary);
  font-size: 1rem;
  text-decoration: none;
  transition: color .2s ease;
}
.news__list a:hover {
  color: var(--secondary);
}

/*――――――――――――――――――――――――――――
  News セクション：SP版縦並び＆中央揃え
――――――――――――――――――――――――――――*/
@media (max-width: 767px) {
  /* セクション全体を相対配置にして下部にスペースを確保 */
  .news {
    position: relative;
    padding-bottom: 4rem; /* 下にリンク分の余白 */
  }
	
	.news__list li {
	display: block;
	text-align: left;
	padding-bottom: 20px;
	}
	
	.news__list time {
	display: block;
	margin-bottom: 20px;
	}
	
	.news__list li::after{
	right: 0%;
	width: 100%;
	}
	

  /* リンクをセクションの下中央に絶対配置 */
.news__more {
    position: absolute;
    bottom: -50px;         /* セクション内の下からの位置 */
		top:auto;
    left: 50%;
    transform: translateX(-50%);
    /* 元々の右寄せを解除 */
    text-align: center;
  }

  /* 上部のヘッダー内余白を少し詰めたい場合（任意） */
  .news__header {
    margin-bottom: 1rem;
  }
	
/* 日付ピル */
.news__list time {
	width: 130px;
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 2rem;
  background: var(--bg);
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  text-align: center;
  white-space: nowrap;
}
	
	
}




/* about：1024px 以上は 2カラム、<1024px は縦並び */

/*――――――――――――――――――――――――――
  Aboutセクション
――――――――――――――――――――――――――*/
.about {
  background: #EFEFEF;
  padding: 6rem 1rem 12rem;
}
.about__inner {
  max-width: 1300px;
  margin: 0 auto;
}

.about__title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4rem;
  position: relative;
}
.about__title::after {
  content: '';
  width: 4rem;
  height: 3px;
  background: var(--primary);
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.title_for_sp{
display: none;
}

.about__content {
  position: relative;
  width: 100%;
}

.about__bg {
  width: 1000px;
  margin-left: auto; /* 親の右端に揃える */
}
.about__bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 画像の左端からテキストを載せる */
.about__overlay {
  position: absolute;
  top: 390px;
  left: 0;
  padding: 0;
}

/* 各要素の装飾 */
.about__subtitle {
  font-size: 0.875rem;
  color: gray;
	font-weight: bold;
  margin-bottom: 1rem;
}
.about__highlight span {
  display: inline-block;
  background: #FFF100;
	background-color: rgba(255, 241, 0, 0.5);
  padding: 0.2em 0.5em;
  margin-bottom: 0.4em;
  font-weight: bold;
  font-size: 2.8rem;
  line-height: 1.4;
  color: var(--primary);
}
.about__desc {
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1.5rem;
  color: var(--text);
}

/* ボタン配置：画像下に中央揃え */
.about__button-wrapper {
  text-align: center;
  margin-top: 2rem;
	width: 300px;
	margin-right: 150px;
	margin-left: auto;
}



@media (max-width: 767px) {

.about{
padding: 6rem 1rem 4rem;
}

.about__content{
margin-bottom: -350px;
}

.about__bg {
width: 100%;
padding-top: 115px;
}

.about__overlay {
  position: relative;
  top: -345px;
	width: 90%;
	margin: auto;
}

.about__desc{
padding-top: 200px;
}

.title_for_sp{
display: block;
position: absolute;
top: 65px;
left: 35%;
color: gray;
}

.about__button-wrapper{
width: auto;
margin-right: 0;
}

.about__btn{
margin: auto;
width: 240px;
display: block;
}


}




/* works（カルーセルスライダー）：常に横並び。幅だけ切り替え */

/*――――――――――――――――――――――――――
  worksセクション
――――――――――――――――――――――――――*/
.works {
  background: #FFF;
  padding: 6rem 1rem 12rem;
}
.works__title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 2.5rem;
  position: relative;
}
.works__title::after {
  content: '';
  width: 4rem;
  height: 3px;
  background: var(--primary);
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.works__lead,.about__lead{
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	color: gray;
	padding-bottom: 30px;
}

.works__grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
	margin-bottom: 60px;
}
.works__grid li {
  flex: 0 0 auto;
	list-style: none;
}

.works__grid li img{
width: 100%;
}

.works__highlight{
	text-align: center;
	font-weight: bold;
	font-size: 3rem;
	background: yellow;
	display: inline-block;
	}
	
.works__sentence{
margin: auto;
max-width: 660px;
}

.works__sentence img{
width: 100%;
}

/* ボタン配置：画像下に中央揃え */
.works__btn {
	margin: 50px auto 0;
	width: 300px;
	display: block;
}

.hover-switch {
  content: url("images/viewmore.png");
	width: 100%;
}

.hover-switch:hover {
  content: url("images/viewmore-2.png");
}


@media (min-width: 1024px) {
  .works__grid li {
    flex-basis: 33.333%;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .works__grid li {
    flex-basis: 50%;
  }
}
@media (max-width: 767px) {

.works{
padding: 4rem 1rem 4rem;
}

.works__title{
margin-bottom: 1.2rem;
}

.works__lead{
font-size: 16px;
}


  .works__grid li {
    flex-basis: 100%;
  }

.works__grid {
  display: block;
	margin-bottom: 60px;
}

.works__btn {
width: 240px;
}
	
}

/* recruit：1024px 以上は 2カラム、<1024px は縦並び */
/*――――――――――――――――――――――――――
  recruitセクション
――――――――――――――――――――――――――*/
.recruit {
  background-color:var(--primary);
  padding: 6rem 1rem 12rem;
}
.recruit__inner {
  max-width: 1300px;
  margin: 0 auto;
}

.recruit__title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4rem;
  position: relative;
}
.recruit__title::after {
  content: '';
  width: 4rem;
  height: 3px;
  background: #fff;
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.recruit__content {
  position: relative;
  width: 100%;
}

.recruit__bg {
	width: 1000px;
	position: relative;
	right: 240px;
	top: 125px;
}
.recruit__bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.recruit__overlay {
  position: absolute;
	top: 0;
	right: 100px;
	padding: 0;
}

.recruit__cta{
display: flex;
column-gap: 70px;
justify-content: center;
margin: 200px auto 0;
}
/* ボタン配置：画像下に中央揃え */
.recruit__btn {
	width: 300px;
	display: block;
}

.recruit__lead{
color: white;
}

.recruithover-switch {
  content: url("images/top/recruit-btn.png");
}

.recruithover-switch:hover {
  content: url("images/top/recruit-btn-2.png");
}

@media (max-width: 767px) {

.recruit{
padding: 6rem 1rem 4rem;
}

.recruit__bg {
	width: 100%;
	position: relative;
	right: 0;
	top: 350px;
}

.recruit__overlay{
width: 200px;
position: relative;
right: inherit;
margin: auto;
top: -200px;
}

.recruit__overlay img{
width:100%;
}

.recruit__cta{
margin: 50px auto 0;
flex-wrap: wrap;
flex-direction: column-reverse;
}

.recruit__btn{
width:240px;
margin: 30px auto 0;
}

.recruit__btn img{
width: 100%;
}


}

/* company：1024px 以上は 2カラム、<1024px は縦並び */
/*――――――――――――――――――――――――――
  company セクション
――――――――――――――――――――――――――*/
.company {
  background: #fff;
  padding: 6rem 1rem 3rem;
}
.company__inner {
  max-width: 1300px;
  margin: 0 auto 80px;
}

.company__title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4rem;
  position: relative;
}
.company__title::after {
  content: '';
  width: 4rem;
  height: 3px;
  background: var(--primary);
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.company__content {
  position: relative;
  width: 100%;
}

.company__bg {
  width: 1000px;
  margin-left: auto; /* 親の右端に揃える */
}
.company__bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 画像の左端からテキストを載せる */
.company__overlay {
  position: absolute;
  top: 490px;
  left: 0;
  padding: 0;
}

/* ボタン配置：画像下に中央揃え */
.company__btn {
	margin: 50px 140px 0 auto;
	width: 300px;
	display: block;
}

@media (max-width: 767px) {
.company{
padding: 6rem 1rem 2rem;
}

.company__bg {
	width: 100%;
	position: relative;
	right: 0;
	top: 150px;
}

.company__overlay{
width: 300px;
position: relative;
right: inherit;
margin: auto;
top: -222px;
}

.company__overlay img{
width:100%;
}

.company__btn {
	margin: 80px auto 0;
	width: 240px;
	display: block;
}

.company__inner{
margin: 0 auto 40px;
}

}



/* information：1024px 以上は 2カラム、<1024px は縦並び（画像を下に） */
/*――――――――――――――――――――――――――
  info セクション
――――――――――――――――――――――――――*/
.info {
  background: #efefef;
  padding: 6rem 1rem 2rem;
}
.info__inner {
  max-width: 1300px;
  margin: 0 auto 80px;
}

.info__title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4rem;
  position: relative;
}
.info__title::after {
  content: '';
  width: 4rem;
  height: 3px;
  background: var(--primary);
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.info__content {
  display: flex;
	justify-content: center;
	column-gap: 100px;
  width: 100%;
}

.info__txt{
flex-basis: 600px;
}

.info__txt p{
color: gray;
font-weight: bold;
font-size: 1rem;
margin-bottom: 50px;
padding-left: 63px;
}

.info__txt dl{
display: flex;
flex-wrap: wrap;
}

.info__txt dl dt{
width: 30%;
text-align: center;
}

.info__txt dl dd{
width: 70%;
}

.info__txt dl dt,.info__txt dl dd{
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #ddd;
}

.info__photo{
flex-basis: 600px;
}

.info__photo img{
width: 100%;
}

.for_sp{
display: none;
}

@media (max-width: 767px) {
.info__content {
    width: 100%;
		flex-wrap: wrap;
flex-direction: column-reverse;
}

.info__txt,.info__photo{
flex-basis: 95%;
margin: 20px auto 0;
}

.info__txt dl dt {
width: 25%;
}

.info__txt dl dd{
width: 75%;
}

.info__inner{
margin-bottom: 0;
}

.for_pc{
display: none;
}

.for_sp{
display: inline;
}
}

footer{
	padding:30px;
  background: var(--primary);
}

footer p{
color:#fff;
text-align: center;
}