@charset "utf-8";

body {
background-color: #fff;
}
.clearfix:after {
content:".";
height:0;
clear:both;
display:block;
font-size:0.1em;
line-height:0;
visibility:hidden;
}
.clearfix {
display:inline-block;
min-height:1%;
}
h2 {
padding: 20px 20px;
background-color: red;
color: #fff;
font-size: 1.5em;
}
.job_ul {
width: 100%;
}
.job_ul > li {
width: 50%;
float: left;
}
.job_ul > li:last-child {
width: 48%;
margin: 0 1%
}
@media only screen and ( max-width : 768px ) {
.job_ul > li,.job_ul > li:last-child {
width: 100%;
float: none;
}
}
p {
padding: 3%;
letter-spacing: 70%;
line-height: 180%;
font-size: 0.9rem;
}
h3 {
text-align: center;
font-size: 0.9rem;
}
img {
width: 100%;
}
.job_ul li div {
margin: 0 5%;
padding: 3%;
border: 1px solid red;
}
.job_ul li ul {
width: 100%;
}
.job_ul li ul li {
width: 100%;
margin: 2% 0;
letter-spacing: 70%;
line-height: 160%;
font-size: 0.9rem;
text-indent: -15px;
}
.job_ul > li:last-child {
text-align: center;
}
.job_ul li  img {
max-height: 400px;
margin-top: 20px;
width: auto;
max-width: 100%;
}
@media only screen and ( max-width : 768px ) {
h2 {
font-size: 1.1em;
}
.job_ul > li:last-child {
width: 98%;
margin: 1%
}
}


/* スライダー全体の枠線を消し、余白をリセット */
.job_ul li .job_slider_wrap,
.job_ul li .job_slider_wrap div {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

/* 枠としてのグレー背景を設定 */
.job_slider_wrap .img_container {
    aspect-ratio: 374 / 260;
    background: #ccc !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.job_slider_wrap .img_container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* ドットの縦並びと、ドットを囲むliの赤枠を解消 */
.splide__pagination {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.splide__pagination li {
    display: inline-block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important; /* 各ドットに赤枠が出るのを防ぐ */
    width: auto !important;
}