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

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;/* 背景色、#f7f7f7/
    --back-color2: #FFF;/* 背景色、#DDFFDD*/
    --back-color-menu: #006400;
    --back-color-menu-hover: #9acd32;
    --border-color: #ccc;
    --white-color: #fff;
    --red-color: #fff;
    --nav-color: #333;

}
body {
    background: var(--back-color); 
    color: var(--base-color);
}

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



img.overlay {
    position: absolute;
    top: 500px;
}



/*太い黄色マーカー*/
.marker_yellow_futo {
    background: linear-gradient(transparent 0%, #ffff66 0%);
}

/*細い黄色マーカー*/
.marker_yellow_hoso {
    background: linear-gradient(transparent 60%, #ffff66 60%);
    color: red;
    font-weight: 700;
    font-size: 1.5em;
}

.black_futo {
    color: black;
    font-weight: 700;
}
.red_futo {
    color: red;
    font-weight: 700;
}

a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}



h1.big{
    font-size: 20px;
    color: #000;
    font-weight: 900;
    background-image: url("../img/top_tittle_logo.png");
    background-position: 0px 5px;
    background-size: 40px 40px; /* 画像サイズ */
    background-repeat: no-repeat; /* 繰り返し表示オフ */
    margin: 0px 0px 0px 10px;/* タイトル画像を右に移動 */
    padding: 15px 0px 10px 45px; /* 画像と重ならないように文字列を右に移動 */
    line-height: 22px;
}

h1.small{
    font-size: 10px;
    color: #000;
    margin: 5px 0px 0px 10px;/* タイトル画像を右に移動 */
    line-height: 5px;
}

h2 {
    position: relative;
    font-size: 40px;
    top:10px;
    margin-bottom: 3rem;
     padding-bottom: 2rem;
    text-align: center;


}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height:3px;
    background-color: var(--link-color); 
}
/*
h2:after {
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
    background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}
*/

h3.nagare {
    position: relative;
    overflow: hidden;
    padding: 0.3rem 2rem 0.3rem 80px;/* 上 | 右 | 下 | 左 */
    border-bottom: 3px solid #006400;
    color:#1e909f;
    font-weight: bold;
}

h3.nagare::after {
    position: absolute;
    top: -150%;
    left: -100px;/*黒バーの横幅*/
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(75deg);/*元は25deg*/
    transform: rotate(75deg);/*元は25deg*/
    background: #008000;
}


h3.nagare span.no {
    font-size: 3rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 0px;
    padding-left: 16px;
    color: #fff;
    font-weight: bold;
  }

h3.sekou {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    font-size: 2.1rem

}

h3.kojin {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    font-size:16px;

}
h3.kigyou {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    font-size:16px;
    text-align: center;
}

h3.aria {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    background: #094;
    font-weight:700;
    font-size:16px;
    text-align: center;
}

h4.sagyou {
    padding: 1rem 2rem;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    background: #008000;
    color:#FFF;
    font-weight:700;
    width:100%;
  }

h4.sekou {
    position: relative;
    padding: 0.7rem 2.5rem;/* 上下 | 左右 */
    margin: 15px 0 5px 0;/* 上 | 右 | 下 | 左 */
    color: #fff;
    border-radius: 18px;
    background: #8EC31F;
    font-weight:700;
    text-align: left;
    width: 200px;
}

  h5 {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    text-align: center;
  }
  
  h5:after {
    position: absolute;
    bottom: -9px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 15px 10px 0 10px;
    border-style: solid;
    border-color: #094 transparent transparent transparent;
  }

  h6 {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #000;
    font-weight:700;
    text-align: center;
  }
  


/*ヘッダー
-------------------------------------*/
header {/*ヘッダーを固定する*/
    position: sticky;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    background: #FFF;
    box-sizing: border-box;

  }

.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
    margin-bottom: 2rem; /* ヘッダーの下（無料見積もりの下の隙間） */
}




.menu {
	background-color: var(--back-color-menu);
    border-top: 3px solid #fff;/* メニューの上に隙間をあける */
}

.site {  /* 実験的に入れただけ */
    display: flex;
    flex-direction: row;
    font-size: 3.0rem;
    margin-top: auto; 
    justify-content: space-between; 
}


