@charset "UTF-8";
/* CSS Document */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
}
header .wrap, main {
  margin: 10px auto;
  max-width: 1200px;
  background-color: #fff;
}

footer{
	color: #fff;
	padding: 5px ;
  max-width: 100%;
  background-color: #19469c;
	margin-top: 40px;
}

header {
  text-align: center;
  border-bottom: 5px solid #012e82;
}
header .wrap {
  display: flex;
}
header h1 {
  flex: 1;
  max-width: 50%;
  margin-right: 3%;
}
header .aig {
  flex: 1;
  max-width: 8%;
}
header .tel {
  max-width: 30%;
  margin-left: 10%
}
header h1 img, .main img, img {
  width: 100%;
}

.font_ore{
	color: #f16734;
	font-weight: bold;
}

.font_blue{
	color: #19469c !important;
	font-weight: bold;
}

.mt0{
	margin-top: 0px !important;
}
.mb0{
	margin-bottom: 0px !important;
}

.mt40{
	margin-top: 40px !important;
}
.mb40{
	margin-bottom: 40px !important;
}

.cnt{
	text-align: center;
}

.main_vs {}
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 100%;
  width: 100%;
}
.container_tag {
  text-align: center; /* 中央寄せ（任意） */
  margin: 60px 0px 0;
}
h2 {
  width: 100%;
  font-weight: bold;
  font-size: 3rem;
}
h2.baisho_ttl {
  color: #19469c;
}
h2.rousai_ttl {
  color: #f7ec76;
  text-shadow: 3px 3px 0 #c8b138, -3px -3px 0 #c8b138, -3px 3px 0 #c8b138, 3px -3px 0 #c8b138, 0px 3px 0 #c8b138, 0-3px 0 #c8b138, -3px 0 0 #c8b138, 3px 0 0 #c8b138;
}
h2.shizai_ttl {
  color: #f16734;
}
.bg_baisho, .bg_res {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 40px 0;
  background-color: #e9f4fd;
}
.bg_rousai {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 40px 0;
  background-color: #fcf9de;
}
.bg_shizai {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 40px 0;
  background-color: #f2d1c5;
}
.bg_baisho .container, .bg_rousai .container, .bg_shizai .container, .bg_TGA .container, .bg_res .container, .trouble .container, .jiko .container,.fuan,.w1000 {
  max-width: 1000px;
  margin: 10px auto;
}

.w1000{
	margin-top: 3rem;
	margin-bottom: 3rem;
	width: 100%;
	margin: 0 auto;
}
.box {
  flex: 1;
  min-width: 280px;
  padding: 15px;
}
.box5 {
  flex: 1;
  min-width: 184px;
  padding: 15px;
}
.box_tag {
  display: inline-block; /* インラインブロックで横並びに */
  width: 25%; /* 幅を指定（必要に応じて調整） */
  margin: 0 1%;
  padding: 10px;
}
.tag_txt {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
}
.tag_txt span {
  font-size: 4rem;
  color: #f16734;
}
.caption {
  font-weight: bold;
  font-size: 1.4rem;
}
/*TGA認定*/
.bg_TGA {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 40px 0;
  background-color: #0d1d2c;
  color: #fff;
}
.bg_TGA .container {
  padding: 60px 0;
}
.logo-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.logo_tga {
  width: 240px; /* 小さなロゴ */
  height: auto;
  flex-shrink: 0; /* ロゴが縮まないように */
}
.logo-heading h2 {
  line-height: 1.4;
  margin: 0 0 0 20px;
}
/*レスポンスデバイス周り*/
.bg_res {
  background-color: #d4ebff;
}
.bg_res .container {
  padding: 60px 0;
}
.res_ttl {
  text-align: center;
  margin-bottom: 30px;
}
.res_ttl3 {
  text-align: center;
  width: 100%;
  font-size: 2rem;
}
.res_ttl3 span.ore {
  font-size: 3rem;
  color: #f16734;
}
.res_ttl3 span.blk {
  font-size: 3rem;
}
.fukidashi {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px; /* 角丸（任意） */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* ←ここがシャドウ */
}
.fukidashi p {
  font-size: 1.4rem;
  margin-bottom: 60px;
  font-weight: bold;
}
.res_box {
  background-color: #fff;
  padding: 60px 60px !important;
}
.res_box h3 {
  font-weight: bold;
  width: 100%;
}
/* 横線付きh3スタイル */
.section-title {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 1.4rem;
  color: #333;
  margin: 20px 0;
}
.section-title::before, .section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ccc;
  margin: 0 15px;
}
/* 横並び画像ボックス */
.res_flow {
  display: flex;
  gap: 20px; /* 画像間のスペース */
  justify-content: space-between;
  flex-wrap: wrap; /* スマホ時に折り返す */
  padding: 0 30px;
}
.res_flow_img {
  flex: 1;
  min-width: 200px; /* 小さすぎないように */
  text-align: center;
}
.res_flow_img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.res_tel {
  max-width: 500px;
}
.res_form {
  max-width: 360px;
}

