/* PC・SP共通 */
.opacity02 a:hover {
    text-decoration: none;
    filter: alpha(opacity=60);
    /* IE 6,7*/
    -ms-filter: "alpha(opacity=60)";
    /* IE 8,9 */
    -moz-opacity: 0.6;
    /* FF , Netscape */
    -khtml-opacity: 0.6;
    /* Safari 1.x */
    opacity: 0.6;
    zoom: 1;
    /*IE*/
}

p:has(img) {
    margin-bottom: 0;
    line-height: 1;
}

p:last-of-type {
    margin-bottom: 0;
}

span {
    transition: none;
}


a {
    transition: 0.2s;
}

a:hover {
    transition: 0.2s;
    opacity: 0.75;
}

body.kidsworkfes {
    color: #5c2a17;
    background: #fffbc7;
}

#content {
    background-color: transparent;
    background-image: none;
}

#content #content-wrapper {
    background-image: none;
    padding: 0;
}

#content .container-inner {
    width: 1000px;
    box-sizing: border-box;
    padding: 0 20px;
}

/* TITLE */
.title-block {
    font-size: 200%;
    /* 30px */
    color: #e9473f;
    font-weight: bold;
    font-family: "A1 Mincho", "A1���� A1", "Ryumin Medium KL", "�����E�~�� M-KL", "Hiragino Mincho Pro", "�q���M�m���� Pro W3", "MS PMincho", "�l�r �o����", serif;
    position: relative;
    letter-spacing: 0.02em;
}

.title-block.docorated span::after {
    position: absolute;
    content: '';
    background-image: url(../images/common/title-deco.svg);
    background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
    width: 370px;
    height: 20px;
    z-index: -1;
    bottom: 0;
    left: 8px;
}

.title-block.icon {
    padding: 42px 0;
    margin-bottom: 15px;
    text-align: center;
}

.title-block.icon span::before {
    position: absolute;
    content: '';
    background-image: url(../images/common/title-icon.svg);
    background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
    width: 130px;
    height: 130px;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.thumbnail-box {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.thumbnail-box p {
    text-align: center;
}

.thumbnail-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.thumbnail-box.type03 p span {
    margin-top: 13px;
    display: block;
}

.thumbnail-box.type03 p {
    width: calc(100% / 3);
}

.thumbnail-box.type04 p {
    width: calc(100% / 4);
}




/* -----------DESC ------- */
#fes_schedule {
    margin-bottom: 114px;
}

#fes_schedule .text-box .title {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

#fes_schedule .schedule-inner {
    background-position: center right;
    background-size: 48.5% auto;
    background-repeat: no-repeat;
    position: relative;
}

#fes_schedule .schedule-inner.inner01::after {
    position: absolute;
    content: '';
    width: 129px;
    height: 162px;
    top: 13px;
    right: 30.5%;
    background-image: url(../images/home/image-schedule_text01.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

#fes_schedule .schedule-inner.inner01 .text-box h2 {
    height: 95px;
    padding: 45px 0;
    letter-spacing: 0.05em;
}

#fes_schedule .schedule-inner.inner01 .text-box {
    /* max-width: 610px; */
    margin-left: 140px;
    padding: 110px 0 73px 20px !important;
}

#fes_schedule .schedule-inner.inner01 .title-block b {
    transform: skewX(-28deg);
    display: inline-block;
    margin-left: 10px;
    letter-spacing: 0.3em;
}

#fes_schedule .schedule-inner.inner01 {
    height: 470px;
    background-image: url(../images/home/image-schedule_img01.png);
}

#fes_schedule .schedule-inner.inner02 {
    height: 390px;
    background-image: url(../images/home/image-schedule05.jpg);
    background-position: center left;
}

#fes_schedule .schedule-inner.inner02 .text-box {
    margin-left: calc(50% + 40px);
    padding: 25px 0;
}

#fes_schedule .schedule-inner.inner02 .text-box .image {
    margin-top: -48px;
    margin-left: 5px;
}


/* -----------体験できる職業は4種類 ------- */

#fes_taiken_type .taiken_nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 5px;
    list-style: none;
    margin-top: 28px;
}

#fes_taiken_type .taiken_nav li {
    width: calc(100% / 4);
    text-align: center;
    position: relative;
    padding-bottom: 50px;
}

