/*
Theme Name: nero
Theme URI: 
Description: 
Version:
Author: 
Author URI: 
*/

/* CSS Document */

@charset "utf-8";


/* ********************************************
// --- リセット ---
// ***************************************** */
  
/* CSS Document */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline:0;
	font-size: 62.5%;
	vertical-align: baseline;
	background: transparent;
}

body {
	font-family: "KozukaGothicPr6N", sans-serif, "Meiryo UI", Meiryo, sans-serif;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-style: normal;
	line-height: 1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display: block;
}

ul,li {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	text-decoration: none;
	color: #1f1f1f;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* change colours to suit your needs */
ins {
	background-color: #ff9;
	color: #1f1f1f;
	text-decoration: none;
}

/* change colours to suit your needs */
mark {
	background-color: #ff9;
	color: #1f1f1f; 
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
	display: block;
	height: 1px;
	border: 0;   
	border-top: 1px solid #1f1f1f;
	margin: 1em 0;
	padding: 0;
}

input, select {
	vertical-align: middle;
}

p,h1,h2,h3,h4,h5,h6,h7,tr,th,td {
	font-weight: normal;
	color: #1f1f1f;
}

img{
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

.clear {
	clear: both;
}

/*************** ヘッダー ***************/
#nav_back {
  width: 100%;
	position: relative;
}
#nav{
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 9999;
	background: #fff;
}
#header_logo {
  padding: 15px 0 15px 20px;
}
#header_logo a {
	font-size: 30px;
	letter-spacing: 1px;
	font-weight: 700;
}
.hamburger {
  display: block;
  position: absolute;
  z-index: 10000;
  right: 20px;
  top: 10px;
  width: 40px;
  height: 40px;
  background: #1f1f1f;
  border-radius: 2px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  position: absolute;
  width: 26px;
  height: 4px;
  left: 7px;
  background: #fff;
  transition: 0.2s ease-in-out;
}
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 18px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.active span:nth-child(1) { transform: translateY(8px); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px); }

nav.globalMenuSp {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.95);
  transform: translateX(100%);
  transition: all 0.2s ease;
}
nav.globalMenuSp.active {
  transform: translateX(0%);
}
.menu_logo {
  display: none;
}
.menu_list {
	width: 95%;
	margin: 0 auto;
	padding-top: 90px;
}
.menu_list ul{
}
.menu_list li {
	text-align: center;
	padding:0 0 30px 0;
}
.menu_list a {
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-size: 16px;
	text-align: center;
	letter-spacing: 1px;
	font-weight: 700;
}
.menu_list a span{
	font-size: 11px;
	font-weight: 500;
}


.tg1{
	display: block;
    padding-top: 120px;
    margin-top: -120px;
}
.tg2{
	display: block;
    padding-top: 120px;
    margin-top: -120px;
}
.tg3{
	display: block;
    padding-top: 120px;
    margin-top: -120px;
}
.tg4{
	display: block;
    padding-top: 120px;
    margin-top: -120px;
}
.tg5{
	display: block;
    padding-top: 120px;
    margin-top: -120px;
}
@media screen and (min-width: 768px) {
	#main_content{
		width: 768px;
		margin: 0 auto;
		border: solid 3px rgba(0, 0, 0, 0.1);
	}
}
@media screen and (min-width: 768px) {

  #nav {
    width: 768px;
    left: 50%;                /* 画面中央の位置を基準に */
    transform: translateX(-50%); /* 自分の幅の半分だけ戻す → 中央配置 */
    top: 0;
    position: fixed;          /* スクロール追従 */
    z-index: 9999;
	border-top: solid 3px rgba(0, 0, 0, 0.1);
	}

  .hamburger {
    right: 20px; /* #nav 内で右寄り位置のまま */
    top: 10px;
  }

  #main_content {
  }
}
/*************** トップ ***************/

