/* Prevent footer floating if no content */
#app{
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#main{
    flex: 1;
}

/* Close Prevent footer floating if no content */
/* --- for internship card */
.i-post_list_details {
    overflow-x: hidden;
}
.i-post_list .i-post_list_thumb {
    /* Ratio 16: 9 */
    width: calc(((100vw - 30px - 40px) / 3) - 20px);
    height: calc((((100vw - 30px - 40px) / 3) - 20px) / 16 * 9);
}
.i-post_list .i-post_list_thumb img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
.i-post_list_details h2.i-post_list_title {
    height: 85px;
}

.i-post_list_data .i-post_list_client .i-post_list_client_logo img {
	width: 100%;
    height: 100%;
    object-fit: contain;
}

.i-post_list_tag-list:last-child {
	margin-bottom: 5px !important;
}

.i-post_list_tag-list .i-post_list_tag-list_head {
    padding: 0 8px !important;
}

.i-post_list .i-post_list_tag-list_wrap-sp {
    display: none;
}

@media (max-width: 500px) {
    /* --- detail */
    .i-post_list .i-post_list_details {
        flex-direction: column;
        justify-content: center;
    }
    .i-post_list .i-post_list_details .i-post_list_thumb {
        max-width: none;
        margin-right: 0;
        /* Ratio 16: 9 */
        width: calc(100vw - 30px - 20px);
        height: calc((100vw - 30px - 20px) / 16 * 9);
    }
    .i-post_list .i-post_list_details h2 {
        height: auto;
        margin: 15px auto;
    }
    /* --- END detail */

    /* --- tag list */
    /* --- END tag list */

    /* --- list data (company and like) */
    /* --- END list data (company and like) */
}

@media (max-width: 780px) {
    /* --- container */
    .top_i-post_list_inner .i-post_list,
    .relation_i-post_list_inner .i-post_list {
        margin: 0 0 20px 0;
    }
    /* --- END container */

    /* --- detail */
    .i-post_list .i-post_list_thumb {
        min-width: 150px;
        max-width: 150px;
        margin-right: 10px;
        width: 150px;
        height: 80px;
    }
    .i-post_list_details h2.i-post_list_title {
        font-size: 14px;
        font-size: 1.4rem;
        font-weight: 900;
    }
    /* --- END detail */

    /* --- tag list */
    .i-post_list .i-post_list_tag-list_wrap {
        display: none;
    }
    .i-post_list .i-post_list_tag-list_wrap-sp {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
    }
    .i-post_list .i-post_list_tag-list_wrap-sp .i-post_list_tag-list {
        min-width: unset !important;
    }
    /* --- END tag list */

    /* --- list data (company and like) */
    /* --- END list data (company and like) */
}

@media only screen and  (min-width: 781px) and (max-width: 1209px){
/* @media (max-width: 1209px) { */
    /* --- container */
    .top_i-post_list_inner,
    .i-post_archive_list_inner,
    .relation_i-post_list_inner {
        column-gap: 20px;
        padding: 0 10px;
    }

    .top_i-post_list_inner .i-post_list,
    .i-post_archive_list_inner .i-post_list,
    .relation_i-post_list_inner .i-post_list {
        max-width: unset;
        width: calc(((100% - 40px) / 3)) !important; /* 100vw - gaps */
        margin: 0;
        overflow-x: hidden;
    }
    /* --- END container */

    /* --- detail */
    /* --- END detail */

    /* --- tag list */
    /* --- END tag list */

    /* --- list data (company and like) */
    /* --- END list data (company and like) */
}


/* --- END for internship card */

/* --- for internship detail */
.i-post_head .i-post_thumb {
	/* Ratio 16: 9 */
    width: calc(100vw - 60px);
    height: calc((100vw - 60px) / 16 * 9);
}
@media screen and (min-width: 781px) {
    .i-post_head .i-post_thumb {
        /* Ratio 16: 9 */
        width: calc((100vw / 2) - 30px);
        height: calc(((100vw / 2) - 30px) / 16 * 9);
        max-width: calc((1180px - 30px) / 2);
        max-height: calc(((1180px - 30px) / 2) / 16 * 9);
    }
}
.i-post_head .i-post_thumb img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
.post_entry p {
    white-space: pre-line;
}
.i-post_head .i-post_data .i-post_client .i-post_client_logo img {
	height: 100%;
    object-fit: contain;
}
/* --- END for internship detail */

/* --- Parsley */
.parsley-errors-list {
    list-style: none;
    padding: 5px 0;
    font-size: 12px;
    color: #dc3545;
    min-width: 100px;
}
/* --- END Parsley */

/* --- Company Information */
.company_page_head_icon {
    background-color: white;
}
.company_page_head_icon img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}
/* --- END Company Information */

/* --- header */
.main_visual_wrap .main_visual_contets .main_visual_copy h2 {
    font-size: 5.6rem;
}
@media screen and (min-width: 781px) {
    .main_visual_wrap .main_visual_contets .main_visual_copy h2 {
        font-size: 7rem;
    }
    .main_visual_wrap .main_visual_contets .main_visual_copy p {
        font-size: 2rem;
    }
}
/* --- END header */

/* --- no data */
.msg_no_data {
    width: 100%;
    text-align: center;
    font-size: 20px;
    padding: 30px 0;
}
/* --- END no data */