.sitetitle {
    font-size: 0.0rem;
    margin-top: auto; /* タイトルを下付け */
    height: 50px;
    line-height: 0px;
}

.sitetel {
    font-size: 3.0rem;
    margin-top: auto; /* タイトルを下付け */
}

.img_PC{/* PCで画像を非表示 */
    display:none;

}

.header-box {
	margin-left: auto;
/* 	margin-top: 8px;  ヘッダーの上の隙間を削除する*/
}

.contact-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 15px;
    height: 50px;
    width: 200px;
    font-size: 16px;
    text-decoration: none;
    background-color: var(--link-color);   
    color: var(--white-color);
    box-shadow: 1px 1px var(--base-color);
}

/* 無料見積もり依頼の右側の矢印を消せる */
.contact-button::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}


.contact-button:hover {
    opacity: 0.9;
    color: var(--white-color);
}

/* 無料見積もりボタンのエフェクト */
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-flat {
    overflow: hidden;
  
    padding: 1.5rem 3.8rem;/* 見積りボタンの 縦ｻｲｽﾞ 横ｻｲｽﾞ */
  
    color: #fff;
    border-radius: 0;
    background: #000;
/*        border-bottom: 3px solid #fff; */
/*        border-top: 3px solid #C01920; */
  }
  
  a.btn-flat span {
    position: relative;
    z-index: 1;
    
  }
  
  a.btn-flat:before {
    position: absolute;
    top: 0;
    left: calc(-100% + 10px);
  
    width: 100%;
    height: 100%;
  
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  
    background: #C01920;
  }
  
  a.btn-flat:after {
    position: absolute;
    top: 0;
    right: calc(-100% + 10px);
  
    width: 100%;
    height: 100%;
  
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  
    background: #C01920;
  }
  
  a.btn-flat:hover:before {
    -webkit-transform: translateX(50%) translateY(0);
    transform: translateX(50%) translateY(0);
  }
  
  a.btn-flat:hover:after {
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
  }




/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: none;

}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;/* 元はmargin: 1rem 0 0 0 */

    
}
nav li {
	flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
	color: var(--white-color);
    font-weight: 700;
}
nav a:hover {
    background-color: var(--back-color-menu-hover);
    color: var(--red-color);
    font-weight: 700;
}
nav a {
    padding: 1.5rem 1rem;/* 元はpadding: 0.5rem   緑メニューの太さの設定 */
    color: var(--nav-color);
}

@media screen and (min-width: 769px){
/*---------- スワイパーの範囲指定 ----------*/
.swiper{

}

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

#navi {
    display: block !important;
}
}

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

.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 25px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}

.sitetel {
    display:none;
    font-size: 3.0rem;
    margin-top: auto; /* タイトルを下付け */
}

.img_SP{/* スマホで画像を非表示 */
    display:none;
    vertical-align: bottom;
}
.img_PC{/* スマホで画像を非表示 */
    display: block;
    align-items: flex-end;
}



/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 3px;/* MENUボタンの位置(元は25px) */
    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: 3px;/* closeボタンの位置(元は25px) */
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}




h1.big{
    font-size: 18px;
}

h2 { /* 幅に合わせて文字サイズを変える */
    font-size: 5.33333vw; /* 文字サイズ(20px) / デザイン幅(375px) * 100 = 5.33333 */
    text-align: center;
    float: center;
}

h3.nagare {
    padding: 0.3rem 2rem 0.3rem 80px;/* 上 | 右 | 下 | 左 */
}

h3.nagare span.chousei {/* 375pxの範囲で改行されるのを修正 */
    font-size: 2.2rem;
  }

h3.kigyou {
    text-align: left;
}



p.kigyou {
    margin-top: 0px;/* スマホ表示時に企業情報の隙間が空くのを防ぐ */
    padding: 0rem 1.5rem;
}

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

#header-img {
    width: 100%;
    margin: 0px 0 12px 0;
    text-align: center;
    background-image: url(../img/lineup_bg.png);
    background-color: #ccc;
    background-position: bottom;
  }

#mainimg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
    position:relative;
}

