/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p,
h1,
h2,
h3,
h4,
h5,
a,
li,
span {
    color: black;
}

body {
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
	/* font-family: -apple-system, BlinkMacSystemFont, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Helvetica Neue", sans-serif; */
}

html,
body {
    overflow-x: hidden;
}

.top-wrapper {
    position: relative; /* h3を中央に配置するための基準 */
}

.top-wrapper img {
    width: 100%;
    object-fit: cover;
    height: 60vh;
    display: block;
}

.top-wrapper h3 {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* 文字を白に */
    font-size: 32px;
    letter-spacing: 5px;
    text-align: center;
}

@media screen and (max-width: 670px) {
    .top-wrapper img {
        height: 45vh;
    }

    .top-wrapper h3 {
        font-size: 24px;
    }
}

@media screen and (max-width: 670px) {
    .top-wrapper h3 {
        font-size: 20px;
    }
}

.container {
    /* max-width: 1000px; */
    margin: 0 auto;
}

.disabled-link {
    pointer-events: none;
/*     color: black;  */
}

/* ==========================
    グループ企業
========================== */
.group .staffing-intro {
    padding-bottom: 0px;
}

.group .principles-item {
    gap: 20px;
}

.group .principles-item a {
    width: 20%;
}

.group .principles-item img {
    width: 100%;
    margin: 0;
}

.group .label {
	display: flex;
	align-items: center;
	width: 35%;
}

/* .group .principles-item img {
    width: 20%;
} */

@media screen and (max-width: 900px) {
	.group .principles-item a {
		width: 100%;
	}
	
    .group .principles-item img {
		width: auto;
/*         min-width: 120px; */
    }

    .principles-content h3 span {
        display: block;
        padding: 10px 0;
    }
	
	.group .principles-content p {
		text-align: left;
	}
}

.group .company-section,
.recruit .company-section {
    padding: 120px 0 160px;
    max-width: 1000px;
    margin: 0 auto;
}

.group .company-section h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    padding: 40px 0 80px;
}

.group .company-section .row .label
.recruit .company-section .row .label {
    font-size: 16px;
}

.group .company-section .row .content p,
.recruit .company-section .row .content p {
    font-size: 16px;
}

@media screen and (max-width: 1080px) {
    .group .company-section,
    .recruit .company-section {
        width: 80%;
    }

    .group .company-section .row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .group .company-section .row .label,
    .recruit .company-section .row .label {
        width: 100%;
        font-size: 18px;
    }
    
    .group .company-section .row .content,
    .recruit .company-section .row .content {
        width: 100%;
    }
}

/* ==========================
    採用情報
========================== */
.recruit .top-wrapper-contents p {
    font-size: 24px;
}

.recruit .top-wrapper-contents p span {
    font-size: 16px;
}

.recruit .strengths {
    background-color: #F0F9FF;
    padding: 80px 10vw;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2)
}

.recruit .strengths h2 {
    font-size: 32px;
}

.recruit .company-section h2,h4 {
    text-align: center;
}

.recruit .company-section h2 {
    font-size: 32px;
    font-weight: bold;
}

.recruit .company-section h4 {
    font-size: 24px;
    padding: 20px 0 40px; 
}

.recruit .company-section .row .label {
    width: 20%;
}

.recruit .company-section .row .content {
    width: 75%;
}

.recruit .flow .btn {
    margin-top: 40px;
	text-align: center;
}

@media screen and (max-width: 520px) {
    .recruit .flow .btn a {
        font-size: 16px;
    }
}

@media screen and (max-width: 470px) {
    .recruit .flow .btn a {
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
    .recruit .flow .btn a {
        font-size: 12px;
    }
}

@media screen and (max-width: 390px) {
    .recruit .flow .btn a {
        font-size: 10px;
    }
}

.career-recruit,
.new-recruit {
    margin-top: 30vh;
}

@media screen and (max-width: 500px) {
    .career-recruit .entry-form .entry-title,
    .new-recruit .entry-form .entry-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 400px) {
    .career-recruit .entry-form .entry-title,
    .new-recruit .entry-form .entry-title {
        font-size: 20px;
    }
}

.contact .entry-form {
    margin: 18vh auto 80px;
}




/* ==========================
    お知らせ
========================== */
.news-wrapper {
    width: 70%;
    max-width: 800px;
    margin: 20vh auto;
    text-align: center;
}

.news-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px;
    color: black;
    border-bottom: solid 1px #ebebeb;
    position: relative; /* 疑似要素の基準位置 */
}

.news-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ebebeb;
    transition: background-color 0.3s ease;
}

.news-item:hover::after {
    background-color: #9b9b9b;
}

.news-thumbnail {
    width: 140px;
    height: 80px;
    background-color: #ddd;
    border-radius: 5px;
    flex-shrink: 0;
}

