@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;
}
.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;
}
.mobile{
	display: none!important;
}
.pc{
	display: block;
}
.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;
	background-image: url("../img/bg.jpg");
	background-size: 100% auto;
}

.catch p {
	width: 70%;
	line-height: 2.0em;
	background-color: rgba(20,20,20,0.50);
	padding: 2em 3em;
	margin: 0 auto;
	color: #FFF;
	letter-spacing: 0.10em;
	font-weight: bold;
}

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

h3{
	color: #00348D;
	letter-spacing: 0.30em;
}
h4{
	background-color: #003D5F;
	color: #FFF;
	text-align: center;
	padding: 1em;
	margin: 0 auto;
}

h5{
	background-color: #003D5F;
	color: #FFF;
	text-align: center;
	padding: 1em;
	margin: 0 auto;
	font-size:1.2em;
}

dl {
display: flex;
flex-flow: row wrap;
width: 100%;
}
dt {
flex-basis: 15%;
padding: 20px;
background-color:#C4DDEF;
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;
}
.center-text{
	text-align: center;
	font-weight: bolder;
	text-decoration: underline;
	line-height: 2em;
	font-size: 1.3em;
}
.senkou{
	width: 80%;
	text-align: center;
	margin: 0 auto;
	line-height: 1.0em;
	
}
.senkou dl dt{
	background: #FFFFFF;
	border-bottom: none;
	flex-basis: 30%;
	padding: 10px;
	
}
.senkou dl dd{
	background: #FFFFFF;
	border-bottom: none;
	flex-basis: 70%;
	padding: 10px;
}

.re-recruit-flow {
	margin-top: 52px;
}

.re-recruit-flow__lists {
	display: flex;
	position: relative;
	justify-content: space-between;
}

.re-recruit-flow__lists::before {
	position: absolute;
	top: 50%;
	left: 50px;
	width: 90%;
	height: 8px;
	background-color: #EFEEEA;
	content: "";
}

.re-recruit-flow__list {
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: calc(20% - 13.6px);
	height: 222px;
	border-radius: 8px;
	background-color: #EFEEEA;
	text-align: center;
}

.re-recruit-flow__list:nth-child(1) .label {
	background-color: #56A1C9;
}

.re-recruit-flow__list:nth-child(3) .label,
.re-recruit-flow__list:nth-child(4) .label {
	background-color:darkkhaki;
}

.re-recruit-flow__list span {
	display: block;
}

.re-recruit-flow__list .txt {
	font-weight: 700;
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.5;
}

.re-recruit-flow__list .label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 25px;
	margin: 7px auto 0;
	padding-bottom: 1px;
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
}

.re-recruit-flow-captions {
	margin-top: 15px;
}

.re-recruit-flow-caption {
	font-size: 1.5rem;
	line-height: 1.9;
}


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

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

/* ボタンのスタイル */
.buttonBasic {
  display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 25em;
	margin:auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #006DBB;
	background:#006DBB;
	color: #fff;
	transition: 0.5s;
}

 .buttonBasic:hover{
	color: #006DBB;
	background: #fff;
}

/*資格
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}
.license{
	width: 100%;
	margin: 0 auto 5em;
	display: flex;
}
div.box2{
  margin-right: 6px;
  padding: 10px 20px 30px;
  background:#0072AB;
  color: #EEEEEE;
}
.circle {
  display: inline-block;
  font-weight: bold;
  font-size:1.3em;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:#A9A000;
  color: #EEEEEE;
  text-align:center;
  line-height: 50px;
}
.license-txt{
	color: #EEEEEE;
	font-weight: bold;
	margin-left: 0.5em;
	font-size: 0.9em;
}
.license-txt2{
	color: #EEEEEE;
	margin: 0;
	font-size: 0.9em;
}
.box5 {
    padding: 0.5em 1em;
    margin: 2em 0;
}
.box5 p {
    margin: 0; 
    padding: 1em;
	line-height: 2em;
}

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

/*募集要項
-------------------------------------*/
/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 90%;
  margin: 0 auto 40px;}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/2);
  height: 50px;
  border-bottom: 3px solid #5ab4bd;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#elect-kan:checked ~ #elect-kan_content,
#dentu-kan:checked ~ #dentu-kan_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #5ab4bd;
  color: #fff;
}


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

.step {
    border-bottom: dotted 2px #B8C106;
	margin-top: -2em;
}



/*コピーライト
-------------------------------------*/
.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;
}
	
h4{
	background-color: #003D5F;
	color: #FFF;
	text-align: center;
	padding: 1em;
	margin: 0 auto;
	font-size:1em;
}

h5{
	background-color: #003D5F;
	color: #FFF;
	text-align: center;
	padding: 1em;
	margin: 0 auto;
	font-size:1em;
}

/*メイン画像
-------------------------------------*/
.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: 10em;
	left: 1em;
	color: #FFF;
}
.mobile {
		display: block!important;
	}
.pc {
		display: none!important;
	}
.mainlayer {
	display: none!important;
}

	

/*キャッチコピー
-------------------------------------*/
h2 {
	font-size: 2em;
}
.catch {
	padding: 2em 0;
	background-image: url("../img/bg.jpg");
	background-size: cover;
}
.catch p {
	width: 90%;
	line-height: 1.5em;
}
	
/*募集要項
-------------------------------------*/
dl {
flex-flow: column;
}
dt {
padding: 8px;
background-color:#C4DDEF;
border-bottom: 1px solid #ccc;
}
dd {
padding: 8px;
background-color: #fff;
border-bottom: 1px solid #ccc;
}
	
table {
margin: 10px 5px; /* テーブルの余白を指定する */
}
table th, table td {
width: 90%; /* テーブルの見出しの横幅を指定する */
display: block; /* ブロックレベル要素化する */
border-top: 1px solid #666; /* セルの境界線を実線で指定する */
}
.tabs {
	font-size: 0.8em;
	width: 100%;
}
.tab_item {
  font-size: 1em;
}
/*タブ切り替えの中身のスタイル*/
.tab_content {
  padding: 10px 10px 0;

}

.buttonBasic {
    transition: background-color 0.2s;
	width: 13em;
  }

.buttonBasic:hover {
    background-color:#fff;
  }

.re-recruit-flow__lists {
	display: block;
	position: relative;
	justify-content: space-between;
}

.re-recruit-flow__lists::before {
	position: absolute;
	top: 50%;
	left: 0px;
	width: 90%;
	height: 8px;
	background-color: #EFEEEA;
	content: none;
}

.re-recruit-flow__list {
	display: flex;
	margin: 10px auto;
	position: relative;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 80%;
	height: 8em;
	border-radius: 8px;
	background-color: #EFEEEA;
	text-align: center;
}

.step {
    display: none;
}
.rec{
	width: 100%;
	margin: 5em auto 5em;
}	
	
}