#top{
	width: 100%;
	height: calc( 100vh - 8px );
	margin: 0 auto;
	position: relative;
	padding: 0 30px;
	box-sizing: border-box;
}
.catch{
	position: absolute;
	top: 40%;
}
.catch h2{
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
}
.catch2{
	position: absolute;
	bottom: -12px;
	right: 20px;
}
.catch2 h2{
	font-size: 80px;
	letter-spacing: 1px;
	font-weight: 700;
}


/*************** 経営理念 ***************/
#philosophy{
	width: 100%;
	background: #1f1f1f;
	padding: 80px 30px 50px 30px;
	box-sizing: border-box;
}
.philosophy_title{
	width: 100%;
	margin: 0 0 50px 0;
}
.philosophy_title h3{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-weight: 700;
	display: flex;
	align-items: center;
	font-size: 24px;
	gap: 20px;
	color: #ffffff;
}
.philosophy_title h3 span{
	font-size: 14px;
	line-height: 1;
}
.philosophy_text{
	width: 100%;
	margin: 0 0 50px 0;
}
.philosophy_text h4{
	font-size: 22px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 50px 0;
	letter-spacing: 2px;
	color: #ffffff;
}
.philosophy_text p{
	font-size: 16px;
	margin: 0 0 30px 0;
	color: #ffffff;
	line-height: 1.4;
	letter-spacing: 1px;
}

/*************** サービス ***************/
#service{
	width: 100%;
	padding: 80px 30px 0 30px;
	box-sizing: border-box;
}
.service_title{
	width: 100%;
	margin: 0 0 50px 0;
}
.service_title h3{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-weight: 700;
	display: flex;
	align-items: center;
	font-size: 24px;
	gap: 20px;
}
.service_title h3 span{
	font-size: 14px;
	line-height: 1;
}
.service_box{
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.service_box a{
	width: 49%;
	display: inline-block;
	padding: 15px;
	box-sizing: border-box;
	background: #ededed;
	margin: 0 0 15px 0;
}
.hover{
	width :100%;
	display: block;
}
.hover:hover{
	background-color: #c4c4c4;
	transition:0.4s;
}
.none{
	width :100%;
	display: block;
	opacity: 0.5;
}
.service_box h4{
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 20px 0;
}
.service_box h4 span{
	font-size: 12px;
}
.service_box p{
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 1px;
}

/*************** ニュース ***************/
#news{
	width: 100%;
	padding: 80px 30px 0 30px;
	box-sizing: border-box;
}
#news2{
	width: 100%;
	padding: 130px 30px 50px 30px;
	box-sizing: border-box;
}
.news_title{
	width: 100%;
	margin: 0 0 50px 0;
}
.news_title h3{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-weight: 700;
	display: flex;
	align-items: center;
	font-size: 24px;
	gap: 20px;
}
.news_title h3 span{
	font-size: 14px;
	line-height: 1;
}
.news_box{
	width: 90%;
	margin: 0 auto 50px auto;
}
.news_box ul{
}
.news_box li{
	display: flex;
	padding: 0 10px 10px 10px;
	margin: 0 0 20px 0; 
	border-bottom: 1px solid #1f1f1f;
}
.news_date{
	padding: 0 20px 0 0;
}
.news_date p{
	font-size: 12px;
	line-height: 1;	
}
.news_s_title {
	display: flex;
	align-items: center;
	justify-content: space-between; /* ← 左にタイトル、右に矢印 */
	width: 100%;
}
.news_s_title a {
	font-size: 12px;
	line-height: 1;
	position: relative;
	flex: 1; /* タイトル部分を伸ばす */
}

/* 疑似要素で矢印を追加 */
.news_s_title::after {
	content: "→"; /* 矢印 */
	font-size: 12px;
	color: #1f1f1f;
	margin-left: 10px;
}
.news_all{
	text-align: right;
}
.news_all a{
	font-size: 12px;
	font-family: "Meiryo UI", Meiryo, sans-serif;
	border-bottom: 1px solid #1f1f1f;
	padding: 0 10px 5px 10px;
}

