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

/** {
  outline: 2px solid blue;
} */
body {
  font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
  font-size: 16px;
  margin: 0 auto;;
  padding: 0;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

/* ----ヘッダー ---- */
header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: rgba(255,255,255,0.10);
	 transition: background-color 0.3s;
}

img{
	max-width: 100%;
	height: auto;
	display: block;
}
.header{
	 position: fixed;
display: flex;
	align-items: center;
	background-position: center;
	background-size: cover;
	
}

/* サイズの値にパディング／ボーダーも含むようにする */
*, *::before, ::after {
	box-sizing: border-box;
}


/* ----ヘッダーロゴ ---- */
.header-inner img {
  width: 180px;
  height: auto;
  margin: 0 auto;
}
.header-inner {
  width: 25%;
  padding-top: 5px;
	
}

/* スクロール後 */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ----ヘッダーメニュー---- */

.nav-list{
display: flex;
gap:30px;
font-size: 20px;
margin-right: 50px;
}

.header-nav{
	flex-direction: row;
	text-align:right;
	margin:0 0 0 auto;
	text-decoration: none;
}

.header-nav li{
	list-style:none;
}
.nav-list-item a{
	align-items: center;
	text-decoration: none;
	color: #333;
	 transition: transform 0.3s ease;
	padding-bottom:1px;
	
}
.nav-list-item a:hover {
color:#767676;
    }



/* ---- △△△△ヘッダー △△△△---- */




/* ----トップ画像・テキスト---- */
.topPic{
	display: flex;
	background-image:url("images/25462122_04.png");
	background-position: center;
	background-size: cover;
	background-color: #fff;
	height: 70vh;
	width: 100%;
	
}
.topImage{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* 親（.topPic）の高さに合わせる！ */
  width: 100%;  /* 横も必要に応じて全体に広げる */
  text-align: center;
}
.topPic h1{
	font-size: 3vw;
}
/* ----サービスー---- */
/* ----サービスタイトル---- */
.service{
	 max-width: 1200px; /* 画面に応じて調整可能 */
	text-align: center;
	margin: 0 auto;
  width: 90%;
  margin-top: 40px;
}

.serviceTitle 
{
  position: relative;
  line-height: 1.4;
  padding:0.5em 1em;
  display: inline-block;
	animation: SlideIn 1.6s ;
	background-color: #BF0400;
	color:#fff;
}

.big {
  font-size: 2em; /* 通常の2倍のサイズ */
}


/* CSSアニメーションの設定 */
@keyframes SlideIn {
  0% {
      opacity: 0;
    transform: translateX(-64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----△△サービスタイトル-△△---- */

/* ----サービス４つ---- */

.serviceBlock {
display: flex; /* 横並び */
	flex-wrap: wrap;
 justify-content: center;  /* 写真とテキストを中央に */
  align-items: center; /* 縦方向の中央揃え */
	margin-top: 30px;
	margin-bottom: 50px;
  gap: 40px; /* 写真とテキストの間隔 */
 
}

.servicePic{
	flex: 1 1 400px; /* 最小サイズ300px、最大伸ばさない */
	display: flex;
  justify-content: center;
}

.servicePic img{
	 width: 100%;
  max-width: 400px; /* 写真のサイズ */
	 height: auto; /* 画像の高さ */
	 box-shadow: 0 2px 8px rgba(0,0,0,0.1);

}

.serviceText{
	flex: 1 1 500px;

	
}

.serviceText h2{
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 19px;
	color: #000;

}


.serviceText p{
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
	 text-align: left;

}


/* ----△△サービス４つ△△---- */

/* ---- △△△△サービス△△△△---- */


/* ----施工実績---- */


.service img{
}
.caseStudy{
	background-image:url("images/okiei22141722_l.png");
	background-position: center;
	background-size: cover;
	background-color: #fff;
	height: 45vh;
	
	  display: flex;
  align-items: center;         /* 縦方向の中央揃え */
  justify-content: center;     /* 横方向の中央揃え */
    padding: 20px;
  text-align: center;
	 box-shadow: 0 2px 8px rgba(0,0,0,0.1);

}






.caseStudyBlock{
	display: flex;
  flex-direction: column;      /* ←縦に並べる！ */
	 justify-content: center;
  align-items: center;     /* 縦方向の中央揃え */
         
  text-align: center;      /* テキストの中央揃え（複数行対応） */
	max-width: 1000px;
	 padding: 1rem;
 
}

.caseStudyTitle{
  text-align: center;

}


.caseStudyText {
  max-width: 500px;
  margin: 0 auto 30px;
}

.caseStudyText p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  opacity: 0.9;
}

/* ----施工事例タイトル&テキスト---- */


.caseStudyTitle h1 {
	font-size: 2rem;
	margin-bottom: 20px;
  position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  display: inline-block;

}


/* ----施工事例ボタン---- */


.caseStudyBtn{
  text-align:center;
}

/* ボタン本体 */
.caseStudyBtn .btn{
  position: relative;
  display: inline-block;
  border: 2px solid #333;
  padding: 8px 30px;
  background: transparent;
  width: 100%;
  max-width: 200px;
  text-align: center;
  box-sizing: border-box;
  color:#333;
  text-decoration:none;
}

/* 三角 */
.caseStudyBtn .btn::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #BF0400 transparent transparent;
}

.caseStudyBtn .btn::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent #333 transparent transparent;
}


