@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;}
:focus{outline:0;}

ol, ul{list-style:none;}
table{border-collapse:separate;border-spacing:0;}
caption, th, td{font-weight:normal;text-align:left;}
blockquote:before, blockquote:after,q:before, q:after{content:"";}
blockquote, q{quotes:"" "";}
a img{border:0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display:block;}
/* -------------------------------------------------------------- */

body{
color:#555;
font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN","Hiragino Sans", "Noto Sans", Meiryo, sans-serif;
/*font-family: "游明朝体", "Yu Mincho", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "Sawarabi Mincho", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;*/
line-height:1.5;
background:#fff;
-webkit-text-size-adjust:100%;
}

/* リンク設定
------------------------------------------------------------*/
a{color:#fff;text-decoration:none;}
a:hover{color:#429bef;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0px auto 0;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}



/*************
/* ヘッダー
*************/
#header{
z-index:100;
}

#header:after{
content:"";
display: block;
clear:both;
visibility:hidden;
}

#header h1{
font-size:12px;
font-weight:normal;
}

/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:10px 0 0;
}

.logo a{
font-size:20px;
color:#444;
font-weight:bold;
line-height:1;
}

.logo span{
font-size:12px;
font-weight:normal;
}

#header h1{
font-size:11px;
color:#444;
margin:10px 0 0;
}

/**************************
/* メイン画像（トップページ）
**************************/
#mainBanner{
margin:0 auto;
padding:0;
width:100%;
line-height:0;
}

#mainBanner .inner{position:relative;}

#mainBanner img{
max-width:100%;
height:auto;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:0;
left:0;
padding:5px 10px;
line-height:1.4;
z-index:100;
}

.slogan h2{
padding-bottom:5px;
color:#333;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#666;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
clear:both;
overflow:hidden;
}

.grid h3{
padding:13px 0;
margin-bottom:5px;
font-weight:bold;
border-top:1px solid #ccc;
border-bottom:1px solid #ccc;
}

.grid p{padding:5px 0;}

.grid p.img{
float:left;
margin:3px 0 0 0;
width:100%;
}


.box a:hover{
  opacity: 0.5;
}

.readmore{clear:both;}

.readmore a{
padding:3px 5px;
border-radius:3px;
color:#fff;
background:#999;
}

.readmore a:hover{background:#ccc;}

/* topページ */
.top_kaishagaiyou{
  background-image: url("https://sanno-shoji.jeez.jp/wp-content/themes/sanno-shoji/images/top_kaishagaiyou.jpg");
	background-size: cover;
	background-repeat:no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
}
.top_work{
  display: flex;
  justify-content: center;
}
a.button {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  width: 300px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  border: 2px solid #333;
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  transition: .3s;
  margin: 100px 0;
}
a.button::before {
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  right: -60px;
  z-index: -1;
  border-right: 60px solid transparent;
  border-bottom: 60px solid #333;
  transform: translateX(-100%);
  transition: transform ease .3s;
}
a.button:hover {
  color: #fff;
}
a.button:hover::before {
  transform: translateX(0);
}


/* フッター内のグリッド(3カラム) */
#footer .grid{
border:0;
background:transparent;
}

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
padding:10px 0;
margin-bottom:20px;
border-radius:6px;
overflow:hidden;
font-size:14px;
}

section.content p{margin-bottom:5px;}


/* アーカイブページ */
section.content .archive{
padding:20px 0 0;
border-bottom:1px dotted #ccc;
}

section.content p{margin-bottom:5px;}

.h2title{
  float:center;
  text-align:center;
}

.h3title{
  float:center;
  text-align:center;
	margin-top:40px;
	margin-bottom:50px;
}

.page-title{
  margin:100px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}
h2.heading{
    padding: 3px 0 13px;
    font-size: 20px;
    text-align:center;
    font-weight: bold;
}

h2.heading.span{
    font-size: 12px;
    font-weight: normal;
}

h3.heading{
padding:3px 0 13px;
margin-bottom:30px;
font-size:16px;
border-bottom:2px solid #ccc;
}

section.content img{
max-width:90%;
height:auto;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

.border,ul.list img{border:4px solid #ebebeb;}



/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background-color: #565656;
color: #fff;
}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer .copyright{font-size:11px;}

a.footer{
  display: block;
  margin: 10px;
  text-align:center;
}

/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{
color:#555;
display:block;
}

#sub li a:hover{
color:#a5a5a5;
}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

