@import"https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&family=Poppins:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap";

:root {
    --allColor: #404248;
    --fesColor: #0C55CC;
    --bukatsuColor: #FA6739;
    --articleColor: #995BEB;
    --classColor: #04B951;
    --presentColor: #FE6292;
    --mypageColor: #FADE18;
    --fesLightColor: #D9E8FF;
    --bukatsuLightColor: #FFE5DD;
    --articleLightColor: #EDE0FF;
    --classLightColor: #D4FAE4;
    --presentLightColor: #FEDBE6;
    --mypageLightColor: #faf9dd
}

.pg-oshigoto__main {
    background: #fff3ce
}

.pg-oshigoto-page .c-btn__home,
.pg-oshigoto-page .c-breadcrumb {
    position: relative;
    z-index: 1
}

.pg-oshigoto-page .l-footer {
    display: flow-root;
    background: #fff3ce
}

.pg-oshigoto-page .p-footer__top {
    background: #fff3ce
}

.pg-oshigoto {
    background: #fff3ce;
    padding-bottom: 40px
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto {
        max-width: none;
        width: 100%
    }
}

.pg-oshigoto__header {
    position: relative;
    text-align: center;
    background: #fff
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 24px 4vw 16px
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__header {
        padding: 40px 20px 24px
    }
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__title {
        flex: 0 0 100%
    }
}