/*************** お問い合わせ ***************/
#contact{
	width: 100%;
	padding: 80px 30px;
	box-sizing: border-box;
}
.contact_box{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 50px 0;
}
.contact_box_img{
	width: 35%;
}
.contact_box_img img{
	width: 100%;
	height: 130px;
	object-fit: cover;
}
.contact_box_text{
	width: 65%;
	padding: 0 15px;
	box-sizing: border-box;
}
.contact_box_text h3{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-weight: 700;
	display: flex;
	align-items: center;
	font-size: 24px;
	gap: 20px;
	margin: 0 0 25px 0;
}
.contact_box_text h3 span{
	font-size: 14px;
	line-height: 1;
}
.contact_box_link{
	
}
.contact_box_link a{
	display: block;
	font-size: 12px;
	border: 1px solid #1f1f1f;
	border-radius: 10px;
	text-align: center;
	padding: 7px 0;
	margin: 0 0 10px 0;
}

/*************** お問い合わせフォーム ***************/
.contact_form{
	width: 100%;
}
.contact_form_text h4{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-weight: 700;
	font-size: 16px;
	margin: 0 0 10px 0;
}
.contact_form_text p{
	font-size: 12px;
	margin: 0 0 20px 0;
	line-height: 1.4;
    letter-spacing: 1px;
}
#form_mail_tb{
	width: 100%;
	margin: 0 auto;
}
.table-res-form {
    width: 100%;
	border-collapse:collapse;
}
.table-res-form th{
	width: 100%;
	padding: 15px 0 10px 0;
    text-align: left;
}
.table-res-form th p{
	font-size: 12px;
} 
.table-res-form td {
	width: 100%;
	padding: 0 0 5px 0;
}
.table-res-form .requied{
	font-size: 8px;
 	color: #ffffff;
	background-color: #1f1f1f;
	padding: 0 5px;
	margin: 0 0 0 10px;
}
.table-res-form input[type="text"], input[type="tel"],input[type="email"], textarea {
    border: 1px #DDD solid;
	padding: 14px 15px;
    border-radius: 4px;
    margin-bottom: 5px;
	width: 100%;
	box-sizing: border-box;
	background-color: #ececec;
}
.form_box{
	width: 60%;
	margin: 30px auto 20px auto;
}
#formbtn{
	width: 100%;
	font-family: "Meiryo UI", Meiryo, sans-serif;
	color: #ffffff;
	text-align: center;
	margin: 0 auto;
	padding: 10px 0;
	background: #1f1f1f;
	border-radius: 4px;
	border: none;
}
#formbtn:hover {
}
#wpcf7-f5-o1{
	text-align: center;
}
.send{
}

/*************** フッター ***************/
#footer{
	width: 100%;
	background: #1f1f1f;
	padding: 30px;
	box-sizing: border-box;
}
.footer_box{
	width: 100%;
	margin: 0 0 20px 0;
}
.footer_box h4{
	font-size: 24px;
	color: #ffffff;
	font-weight: 700;
	margin: 0 0 15px 0;
}
.footer_box p{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-size: 11px;
	color: #ffffff;
	line-height: 1.6;
	letter-spacing: 1px;
}
.footer_copyright{
	
}
.footer_copyright p{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-size: 10px;
	color: #ffffff;
	line-height: 1.6;
	letter-spacing: 1px;
	text-align: center;
}

/*************** ニュース一覧 ***************/
.news_pagenation{
	width: 100%;
	margin-top: 20px;
	text-align: center;
	font-size: 18px;
	line-height: 40px;
}
.page-numbers.current {
    display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 3px;
	color: #1f1f1f;
	border: 1px solid #1f1f1f;
	box-sizing: border-box;
}
a.page-numbers{
	display: inline-block;
	background: #393333;
	width: 40px;
	height: 40px;
	border-radius: 3px;
	color: #FFF;
}
.news_pagenation a.prev.page-numbers{
	font-size: 18px;
}
.news_pagenation a.next.page-numbers{
	font-size: 18px;
}