#sub ul.list li img{
float:left;
margin-right:10px;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}

#sub .grid h3{border-radius:0;}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width:100%;
height:30px;
margin:5px 0 20px;
}

.pagenav a{
color:#555;
}

.pagenav a:hover{
color:#a5a5a5;
}

.prev{float:left}
.next{float:right;}

#pageLinks{
clear:both;
text-align:center;
}


/* タイポグラフィ
*****************************************************/
.dateLabel{
margin:0 0 10px;
text-align:right;
font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.post p{padding-bottom:15px;}

.post ul{margin:0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(images/bullet.png) no-repeat 0 8px;
}

.post ol{margin:0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color:#000;
border-bottom:3px solid #f0f0f0;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:150%;
font-weight:bold;
color:#fff;
text-align:center;
letter-spacing: 0.12em;
}
.post span{
	font-size:150%;
	font-weight:normal;
	color:#fff;
	text-align:center;
}

.post h3{
margin:10px 0 30px;
padding-bottom:10px;
font-size:110%;
font-weight:normal;
color:#777;
border-bottom:2px solid #f0f0f0;
}

.post blockquote{
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}

.post blockquote p{padding:5px 0;}

.post table{
border-collapse:collapse;
margin:10px 0;
}

.post table th,.post table td{
padding:12px;
border:1px solid #ccc;
}

.post table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
background:#eee;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter{
display:block;
margin:5px auto;
}

img.alignright, img.alignleft{
padding:4px;
margin:0 0 2px 7px;
display:inline;
}

img.alignleft{margin:0 7px 2px 0;}

.alignright{float:right;}
.alignleft{float:left;}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:960px){
#wrapper,.inner{
width:70%;
padding:0;
}

#wrapper{
	padding-top:50px;
	padding-bottom:20px;
	}

/* グリッド全体 */
.gridWrapper{
display:table;
border-collapse:separate;
border-spacing:20px;
margin-left:-20px;
width:100%;
}

/* グリッド共通 ベース:トップページ4カラム */
.grid{
width:33%;
display:table-cell;
}

#sub.gridWrapper{width:980px;}

/* サブコンテンツ + フッター グリッド(3カラム) */
#sub .grid, #footer .grid{
  width:300px;
  text-align: center;
  }

/* トップナビゲーション */
nav div.panel{display:block !important;}

a#menu{display:none;}

#topnav{
float:right;
margin-top:-5px;

}

#topnav li{
float:left;
margin:13px 20px 0;
text-align:center;
position:relative;
}

#topnav a{
color:#555;
font-size:20px;
display:block;
padding:25px 10px;
line-height:1.2;
}

#topnav span{
font-size:10px;
color:#a5a5a5;
}

#topnav li.current-menu-item a,#topnav a:hover{
background:#f5f5f5;
}

#topnav ul{
width:160px;
display:none;
}

#topnav li:hover ul{
display:block;
position:absolute;
top:80px;
left:0;
z-index:500;
}

#topnav li li{
margin:0;
float:none;
width:160px;
text-align:left;
background:#f4f4f4;
}

#topnav li li a{
padding:10px;
border:0;
}

#topnav li.current-menu-item li a,#topnav li li a{
border-bottom-width:1px;
}

#topnav li li.current-menu-item a,#topnav li li a:hover{
padding-bottom:10px;
border-bottom-width:3px;
background:#eee;
}
}

@media only screen and (max-width:959px){
*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

#header h1{text-align:center;}

#header .logo,#footer .logo{
float:none;
text-align:center;
padding:10px 5px;
}


/* トップナビゲーション */
nav#mainNav{
clear:both;
width:100%;
margin:0 auto;
padding:0;
background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f4f4f4), color-stop(0.00, #f4f4f4));
background: -webkit-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);
background: -moz-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);
background: -o-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);
background: -ms-linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);
background: linear-gradient(top, #f4f4f4 0%, #f4f4f4 100%);
}

nav#mainNav a.menu{
width:100%;
display:block;
height:40px;
line-height:40px;
font-weight: bold;
text-align:left;
color:#555;
}

nav#mainNav a#menu span{padding-left:10px;}
nav#mainNav a span:before{content:"≡ ";}
nav#mainNav a.menuOpen span:before{content:"× ";}