.pg-oshigoto__title img {
    display: block;
    height: auto;
    margin: 0 auto
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__title img {
        width: 260px
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__title img {
        width: 519px
    }
}

.pg-oshigoto__lead {
    text-align: center
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__lead {
        flex: 1 1 100%;
        margin-top: 8px;
        font-size: 13px;
        font-size: 1.3rem
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__lead {
        font-size: 18px;
        font-size: 1.8rem;
        margin-top: 16px
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__lead--sp {
        display: none
    }
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__lead--pc {
        display: none
    }
}

.pg-oshigoto__searchall {
    display: block;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    z-index: 3
}

.pg-oshigoto__searchall img {
    display: block
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__searchall {
        right: 0px;
        bottom: -20px;
        width: 71.58px;
        height: 39px
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__searchall {
        right: 0px;
        bottom: -35px;
        width: 125px;
        height: 81.75px
    }
}

.pg-oshigoto__map {
    width: 100%
}

.pg-oshigoto__map--inner {
    position: relative;
    width: 100%
}

.pg-oshigoto__map--bg {
    display: block;
    width: 100%;
    height: auto
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__map--bg {
        aspect-ratio: 780/1764
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__map--bg {
        aspect-ratio: 2880/2155
    }
}

.pg-oshigoto__building,
.pg-oshigoto__pinmark {
    position: absolute;
    background: none;
    border: none;
    padding: 0
}

@media only screen and (min-width: 769px) {

    .pg-oshigoto__building[data-job=bakery],
    .pg-oshigoto__pinmark[data-job=bakery] {
        left: 46.35%;
        bottom: 73.83%;
        width: 19.9%;
        z-index: 1
    }

    .pg-oshigoto__building[data-job=fire_station],
    .pg-oshigoto__pinmark[data-job=fire_station] {
        left: 14.21%;
        bottom: 70.07%;
        width: 25.25%;
        z-index: 2
    }

    .pg-oshigoto__building[data-job=cinema],
    .pg-oshigoto__pinmark[data-job=cinema] {
        left: 33.97%;
        bottom: 63.05%;
        width: 17.64%;
        z-index: 3
    }

    .pg-oshigoto__building[data-job=kindergarten],
    .pg-oshigoto__pinmark[data-job=kindergarten] {
        left: 65.38%;
        bottom: 59.54%;
        width: 31.28%;
        z-index: 4
    }

    .pg-oshigoto__building[data-job=police],
    .pg-oshigoto__pinmark[data-job=police] {
        left: 0%;
        bottom: 53.69%;
        width: 20.17%;
        z-index: 5
    }

    .pg-oshigoto__building[data-job=manga],
    .pg-oshigoto__pinmark[data-job=manga] {
        left: 18.78%;
        bottom: 47.05%;
        width: 19.55%;
        z-index: 6
    }

    .pg-oshigoto__building[data-job=athlete],
    .pg-oshigoto__pinmark[data-job=athlete] {
        left: 77.99%;
        bottom: 35.96%;
        width: 22.01%;
        z-index: 7
    }

    .pg-oshigoto__building[data-job=doctor],
    .pg-oshigoto__pinmark[data-job=doctor] {
        left: 0%;
        bottom: 27.01%;
        width: 25.38%;
        z-index: 8
    }

    .pg-oshigoto__building[data-job=train],
    .pg-oshigoto__pinmark[data-job=train] {
        left: 50.24%;
        bottom: 19.44%;
        width: 49.76%;
        z-index: 1
    }

    .pg-oshigoto__building[data-job=toy_company],
    .pg-oshigoto__pinmark[data-job=toy_company] {
        left: 55.62%;
        bottom: 17.31%;
        width: 17.81%;
        z-index: 10
    }

    .pg-oshigoto__building[data-job=cake],
    .pg-oshigoto__pinmark[data-job=cake] {
        left: 20.24%;
        bottom: 15.08%;
        width: 23.02%;
        z-index: 11
    }

    .pg-oshigoto__building[data-job=salon],
    .pg-oshigoto__pinmark[data-job=salon] {
        left: 70.73%;
        bottom: 7.56%;
        width: 18.44%;
        z-index: 12
    }

    .pg-oshigoto__building[data-job=hairdresser],
    .pg-oshigoto__pinmark[data-job=hairdresser] {
        left: 3.02%;
        bottom: 3.85%;
        width: 18.96%;
        z-index: 13
    }

    .pg-oshigoto__building[data-job=video_creator],
    .pg-oshigoto__pinmark[data-job=video_creator] {
        left: 39.76%;
        bottom: 2.83%;
        width: 20.9%;
        z-index: 14
    }
}

@media only screen and (max-width: 768px) {

    .pg-oshigoto__building[data-job=bakery],
    .pg-oshigoto__pinmark[data-job=bakery] {
        left: 53.97%;
        bottom: 82.03%;
        width: 38.97%;
        z-index: 1
    }

    .pg-oshigoto__building[data-job=fire_station],
    .pg-oshigoto__pinmark[data-job=fire_station] {
        left: 0%;
        bottom: 81.97%;
        width: 50%;
        z-index: 2
    }

    .pg-oshigoto__building[data-job=manga],
    .pg-oshigoto__pinmark[data-job=manga] {
        left: 29.62%;
        bottom: 71.66%;
        width: 34.62%;
        z-index: 3
    }

    .pg-oshigoto__building[data-job=police],
    .pg-oshigoto__pinmark[data-job=police] {
        left: 0%;
        bottom: 64.57%;
        width: 35.26%;
        z-index: 4
    }

    .pg-oshigoto__building[data-job=kindergarten],
    .pg-oshigoto__pinmark[data-job=kindergarten] {
        left: 51.92%;
        bottom: 61%;
        width: 48.08%;
        z-index: 5
    }

    .pg-oshigoto__building[data-job=cinema],
    .pg-oshigoto__pinmark[data-job=cinema] {
        left: 63.41%;
        bottom: 50.06%;
        width: 36.46%;
        z-index: 6
    }

    .pg-oshigoto__building[data-job=doctor],
    .pg-oshigoto__pinmark[data-job=doctor] {
        left: 0%;
        bottom: 42.12%;
        width: 39.1%;
        z-index: 7
    }

    .pg-oshigoto__building[data-job=salon],
    .pg-oshigoto__pinmark[data-job=salon] {
        left: 66.58%;
        bottom: 31.12%;
        width: 35.79%;
        z-index: 8
    }

    .pg-oshigoto__building[data-job=cake],
    .pg-oshigoto__pinmark[data-job=cake] {
        left: 0%;
        bottom: 25.51%;
        width: 39.36%;
        z-index: 9
    }

    .pg-oshigoto__building[data-job=train],
    .pg-oshigoto__pinmark[data-job=train] {
        left: 19.36%;
        bottom: 20.24%;
        width: 80.64%;
        z-index: 1
    }

    .pg-oshigoto__building[data-job=athlete],
    .pg-oshigoto__pinmark[data-job=athlete] {
        left: 25.13%;
        bottom: 19.33%;
        width: 40.64%;
        z-index: 11
    }

    .pg-oshigoto__building[data-job=hairdresser],
    .pg-oshigoto__pinmark[data-job=hairdresser] {
        left: 0%;
        bottom: 10.2%;
        width: 32.05%;
        z-index: 12
    }

    .pg-oshigoto__building[data-job=toy_company],
    .pg-oshigoto__pinmark[data-job=toy_company] {
        left: 59.49%;
        bottom: 6.86%;
        width: 40.51%;
        z-index: 13
    }

    .pg-oshigoto__building[data-job=video_creator],
    .pg-oshigoto__pinmark[data-job=video_creator] {
        left: 23.59%;
        bottom: .17%;
        width: 40.9%;
        z-index: 14
    }
}

.pg-oshigoto__building[data-active="1"],
.pg-oshigoto__pinmark[data-active="1"] {
    cursor: pointer
}

.pg-oshigoto__building[data-active="1"]:hover .pg-oshigoto__building--img,
.pg-oshigoto__pinmark[data-active="1"]:hover .pg-oshigoto__building--img {
    opacity: .7
}

.pg-oshigoto__building--img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity .2s ease-out
}

.pg-oshigoto__pinmark[data-job] {
    z-index: 20;
    cursor: pointer
}

.pg-oshigoto__pinmark[data-job] picture,
.pg-oshigoto__pinmark[data-job] .pg-oshigoto__building--img {
    visibility: hidden
}

.pg-oshigoto__pinmark[data-job] {
    pointer-events: none
}

.pg-oshigoto__pinmark[data-job] .pg-oshigoto__building--pin {
    pointer-events: auto
}

.pg-oshigoto__building--pin {
    position: absolute;
    top: 0;
    left: 50%;
    width: 26%;
    max-width: 57px;
    aspect-ratio: 57/80;
    transform: translate(-50%, -60%) translateY(0);
    background: url("../../img/v4/bukatsu/oshigoto-hero/pin.png") center/contain no-repeat;
    animation: pgOshigotoPinFloat 800ms ease-out 1ms infinite alternate
}

@media only screen and (min-width: 769px) {

    .pg-oshigoto__building[data-job=fire_station] .pg-oshigoto__building--pin,
    .pg-oshigoto__pinmark[data-job=fire_station] .pg-oshigoto__building--pin {
        width: 18%;
        top: 12%
    }
}

@media only screen and (max-width: 768px) {

    .pg-oshigoto__building[data-job=fire_station] .pg-oshigoto__building--pin,
    .pg-oshigoto__pinmark[data-job=fire_station] .pg-oshigoto__building--pin {
        width: 20%;
        top: 10%
    }
}

@media only screen and (max-width: 768px) {

    .pg-oshigoto__building[data-job=salon] .pg-oshigoto__building--pin,
    .pg-oshigoto__pinmark[data-job=salon] .pg-oshigoto__building--pin {
        top: -14%
    }
}

@media only screen and (min-width: 769px) {

    .pg-oshigoto__building[data-job=salon] .pg-oshigoto__building--pin,
    .pg-oshigoto__pinmark[data-job=salon] .pg-oshigoto__building--pin {
        top: -13%
    }
}

@keyframes pgOshigotoPinFloat {
    0% {
        transform: translate(-50%, -60%) translateY(0)
    }

    100% {
        transform: translate(-50%, -60%) translateY(-10px)
    }
}

.pg-oshigoto__jobs {
    text-align: center;
    background: #fff3ce
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__jobs {
        padding-top: 40px
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__jobs {
        padding-top: 100px
    }
}

.pg-oshigoto__jobs--heading img {
    display: inline-block;
    height: auto
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__jobs--heading img {
        width: 181px;
        aspect-ratio: 738/85
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__jobs--heading img {
        width: 342px;
        aspect-ratio: 1346/151
    }
}

.pg-oshigoto__jobs--heading {
    font-weight: 800;
    color: #e92816
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__jobs--heading {
        font-size: 24px;
        font-size: 2.4rem
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__jobs--heading {
        font-size: 32px;
        font-size: 3.2rem
    }
}

.pg-oshigoto__jobs--panel {
    display: grid;
    margin: 0 auto
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__jobs--panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 0px;
        max-width: 352px;
        padding: 24px 0 0
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__jobs--panel {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        max-width: 1200px;
        padding: 40px 0 0
    }
}

.pg-oshigoto__job {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity .2s ease-out
}

.pg-oshigoto__job[data-job]:hover {
    opacity: .7
}

.pg-oshigoto__job[data-active="0"] {
    cursor: default
}

.pg-oshigoto__job--card {
    position: relative
}

.pg-oshigoto__job--card picture,
.pg-oshigoto__job--card img {
    display: block;
    width: 100%;
    height: auto
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__job--card img {
        aspect-ratio: 372/316
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__job--card img {
        aspect-ratio: 522/436
    }
}

.u-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.pg-oshigoto__overlay {
    display: none;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 90px 0 40px
}

.pg-oshigoto__overlay.is-open {
    display: flex;
    flex-direction: column
}

.pg-oshigoto__modal {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 90%;
    max-width: 470px;
    margin: auto;
    overflow: visible;
    background: #fdf7e1;
    border-radius: 20px;
    text-align: center;
    padding-top: 24px
}

.pg-oshigoto__modal--close {
    position: absolute;
    top: -18px;
    right: -15px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e92816;
    cursor: pointer
}

.pg-oshigoto__modal--close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: #e92816
}

.pg-oshigoto__modal--close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg)
}

.pg-oshigoto__modal--close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg)
}

.pg-oshigoto__modal--building {
    display: block;
    flex: 0 0 auto;
    width: auto;
    margin: 0 auto 4px
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__modal--building {
        height: 220px;
        margin-top: -44px
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__modal--building {
        height: 240px;
        margin-top: -100px
    }
}

@media only screen and (max-width: 768px) {
    .pg-oshigoto__modal--scroll {
        padding: 0 15px 25px
    }
}

@media only screen and (min-width: 769px) {
    .pg-oshigoto__modal--scroll {
        padding: 0 25px 25px
    }
}

.pg-oshigoto__modal--ruby {
    text-align: left;
    color: #e92816;
    font-weight: bold;
    font-size: 12px;
    font-size: 1.2rem
}

.pg-oshigoto__modal--title {
    text-align: left;
    font-weight: 800;
    color: #e92816;
    -webkit-text-stroke: .3px #e92816;
    font-size: 25px;
    font-size: 2.5rem
}

.pg-oshigoto__modal--desc {
    margin-top: 3px;
    text-align: left;
    color: #000;
    font-family: "BIZ UDGothic", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.65px
}

.pg-oshigoto__modal--desc ruby {
    ruby-position: over
}

.pg-oshigoto__modal--desc rt {
    color: #000;
    font-weight: 400;
    text-align: center;
    font-size: 8px;
    letter-spacing: -0.8px
}

.pg-oshigoto__modal--media {
    display: block;
    margin-top: 16px;
    text-align: left;
    background: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 15px
}

.pg-oshigoto__modal--media[data-type=article] {
    display: flex;
    align-items: center;
    gap: 10px
}

.pg-oshigoto__modal--media-thumb {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #fff
}

[data-type=video] .pg-oshigoto__modal--media-thumb {
    width: 100%;
    aspect-ratio: 580/354
}

[data-type=article] .pg-oshigoto__modal--media-thumb {
    flex: 0 0 101px;
    width: 101px;
    aspect-ratio: 202/152
}

.pg-oshigoto__modal--media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.pg-oshigoto__modal--media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: url("../../img/v4/bukatsu/oshigoto-hero/movie_button.png") center/30px no-repeat
}

.pg-oshigoto__modal--media-title {
    display: block;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.5
}

[data-type=video] .pg-oshigoto__modal--media-title {
    margin-top: 8px
}

[data-type=article] .pg-oshigoto__modal--media-title {
    flex: 1
}

body.is-modal-open {
    overflow: hidden
}