#mainimg h1 {
    width: 100%;
    background-size: cover;
    display: flex;
    align-items: flex-start;/*初期値center*/
    justify-content: flex-start;/*初期値center*/
    line-height: 2;
    text-align: left;/*初期値center*/
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color);
    font-weight: 700;
}


#main_photo {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
    position:relative;
  }

#sub_photo {
    width: 95%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
    position:relative;
}



/*
.topimg {
    position: absolute;
    
    top: 500px;
}
-*/

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
    background-color:#f7f7f7;    /*sectionの間の色を埋めるために指定してる*/
}
section {
    margin: 3rem 0;
    padding: 0.01rem 0;
}

.gray-back {
	background-color: var(--back-color);
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;

}

.flame1 {    /*緑角丸の枠*/
    padding: 1em 1.5em;    /*初期値：0.5em 1em*/
    margin: 2em 0;
    border: solid 5px #006400;
    background-color: #fff;
    border-radius: 10px;
}

.flame2 {    /*白四角の枠*/
    padding: 1em 2em;
    margin: 2em 0;
    background-color:#fff;
}

.flame3 {    /*灰色角丸の枠*/
    padding: 1em 2em;
    margin: 2em 0;
    border: solid 5px #a9a9a9;
    background-color: #fff;
    border-radius: 10px;

}
.flame4 {    /*安心の画像をセンタリング--*/
    text-align: center;
}

/*ニュース
-------------------------------------*/
.news {
    margin: 0 auto;
    max-width: 980px;
    padding: 2rem;
}
.news-list{
    list-style: none;
  }
.news-list .item, .item p {
    margin-bottom: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    color: var(--nav-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.news-list .item:first-child a{
    border-top: 1px solid var(--border-color);
}
.news-list .item .date{
    min-width: 120px;
    color: var(--link-color);
}
.news-list .item a:hover .title{
    color: var(--base-color);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    line-height: 1.7;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/* Googleマップ
-------------------------------------*/
.gmap {
	margin: 3rem 0;
}

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

.footer2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

}
.policy, .company {
    padding: 0px 10px 0px 10px;
    margin: 0;
    box-sizing: border-box;
}




footer {
    background-color: var(--back-color); 
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    padding: 0 0;
}

footer h4 {
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
    border-bottom: 2px solid var(--border-color);
}
footer h4::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: var(--link-color);
}

#footer {

    clear: both;
    width: 100%;
    margin: 0;
    padding: 30px 0 30px 0;
    text-align: center;
    font-size: 14px;
    color: #333333;
    line-height: 1.8;
    background-image: url(../img/head_img_bg.png);
  
  }

#footer a {
    color: #333333;
    font-size: 14px;
    text-decoration:none;
  }
  
  #footer a:hover {
    color: #555555;
    text-decoration:underline;
  }

/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
a[href*="0120390404:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea { 
    background-color: var(--white-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--link-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background: var(--white-color);
    border: 1px solid var(--linkhover-color);
    padding-top: 30px;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}
#pagetop::after{
    content: "";
    display: block;
    border-top: 2px solid var(--base-color);
    border-right: 2px solid var(--base-color);
    width: 25%;
    height: 25%;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
#pagetop:hover{
    opacity: 0.5;
}

/* 下層ページヘッダー
-------------------------------------*/
.subimg {
    height: 350px;
    background: url('../img/subimg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 2rem;
}
.subimg h1 {
    height: 350px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
    margin: 0;
}
/* パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
    display: none;
}	
/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    text-decoration: none;
    background-color: var(--link-color);   
    color: var(--white-color);
}
.spnavi a {
    display: inline-block;
    color: var(--white-color);
}
.spnavi a:hover {
    opacity: 0.9;
    background-color: var(--link-color);   
    color: var(--white-color);
}
.spnavi::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}
/*メイン画像
-------------------------------------*/
#mainimg {
    top: 40px;/*メイン画像の上側がバーに隠れないように下げている*/
    margin-bottom:80px;/*メイン画像の下に隙間を入れる*/
/*    height: 40vh;　　初期値500px-*/
    min-height: 40vh;/*後から追加した*/

}









}
#mainimg h1 {
    height: 350px;
    font-size: 1.8rem;
}
/*ニュース
-------------------------------------*/
.news-list .item .title{
    margin-top: 1em;
}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}