/* --- disable link tooltip */
.disable_link {
    position: relative;
}
.disable_link .tooltip_link_disable {
    visibility: hidden;
    width: 200px;
    background: #111;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    line-height: 20px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -100px;
}
.disable_link.disable_tooltip:hover .tooltip_link_disable {
    visibility: visible;
    opacity: 1;
}
@media (max-width: 500px) {
    .disable_link .tooltip_link_disable {
        display: none;
    }
}
/* --- END disable link tooltip */

/* --- for header (because remove 3 menu) */
@media screen and (min-width: 781px) {
    #g-navi .g-navi_inner ul li {
        width: 50%;
    }
}
/* --- END for header (because remove 3 menu) */
#header .header_inner {
    gap: 20px
}

/* Company login button */
#header .header_inner .header_login_wrap .header_login_company a{
    display: block;
	height: 35px;
	color: #fff;
	font-size: 13px;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 35px;
	padding: 0 15px;
	border-radius: 2px;
    overflow:hidden;
    white-space: nowrap; /* custom added */
}

#header .header_inner .header_login_wrap .header_login_company a {
	background: #ffffff;
	border: 1px solid #9b9b9b;
    color: #000000;
}
#header .header_inner .header_login_wrap .header_login_company i{
	margin-left: 5px;
}

#header .header_inner .header_login_wrap .header_login a {
	background: #344154;
	margin-left: 10px;
}

.sp_g-navi_login_wrap .sp_g-navi_login_company {
	width: 100%;
    overflow:hidden;
}

.sp_g-navi_login_wrap .sp_g-navi_login_company {
	margin-right: 10px;
}

.sp_g-navi_login_wrap .sp_g-navi_login_company a{
	display: block;
	height: 35px;
	color: #fff;
	font-size: 13px;
	font-size: 1.3rem;
	font-weight: 700;
	text-align: center;
	line-height: 35px;
	padding: 0 15px;
	border-radius: 2px;
}

.sp_g-navi_login_wrap .sp_g-navi_login_company a {
	background: #ffffff;
	border: 1px solid #9b9b9b;
    color: #000000;
}

.sp_g-navi_login_wrap .sp_g-navi_login_company a i{
	margin-left: 5px;
}


/* version 2 */
dl {
    margin-bottom: 40px;
}

.main_visual_wrap .city_line_03 img:first-child {
    /* v2 */
    animation: city_line_01 130s -65s linear infinite;
}

.main_visual_wrap .city_line_03 img:last-child {
    /* v2 */
	animation: city_line_02 130s linear infinite;
}

.main_visual_wrap .helicopter img {
    /* v2 */
	animation: helicopter 45s linear infinite;
}

.i-post_head .i-post_data .i-post_like .i-post_like-btn {
    background: none;
}

.i-post_head .i-post_data .i-post_like .i-post_like-btn i {
    /* color: #E1251B;  */
}

.i-post_list_data .i-post_list_like .i-post_list_like-btn {
    background: none;
}

.my-page_manegement-list > li {
    padding: 15px;
}

.my-page_manegement-list h2.manegement-list_title {
	font-size: 15px;
	font-size: 1.5rem;
	font-weight: 700;
}

.my-page_manegement-list .manegement-list_plofile {
	display: flex;
	align-items: center;
}

.manegement-list_plofile .manegement-list_plofile_icon {
    width: 50px;
    height: 50px;
    border: solid 1px #ddd;
    margin-right: 10px;
    border-radius: 50%;
    overflow: hidden;
}

.manegement-list_plofile .manegement-list_plofile_name_school .manegement-list_plofile_name a {
	color: #344154;
	font-size: 15px;
	font-size: 1.5rem;
	font-weight: 900;
}

.manegement-list_plofile .manegement-list_plofile_name_school .manegement-list_plofile_school {
	font-size: 10px;
	font-size: 1rem;
	font-weight: 700;
	margin-top: 5px;
}

.my-page_manegement-list .my-page_manegement-list_user-status select {
    width: auto;
    font-size: 16px;
    font-size: 1.6rem;
    padding: 10px 25px 10px 10px;
    border: solid 1px #ddd;
    border-radius: 2px;
    cursor: pointer;
}

.my-page_manegement-list_user-status .form_select_wrap {
	position: relative;
}

.my-page_manegement-list_user-status .form_select_wrap::before {
	display: block;
	position: absolute;
	font-family: 'Font Awesome 5 Free';
	content: '\f0dd';
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
	top: 40%;
	right: 10px;
	transform: translateY(-50%);
	z-index: 0;
}

.manegement-list_tag-list .manegement-list_tag-list_head {
	border: solid 1px #F4F6F8;
    background: none;
}


/* Custom Table for Internship Company */
table.custom-table {
    font-size: 14px;
    color: #344154;
    border: 1px solid #DDDDDD;
}

table.custom-table thead tr {
    height: 100px;
    background-color: #F4F6F8;
}

table.custom-table tr {
    height: 50px;
}

table.custom-table th {
    vertical-align: middle;
    padding: 8px;
    font-weight: 700;
}

table.custom-table td {
    vertical-align: middle;
    padding: 8px;
    border-bottom: 1px solid #DDDDDD;
    border-top: 1px solid #DDDDDD;
}

table.custom-table td.text-elipsis {
    max-width: 100px; /* Set the maximum width for the cell before truncating */
    white-space: nowrap; /* Prevent text from wrapping to a new line */
    overflow: hidden; /* Hide any overflow of the text */
    text-overflow: ellipsis;
}
