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

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #2B2C2D; ;
    --back-color: #767171;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--base-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
a img {
    margin-bottom: 1rem;
}
a img:hover {
	opacity: 0.8;
}
.blueback {
	background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.ttl_line1 {
  font-weight: bold;
  border-left: 5px solid var(--back-color);
  border-bottom: 2px dashed #B4B4B4;
  padding: 0.25em 0 0.3em 0.5em;
}
.ttl_line7 {
  font-weight: bold;
  padding: 0.3em 0.5em;
  border-left: 10px double var(--back-color);
}
.underline {
	border-bottom: 3px solid var(--back-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
body {
    padding-top: 144px; /* ヘッダーの高さ分の余白をいれ、うしろの要素が隠れないようにする */
}
header {
    position: fixed; /*** ← fixedで固定 ***/
    width: 100%;
    height: 144px;
    box-sizing: border-box;
    top: 0;
    left: 0;
}
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
}
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
.tel {
	cursor: default;
	pointer-events: none;
}
.menu {
	background-color: var(--back-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: var(--white-color);
}
nav a:hover {
    background-color: var(--linkhover-color);   
	color: var(--white-color);
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.tel {
	pointer-events: auto;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0;
}
/* スマホ時は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: 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;
}
}

/*メイン画像
-------------------------------------*/
.mainimg {
	width: 100vw;
	position: relative;
}
/*メイン画像に文字
-------------------------------------*/
.mainimg p {
  position: absolute;
  z-index: 1;/*文字の重なりを全面に*/
  font-size: 2.2rem;
  color: #FFF;
    top:30%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  text-align: center;
  margin:0;
  padding:0;
  font-weight: bold; /*太字に*/
  font-size: 2em;/*サイズ2倍*/
  font-family :Quicksand, sans-serif;/*Google Font*/
  line-height: 1;
  filter: drop-shadow(5px 5px 5px #000);
  }
/*メイン画像に文字2
-------------------------------------*/
.mainimg span {
  position: absolute;
  z-index: 1;/*文字の重なりを全面に*/
  font-size: 2.2rem;
  color: #FFF;
    top:90%;
  left: 90%;
  transform: translate(-50%,-50%);
  width: 100%;
  text-align: center;
  margin:0;
  padding:0;
  font-weight: bold; /*太字に*/
  font-size: 2em;/*サイズ2倍*/
  font-family :Magneto Bold;/*Google Font*/
  line-height: 1;
  filter: drop-shadow(5px 5px 5px #000);
  }
/*メイン画像にロゴ
-------------------------------------*/
.mainimg img.imagup{
  position: absolute;
  top:90%;
  left: 90%;
  transform: translate(-50%,-50%);
  color: #fff;
  width: 10%;
  filter: drop-shadow(2px 2px 2px #767171);
}

.mainimg img {
  width: 100%;
  }
@media screen and (max-width: 768px){
  .mainimg p {
  font-size: 1.6rem;
}
  .mainimg span {
  font-size: 1.6rem;
}
.mainimg img.imagup{
  width: 10%;
}
}
/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*新着情報
-------------------------------------*/
.news h2 {
    background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid var(--border-color);
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color);
    padding: 5rem 0;
	color: var(--white-color);
}
footer h5 {
    border-bottom: 2px solid var(--white-color);
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--back-color);
}
.copyright a {
    color: var(--base-color);
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: var(--back-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
    box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.5);
outline: solid 1px white;
}
#pagetop a:hover {
    background-color: var(--linkhover-color);   
	color: var(--white-color);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}
/* GoogleMapのスタイル指定 */
.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
border-width: 1px;
border-color: #333;
left: 0;
width: 99%;
height: 90%;
}
/*会社概要テーブル
-----------------------------------*/
#gaiyou{
width:auto !important;
margin-left: auto;
margin-right: auto;
table-layout: auto;
word-break: break-all;
word-wrap: break-all;
overflow-wrap: break-word;
line-height: 100%;
border:1px solid #000;
color:#000;
}
table#gaiyou th {
	border: 1px solid #000;
	padding: 10px !important;
	font-size: 16px;
	word-break: keep-all;
	white-space: initial;
	line-height:120%;
}
table#gaiyou td{
border:1px solid #000;
padding:0px !important;
vertical-align: middle;
}
/*採用情報テーブル
-----------------------------------*/
#saiyou{
width:100%;
margin-left: auto;
margin-right: auto;
table-layout: auto;
word-break: break-all;
word-wrap: break-all;
overflow-wrap: break-word;
line-height: 100%;
border:1px solid #ccc;
color:#000;
}
table#saiyou th {
	border: 1px solid #ccc;
	padding: 10px !important;
	font-size: 16px;
	word-break: keep-all;
	white-space: initial;
	line-height:120%;
}
table#saiyou td{
border:1px solid #ccc;
padding:0px !important;
vertical-align: middle;
}
/* リスト表示 */
table td ul li {
	list-style-type: square !important;
	text-indent:-1em !important;
	margin: 1em;
}
table td ol.asterisk {
	list-style-type:none !important;
	text-indent:-1em !important;
}
table td ol.asterisk li {
	text-indent:-1em !important;
	list-style-type:none !important;
	margin: 1em;
}
