html {
    scroll-behavior: smooth;
}
  /* ヒーローセクションの画像 */
.hero{
    background-image: url(../img/occupation_hero.png);
}

@media screen and (max-width: 768px) {
    .hero-to-left {
        background-position: 70% center;
    }
}

.text-contents{
    margin-bottom:2em;
}
.text-contents >div div p:nth-child(1){
    font-size:1.25em;
    font-weight:bold;
    margin-bottom: 0.5em;
}
.text-contents >div div p:nth-child(2){
    font-size:2em;
    font-weight:bold;
}
.text-contents >div div span{
    font-size:1.5em;
}
.text-contents > div > p{
    line-height: 1.75;
    margin-top: 0.5em;
}
.text-contents > div:not(:last-child){
    margin-bottom:4em;
}

/* タブ */
.tabs{
    display:flex;
    margin-bottom:6em;
}
.tabs a{
    background-color:#0E3267;
    color:#fff;
    flex:1;
    height:60px;
    border-radius:30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 5px #00000044;
    cursor:pointer;
}
.tabs a:hover{
    transform: translateY(-3px);
    box-shadow: 0 7px 7px #00000044;
}
.tabs a:not(:last-child){
margin-right:3.5em;
}
.tabs a:after{
    content:"";
    border-bottom:2px solid #fff;
    border-right:2px solid #fff;
    height:12px;
    width:12px;
    position:absolute;
    right:1.75em;
    transform: translate(0, -0.25em) rotate(45deg);
}
@media screen and (max-width: 1200px) {
    .tabs div:not(:last-child) {
        margin-right: 1.5em;
    }
}
@media screen and (max-width: 900px) {
    .tabs {
        display: block;
    }
    .tabs a:not(:last-child) {
        margin-right: unset;
        margin-bottom: 1.5em;
    }
    
}

.tab-content table{
    line-height: 175%;
}
.tab-content table th,
.tab-content table td{
    border: solid 1px #BDBDBD;
    padding:2em;
}

.tab-content table th{
    background-color:#f6f6f6;
    width:12.5em;
}
.job{
}

.notice{
    border: 2px solid #000;
    padding: 1.5em;
    border-radius: 1em;
    box-shadow: 0 4px 5px #00000044;
    line-height: 1.5;
    color: #004A8C;
}

.occupation >div{
    padding:2em;
    border-radius: 2em;
    box-shadow: 0 4px 5px #00000044;
    background-color:var(--bgcolor);
    scroll-margin-top: 80px;
}
.occupation >div:not(:last-child){
    margin-bottom:2em;
}

.occupation-inner{
    display:flex;
}
.occupation-inner img{
    border-radius: 1em;
    width:100%;
}

.occupation-inner .occ-image{
    width:320px;
    margin-right:2em;
}
.occupation-inner .occ-info{
    flex:1;
    display: flex;
    align-content: space-evenly;
    flex-wrap: wrap;
}
.occupation-inner .occ-info span{
    font-size:2em;
    font-weight: bold;
    display:block;
}
.occupation-inner .occ-info p{
    line-height: 1.75;
}