.res_form a {
  display: inline-block;
  transition: 0.3s ease;
}

.res_form a:hover {
  filter: brightness(90%);
  transform: scale(0.98);
}



/*突然やってくる現場のトラブル*/
.trouble {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 40px 0;
  background-color: #f6f6f6;
}
footer {
  text-align: center;
  font-size: 0.9em;
}
.floating-label-buttons {
  position: fixed;
  top: 40%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
  transform: translateY(-50%);
}

.label-btn {
  writing-mode: vertical-rl;  /* 文字を縦書き */
  text-orientation: mixed;
  padding: 10px 5px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px 0 0 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
}

.label-btn.green {
  background-color: #2b998d;
}

.label-btn.orange {
  background-color: #f15a24;
}

.label-btn:hover {
  opacity: 0.85;
  transform: translateX(-5px);
}

.floating-label-buttons {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.floating-label-buttons.show {
  opacity: 1;
}


/*現場のトラブル*/
.trouble .logo-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.logo_trouble {
  width: 200px; /* 小さなロゴ */
  height: auto;
  flex-shrink: 0; /* ロゴが縮まないように */
}
.logo-heading h2.trouble_font {
  line-height: 1.6;
  margin: 0 0 0 20px;
  font-size: 2rem;
}
h2.trouble_font span {
  font-size: 3rem;
  display: inline;
  background-position: left -100% center;
  padding-bottom: 0.6em;
  font-weight: bold;
  background-size: 200% 0.3em;
  background-repeat: repeat-x;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgb(255, 255, 102) 50%);
  transition: background-position 2s 0.1s;
}
.trouble_box5 p {
  text-align: center;
  font-weight: bold;
}
.trouble h3{
	text-align: center;
	font-size: 2.2rem;
	font-weight: bold;
	width: 100%;
	margin-top: 20px;
}
.yellow_box{
	display: flex;
	flex-wrap: wrap;
	background-color: #f7ec76;
	padding: 40px;
}
.yellow_box_pic{
  flex: 1;
  max-width: 340px;
}
.yellow_box_text{
  flex: 1;
	padding: 0 0 0 40px;
}

.yellow_box_small{
	font-size:3.5rem;
}

.yellow_box_big{
	font-size:8rem;
	line-height: 8rem;
}

.yellow_box_big span{
	font-size: 3rem;
}

