@charset "UTF-8";
@import url("grid.css");


img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

a {
    color: #000;

}

a:hover { 
    color: #999;
	text-decoration:none;
}

a img:hover {
	opacity: 0.8;
}

.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}

.center {
	text-align: center;
}

.red {
	color:#F00;
}

.sp_br {
    display: block;
}
	
.pc_br {
   display: none;
}		

.fade{
  opacity : 0;
  transition: opacity 3s;
}
 
.fade.view{
  opacity: 1;
}


/*ヘッダー
-------------------------------------*/
header {
	background: linear-gradient(#fff, #dfeaf3);
	margin-bottom:10px;
}

.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1, .head p { 
    padding: 2rem 0 0 0;
	margin-bottom: 2rem;
	max-width:450px;
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: right;
    list-style: none;
	margin-top: 4rem;
	margin-bottom: 0.5rem;
	font-size:80%;
}

nav li {
    display: block;
    flex: 0 0 15%;
	position: relative;
	text-align:center;
	white-space:nowrap;
}

nav li a {
    text-decoration: none;
    text-align: center;
}

nav a:hover {
    text-decoration: none;
}

nav a {
    padding: 1rem;
}

nav ul li a::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #006;
  bottom: -3px;
  left: 0;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: center top;
  transform-origin: center top;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

nav ul li a:hover::after {
  transform: scale(1, 1);
}


/*メイン画像
-------------------------------------*/

.mainimg {
	position:relative;
}

.mainimg img {
	width: 100vw;
	border-bottom-right-radius: 35px;
	-webkit-border-bottom-right-radius: 35px;
	-moz-border-radius-bottomright: 35px;
	position:relative;
}

.message {
	position:absolute;
	bottom: 15%;
	right: 12%;
	background-color: rgba(255, 255, 255, 0.5);
	padding:30px;
}
		
.message h2 {
	font-size:140%;
	font-weight:bold;
	color:#0b599f;
	letter-spacing:-1px;
}		

.message p {
	margin:0;
	font-size:95%;
	letter-spacing:-1px;
}	

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2.catch {
	text-align: center;
	color: #666;
	font-size: 4.0rem;
	margin-bottom: 3rem;
}

/*NEWS
-------------------------------------*/

#news_contents {
	margin-bottom:50px;
			}	

.news_tl h2  {
	font-size:140%;
	text-align:center;
	position:relative;
	top:15px;
			}	

.news_tl h2::after {
  content: '';
  width: 65px;
  height: 2px;
  display: inline-block;
  background-color: #337ab7;
  position: absolute;
  bottom: -3px;
  left: calc(50% - 32px)
}

#news_h {
	padding-bottom: 20px;
}

#news {
	width:90%;
	margin:0 auto;
}

#news dt  {
	color: #000;
	font-size: 80%;
	float:left;
	font-weight:bold;
	margin-bottom:10px;
}

#news dd  {
	color: #666;
	font-size: 80%;
	margin-left:90px;
	margin-bottom:10px;
}

#news .bo  {
	 font-weight:bold;
}

.news{
	height:60px;
	overflow:hidden;
	margin:5px 0;
	padding-bottom:10px;
}

/*トップコンテンツ
-------------------------------------*/

#other_contents {
	margin-bottom:50px;
	padding:30px 0;
	background: url(../img/bg_other.gif) repeat;
}	


/*バナー
-------------------------------------*/

.bn {
	text-align:center;
}	


.bn img {
	width:80%;
}	

/*サブページ
-------------------------------------*/

.page_title {
	width:100%;
	max-width:1200px;
	padding:50px 0 20px;
	margin:0 auto;
}

.page_title h1 {
	font-size:230%;
	margin:0 10px 10px;
	border-bottom: solid 3px #b2c9dc;
	position: relative;

}

.page_title h1:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #069;
  bottom: -3px;
  width: 30%;
}

.page_title p {
	font-size:120%;
	font-weight:bold;
	color:#069;
	padding:0;
	margin:0 10px;
}


/*会社案内
-------------------------------------*/

#company .photo {
	margin-bottom:30px;
}

#company .overview {
	margin-bottom:30px;
}

#company .history {
	margin-bottom:30px;
}

#company .access {
	margin-bottom:30px;
}

#company h2 {
	font-size:150%;
    text-align: center;
    position: relative;
    top: 10px;
}

#company h2::after {
  content: '';
  width: 60px;
  height: 2px;
  display: inline-block;
  background-color: #337ab7;
  position: absolute;
  bottom: -3px;
  left: calc(50% - 31px)
}

#company dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

#company dt {
  width: 30%;
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EEE;
}

#company dd {
  width: 70%;
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EEE;
}

#company .map {
	width:100%;
	height:450px;
	border:0;
}

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

