@charset "utf-8";

.reuruit_tab {
	padding: 0 120px;
	background-color: white;
}

.reuruit_tab .tab {
	display: flex;
	justify-content: space-around;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.reuruit_tab .tab li {
	flex-grow: 1;
	text-align: center;
	padding: 10px;
	background-color: #707070;
	position: relative;
	margin-right: 50px;
	/* 各タブの右側に30pxのマージンを追加 */
}

.reuruit_tab .tab li:last-child {
	margin-right: 0;
	/* 最後のタブの右マージンを0に設定 */
}

.reuruit_tab .tab a {
	text-decoration: none;
	color: white;
	display: block;
}

.reuruit_tab .tab li:hover {
	background-color: #5a5a5a;
}

.reuruit_tab .tab a:focus,
.reuruit_tab .tab a:active,
.reuruit_tab .tab a:hover {
	color: #f0f0f0;
}

.reuruit_tab .tab .corner {
	width: 30px;
	height: 10px;
	background-color: #D83425;
	position: absolute;
	top: 0px;
	left: 0px;
}



.recruit {
	padding: 20px;
}



/* セクション設定 */
.sections {
	display: flex;
	flex-direction: column;
}

.section {
	margin-bottom: 40px;
	opacity: 0;
	/* 初期状態では透明にする */
	transform: translateY(50px);
	transition: opacity 1s, transform 1s;
	animation: fadeIn 1s ease forwards;
	/* 1秒かけてフェードイン */
	animation-delay: 0.5s;
	/* アニメーションの開始を0.5秒遅延させる */
}

.section h2 {
	padding: 10px;
	font-weight: bold;
}

/* テーブル設定 */
table {
	width: 100%;
	border-collapse: separate;
	/* 境界線を分離 */
	border-spacing: 20px;
	/* 境界線同士の間隔を10ピクセルに設定 */
	margin-bottom: 40px;
}

th {
	border-bottom: 1px solid #3577CA;
	font-weight: bold;
}


th,
td {
	padding: 10px;
	margin: 10px;
	text-align: left;
}

td {
	border-bottom: 1px solid #E4E4E9;
}

/* トップに戻るボタン */
.topback a {
	text-decoration: none;
	color: #333;
}

/* フェードインアニメーション */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}


.section h2 .corner {
	width: 10px;
	/* 四角の幅 */
	height: 20px;
	/* 四角の高さ */
	background-color: #3577CA;
	/* 四角の色 */
	display: inline-block;
	/* インライン要素として表示 */
	margin-right: 5px;
	/* テキストとの間隔 */
	vertical-align: middle;
	/* テキストと同じ高さに配置 */
}

.tell_fax{
float: left;
}

/* レスポンシブ対応（画面幅が769px以下の場合） */
@media screen and (max-width: 769px) {
    .gennbadairininn td{
    width:500px;
    }
	
    .tosoukou td{
    width:500px;
    }
	
    .reuruit_tab .tab{
	margin:0 -40px 0px -40px;
	}
}


/* レスポンシブ対応（画面幅が683px以下の場合） */
@media screen and (max-width: 683px) {
    .gennbadairininn td{
        width:400px;
    }
	
    .tosoukou td{
        width:400px;
    }

    .reuruit_tab .tab{
        margin:0px -80px 0px -80px
    }
}

/* レスポンシブ対応（画面幅が583px以下の場合） */
@media screen and (max-width: 583px) {
    .gennbadairininn td{
        width:350px;
    }
	
    .tosoukou td{
        width:350px;
    }
}

/* レスポンシブ対応（画面幅が555px以下の場合） */
@media screen and (max-width: 555px) {
	.reuruit_tab .tab{
	margin:0px -120px 0px -120px;
}
	.reuruit_tab .tab li{
	margin-right:20px;
	
}
}

/* レスポンシブ対応（画面幅が533px以下の場合） */
@media screen and (max-width: 533px) {
    .gennbadairininn td{
        width:300px;
    }
	
    .tosoukou td{
        width:300px;
    }
}

/* レスポンシブ対応（画面幅が483px以下の場合） */
@media screen and (max-width: 483px) {
	table{
        border-spacing:10px;
    }

    .gennbadairininn td{
        width:250px;
}
	
    .tosoukou td{
        width:250px;
}
}

/* レスポンシブ対応（画面幅が390px以下の場合） */
@media screen and (max-width: 390px) {
	
    .gennbadairininn td{
        width:350px;
}
	
    .tosoukou td{
        width:350px;
}
	
	
    .reuruit_tab .tab li{
       margin-right:0;
	}

    .reuruit_tab .tab{
       display:block;
}

    .reuruit_tab .tab li{
       margin:10px 0 10px 0;
}

    th, td{
        display:block;
        margin:0;
    }

    th{
        border-top:1px solid #3577CA;
        color:#3577CA;
        padding:10px 10px 0px 10px;
}

	th, td{
        border-bottom:none;
}

	.gennbadairininn, .tosoukou{
        border-collapse:collapse;
    }
	
.recruit {
	padding: 0px;
}
	
table {
width: 100%;
table-layout: fixed;
word-break: break-all;
word-wrap: break-all;
}

}