@charset "utf-8";

body{
    margin: 0%;
}

.pc{
    display: block;
}
.sp{
    display: none;
}
.top{
    width: 100%;
}

h4{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    font-family: serif;
    font-size: 50px;
    width: 100%;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
}

/*募集部署選択アイコン*/
.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    margin: -50px auto 0;
}
.icon_list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2%;
    flex-wrap: wrap;
    padding: 0; 
    margin: 0;
}
.icon_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 4em;
    font-size: 14px;
    width: calc((100% - 10%) / 6);
    margin-bottom: 20px;
    font-weight: bold;
    box-sizing: border-box;
    padding: 3px;
}

/*募集中の部署アイコン*/
.active {
    background-color: #ffffff;
    border: solid 1px #194f74;
    border-radius: 5px;
}

.active:hover {
    cursor: pointer;
}

/*募集していない部署アイコン*/
.non_active {
    background-color: #b1b1b1;
    border: solid 1px #194f74;
    border-radius: 5px;
    color: #444444;
}
/*募集要項フェードイン*/
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.slide-down {
    animation: slideDown 0.5s ease-out;
}

.frame{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frame .title{
    width: 70%;
    margin-bottom: 100px;
    margin-top: 50px;
}

.frame .title ol{
    list-style: none;
    padding: 0;
}

.career_title {
    display: flex;
    font-size: 25px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background-color: #194f74;
    color: #ffffff;
    height: 50px;
    padding: auto;
    border-radius: 8px;
    font-weight: bold;
    font-family: serif;
}

.frame .title ol {
    font-size: 20px;
    font-family: serif;
    font-weight: bold;
}

.frame .title ol span{
    font-size: 18px;
    font-family: serif;
    font-weight: bold;
}

.list {
    display: flex;
    min-height: 60px;
}
/*上下線*/
.list:first-child {
    border-top: 0.5px solid #000;
    border-bottom: 0.5px solid #000;
}

.list {
    border-bottom: 0.5px solid #000;
}

.list_title {
    display: flex;
    max-width: 250px;
    min-width: 200px;
    background-color: #E6E6E6;
    align-items: center;
    color: #194f74;
    padding-left: 40px;
}

.list_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
    overflow: wrap;
}

/*行間*/
.list_text span:first-child {
    padding-top: 20px;
    padding-bottom: 10px;
}

.list_text span {
    padding-bottom: 10px;
    word-wrap: break-word;
}

.list_text span:last-child {
    padding-bottom: 20px;
}

/*福利厚生項目の擬似要素*/
.benefits span::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #194f74;
    transform: rotate(45deg);
    margin-right: 10px;
}

.area {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
/*エントリーボタン*/
.entry_button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 80px;
    margin-bottom: 100px;
    font-size: 30px;
    font-family: serif;
    font-weight: bold;
    color: #ffffff;
    background-color: #194f74;
    border: solid 1px #194f74;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
}

/*エントリーボタン　アニメーション*/
.entry_button:hover {
    background-color: #ffffff;
    color: #194f74;
    transition: 0.2s;
}

@media screen and (max-width:980px) { 
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
    h4{
        margin-top: -200px;
        font-size: 40px;
    }

    /*募集業種選択アイコン SP版*/
    .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90%;
        margin: -100px auto 0;
    }
    .icon_list {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2%;
        flex-wrap: wrap;
        padding: 0; 
        margin: 0;
    }

    /*横３×縦４分割
    .icon_item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        width: calc((100% - 4%) / 3);
        padding: 3px;
        margin-bottom: 5px;
        font-weight: bold;
        box-sizing: border-box;
    }
    */
    /*横４×縦３分割*/
    .icon_item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 14px;
        width: calc((100% - 6%) / 4);
        padding: 3px;
        margin-bottom: 5px;
        font-weight: bold;
        box-sizing: border-box;
    }
    

    .career_title {
        font-size: 25px;
    }
    .frame .title{
        width: 90%;
        margin-bottom: 50px;
        margin-top: 50px;
    }
    .list_title {
        max-width: 200px;
        min-width: 30%;
        padding-left: 10px;
    }

    .list_text span:first-child {
        padding-top: 10px;
        padding-bottom: 0;
    }
    
    .list_text span {
        padding-bottom: 0;
    }
    
    .list_text span:last-child {
        padding-bottom: 10px;
    }
    .frame .title ol {
        font-size: 25px;
        font-family: serif;
        font-weight: bold;
    }
    .frame .title ol span{
        font-size: 20px;
        font-family: serif;
        font-weight: normal;
    }
    .text_sub span{
        font-size: 16px;
    }

    .list_text {
        padding-left: 10px;
    }
    .benefits span::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #194f74;
        transform: rotate(45deg);
        margin-right: 10px;
    }
    .entry_button {
        margin: 0 10%;
        padding: auto;
        max-width: 400px;
        height: 80px;
        margin-bottom: 50px;
        font-size: 30px;
        font-weight: bold;
        background-color: #194f74;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
}

/*スマホサイズの微調整*/
@media screen and (max-width:600px) {
    h4{
        margin-top: -80px;
    }
    .icon {
        margin: 0px auto 0;
    }
    .icon_item {
        font-size: 15px;
        font-weight: normal;
    }
}