#fes_taiken_type .taiken_nav li::after {
    position: absolute;
    content: '';
    background-image: url(../images/common/title-icon.svg);
    background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
    width: 9px;
    height: 27px;
    bottom: 0%;
    left: 50%;
    transform: translate(0%, -50%);
}

#fes_taiken_type .taiken_nav li.nursing::after {
    background-image: url(../images/common/arrow_nursing.svg);
}

#fes_taiken_type .taiken_nav li.receiption::after {
    background-image: url(../images/common/arrow_receiption.svg);
}

#fes_taiken_type .taiken_nav li.teacher::after {
    background-image: url(../images/common/arrow_teacher.svg);
}

#fes_taiken_type .taiken_nav li.medicine::after {
    background-image: url(../images/common/arrow_medicine.svg);
}

/* みんなで体験して見よう！ */
#fes_taiken .taiken-inner {
    background-color: #fff;
    padding: 30px 40px;
}

#fes_taiken .taiken-inner .taiken-item:not(:last-child) {
    margin-bottom: 55px;
}

#fes_taiken .taiken-inner .title-taiken {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 30px;
}

#fes_taiken .taiken-inner .title-taiken .text {
    margin-bottom: 8px;
}

#fes_taiken .taiken-inner .title-taiken em {
    font-size: 133.33%;
    /*20px*/
    color: #f08437;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
}

#fes_taiken .taiken-inner #taiken02 .title-taiken {
    align-items: flex-end;
}

#fes_taiken .taiken-inner #taiken02 .title-taiken em {
    color: #8dc556;
}

#fes_taiken .taiken-inner #taiken03 .title-taiken em {
    color: #2c90c8;
}

#fes_taiken .taiken-inner #taiken04 .title-taiken em {
    color: #ea5532;
}

#fes_taiken .taiken-inner #taiken01 .image-box {
    margin-top: -70px;
    line-height: 1;
}

#fes_taiken .taiken-inner #taiken02 .image-box {
    margin-top: -30px;
}

#fes_taiken .taiken-inner #taiken04 .image-box {
    margin-top: -10px;
}

/* 体験終了後、院長先生から一人ひとりに修了証書を手渡し */
#fes_certification .image-box {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

/* 最後にみんなで記念撮影 */
#fes_kinen .image-box {
    margin-top: 40px;
}

#fes_kinen .image-box img {
    width: 100%;
    height: auto;
}

#fes_present .image-box {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

/* 体験ご家族の感想 */
#fes_kanso {
    margin-bottom: 93px;
}

#fes_kanso dl {
    background-color: #fff;
    padding: 40px 38px 40px 40px;
}

#fes_kanso dl dt {
    background-color: #fff;
    color: #e9473f;
    font-size: 133.33%;
    /*20px */
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.5;
    letter-spacing: 0.025em;
}

#fes_kanso dl dd {
    display: flex;
    align-items: center;
    gap: 20px;
}

#fes_kanso dl dd:not(:last-of-type) {
    margin-bottom: 40px;
}

#fes_kanso dl dd p {
    line-height: 1.8;
    letter-spacing: 0.01em;
    margin: 0;
}

#fes_kanso dl dd::before {
    content: "保護者";
    color: #e9473f;
    font-size: 93.33%;
    /*14px*/
    font-weight: bold;
    background-color: #fcd7a1;
    max-width: 60px;
    width: 100%;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


/* バナ */
.fes_banner {
    background-color: #f0844a;
    color: #fff;
    font-size: 153.33%;
    /*23px*/
    font-family: "A1 Mincho", "A1���� A1", "Ryumin Medium KL", "�����E�~�� M-KL", "Hiragino Mincho Pro", "�q���M�m���� Pro W3", "MS PMincho", "�l�r �o����", serif;
    font-weight: bold;
    position: relative;
    padding: 25px 20px;
    border-radius: 10px;
    margin-bottom: 90px;
}

.fes_banner p {
    font-feature-settings: "palt";
    margin-bottom: 0;
    letter-spacing: -0.035em;
}

.fes_banner img {
    font-feature-settings: "palt";
    margin-bottom: 0;
}

.fes_banner span {
    position: absolute;
    right: 30px;
    top: -50px;
}