.news {
    flex-grow: 1;
    padding-left: 40px;
    padding-right: 10px;
    text-align: left;
    width: 80%;
}

.news-date {
    font-size: 14px;
    margin: 0;
}

.news-text {
    font-size: 16px;
    /* font-weight: bold; */
    margin: 5px 0 0;
}

.news-item:hover .news-date,
.news-item:hover .news-text {
    color: #A3A3A3;
}

.news-item:hover .arrow {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

@media screen and (max-width: 768px) {
    .news-wrapper {
        width: 90%;
    }

    .news-item {
        padding: 10px;
    }

    .news-thumbnail {
        width: 80px;
        height: 50px;
    }

    .news {
        padding-left: 20px;
    }

    .news-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media screen and (max-width: 500px) {
    .news-wrapper {
        width: 95%;
    }

    .news-wrapper .arrow {
        padding: 4px 2px 4px 10px;
    }
}

.pagination {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination a,
.pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #4285F4;
    background: white;
    color: #4285F4;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* 現在のページ */
.pagination .current {
    background: #4285F4;
    color: white;
    border: none;
}

/* ホバー時のアニメーション */
.pagination a:hover {
    background: #4285F4;
    color: white;
    transform: scale(1.1);
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    display: none;
}


/* ==========================
    個別投稿ページ
========================== */
.single-news-wrapper {
    width: 70%;
    max-width: 800px;
    margin: 20vh auto;
    text-align: center;
}

.single-news-title {
    font-size: 24px;
    font-weight: bold;
}

.single-news-date {
    font-size: 14px;
    color: #666;
    margin: 10px 0 20px;
}

.single-news-thumbnail img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.single-news-content {
    text-align: left;
    margin-top: 20px;
}

.single-news-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.prev-news a,
.next-news a {
    color: #4285F4;
    text-decoration: none;
    transition: 0.2s;
}

.prev-news a:hover,
.next-news a:hover {
    opacity: 0.7;
}

.news-list-btn a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4285F4;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.news-list-btn a:hover {
/*     transform: scale(1.05); */
}

/* ==========================
    個別投稿ページ
========================== */
.single-news-wrapper {
    width: 70%;
    max-width: 800px;
    margin: 20vh auto;
    text-align: center;
}

.single-news-title {
    font-size: 24px;
    font-weight: bold;
}

.single-news-date {
    font-size: 14px;
    color: #666;
    margin: 10px 0 20px;
}

.single-news-thumbnail {
    width: 70%;
    margin: 0 auto;
}

.no-thumbnail {
    width: 100%;
    max-height: 400px;
    background-color: #ddd;
    border-radius: 10px;
    flex-shrink: 0;
}

.single-news-thumbnail img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.single-news-content {
    text-align: left;
    margin-top: 40px;
}

.single-news-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.prev-news,
.next-news {
    width: 100px;
}

.prev-news a,
.next-news a {
    color: #4285F4;
    text-decoration: none;
    transition: 0.2s;
}

.prev-news a:hover,
.next-news a:hover {
    opacity: 0.7;
}

.single-news-wrapper .news-list-btn a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4285F4;
    color: white;
    border: 1px solid #4285F4;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.2s;
}

.single-news-wrapper .news-list-btn a:hover {
    background-color: white;
    color: #4285F4;
}

@media screen and (max-width: 768px) {
    .single-news-wrapper {
        width: 85%;
    }

    .single-news-navigation div {
        font-size: 14px;
    }
}

@media screen and (max-width: 500px) {
    .single-news-wrapper {
        width: 90%;
    }

    .single-news-navigation div {
        font-size: 12px;
    }

    .prev-news,
    .next-news {
        width: 80px;
    }

    .single-news-wrapper .news-list-btn a {
        padding: 8px 16px;
    }
	
	.group .staffing-intro h3 {
		font-size: 18px;
	}
}

.top-wrapper-entry-btn .btn a {
	font-size: 14px;
}

.br {
	display:none;
}

/* グループ企業修正 */
.group-info {
    margin-top: 10vh;
    padding: 120px 0;
}

.group-info .container {
    max-width: 960px;
    margin: 0 auto;
}

@media screen and (max-width: 1000px) {
    .group-info .container {
        width: 80vw;
    }
}

.group-header {
    display: flex;
    justify-content: center;
    gap: 100px;
    align-items: center;
    margin-bottom: 80px;
}

@media screen and (max-width: 900px) {
    .group-header {
        flex-direction: column;
        gap: 40px;
    }
}

.group-title h2 {
    font-size: 32px;
    font-weight: bold;
}

.group-title .blue {
    color: #4285F4;
    font-weight: bold;
    text-align: center;
}

.group-description {
    max-width: 600px;
    font-size: 16px;
    line-height: 1.8;
}

.group-content,
.in-house-system {
    margin-bottom: 60px;
    background-color: #F7F7F7;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1)
}

.group-content h3,
.in-house-system h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.in-house-system h4 {
    font-size: 20px;
    text-align: left;
    font-weight: bold;
    margin-bottom: 10px;
}

.group-content p,
.in-house-system p {
    font-size: 16px;
    line-height: 1.9;
}

@media screen and (max-width: 600px) {
    .group-info .container {
        width: 90vw;
    }

    .group-description br {
        display: none;
    }
}

@media screen and (max-width: 500px) {
	.in-house-system h4 .br {
		display: block;
	}
}

/* 働きながら学ぼうプロジェクト修正 */
.skill-section {
    background: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

.skill-section .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #444;
}

.skill-lead {
    font-size: 18px;
    font-weight: 600;
    /* color: #444; */
    margin-bottom: 40px;
    line-height: 1.6;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 960px;
    margin: 0 auto 30px;
    padding: 0;
    list-style: none;
}

.skill-list li {
    background: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-size: 14px;
}

.skill-bottom-text {
    color: #666;
    font-size: 14px;
}

@media screen and (max-width: 600px) {
	.skill-lead .br {
		display: block;
	}
	
	.skill-section .section-title {
		font-size: 24px;
	}
	
	.skill-lead {
		font-size: 16px;
	}
	
	.project .staffing-intro .subtitle {
		text-align: left;
	}
	
	.project .staffing-intro .subtitle br {
		display: none;
	}
	
	.project .features > .container > p {
		text-align: left;
	}
	
	.project .features > .container > p br {
		display: none;
	}
	
	.project .support-text p {
		text-align: left;
	}
}

@media screen and (max-width: 500px) {
	.project .strengths h2 {
		font-size: 20px;
	}
	
	.project .principles-content h3 {
		font-size: 16px;
	}
	
	.project .top-wrapper-contents h2 {
		font-size: 20px;
	}
	
	.recruit .staffing-intro h2 {
		font-size: 20px;
	}
}

@media screen and (max-width: 450px) {
	.skill-bottom-text .br {
		display: block;
	}	
}

@media screen and (max-width: 400px) {
	.project .staffing-intro h3 {
		font-size: 18px;
	}
	
	.project .strengths h2 {
		font-size: 18px;
	}
}

.training-section {
    padding: 80px 20px;
    text-align: center;
}

.training-section .section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
}

.training-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.training-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 300px;
}