nav#mainNav a#menu:hover{cursor:pointer;}

nav .panel{
display:none;
width:100%;
position:relative;
right:0;
top:0;
z-index:1;
}

nav#mainNav ul{margin:0;padding:0;}

  nav#mainNav ul li{
float:none;
clear:both;
width:100%;
height:auto;
line-height:1.2;
}

nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
display: block;
padding:15px 10px;
text-align:left;
border-bottom:1px dashed #e8e8e8;
color:#555;
}

nav#mainNav ul li a span{padding-left:10px;}
nav#mainNav ul li:first-child a{border-top:1px dashed #e8e8e8;}

nav#mainNav ul li:last-child a{border:0;}
nav#mainNav ul li li:last-child a{border:0;}
nav#mainNav ul li li:last-child a{border-bottom:1px dashed #e8e8e8;}

nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:hover,nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:active, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:active{
background:#eee;
}

nav div.panel{float:none;}

nav#mainNav ul li li{
float:left;
border:0;
}

nav#mainNav ul li li a, nav#mainNav ul li.current-menu-item li a, nav#mainNav ul li li.current-menu-item a{
padding-left:40px;
background:url(images/sub1.png) no-repeat 20px -62px;
}

nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover, nav#mainNav ul li.current-menu-item li a:hover{background:#eee url(images/sub1.png) no-repeat 20px -62px;}

nav#mainNav ul li li:last-child a{background:#f4f4f4 url(images/subLast.png) no-repeat 20px -65px;}
nav#mainNav ul li li:last-child.current-menu-item a,nav#mainNav ul li li:last-child a:hover,nav#mainNav ul li.current-menu-item li:last-child a:hover{background:#eee url(images/subLast.png) no-repeat 20px -65px;}

.grid{
float:left;
width:100%;
margin:10px 2% 0 0;
}

.grid img{
float:left;
margin-right:5px;
}

#sub .grid{
width:32%;
margin:10px 1%;
}

#sub .grid:first-child{
margin-left:0;
}

#sub .grid:last-child{
margin-right:0;
}

#footer .grid, #footer .grid p{
float:none;
width:100%;
text-align:center;
border:0;
}

#footer .grid:last-child{padding-top:20px;}
}

@media only screen and (max-width:768px){
  #header{padding-bottom:0;}
#header h1{text-align:center;}

#header .logo{
float:none;
text-align:center;
padding:10px 5px 20px;
}

#sub ul.list{padding:10px 10px 11px;}

#sub ul.list li{padding-bottom:10px;margin-bottom:8px;}
}


@media only screen and (max-width:640px){
#footer .grid p{text-align:center;}

.grid img{float:none;margin:20px auto 10px;max-width:100%;height:auto;}

.grid p,#sub .grid li{text-align:left;}

  .alignleft,.alignright{float:none;display:block;margin:0 auto 10px;}
}


@media only screen and (max-width:480px){
#mainBanner h2,#mainBanner h3{font-size:80%;}

#sub .grid{
float:none;
width:98%;
}

#sub .grid h3{padding:10px 5px;}
}
/*会社概要*/
#jigyounaiyou_Banner{
  background-image: url(images/jigyounaiyou_header.jpg);
  background-position: center;
  display: flex;
  justify-content: center;
}
#kaishagaiyou_Banner{
  background-image: url(images/kaishagaiyou_header.jpg);
  background-position: center;
  display: flex;
  justify-content: center;
}
.page{
position: relative;
z-index: 1;
margin:0 auto;
}
/*固定ページヘッダー*/
.container_header{
	position:relative;
}
.post{
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
}


/*会社概要table*/
.kaishagaiyou_inner{
  margin:0 auto;
}
section.company{
margin-bottom: 100px;
}
dl.company {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
}
dt.company {
    width: 30%;
    background-color: #e2e2e2;
}

dd.company {
  width:62%;
}

dl.company dt.company, dd.company {
    padding: 20px;
    border: 1px solid #c0c0c0;
}

@media(max-width: 1200px) {
  dl.company {
    display: block;
  }
  dt.company{
    width:100%;
    }
  dd.company {
      width:100%;
    }
  dl.company dt.company, dd.company {
      padding: 30px;
      border: none;
    }
   }