.yellow_box_text p{
	font-weight: bold;
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.tahatsu h2.trouble_font{
	text-align: center;
	margin-top: 80px;
}




/*労災事故*/
.jiko .ballonred{
	max-width: 50%;
}
.jiko .ballonblue{
	max-width: 40%;
	padding: 11% 5%;
}

.taiou-ex {
  width: 100%;
	display: flex;
		  align-items: center;
}

.taiou-pic {
  flex-grow: 1;
	max-width: 230px;
}

.taiou-title {
  flex-grow: 1;
	font-size: 3rem;
}


/* 背景と説明部分 */
.note-bg {
  background: url('../img/bg_note.png') repeat;
  padding: 40px;
  border-radius: 10px;
	width: 100%;
}

.note-bg dl {
  margin: 0;
  padding: 0;
}

.note-bg .note-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.note-bg dt {
  flex: 0 0 300px; /*見出し部分の幅を固定 */
  font-weight: bold;
  color: #f15a24;
font-size: 1.4rem;
}

.note-bg dd.arrow{
	flex: 0 0 15px;
	margin-right: 10px;
}

.note-bg dd {
  flex: 1;
  margin: 0; /* 上書きで余白を消す */
font-size: 1.4rem;
	font-weight: bold;
}

.hikaku {
  display: flex;
  align-items: center;        /* 縦中央揃え（高さがある場合） */
  justify-content: center;    /* 横中央揃え */
  gap: 50px;                  /* 要素間の余白がほしい場合 */
  flex-wrap: wrap;            /* はみ出し防止に改行許可 */
	margin: auto;
}

.hikakuA{
  flex: 1 1 47%;
  max-width: 50%;
}

.hikakuA img{
	max-width: 92%;
}

.hikakuB{
  flex: 1 1 47%;
  max-width: 50%;
}

.hikakuA p,.hikakuB p{
	font-weight: bold;
}


.fuan .note-bg{

}

.fuan_title_box{
	display: flex;
}

.fuan_img{
	lex: 1 1 47%;
	padding-right: 4%;
}
.fuan_title{
	lex: 1 1 47%;
}

.fuan_title span{
	font-size: 5.5rem;
}

.with-dot {
  position: relative;
  display: inline-block;
}

.with-dot::before {
   content: "●";  /* または "■" など */
  position: absolute;
  top: -0.7em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #333;
}


.check-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.check-list li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
	font-weight: bold;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.6em;
  height: 1.6em;
  border: 3px solid #f44336;  /* 太めの赤い枠 */
  color: #f44336;             /* チェックマークの色 */
  font-size: 20px;            /* チェックマークを大きく */
  font-weight: 900;           /* 太く */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;         /* 角を少し丸くしたい場合 */
  box-sizing: border-box;
}

.huan-setsumei{
	font-size: 1.5rem;
}

.huan-setsumei p{
	margin-bottom: 1rem;
	font-weight: bold;
}


/*選ばれる理由*/
.erabareru .w1000 h2,.erabareru .w1000 h3{text-align: center}
.erabareru .w1000 h3{
	font-size: 1.5rem;
	margin-top: 1rem;
}

.riyuu_content{
	display: flex;
	max-width: 1000px;
	margin: 0 auto; /* ← 中央に寄せる */
	align-items: flex-start;
	justify-content: space-between; /* オプションで左右に等間隔 */
}

.riyuu_pic{
	flex: 30%;
}

.riyuu_txt{
	flex: 70%;
	margin-left:1.5rem;
	font-size: 1.4rem;
}

.erabareru .w1000 .riyuu_txt h3{
	text-align: left;
	font-size: 2rem;
	margin-bottom: 1rem;
}

.number-list_blue {
  list-style: none;
  padding: 0;
  margin: 0;
}

.number-list_blue li {
  position: relative;
  padding-left: 3em;
  margin-bottom: 1em;
font-size: 1.5rem;
  font-weight: bold;
  color: #004c99;
}

.number-list_blue .number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2em;
  height: 2em;
  line-height: 2em;
  border-radius: 50%;
  background: white;
  color: #004c99;
  /*border: 2px solid #00cccc;*/
  text-align: center;
  font-weight: bold;
  font-size: 1em;
}

.message-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0px;
  border-radius: 10px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.message-text {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  max-width: 650px;
  line-height: 1.8;
  font-size: 1.2rem;
}

.message-text p{
	margin-bottom: 1rem;
}

.message-image img {
  max-width: 330px;
  height: auto;
}


/*お問い合わせの流れ*/
.flow-box {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 1000px;
  margin: 0 auto;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ccc;
  border-left: 6px solid #0a6bbd;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.flow-num {
  min-width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #0a6bbd;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-right: 15px;
}

.flow-content h4 {
  margin: 0 0 5px;
  font-size: 2rem;
  color: #0a0a0a;
  font-weight: bold;
}

.flow-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
}

.flow-content .highlight {
  color: #f15a24;
  font-weight: bold;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: space-between;
}

.tel-btn,
.link-btn {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 2rem;
  transition: opacity 0.3s ease;
white-space: nowrap
}

/* 電話ボタン（オレンジ） */
.tel-btn {
  background-color: #f15a24;
}

/* 見積ボタン（青） */
.link-btn {
  background-color: #0046a5;
}

/* ホバーで薄くする */
.tel-btn:hover,
.link-btn:hover {
 opacity: 0.7;
  transform: scale(0.97);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* 影を弱くして沈む印象 */
}