#achivements {
	margin-bottom:30px;
}

#achivements ul li {
	padding:10px;
}


#achivements ul li:nth-child(2n+1) {
  background: #f8f8f8;
}

/*採用情報
-------------------------------------*/

#recruit {
	margin-bottom:30px;
}

#recruit h2 {
	font-size:150%;
    text-align: center;
    position: relative;
    top: 10px;
}

#recruit h2::after {
  content: '';
  width: 60px;
  height: 2px;
  display: inline-block;
  background-color: #337ab7;
  position: absolute;
  bottom: -3px;
  left: calc(50% - 31px)
}

#recruit dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

#recruit dt {
  width: 30%;
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EEE;
}

#recruit dd {
  width: 70%;
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EEE;
}

#recruit .button01 a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 10px auto;
  padding: 0.8em 2em;
  width: 250px;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  background-color: #FFF;
  transition: 0.3s;
  border:2px #039 solid;
  border-radius: 50px;
}

#recruit .button01 a::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: #039;
  transition: 0.3s;
}

#recruit .button01 a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 70px;
  height: 2px;
  background-color: #039;
  transition: 0.3s;
}

#recruit .button01 a:hover {
  text-decoration: none;
  background-color: #EEF;
}

#recruit .button01 a:hover::before,
#recruit .button01 a:hover::after {
  right: 0.5em;
}


/*お問合せ・応募フォーム
-------------------------------------*/

#form .check {
	margin-bottom:30px;
}

#form .inq {
	margin-bottom:30px;
}

#form .entry {
	margin-bottom:30px;
}

#form h2 {
	font-size:150%;
    text-align: center;
    position: relative;
    top: 10px;
}

#form h2::after {
  content: '';
  width: 60px;
  height: 2px;
  display: inline-block;
  background-color: #337ab7;
  position: absolute;
  bottom: -3px;
  left: calc(50% - 31px)
}

#form h3 {
	font-size: 100%;
    margin: 20px 5px 5px;
}

#form dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

#form dt {
  width: 30%;
  padding: 20px 10px;
  margin-bottom: 10px;
}

#form dd {
  width: 70%;
  padding: 20px 10px;
  margin-bottom: 10px;
}

#form p.confirm {
	margin-bottom:10px;
}


#form .form_error {
	background:#FFE3E3;
	padding:10px;
	margin:0 ;
}

#form .form_error p.ate {
	font-size:100%;
	margin: 10px 0 0 0;
	border-left:#FF5B5B solid 5px;
	padding-left:7px;
}

#form .form_error ul {
	margin: 1em 0;
	padding: 0 10px 0 30px;
	list-style-type: disc;
	font-size:90%;
}

#form .form_error ul li {
	margin-bottom:10px;
}


/*プライバシー
-------------------------------------*/

#privacy {
	margin-bottom:30px;
}

#privacy h2 {
	font-size:110%;
	font-weight:bold;
	margin-top:10px;
	margin-bottom:10px;
	border-bottom:1px solid #ccc;
}

#privacy h2:nth-child(n + 2)  {
	margin-top:20px;
}

#privacy h3.title01 {
	font-size:100%;
	margin:10px 5px;
	border-left:5px solid #ccc;
	padding-left:8px;
}

#privacy h3.title02 {
	font-size:100%;
	margin-top:10px;
	margin-bottom:5px;
}

#privacy ul {
	font-size:100%;
	margin-left:10px;
}

#privacy p {
	font-size:100%;
}

/*サイトマップ
-------------------------------------*/

#sitemap {
	margin-bottom:30px;
}

#sitemap ul {
	list-style:none;
	margin-bottom:0;
}

#sitemap ul li {
	padding:5px 10px 10px;
	border-bottom:1px dotted #ccc;
}

#sitemap ul li:before {
    content: "\f105";
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    text-indent: 0;
    -webkit-font-smoothing: antialiased;
    color: #a8a8a8;
    margin-right: 0.5em;
}

#sitemap ul li a {
	text-decoration:none;
}


#sitemap ul li ul {
	font-size:100%;
	margin:10px 20px 0;
}

#sitemap ul li ul li {
	padding:0;
	margin:0;
	border-bottom:none;
}


/*フッター
-------------------------------------*/
footer {
    background-color: #fdfdfd;
    padding:10px 0 20px 0;
	border-top:#bdcfdd solid 7px;
}

.ft {
	text-align:left;
}

.ft nav ul {
    justify-content: left;
	font-size:80%;
	margin-top:5px;
	margin-bottom:20px;
}

.ft nav ul li {
	white-space: nowrap;
	border-bottom:none;
}

address {
	font-size:75%;
	font-style:normal;
	text-align:left;
	margin-top:5px;
}