.training-card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.training-card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-body {
    padding: 20px;
    text-align: left;
}

.card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
	text-align: center;
    height: 42px;
/*     display: flex;
    align-items: center; */
}

.card-body p {
    font-size: 14px;
    line-height: 1.6;
}

@media screen and (max-width: 800px) {
	.training-card {
		width: auto;
	}
	
	.training-section .section-title {
		font-size: 28px;
	}
}

.content ul {
    padding-left: 1.2em;
    margin: 0;
}

.content li {
    line-height: 1.8;
    list-style-type: disc;
}

.recruit .content ul {
    padding-left: 1.2em;
    margin: 0;
}

.recruit .content li {
    line-height: 1.8;
    list-style-type: disc;
}

.custom-marker {
    list-style: none;
    padding-left: 0 !important;
}

.custom-marker li {
    list-style: none;
    position: relative;
    padding-left: 0;
    display: flex;
    width: 100%;
}

.custom-marker li::marker {
    content: none;
}

.custom-marker li span {
    display: inline-block;
}

.custom-marker li span:first-child {
    width: 20px;
}

.custom-marker li span:last-child {
    width: 90%;
}

strong {
    display: block;
    margin-top: 10px;
}

.recruit .strength-item h3 {
    height: 37px;
}

@media screen and (max-width: 1100px) {
    .recruit .strength-item h3 {
        height: 56px;
    }
}

@media screen and (max-width: 860px) {
    .recruit .strength-item h3 {
        height: 74px;
    }
}

@media screen and (max-width: 768px) {
    .recruit .strength-item h3 {
        height: auto;
    }
}

@media screen and (max-width: 570px) {
    .recruit .company-section .row .label {
        font-size: 16px;
        width: 25%;
    }
    
    .recruit .company-section .row .content {
        width: 70%;
    }
}

@media screen and (max-width: 570px) {
    .recruit .company-section .row .label,
    .recruit .company-section .row .content p,
    .recruit .content li {
        font-size: 14px;
    }
}

.group-btn {
    text-align: right;
    padding-top: 5px;
}

.group-btn a {
    width: auto !important;
}

@media screen and (max-width: 900px) {
	.group-btn {
    	text-align: center;
    	padding-top: 10px;
		padding-bottom: 5px;
	}
}