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

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

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
p{
	color: #2C2C2C;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}

.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  visibility: visible;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}

.contact-button {
	padding: 1rem;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
/* 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: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 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{
	position: relative;
	display: inline-block;
}

.mainimg img {
    width: 100vw;
	display: block;
	height: auto;
}

.mainlayer {
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
	height: auto;
}
.mainsubs{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 4em;
	font-weight: bold;
	position: absolute;
	width: 100%;
	top: 2.5em;
	left: 2em;
	color: #FFF;
}


.fadeIn {
	opacity: 0;
}



/*メインコンテンツ
-------------------------------------*/
body{
	overflow-x: hidden;
}
main {
    margin: 5rem 0 0 0;
	
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
	margin: 5em auto;
	padding: 6em 0;
}

.catch p {
	width: 70%;
	line-height: 2.0em;
	padding: 2em 3em;
	margin: 0 auto;
	letter-spacing: 0.10em;
}

.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin:0 auto 4rem auto;
}
h2 {
    padding-bottom: 2rem;
	font-size: 2em;
	color:#EB8225;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.20em;
}

h3{
	background-color:#EB8225; ;
	color: #FFF;
	padding: 1em;
	font-weight: 1.4em;
	margin: 1em 0 0 0;
}
h4{
	background-color:#A63800;
	color: #FFF;
	text-align: center;
	padding: 1em;
	margin: 0 auto;
}

dl {
display: flex;
flex-flow: row wrap;
width: 100%;
}
dt {
flex-basis: 15%;
padding: 20px;
background-color: #f1f1f1;
border-bottom: 1px solid #ccc;
}
dd {
flex-basis: 85%;
padding: 20px;
background-color: #fff;
border-bottom: 1px solid #ccc;
}
.p-br{
	line-height: 1.5em;
}
ul li{
	list-style: none;
}

/* buttonタグのリセットCSS（不要な場合、セレクタごと削除してください） */
button {
  padding: 0;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.rec{
	width: 50%;
	margin: 1em auto 5em;
}

/* ボタンのスタイル */
.buttonBasic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 64px;
  padding: 8px 24px;
  font-family: sans-serif;
  font-size: 16px;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  background-color:#EC0700;
  margin: 0 auto;
}

.works{
	width:100%;
	margin: 2em auto;
	vertical-align: middle;
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 40px;
}
.works:nth-child(even) {
  flex-direction: row-reverse;
}
.works:nth-child(even) .text {
  text-align: center;
}
.works:nth-child(even) .pict {
  margin-left: 0;
  margin-right: 3%;
}


.workmemo{
	text-align: left;
	width: 80%;
	margin:2em auto;
}



/*資格
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}
.license{
	
}
.align-left{
	text-align: left;
}


/*フッター※無し
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*募集要項
-------------------------------------*/
.tbl table {
width: 100%; /* テーブルの横幅を指定する */
}
table th, table td {
padding: 10px; /* セルの余白を指定する(上下左右) */
border: 1px solid #666; /* セルの境界線を実線で指定する */
}
table th {
background-color: #AAA; /* ボックスの背景色を指定する */
width: 30%; /* テーブルの見出しの横幅を指定する */
text-align: center; /* セル内のテキストの位置を指定（真ん中）する */
}


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

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}
	
/*メイン画像
-------------------------------------*/
.mainimg{
	position: relative;
	display: inline-block;
	width: 100%;
	height: auto;
}

.mainimg img {
    width: 100vw;
	display: block;
	height: auto;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}
.mainsubs{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 1.5em;
	font-weight: bold;
	position: absolute;
	width: 100%;
	top: 8em;
	left: 1em;
	color: #FFF;
}

.mainlayer {
	display: none!important;
}

/*キャッチコピー
-------------------------------------*/
h2 {
	font-size: 1.4em;
}
h3{
	font-size: 1.3em;
	}
.catch {
	padding: 2em 0;
}
.catch p {
	width: 90%;
	line-height: 1.5em;
}
.works {
  display:flex;
  flex-direction: column;
}
.works:nth-child(even) {
  flex-direction: column;
}
.works:nth-child(even) .text {
  text-align: center;
}

.works:nth-child(even) .pict {
  margin-left: 0;
  margin-right: 3%;
}


/*募集要項
-------------------------------------*/
dl {
flex-flow: column;
}
table {
margin: 10px 5px; /* テーブルの余白を指定する */
}
table th, table td {
width: 90%; /* テーブルの見出しの横幅を指定する */
display: block; /* ブロックレベル要素化する */
border-top: 1px solid #666; /* セルの境界線を実線で指定する */
}
.buttonBasic {
    transition: background-color 0.2s;
  }

.buttonBasic:hover {
    background-color: #54802f;
  }

}