/* ----△△施工事例ボタン△△---- */

/* ----△△施工実績△△---- */

 
/* ----会社概要---- */

.overview-container{
	 max-width: 1200px; /* 画面に応じて調整可能 */
	text-align: center;
	margin: 0 auto;
  width: 90%;
  margin-top: 20px;
}



.company-infoblock {

  position: relative;
  line-height: 1.4;
  padding:0.5em 1em;
  display: inline-block;
	animation: SlideIn 1.6s ;
	background-color: #BF0400;
	color:#fff;
	margin-bottom: 20px;
}




/* 会社概要 */

    .company-info {
      background: #fff;
      border-radius: 8px;
      padding: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .company-info dl {
      display: flex;
      flex-wrap: wrap;
    }

    .company-info dt {
      width: 30%;
      font-weight: bold;
      margin-bottom: 15px;
    }

    .company-info dd {
      width: 70%;
      margin: 0 0 15px;
		text-align: left;
    }



.company-info dt {
  width: 30%;
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc; /* ←縦線をここに */
  box-sizing: border-box;
}

.company-info dd {
  width: 70%;
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}


/* 代表者挨拶 */

.message{
	max-width: 1200px;
	text-align: center;
	margin: 0 auto;
	margin-top: 40px;
}
.messageTitle {
  position: relative;
  line-height: 1.4;
  padding:0.5em 1em;
  display: inline-block;
	animation: SlideIn 1.6s ;
	background-color: #BF0400;
	color:#fff;
	margin-bottom: 40px;
}

.message h2{
	font-size: 2rem;
}

.name{
	font-size: 1.25rem;
}

.message .name{
	margin-top: 10px;}

/* 地図　*/
.map {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* スマホ対応で折り返し */
}



/* --- 各地図ブロック --- */
.access-map {
  flex: 1 1 45%;
  min-width: 300px;
}

/* --- オシャレなh2 --- */
.access-map h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
  color: #333;
  border-left: 1px solid #ff5722;
}

/* --- Google Map表示枠 --- */
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
}




/* ----△△会社概要△△---- */

/* ----▽コンタクト▽---- */


/* お問い合わせページ用スタイル */
.contact-section {
  background-color: #fff;
	 max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 90%;
	  margin-top: 20px;
}

.contact-container {
	   position: relative;
  line-height: 1.4;
  padding:0.5em 1em;
  display: inline-block;
	animation: SlideIn 1.6s ;
	background-color: #BF0400;
	color:#fff;
	margin-bottom: 20px;
	
}

.contact-container h1 {
  position: relative;
  display: inline-block;
  padding: 0.25em 1em;
}


.contact-container p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #555;
}

/* ----△△コンタクト△△---- */
 /* ---------- フッター ---------- */
footer {
  background-color: #BF0400;
  padding: 1rem;
  font-size: 0.95rem;
  color: #fff;
}

.footerContainer {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap; /* スマホ時に折り返す */
}

.footerImg img {
	background-color: #fff;
  width: 150px;
  height: auto;
}

.footerInfo {
  flex: 1;
}

.footerTitle p {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footerblock {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;

}

.footerText {
  min-width: 220px;
  line-height: 1.6;
	 position: relative;
  padding-left: 1.5rem;
}

	.footerText a {
  color: white;         /* 文字色を白に */
  text-decoration: none; /* 下線を消す */
}



/* ----住所横に線---- */
.footerText::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #fff; /* 線の色を調整 */
    border-radius: 1px;
  }

/* ----コピーライト---- */
.copy p{
	margin-top: 20px;
	text-align: center;
}


@media screen and (max-width: 1024px) {
  .service {
    width: 95%;
  }

  .serviceBlock {
    flex-direction: column;
    align-items: flex-start;
  }

  .servicePic,
  .serviceText {
    flex: 1 1 100%;
    width: 100%;
  }

  .servicePic img {
    width: 100%;
    max-width: 100%;
  }

  .serviceText h2 {
    font-size: 18px;
  }

  .serviceText p {
    font-size: 16px;
  }
}


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーメディアクエリーーーーー */
@media(min-width:769px){
    .sm{
        display: none;
    }
}


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーメディアクエリーーーーー */

@media (max-width: 768px) {
	main{
		padding: 0 1.25%;
	}
	
	 .nav-list {
    display: none !important;
  }
	
	 .title {
    text-align: left;
  }
	/**********************************　
以下、ハンバーガーメニューの設定　
************************************/


  #hamburger {
    background-color: transparent;
    position: relative;
    cursor: pointer;
    margin: 0 0 0 auto;
    height: 60px;
    width: 60px;
  }

  .icon span {
    position: absolute;
    left: 15px;
    width: 30px;
    height: 4px;
    background-color: #141313;
    border-radius: 8px;
    transition: ease 0.75s;
  }

  .icon span:nth-of-type(1) {
    top: 16px;
  }
  .icon span:nth-of-type(2) {
    top: 28px;
  }
  .icon span:nth-of-type(3) {
    bottom: 16px;
}

  .close span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 28px;
  }

  .close span:nth-of-type(2) {
    opacity: 0;
  }

  .close span:nth-of-type(3) {
      transform: rotate(-45deg);
      top: 28px;
  }

  .sm {
	display: none;
    position: absolute;
    top: 90px;
    z-index: 10;
    width: 100%;
    background-color: rgba(90,86,86,0.88);
    box-sizing: border-box; /* 余白の影響を防ぐ */
  }

  .sm .nav-list02 {
	  list-style:none;
    flex-direction: column;
	  align-items: flex-start;
	  margin: 20px;
  }

 .sm a {
    text-align: left;
    border-bottom: solid 1px rgba(255, 255, 255, 0.6);
	 font-size: 1.2rem;
	color: aliceblue;
	}
	
	 	

	
	.header-nav ul {
    flex-direction: column;
    padding-left: 0;
  }

  .nav-list-item {
    margin-bottom: 10px;
  }

	
	
 /* ---------- topイメージキャッチ文字サイズ ---------- */
	.topImage h1 {
    font-size: 1.3rem;
  }
		 /* ---------- サービス ---------- */
	
	.servicePic {
  max-width: 800px;
		margin: 0 auto;
}
	
	
	.servicePic img {
  height: auto;
  display: block;
		width: 100vw;       /* ビューポート幅いっぱい */
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw; /* 中央基準で外にはみ出させる */

}
	
	.serviceTitle h1 {
  font-size: clamp(1rem, 4vw, 2rem); /* 可変サイズでスマホ対応 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
		

	.serviceTitle{
		max-width: 100%;
		text-align: left;
	}
	
  .serviceText p {
    font-size: 15px;
    line-height: 1.6;
  }
	.serviceBlock {
    flex-direction: column;
		align-items: center;
  }
	
	
	
  .serviceText {
    text-align: center;
	   padding: 0px 10px;
  }

  .serviceText p {
    font-size: 15px;
    line-height: 1.6;
  }

	



	

	 /* ---------- 施工事例---------- */

	
	.caseStudy {
    padding: 20px 10px;
  }

  .caseStudyTitle h1 {
    font-size: 1.3rem;
  }

  .caseStudyText p{
    font-size: 0.95rem;
	  text-align: left; /* 左寄せ */
	  
  }

 .caseStudyBtn a {
        max-width: 150px; /* スマホでは幅を小さく */
        font-size: 16px;
    }
	
		 /* ---------- 会社概----- */
	
			 /* ---------- 社長メッセージ----- */
	.message{
		padding: 0 20px;
		
	}
	.message p{
		text-align: left;
	}
	.message .name{
		margin-top: 10px;
		text-align: right;
	}
	
		 /* ---------- 会社概要地図---------- */
	
	
	
	.map {
    flex-direction: column;
    gap: 30px;
  }

  .access-map h2 {
    font-size: 1.25rem;
	  padding-left: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ff5722;
  }

  .map-container iframe {
    height: 300px;
  }
	
	

  .access-map h2::before {
    content: none; /* 左のラインを消す */
  }
	.access-map h2 {
		 border-left:none;
		
	}
	 
	

	 /* ---------- フッター ---------- */
	
	.footer{
		 max-width: 800px;
		margin: 0 auto;
		
	}
	
	.footerContainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footerblock {
    flex-direction: column;
  }


  .footerText {
    padding-left: 0;
    border-top: 1px solid #fff;
    padding-top: 10px;
  }
	
	.footerText::before {
    display: none;
  }
	
	.footerText a {
  color: white;         /* 文字色を白に */
  text-decoration: none; /* 下線を消す */
}
	
}