@media all and (min-width: 641px) {

    #mainv {
        position: relative;
        /* overflow-x: clip; */
        /* height: 850px; */
        /* height: 640px;
        position: relative;
        background-image: url(../images/home/mainv.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat; */
    }

    #mainv::after {
        position: absolute;
        content: '';
        width: 1058px;
        height: 143px;
        bottom: -55px;
        left: 50%;
        transform: translateX(-64%);
        background-image: url(../images/home/mainv-fruit.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;

    }

    #mainv .image img {
        width: 100%;
        height: 100%;
    }

    #mainv .banner {
        line-height: 1.4;
        text-align: center;
    }

    #mainv .banner .links {
        display: inline-block;
        font-size: 85.71%;
        /* 12px */
        font-weight: bold;
        width: 185px;
        padding: 8px 5px 8px 10px;
        background-color: #00967b;
        color: #fff;
        text-decoration: none;
        box-sizing: border-box;
        z-index: 3;
        transition: opacity .3s;
        position: absolute;
        right: 0;
        top: 0px;
        font-feature-settings: "palt";
        letter-spacing: -0.05em;
    }

    #mainv .banner .links:hover {
        opacity: .6;
    }

    #mainv .banner .links:before {
        content: "";
        display: inline-block;
        width: 11px;
        height: 8px;
        background-color: #fff;
        clip-path: polygon(0 0, 0 100%, 50% 50%);
        -webkit-clip-path: polygon(0 0, 0 100%, 50% 50%);
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
    }

    #mainv .text-box {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
    }

    #mainv .text-box h1 {
        color: #e9473f;
        text-align: center;
        font-size: 166.67%;
        /*25px */
        font-family: "A1 Mincho", "A1���� A1", "Ryumin Medium KL", "�����E�~�� M-KL", "Hiragino Mincho Pro", "�q���M�m���� Pro W3", "MS PMincho", "�l�r �o����", serif;
        font-weight: bold;
        margin-bottom: 5px;

    }

    #mainv .text-box span {
        display: inline-block;
        background-color: #e9473f;
        color: #fff;
        padding: 15px 20px;
        border-radius: 0 0 10px 10px;
        line-height: 1;
    }

    #mainv .text-box span {}



    body.kidsworkfes {
        font-size: 93.75%;
        /* 15px */
    }

    body.kidsworkfes .container {
        min-width: 1200px;
    }

    body.kidsworkfes .section-ls {
        margin-bottom: 100px;
    }

    body.kidsworkfes .section {
        margin-bottom: 75px;
    }


    /* COMMON */

    .c_images-box {
        display: flex;
        gap: 4px;
    }

    .c_images-box:not(.with_cap) .image {
        line-height: 0;
        margin: 0;
    }

    .c_images-box.with_cap .one-block {
        text-align: center;
    }

    .c_images-box.with_cap .image {
        margin-bottom: 5px;
    }

    .c_images-box.with_cap .img-cap {
        display: block;
        line-height: 1.4;
    }





    .vers-text {
        text-align: center;
        margin-bottom: 25px;
    }

}


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

    body.kidsworkfes {
        font-size: 93.75%;
        /* 15px */
    }

    body.kidsworkfes #content img {
        width: 100%;
    }

    body.kidsworkfes #sb-site {
        background: #fffbc7;
    }

    body.kidsworkfes .container {}

    #content #content-wrapper {
        padding-top: 0;
    }

    body.kidsworkfes #content .container-inner {
        padding: 0px 20px;
        width: auto;
    }

    body.kidsworkfes #sp-menu .tel {
        display: none;
    }

    /* body.kidsworkfes .section{
margin-bottom: 80px;
} */


    /* SP-NAV */
    body.kidsworkfes #sp-nav .nav02 li a,
    body.kidsworkfes #sp-nav .nav02 li span.parent {
        font-size: 12px;
    }

    body.kidsworkfes #sp-nav .nav02 {
        background-color: #00957a;
    }

    body.kidsworkfes #sp-nav .nav02>li .titles {
        display: block;
        padding: 15px 10px;
    }

    body.kidsworkfes .inlink {
        padding-top: 30px;
        margin-top: -30px;
    }

    /* COMMON */

    /* TITLE */
    .title-block {
        font-size: 167.5%;
        /* 26px */
        letter-spacing: 0.01em;
    }

    .title-block.docorated span::after {
        width: 160px;
    }

    .title-block.icon {
        padding: 42px 0;
        margin-bottom: 15px;
        text-align: center;
        height: 130px;
        box-sizing: border-box;
        line-height: 1.4;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .title-block.icon span::before {
        position: absolute;
        content: '';
        background-image: url(../images/common/title-icon.svg);
        background-position: center;
        background-size: auto;
        background-repeat: no-repeat;
        width: 130px;
        height: 130px;
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .thumbnail-box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }

    .thumbnail-box p {
        text-align: center;
    }

    .thumbnail-box img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .thumbnail-box.type03 p span {
        margin-top: 13px;
        display: block;
    }

    .thumbnail-box.type03 p,
    .thumbnail-box.type04 p {
        width: auto;
    }






    #mainv {
        position: relative;
    }

    #mainv .image img {
        width: 100%;
        height: 100%;
    }

    #mainv .banner {
        line-height: 1.4;
        text-align: center;
    }

    #mainv .banner .links {
        display: inline-block;
        font-size: 85.71%;
        /* 12px */
        font-weight: bold;
        width: 185px;
        padding: 8px 5px 8px 10px;
        color: #00967b;
        background-color: #fff;
        border: solid 1px #00957a;
        border-top: none;
        border-radius: 0 0 5px 5px;
        text-decoration: none;
        box-sizing: border-box;
        z-index: 3;
        transition: opacity .3s;
        position: absolute;
        left: 50%;
        transform: translatex(-50%);
        top: 0px;
        font-feature-settings: "palt";
        letter-spacing: -0.05em;
    }

    #mainv .banner .links:hover {
        opacity: .6;
    }

    #mainv .banner .links:before {
        content: "";
        display: inline-block;
        width: 11px;
        height: 8px;
        background-color: #00957a;
        clip-path: polygon(0 0, 0 100%, 50% 50%);
        -webkit-clip-path: polygon(0 0, 0 100%, 50% 50%);
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
    }

    #mainv .text-box {
        position: absolute;
        left: 0;
        right: 0;
        top: max(75px, 20vw);
    }

    #mainv .text-box h1 {
        color: #e9473f;
        text-align: center;
        font-size: min(150%, 4vw);
        /*25px */
        font-family: "A1 Mincho", "A1���� A1", "Ryumin Medium KL", "�����E�~�� M-KL", "Hiragino Mincho Pro", "�q���M�m���� Pro W3", "MS PMincho", "�l�r �o����", serif;
        font-weight: bold;
        margin-bottom: 5px;
    }

    #mainv .text-box h1 img {
        width: max(160px,35vw);
    }

    #mainv .text-box span {
        display: inline-block;
        background-color: #e9473f;
        color: #fff;
        padding: 7px 15px;
        border-radius: 20px;
        line-height: 1;
    }

    #mainv .text-box span {}



    /* -----------DESC ------- */
    #fes_schedule {
        margin-bottom: 45px;
    }

    #fes_schedule .text-box .title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    #fes_schedule .schedule-inner.inner01::after {
        content: none;

    }

    #fes_schedule .schedule-inner.inner01 .text-box h2 {
        height: auto;
        padding: 5px 0 20px;
        letter-spacing: 0.05em;
        line-height: 1.2;
        font-size: 175%;
        margin: 0;
    }

    #fes_schedule .schedule-inner.inner01 .text-box {
        max-width: 100%;
        margin-left: 0;
        padding: 20px !important;
    }

    #fes_schedule .schedule-inner.inner01 .text-box .image {
        width: 100px;
    }

    #fes_schedule .schedule-inner.inner01 {
        height: auto;
        background-image: none;
    }

    #fes_schedule .schedule-inner.inner02 {
        height: auto;
        background-image: none;
        background-position: center left;
    }

    #fes_schedule .schedule-inner.inner02 .text-box {
        margin-left: 0;
        padding: 40px 0px;
        text-align: center;
        width: auto;
    }

    #fes_schedule .schedule-inner.inner02 .text-box .image {
        margin: -48px auto 0;
    }


    /* -----------体験できる職業は4種類 ------- */
    #fes_taiken_type {
        padding: 0 20px;
        margin-bottom: 50px;
    }

    #fes_taiken_type .taiken_nav {}

    #fes_taiken_type .taiken_nav li {
        width: auto;
        position: relative;
        padding-bottom: 50px;
    }

    #fes_taiken_type .taiken_nav li::after {
        position: absolute;
        content: '';
        background-image: url(../images/common/title-icon.svg);
        background-position: center;
        background-size: auto;
        background-repeat: no-repeat;
        width: 9px;
        height: 27px;
        bottom: 0%;
        left: 50%;
        transform: translate(0%, -50%);
    }

    #fes_taiken_type .taiken_nav li.nursing {}

    #fes_taiken_type .taiken_nav li.receiption {
        width: 260px;
    }

    #fes_taiken_type .taiken_nav li.teacher {
        width: 280px;
    }

    #fes_taiken_type .taiken_nav li.medicine {
        width: 350px;
    }

    #fes_taiken_type .thumbnail-box {
        flex-wrap: wrap;
        flex-direction: row;
        padding: 0;
        gap: 5px;
    }

    #fes_taiken_type .thumbnail-box p {
        width: 49%;
    }

    #fes_taiken_type .thumbnail-box p a {
        display: block;
    }

    /* みんなで体験して見よう！ */
    #fes_taiken .taiken-inner {
        padding: 20px;
    }

    #fes_taiken .taiken-inner .taiken-item:not(:last-child) {
        margin-bottom: 40px;
    }

    #fes_taiken .taiken-inner .title-taiken {
        display: block;
        margin-bottom: 10px;
    }

    #fes_taiken .taiken-inner .title-taiken img {
        width: 90px;
        margin: auto;
        display: block;
        margin-bottom: 10px;
    }

    #fes_taiken .taiken-inner .title-taiken .text {
        margin-bottom: 8px;
    }

    #fes_taiken .taiken-inner .title-taiken em {
        font-size: 112.5%;
        color: #f08437;
        font-weight: bold;
        margin-bottom: 5px;
        display: inline-block;
    }

    #fes_taiken .taiken-inner #taiken01 .title-taiken img {
        width: 100px;
        margin-left: calc(50% - 65px);
    }

    #fes_taiken .taiken-inner #taiken02 .title-taiken {
        align-items: flex-end;
    }

    #fes_taiken .taiken-inner #taiken03 .title-taiken img {
        width: 100px;
    }

    #fes_taiken .taiken-inner #taiken04 .title-taiken img {
        width: 125px;
    }

    #fes_taiken .taiken-inner .image-box {
        margin-top: 0px;
        line-height: 1;
    }

    /* 体験終了後、院長先生から一人ひとりに修了証書を手渡し */
    #fes_certification .image-box {
        flex-direction: column;
    }

    /* 最後にみんなで記念撮影 */
    #fes_kinen .image-box {
        margin-top: 40px;
    }

    #fes_kinen .image-box img {
        width: 100%;
        height: auto;
    }

    #fes_present .image-box {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    /* 体験ご家族の感想 */
    #fes_kanso {
        margin-bottom: 50px;
    }

    #fes_kanso dl {
        padding: 20px;
        /* background-color: rgba(255,255,255,0); */
    }
    #fes_kanso dl dt,#fes_kanso dl dd{
        background-color: #fff;
    }

    #fes_kanso dl dt {
        color: #e9473f;
        font-size: 112.5%;
        /*20px */
        border: solid 1px;
        border-radius: 5px;
        padding: 12px;
    }

    #fes_kanso dl dd {
        display: block;
        position: relative;
    }

    #fes_kanso dl dd:not(:last-of-type) {
        margin-bottom: 60px;
    }

    #fes_kanso dl dd p {
        line-height: 1.8;
        letter-spacing: 0.01em;
        margin: 0;
    }

    #fes_kanso dl dd::before {
        margin: auto;
        display: flex;
        border-radius: 10px;
        height: auto;
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
        margin: 0 auto 5px;
    }
    #fes_kanso dl dd::after {
        position: absolute;
        content: '';
        height: 20px;
        width: calc(100% + 60px);
        background-color: #fffbc7;
        bottom: -30px;
        left: -30px;
    }


    /* バナ */
    .fes_banner {
        font-size: 112.5%;
        padding: 60px 15px 15px 15px;
        margin-bottom: 50px;
        line-height: 1.5;
    }

    .fes_banner p {
        font-feature-settings: "palt";
        margin-bottom: 0;
        letter-spacing: -0.035em;
    }

    .fes_banner span {
        right: 50%;
        top: -40px;
        transform: translatex(50%);
        width: 90px;
    }


}