.address img {
	width:220px;
	float:left;
	margin-right:10px;
}

.address .telfax {
	margin-left:10px;
}

.footer {
    text-align: left;
    padding: 0;
}

.copyright {
	padding-top:5px;
	font-size:70%;
	color:#666;
	text-align:center;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
	padding:0;
}

#pagetop a {
    display: block;
    width: 50px;
    padding: 5px 3px;
    text-align: center;
}

#pagetop a:hover {
	text-decoration:none;
}

/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;
	font-size:90%;	
}

.breadcrumb li {
    list-style-type: none;
}

.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}



@media screen and (min-width: 768px) and (max-width: 1200px) {

.pc_br {
    display: block;
    }
	


/*メイン画像
-------------------------------------*/

.message {
	bottom: 10%;
	right: 5%;
	padding:15px;
	max-width:50% !important;
		}
		
.message h2 {
	font-size:90%;
	margin-bottom:10px;
			}
				
.message p {
	font-size:70%;
	line-height:1.2;
	padding-top:5px;
			}	

/*フッター
-----------------------------------*/
.ft {
	text-align:center;
}

.ft nav ul {
	display: flex;
    justify-content: center;
    font-size: 70%;
    flex-direction: row;
	width:100%;
}

.address {
	text-align:center;
}

.address img {
	width:250px;
	float:none;
	margin:0;
}

address {
	font-size:80%;
	text-align:center;
}	

.copyright {
	font-size:65%;
	margin-top:30px;
}

}


@media screen and (max-width: 767px){
	
body{
	border-top:#bdcfdd solid 5px;
}

.sp_br {
   display: none;
}

.pc_br {
    display: block;
}

p {
	font-size:95%;
}	

	
/*ヘッダー
-------------------------------------*/
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 5px;
}

.head h1, .head p { 
    padding: 2rem 5rem 0 0;
	margin-bottom:10px;
	max-width: 400px;
}

.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
}
	
nav ul {
	flex-direction: column;
	margin-top:0;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}

nav li a {
	display:block;
}

#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}

#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}

#navi {
    display: none;
}

nav ul li a::after {
	background:none;
	display: none;
}

nav ul li a:hover::after {
  transform: none;
}

/*メイン画像
-------------------------------------*/

.message {
	position: relative;
	bottom: 0;
	right: 0;
	padding:10px 20px;
}
		
.message p{
	padding:0;
	font-size:90%;
}		

.message h2 {
	font-size:120%;
	line-height:1.5;
}	


/*NEWS
-------------------------------------*/			

.news_tl h2 {
	top:0;
}	
			
#news {
	width:100%;
}

#news dl  {
	margin: 0 10px 20px 10px;
}

#news dt,
#news dd {
		float:none;
		margin-left:0;
		margin-right:0;
		margin-bottom:5px;
}

.news {
		height:160px;
		margin:5px 0;
}

/*サブページ
-------------------------------------*/

.page_title h1 {
	font-size:210%;
}

.page_title h2 {
	font-size:100%;
}

/*会社案内
-------------------------------------*/

#company h2 {
	font-size:140%;
	margin-bottom:30px;
}

#company dl {
  display:block;
  font-size:95%;
}

#company dt {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
  border-bottom:none;
}

#company dd {
  width: 100%;
  padding:0;
  margin-bottom: 10px;
}

#company .map {
	height:300px;
}

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

#achivements ul li {
	font-size:90%;
}

#achivements p {
	padding:0;
}

/*採用情報
-------------------------------------*/

#recruit h2 {
	font-size:140%;
	margin-bottom:30px;
}

#recruit dl {
  display:block;
  font-size:95%;
}

#recruit dt {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
  border-bottom:none;
}

#recruit dd {
  width: 100%;
  padding:0;
  margin-bottom: 10px;
}

/*お問合せ
-------------------------------------*/

#form h2 {
	font-size:140%;
	margin-bottom:30px;
}

#form ul{
	font-size:95%;
}

#form dl {
  display:block;
  font-size:95%;
}

#form dt {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
  border-bottom:none;
}

#form dd {
  width: 100%;
  padding:0;
  margin-bottom: 10px;
}

#form .for {
	width: 95%;
}	

#form .for_t {
	width: 95%;

}

/*フッター
-----------------------------------*/

.ft nav ul {
	display: flex;
    justify-content: center;
    font-size: 90%;
    flex-direction: row;
	width:100%;
}

address {
	font-size:80%;
	text-align:center;
}		

.address {
	text-align:center;
}

.address img {
	width:250px;
	float:none;
	margin:0;
}

.address .telfax {
	margin-left:0;
}	

.copyright {
	font-size:65%;
	margin-top:20px;
}

}


@media screen and (min-width: 768px) {

/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}

}