.kaishagaiyou_rinen{
  background-image: url(images/kaishagaiyou_rinenback.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    justify-content: center;
	text-align: center;
   }
.kaishagaiyou_rinen_inner{
	width:70%;
	margin:0 auto;
	padding-top:100px;
}
@media only screen and (max-width:480px){
.kaishagaiyou_rinen_inner{	width:100%;}
}

#sub .grid{
float:none;
width:98%;
}
/*社長の写真反転*/

.message{
  width:100%;
/* display: flex;*/
}
.message_box1{
  width:100%;	
  padding: 30px;
  margin:0 auto;
}
.message_box1 img{
	  width:100%;
  margin: auto;
  display: block;
}
.message_box2{
  width:100%;
  /*padding: 30px;*/
  margin:0 auto;
}

.message_box1 {
    position: relative;
}

.message_box1 img {
    transition: opacity 0.5s;
}
.message_box1:hover img:first-of-type {
    opacity: 0;
}
.message_box1 img:last-of-type {
    position: absolute;
    top: 25px;
    left: 0px;
    opacity: 0;
    padding:30px;
}
.message_box1:hover img:last-of-type {
    opacity: 1;
}


@media screen and (max-width: 767px) {
.message {
    display: block;
  }
  .message_box2 {
    width: 100%;
  }
  .message_box1 {
    width: 100%;
  }
}
.fade {
  opacity : 0;
  transform: translateY(20px);
  transition: all 1s;
}
.fancybox-title-over #fancybox-title {
	color:#fff;
}

.Inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

p{
  margin: 0;
  padding: 0;
}
li{
  list-style: none;
}

.List-Item {
  /*border-top: 1px solid #ddd;*/
  width: 100%;
}
@media screen and (max-width: 540px) {
  .List-Item {
    border-top: 0;
  }
}
.List-Item:nth-of-type(1) {
  border-top: 0;
}
.List-Item-Content {
  margin-left: auto;
  margin-right: auto;
  /*padding-top: 30px;*/
  padding-bottom: 30px;
  max-width: 1100px;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 540px) {
  .List-Item-Content {
    padding-top: 15px;
    padding-bottom: 15px;
    flex-wrap: wrap;
  }
}
.List-Item-Content.one {
  padding-top: 0;
}
.List-Item-Content-Number {
  position: relative;
  margin-right: 40px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 80px;
  text-align: center;
  background: #808080;
  color: #fff;
  font-size: 36px;
}
@media screen and (max-width: 540px) {
  .List-Item-Content-Number {
    margin-right: 20px;
    width: 20px;
    height: 20px;
    line-height: 40px;
    font-size: 24px;
  }
}
.List-Item-Content-Number-Line {
  position: absolute;
  top: -36%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 4px;
  height: 66px;
  background: #808080;
}
@media screen and (max-width: 540px) {
  .List-Item-Content-Number-Line {
    top: -80%;
    width: 2px;
    height: 72px;
  }
}
.List-Item-Content-Title {
  margin-right: 48px;
  flex-basis: 298px;
  color: #808080;
  font-size: 24px;
}
@media screen and (max-width: 540px) {
  .List-Item-Content-Title {
    margin-right: 0;
    max-width: 230px;
    font-size: 18px;
  }
}
.List-Item-Content-Description {
  line-height: 1.5;
  font-size: 16px;
}
@media screen and (max-width: 540px) {
  .List-Item-Content-Description {
    margin-left: 60px;
    max-width: 260px;
    font-weight: normal;
    font-size: 13px;
  }
}
/********施工実績のページ*******/
.sekou_inner{
  width:70%;
  margin:0 auto;
  margin-bottom: 20px;
}
/********トップページの施工実績スライド*******/
.wrap {
  display: flex;
  align-items: center;
　height: 340px;
　overflow: hidden;
}
.slideshow {
  display: flex;
}
.content {
  width: 300px;
  height: 300px;
}
.content:nth-child(1) {
  background-color: tomato;
}
.content:nth-child(2) {
  background-color: orange;
}
.content:nth-child(3) {
  background-color: blue;
}
.content:nth-child(4) {
  background-color: green;
}
.slideshow {
  display: flex;
  animation: loop-slide 20s infinite linear 1s both;
}

.content-hover:hover {
  transform: translateY(-20px);
  border-radius: 0 10%;
  box-shadow: 0 3px 10px 0 #333;
  opacity: 0.8;
  cursor: pointer;
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}