/* 電話アイコンのCSS */
.icon-phone {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.11-.21 11.72 11.72 0 003.64.58 1 1 0 011 1v3.6a1 1 0 01-1 1A17 17 0 013 5a1 1 0 011-1h3.6a1 1 0 011 1 11.72 11.72 0 00.58 3.64 1 1 0 01-.21 1.11z"/></svg>') no-repeat center;
  background-size: contain;
}


#form{
	max-width: 1000px;
	margin: 0 auto;
}

.sp{
		display: none;
	}

.pconlymb20{
	margin-bottom: 20px;
}

span.small_txt{
	font-size: 0.8rem;
	line-height: 2.4;
	display: block;
}



@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
	
	.pc{
		display: none;
	}
	
	.sp{
		display: block;
	}
	
	.sp_img{
		max-width: 40%;
	}
	.sp_cnt{
		display: flex;
	}
	.sp_cnt img{
		justify-self: center;
		margin: 0 auto;
	}
	.pconlymb20{
	margin-bottom: 0px;
}
	
	
	header{
		padding: 0 10px;
		height: 70px;
	}
	h2{
		font-size: 2rem;
	}
	  .box, .box5 {
    	min-width: 100% !important;
	}
	
	.flow-box {
  	width: 100%;
  	max-width: 1000px;
	}
	
	.fukidashi {
    padding: 20px;
  	}
	
	.number-list_blue li {
    font-size: 1.2rem;
    padding-left: 2.5em;
  }
	
	.message-box {
    flex-direction: column;
    align-items: center;
		max-width: 90%;
		gap:1rem;
  }
  .message-text, .message-image {
    max-width: 100%;
  }
	
	.yellow_box_big{
		font-size: 6rem;
	}
	.yellow_box_small{
		font-size:3rem;
	}
	.fuan_title span{
		font-size: 3.5rem;
	}
	.res_ttl3 span.ore,.res_ttl3 span.blk{
		font-size:2.5rem;
	}
	
	
	.hikakuA, .hikakuB {
    	flex: 1 1 100%;
    	max-width: 90%;
  	}
	
	.box_tag{
		width: 30%;
	}
	.tag_txt{
		font-size: 1.5rem;
	}
	.tag_txt span{
		font-size: 2rem;
	}
	.sp_box{
		padding:0 10px !important;
	}
	
	.note-bg .note-row{
		display: block;
	}
	.note-bg dt{
		display: block;
	}
	
	  .logo-heading {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-heading h2 {
    margin: 20px 0 0; /* 上に余白追加 */
    font-size: 1.6rem; /* スマホ用に少し小さめでもOK */
    line-height: 1.4;
  }

  .logo_tga {
    width: 200px; /* ロゴの幅調整（任意） */
  }
	.res_box{
		max-width: 90%!important;
	}
	.res_box{
		padding: 30px!important;
	}
	.res_tel,.res_form{
		padding: 0 !important;
	}
	
	.yellow_box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .yellow_box_pic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
	  min-width: 100%;
  }

  .yellow_box_pic img {
    width: 48%;
    height: auto;
  }

  .yellow_box_text {
    padding: 0 15px;
    text-align: left;
  }
	
    .container.tahatsu {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-direction: row !important; /* ←ここ重要！ */
  }

  .container.tahatsu .ballonred,
  .container.tahatsu .ballonblue {
    flex: 1 1 45%;
    max-width: 45%;
    text-align: center;
  }

  .container.tahatsu .ballonred img,
  .container.tahatsu .ballonblue img {
    width: 100%;
    height: auto;
    display: block;
  }
	
	  .btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .tel-btn,
  .link-btn {
    flex: none;
    width: 100%;           /* 幅90%に調整 */
    margin: 8px 0;
    text-align: center;
    white-space: normal;  /* ← 改行を許可！ */
    word-break: break-word; /* 長い単語でも改行可能 */
    font-size: 1.6rem;
  }
	
	
 .fuan_title_box {
    flex-direction: column;      /* 縦並びにする */
    align-items: center;         /* 中央揃え */
    text-align: center;
  }

  .fuan_img {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .fuan_title {
    font-size: 2.2rem;
    line-height: 1.4;
  }

  .with-dot::before {
    font-size: 1.8rem;
    top: -0.8em;
  }
	
}
/* スマホ表示調整 */
@media (max-width: 600px) {
	
  .btn {
    font-size: 12px;
    padding: 8px 10px;
  }
  .fixed-buttons {
    bottom: 10px;
    right: 10px;
  }
}