/*************** ニュース詳細 ***************/
#single_news{
	width: 100%;
	padding: 80px 30px;
	box-sizing: border-box;
}
.single_news_top{
	width: 100%;
}
.single_news_top_img{
	width: 100%;
	aspect-ratio: 4 / 3;        /* アスペクト比4:3 */
	overflow: hidden;           /* はみ出た部分を非表示 */
	position: relative;
	margin: 0 0 20px 0;
}
.single_news_top_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;          /* トリミング表示 */
	display: block;
}
.single_news_date{
	font-size: 12px;
    font-weight: 700;
	margin: 0 0 10px 0;
}
.single_news_top h2{
	font-family: "Meiryo UI", Meiryo, sans-serif;
	font-weight: 700;
	font-size: 20px;
 	margin: 0 0 25px 0;
	line-height: 1.2;
}
.single_news_box{
	width: 100%;
	padding: 0 0 60px 0;
	border-bottom: 1px dotted #dAdAd9;
}
.single_news_box p{
	font-size: 12px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}
.single_news_box img{
	width: 100%;
	height: auto;
	margin: 0 0 20px 0;
}


/*************** 管工事業 ***************/
#plumbing{
	width: 100%;
}
.plumbing_top{
	width: 100%;
    padding: 80px 30px 0 30px;
    box-sizing: border-box;
}
.plumbing_top h3{
	font-family: "Meiryo UI", Meiryo, sans-serif;
    font-weight: 700;
    font-size: 24px;
    gap: 20px;
	border-bottom: 1px solid #000000;
	padding: 0 20px 25px 20px;
	margin: 0 0 30px 0;
	line-height: 2;
}
.plumbing_top h3 span{
	font-size: 14px;
 	color: #acacac;
}
.plumbing_top p{
	width: 100%;
	text-align: right;
	font-size: 14px;
	line-height: 2;
	letter-spacing: 1px;
	padding: 0 20px 30px 20px;
	box-sizing: border-box;
}
.plumbing_img{
	width: 100%;
}
.plumbing_img img{
	width: 100%;
	height: 160px;
	object-fit: cover;
}
.plumbing_content{
	width: 100%;
	box-sizing: border-box;
	padding: 40px 50px;
	background: #ededed;
}
.plumbing_content h3{
	font-family: "Meiryo UI", Meiryo, sans-serif;
    font-weight: 700;
    font-size: 24px;
	line-height: 2;
	margin: 0 0 25px 0;
}
.plumbing_content_box{
	width: 100%;
	background: #fff;
	box-sizing: border-box;
	padding: 0 0 20px 0;
	margin: 0 0 30px 0;
}
.plumbing_content_box img{
	width: 100%;
}
.plumbing_content_box h4{
	width: 90%;
	box-sizing: border-box;
	padding: 20px;
    font-size: 24px;
	text-align: center;
	margin: 0 auto 20px auto;
	border-bottom: 1px solid #000000;
}
.plumbing_content_box_text{
}
.plumbing_content_box_text p{
	width: 90%;
	font-size: 14px;
	line-height: 2;
	letter-spacing: 1px;
	box-sizing: border-box;
	padding: 0 20px 20px 20px;
	margin: 0 auto;
}
.plumbing_content_box ul{
	width: 90%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.plumbing_content_box ul li{
	width: 47%;
	margin: 0 0 20px 0;
}

.plumbing_content_box ul li p{
	font-size: 12px;
	line-height: 2;
	text-align: center;
}
.contact2{
width: 100%;
    box-sizing: border-box;
    padding: 40px 50px;
}
.contact2 h3{
	font-family: "Meiryo UI", Meiryo, sans-serif;
    font-weight: 700;
    font-size: 24px;
    gap: 20px;
	padding: 0 0 25px 0;
	line-height: 2;
}
.contact2 h3 span{
	font-size: 14px;
 	color: #acacac;
}
.contact2_link{
	
}
.contact2_link a{
	width: 60%;
	display: block;
	font-size: 12px;
	border: 1px solid #1f1f1f;
	border-radius: 10px;
	text-align: center;
	padding: 10px 0;
	margin: 0 auto 20px auto;
}