.occupation-inner .occ-buttons{
    display:flex;
    justify-content: center;
    width: 100%;
}
.occupation-inner .occ-buttons a,
.occupation-inner .occ-buttons div
{
    display:flex;
    border-radius:30px;
    height:60px;
    width:200px;
    background-color:#ccc;
    justify-content: center;
    align-items: center;
    position: relative;color:#fff;opacity: 1;transition: opacity 0.4s ease;}
.occupation-inner .occ-buttons a:hover,
.occupation-inner .occ-buttons div:hover
{opacity: 0.8;}
.occupation-inner .occ-buttons a:nth-child(1){background-color:#222222;}
.occupation-inner .occ-buttons a:nth-child(2){background-color:#047EC1;}
.occupation-inner .occ-buttons div:nth-child(3){
    background-color:#657E8C;
    cursor:pointer;
}

.occupation-inner .occ-buttons a:nth-child(1):after,
.occupation-inner .occ-buttons a:nth-child(2)::after{
    content: "→";
    position: absolute;
    right:1.25em;
}
.occupation-inner .occ-buttons div:nth-child(3)::after{
    content: "▼";
    position: absolute;
    right:1.25em;
}

.occupation-inner .occ-buttons a:not(:last-child){
    margin-right:1em;
}

.recruit-link .section-inner>div{
    display:flex;
    margin-bottom:6em;
    font-size:1.25em;
    font-weight:bold;
}
.recruit-link .section-inner>div a{
    background-color:var(--theme-color-sub);
    color:#000;
    flex:1;
    height:100px;
    border-radius:50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 5px #00000044;
}
.recruit-link .section-inner>div a:not(:last-child){
margin-right:3.5em;
}
.recruit-link .section-inner>div a:after{
    content:"";
    border-top:2px solid #000;
    border-right:2px solid #000;
    height:12px;
    width:12px;
    position:absolute;
    right:2.25em;
    transform:rotate(45deg);
}
.recruit-link .section-inner>div a::before{
    margin-right: 0.5em;
}
.recruit-link .section-inner>div a:nth-child(1)::before{
    /* content: url(../img/recruit-icon1.png); */
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url(../img/recruit-icon1.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.recruit-link .section-inner>div a:nth-child(2)::before{
    /* content: url(../img/recruit-icon2.png); */
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url(../img/recruit-icon2.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.occupation-info{
    margin-top:2em;
    border-top:1px solid #000;
    padding-top:4em;
    line-height: 175%;
}
.occupation-info p{
    margin-bottom:4em;
}

/* テーブル */
.occupation-info table{
    width:100%;
}
.occupation-info table th,
.occupation-info table td{
    border: solid 1px #BDBDBD;
    padding:1em;
}

.occupation-info table th{
    background-color:#f6f6f6;
    width:24em;
    text-align:center;
    align-content: center;
}

@media screen and (max-width: 1200px) {
    .occupation-inner .occ-buttons a, .occupation-inner .occ-buttons div {
        border-radius: 25px;
        height: 50px;
        width: 180px;
        font-size:0.875em;
    }
    .recruit-link .section-inner>div {
        display:unset;
    }
    .recruit-link .section-inner>div a:not(:last-child) {
        margin-right: unset;
        margin-bottom:1.5em;
    }
}

@media screen and (max-width: 1000px) {
    .occupation-inner .occ-buttons {
        flex-wrap: wrap;
    }
    .occupation-inner .occ-buttons a:not(:last-child) {
        margin-bottom:1em;
        margin-right:unset;
    }
    .occupation-inner .occ-info span {
        margin-bottom: .25em;
    }
    .occupation-inner .occ-info p {
        margin-bottom: 1em;
    }
    .occupation-inner .occ-buttons a,
    .occupation-inner .occ-buttons div{
        width:100%;
    }
}

@media screen and (max-width: 768px) {
    .text-contents >div div p:nth-child(2) {
        font-size: 1.5em;
    }
    .occupation-inner {
        display: block;
    }
    .occupation-inner .occ-image {
        width: 100%;
        margin-right: unset;
        margin-bottom: 1.5em;
    }
    .occupation-inner .occ-info span {
        font-size: 1.5em;
    }
    .occupation-inner .occ-info p {
        margin-bottom: 1.5em;
    }
    .label-sub {
        font-size:.6em;
    }
    .table-scroll{
        overflow-y: scroll;
    }
    .occupation-info table {
        border-collapse: collapse;
        white-space: nowrap;
        font-size: 0.875em;
    }
    .recruit-link .section-inner>div a:nth-child(1)::before{
        /* content: url(../img/recruit-icon1.png); */
        content: "";
        display: inline-block;
        width: 28px;
        height: 28px;
        background-image: url(../img/recruit-icon1.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .recruit-link .section-inner>div a:nth-child(2)::before{
        /* content: url(../img/recruit-icon2.png); */
        content: "";
        display: inline-block;
        width: 28px;
        height: 28px;
        background-image: url(../img/recruit-icon2.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .recruit-link .section-inner>div {
        font-size: 1em;
    }
}