@charset "UTF-8";

body { font-family: sans-serif; margin: 0; background: #fff; }
.listhead_hr_display_block {display: block; width: 100%; background-color: #000000; height: 3px; color: #fff;}
.container { max-width: 1280px; margin: 0 auto; padding: 0 15px; }

header { background: #281a14; color: white; display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; flex-wrap: nowrap; overflow: hidden; }
header img { max-height: 100px; height: auto; max-width: 100%; }
header h1 { font-size: 1rem; margin: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-grow: 1; }

.nav-toggle { display: none; flex-direction: column; cursor: pointer; flex-shrink: 0; }
.nav-toggle span { background: white; height: 3px; width: 25px; margin: 3px 0; transition: all 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

nav { background: #000; display: flex; flex-wrap: wrap; justify-content: flex-start; }
nav > div { position: relative; }
nav a { color: white; padding: 10px 8px; text-decoration: none; display: block; }
nav .submenu { display: none; position: absolute; background: #222; top: 100%; left: 0; min-width: 180px; z-index: 10; }
nav .has-submenu.open .submenu { display: block; }
.swiper { width: 100%; max-height: 400px; margin: 20px 0; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.main { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 10px; }
.right { width: 280px; flex-shrink: 0; }
.left { flex: 1; min-width: 0; }
.section-title { font-weight: bold; margin-bottom: 10px; border-bottom: 2px solid #ccc; padding-bottom: 5px; }
.info-box { background: #fafafa; border: 1px solid #ddd; border-radius: 5px; padding: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 12px; }
.info-list { margin-top: 20px; }
.info-box ul { list-style: none; padding: 0; margin: 0; }
.info-box li { padding: 5px 0; border-bottom: 1px solid #eee; font-size: 14px; display: flex; justify-content: space-between; }
.info-box li:hover { background-color: #f0f0f0; cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid #ddd; font-size: 14px; }
.job-card { display: none; background: #fafafa; border: 1px solid #ddd; border-radius: 5px; padding: 10px; margin-bottom: 15px; }
.button-box { background: black; color: white; padding: 10px; margin-bottom: 10px; text-align: left; cursor: pointer; border-radius: 5px; }
.button-box a { color: white; }
footer { background: #222; color: #ccc; padding: 20px 15px; font-size: 14px; position: relative; }
footer .footer-links { text-align: center; margin-bottom: 20px; }
.footer-links a { color: #ccc; text-decoration: none; display: inline-block; margin: 0 10px; }
.footer-links a:hover { text-decoration: underline; }
footer .footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1280px; margin: 0 auto; }
.footer-column { flex: 1; min-width: 200px; padding: 10px; padding-left: 30px; }
.footer-column a { color: #fff; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #444; font-size: 13px; }
.footer-bottom a { color: #fff; }
.back-to-top { position: fixed; bottom: 20px; right: 20px; background: #666; color: white; padding: 10px; border-radius: 4px; cursor: pointer; z-index: 9999; }
.job-columns { display: flex; flex-wrap: wrap; gap: 20px; }
.job-column { flex: 1; min-width: 300px; }
.modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); justify-content: center; align-items: center; }

.info-box-all_cnt { background: #fafafa; border: 1px solid #ddd; border-radius: 5px; padding: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 12px; }
.info-box-all_cnt ul { list-style: none; padding: 0; margin: 0; }
.info-box-all_cnt li { padding: 5px 0; border-bottom: 1px solid #eee; font-size: 14px; display: flex; justify-content: space-between; }
.info-box-all_cnt .span_left { padding-left: 5px; }
.info-box-all_cnt .span_right { padding-right: 5px; }

#right_menu { display: block; }

.info-box-cm_left { 
	background: #fafafa;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	margin-bottom: 12px;
	display: block;}
.info-box-cm_right {
	background: #fafafa;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	margin-bottom: 12px;
	display: none; }

@media (max-width: 756px) {
	.info-box-cm_left {
	   display: none;
	}
	
	.info-box-cm_right {
	   display: block;
	}
    #right_menu { display: none; }
}

/* モーダル内容 */
.modal-content { background-color: #fff; padding: 30px; border-radius: 8px; width: 90%; max-width: 400px; box-shadow: 0 0 10px rgba(0,0,0,0.3); position: relative; }
.modal-content h2 { margin-top: 0; }
.modal-content input { width: 100%; padding: 8px; margin-top: 8px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; }
.modal-content button { width: 100%; padding: 10px; background: black; color: white; border: none; border-radius: 4px; cursor: pointer; }
.modal-content .close { position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; }
.login-menu { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.login-menu a { white-space: nowrap; }
.mobile_cm { display: none; }
.pc_cm { display: block; }
#mblogin {margin:100px auto;width:400px;background:#fff;border:1px solid #d4e2e1;box-shadow:3px 3px 7px 1px #bbb;-moz-box-shadow:3px 3px 7px 1px #bbb;-webkit-box-shadow:3px 3px 7px 1px #bbb;}
.login-container { background: #fff; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); width: 100%; max-width: 400px; padding: 2rem; }
.login-container h2 { text-align: center; margin-bottom: 1.5rem; font-size: 1.5rem; color: #333; }
.login-container form { display: flex; flex-direction: column; }
.login-container label { margin-bottom: 0.5rem; font-weight: bold; font-size: 0.95rem; }
.login-container .login_msg { color: red; }
.login-container input { padding: 0.75rem; margin-bottom: 0.5rem; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; }
.error-message { color: red; font-size: 0.85rem; margin-bottom: 1rem; }
.login-container button { background: #000; color: white; padding: 0.75rem; border: none; border-radius: 6px; font-size: 1rem; cursor: pointer; transition: background 0.3s; }
.login-container button:hover { background: #0056b3; }
.login-container .footer-link { text-align: center; margin-top: 1rem; }
.login-container .footer-link a { text-decoration: none; color: #007BFF; font-size: 0.9rem; }
.info-box_tbl { background: #fafafa; border: 1px solid #ddd; border-radius: 5px; padding: 10px; margin-bottom: 20px; }
.info-box_tbl table { width: 100%; border-collapse: collapse; }
.info-box_tbl th, td { padding: 8px; border-bottom: 1px solid #ddd; font-size: 14px; text-align: left; vertical-align: top; }
.info-box_tbl input[type="text"], textarea { box-sizing: border-box; padding: 6px; font-size: 14px; }

@media (max-width: 900px) {
.info-box_tbl input[type="text"] { width: 100%; }
}

.info-box_itjob_pc { background: #fafafa; border: 1px solid #ddd; border-radius: 5px; padding: 10px; margin-bottom: 20px; display: block; }
.info-box_itjob_pc table { width: 100%; border-collapse: collapse; }
.info-box_itjob_pc th, td { padding: 8px; border-bottom: 1px solid #ddd; font-size: 14px; text-align: left; vertical-align: top; }
.info-box_itjob_pc input[type="text"], textarea { width: 100%; box-sizing: border-box; padding: 6px; font-size: 14px; }
.info-box_itjob_mobile { display: none; }

/* ブロック型レスポンシブ */
@media (max-width: 756px) {
    .info-box_itjob_mobile { background: #fafafa; border: 1px solid #ddd; border-radius: 5px; padding: 10px; margin-bottom: 20px; display: block; }
    .info-box_itjob_pc { display: none; }
    .info-box_tbl table, thead, tbody, tr, th, td, caption { display: block; width: 100%; }
    .info-box_tbl tr { margin-bottom: 15px; border-bottom: 1px solid #ccc; padding-bottom: 10px; }
    .info-box_tbl th { font-weight: bold; margin-bottom: 5px; background: none; border: none; padding: 0; }
    .info-box_tbl td { padding: 0; }
}
@media (max-width: 480px) {
    .login-container { padding: 1.5rem 1rem; }
    #mblogin { width: 96%; }
}
@media (max-width: 900px) {
    .right { width: 100%; }
}
@media (max-width: 756px) {
    .info-box span {
        display: inline-block;/* または block / flex でもOK */
        max-width: 230px; /* 横幅の制限が必要 */
        white-space: nowrap;/* 改行しない */
        overflow: hidden; /* はみ出した部分を隠す */
        text-overflow: ellipsis;/* "..." を表示 */
    }
    .pc_cm { display: none; }
    .mobile_cm { display: block; }
    .nav-toggle { display: flex; }
    nav { flex-direction: column; display: none; }
    nav.active { display: flex; }
    nav .submenu { position: static; }
    .main { flex-direction: column; }
    .left { width: 100%; }
    .right { width: 100%; }
    .job-columns { flex-direction: column; }
    header h1 { width: 100%; }
    table { display: none; }
    .job-card { display: block; }
}
.grid-container dl { display: grid; grid-template-columns: repeat(11, 1fr); /* 11列に分割 */ gap: 0px; margin: 0; padding: 0; }
.grid-container .item { border: 1px solid #ccc; border-radius: 1px; padding: 0; background: #f9f9f9; }
.item dt { font-weight: bold; margin-bottom: 1px; text-align: center; background-color: #e8e8e8; color: #000; }
.item dd { margin: 0; text-align: center; }

.line {
  display: flex;
  align-items: center;
  width: 100%;
}

.afg_btn_confirm {width: 100%; text-align: center; padding: 10px 0 10px 0;}
.afg_btn_confirm .submit_btn {padding: 6px 16px 6px 16px; background-color: #000; color: #fff;}
.afg_btn_confirm .submit_btn:hover {background:#2375eb}

.input_title_338 {width: 338px;}
.input_cmpy_name_398 {width: 398px;}
.input_cmpy_name_kn_468 {width: 468px;}
.input_depart_name_338 {width: 338px;}
.input_userid_w {width: 188px;}
.input_userpw_w {width: 218px;}
.input_user_nm1_w {width: 168px;}
.input_user_nm2_w {width: 188px;}
.input_user_knnm1_w {width: 188px;}
.input_user_knnm2_w {width: 208px;}
.input_user_sex_w {width: 68px;}
.input_user_mail_w {width: 398px;}
.input_user_home_w {width: 468px;}
.input_tel_w {width: 138px;}
.input_zip_w {width: 88px;}
.input_address2_w {width: 238px;}
.input_address3_w {width: 288px;}
.input_address4_w {width: 368px;}

.ins_data_view_left {display: none;}
.ins_data_view_right {display: block;}

@media (max-width: 900px) {
	.ins_data_view_left {display: block;}
	.ins_data_view_right {display: none;}
}
