@charset "utf-8";

.main-inner {
    & h1 img {
        width: 100%;
        max-width: 560px;
        margin-bottom: 1em;
    }
}

.main-lead {
    padding: 0 2.5%;

    & img.hd-img01 {
        border-radius: 4px;
    }
}

.main-lead .lead-inner p {
    font-size: 3vw;
    line-height: 150%;
}

.main-lead .lead-inner h2 {
    color: #8CC11F;
    font-size: 4vw;
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 1.00), -1px 1px 5px rgba(255, 255, 255, 1.00), 1px -1px 5px rgba(255, 255, 255, 1.00), -1px -1px 5px rgba(255, 255, 255, 1.00);
    line-height: 150%;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

.news-es {
    background-color: rgba(255, 230, 161, 1.00);
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    margin-bottom: 32px;
    margin-top: 32px;
}

.sec-orange {
    background-color: rgba(255, 245, 224, 1.00);
}

.sec-white {
    background-color: rgba(255, 255, 255, 1.00);
}

.sec-access {
    background-color: #FFF5E0;
}

.sec-orange .inner,
.sec-white .inner,
.sec-access .inner {
    width: 98%;
    padding-top: 64px;
    padding-bottom: 64px;
}

.sec-orange h2,
.sec-white h2,
.sec-access h2 {
    font-size: 4.5vw;
    line-height: 150%;
    text-align: center;
}

.news-es h2 {
    font-size: 3.5vw;
    line-height: 150%;
    text-align: center;
}

.sec-orange h2 {
    color: rgba(241, 155, 50, 1.00);
    border-bottom: 1px solid rgba(0, 150, 214, 1.00);
    margin-bottom: 32px;
}

.sec-white h2 {
    color: rgba(241, 155, 50, 1.00);
    border-bottom: 1px solid rgba(0, 150, 214, 1.00);
    margin-bottom: 32px;
}

.sec-access h2 {
    color: rgba(241, 155, 50, 1.00);
    border-bottom: 1px solid rgba(0, 150, 214, 1.00);
    margin-bottom: 32px;
}

.sec-orange p,
.sec-white p,
.sec-access p {
    margin-bottom: 16px;
    line-height: 150%;
    font-size: 3vw;
}

.hr-skyline img {
    object-fit: cover;
    max-width: none;
}

.sec-access p {
    text-align: center;
}

.bt-box {
    text-align: center;
    margin-top: 32px;
}

.inner h3 {
    font-size: 3.5vw;
    color: #FF8E00;
    margin-bottom: 12px;
}

.rmg-img .img-box {
    width: 48%;
    margin-left: 0px;
    margin-right: 0px;
    color: rgba(255, 255, 255, 1.00);
    text-align: center;
    background-color: rgba(235, 132, 177, 1.00);
    margin-bottom: 16px;
}

.rmg-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.news-es .news-text {
    background-color: rgba(255, 255, 255, 1.00);
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    border-radius: 6px;
}

.bt-box a img {
    border-radius: 12px;
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.50);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.50);

}

.rmg-img .img-box p {
    margin-bottom: 0px;
}

.feature {
    background-color: rgba(255, 255, 255, 1.00);
    border-radius: 12px;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    margin-bottom: 32px;
}

.feature-flex {
    margin-bottom: 32px;
}

.feature-textbox h4 {
    color: rgba(255, 142, 0, 1.00);
    font-size: 3.2vw;
    margin-bottom: 12px;
    text-align: center;
}

.feature-hl {
    text-align: center;
    margin-bottom: 32px;
}

.whatis-typeb {
    background-color: rgba(255, 255, 255, 1.00);
    border: 1px solid rgba(0, 150, 214, 1.00);
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    margin-top: 32px;
}

.whatis-typeb p {
    margin-bottom: 0px;
}

.whatis-typeb h4 {
    color: rgba(0, 150, 214, 1.00);
    font-size: 3.5vw;
    text-align: left;
    border-bottom: 1px solid rgba(0, 150, 214, 1.00);
    line-height: 150%;
    margin-bottom: 12px;
}

.img-center {
    text-align: center;
    padding-bottom: 32px;
}

.worry li {
    color: rgba(255, 142, 0, 1.00);
    font-size: 3vw;
    line-height: 150%;
    margin-bottom: 12px;
}

.worry-img {
    padding-top: 16px;
    padding-right: 20%;
    padding-bottom: 16px;
    padding-left: 20%;
}

.link-flex {
    text-align: center;
    width: 98%;
}

.link-flex a img {
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
    width: 98%;
}

.rmg-logo {
    background-image: url(../img/rmg-bd.jpg);
    background-repeat: repeat-x;
    background-position: 0% center;
    text-align: center;
}

.rmg-logo img {
    width: 30%;
}

.rmg-list ul li {
    font-size: 3vw;
    line-height: 150%;

}

.rmg-list {
    border: 1px solid rgba(234, 131, 174, 1.00);
    border-radius: 6px;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
}

.flow-box {
    background-color: rgba(255, 241, 192, 1.00);
    padding-top: 24px;
    padding-right: 24px;
    padding-bottom: 24px;
    padding-left: 24px;
    text-align: center;
    border-radius: 12px;
}

.flow-box img:first-child {
    margin-bottom: 16px;
}

.worry-flex .worry {
    border: 2px solid rgba(243, 168, 0, 1.00);
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 8px;
}

.hr-skyline {
    width: 100vw;
    overflow-x: hidden;
    text-align: center;
}

.news-text dl dt {
    color: rgba(255, 142, 0, 1.00);
    font-weight: bold;
    font-size: 75%;
}

.news-text dl dd {
    line-height: 150%;
    font-size: 3vw;
}

.news-text dl {
    line-height: 150%;
}

.main-img .main-inner {
    text-align: center;
    padding-top: 32px;
}

.main-lead .lead-inner h3 {
    background-color: #F19B32;
    color: #FFFFFF;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 8px;
    border-radius: 8px;
    margin-bottom: 16px;
    line-height: 150%;
}

.hd-img01 {
    margin-right: 1%;
    margin-left: 1%;
    width: 98%;
    height: auto;
}

.news-es .news-box {
    margin-bottom: 32px;
}

.info-box dl dt {
    background-color: #F19B32;
    color: #FFFFFF;
    width: 10vw;
    text-align: center;
    border-radius: 4px;
    line-height: 150%;
    float: left;
    clear: both;
    margin-bottom: 8px;
    margin-right: 8px;
    font-size: 3vw;
}

.info-box dl dd {
    line-height: 150%;
    margin-bottom: 8px;
    text-align: left;
    font-size: 3vw;
}

.al-c {
    text-align: center;
}

.service-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-card {
    margin-bottom: 16px;
    width: 45%;
}

.card-img {
    text-align: center;
}

.card-text h4 {
    color: #8CC11F;
    line-height: 150%;
    font-size: 3.5vw;
}

.card-text p {
    font-size: 3vw;
    line-height: 150%;
}

.schedule-yearly-box {
    border: 2px solid #F19500;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.schedule-yearly-box img {
    align-self: center;
    margin: 0px;
    display: block;
}

.schedule-yearly-box p {
    align-self: center;
    margin: 0px;
    display: block;
    font-weight: bold;
    font-size: 3vw;
}

.schedule-days-box {
    text-align: center;
    margin-bottom: 16px;
    width: 96%;
}

.service-photo-box {
    display: flex;
    justify-content: space-around;
}

.service-photo {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    text-align: center;
}

.service-photo p {
    font-size: 3vw;
}

.inner.mb0px {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.greeting {
    width: 96%;
}

.signature {
    font-weight: bold;
    text-align: right;
}

.naviBox {
    padding: 0 2.5%;
}

.videoBox p {
    font-size: 16px;
    line-height: 2;
    margin: 0;
    margin-bottom: 8px;
    font-weight: bold;
}

.videoBox video {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
}

#instaTxt {
    font-size: 24px;
    margin: 2em auto 0;
}

#instaTxt img {
    width: 1em;
}


@media screen and (min-width:800px) {
    .main-img {
        background-image: url(../img/asds-hd-bg.png);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: contain;
        background-color: #fffefd;
    }

    .main-lead {
        margin-bottom: 32px;
        display: flex;
        gap: 2em;
        padding: 0;

        & img.hd-img01 {
            width: 50%;
        }
    }

    .lead-inner {
        width: 50%;
        margin-left: 0px;
    }

    .main-lead .lead-inner p {
        font-size: 18px;
    }

    .main-lead .lead-inner h2 {
        text-align: left;
        margin-top: 8px;
        margin-bottom: 16px;
        line-height: 200%;
        font-size: 26px;
    }

    .news-es {
        border-radius: 10px;
        margin-top: 0px;
        display: flex;
    }

    .sec-orange .inner,
    .sec-white .inner,
    .sec-access .inner {
        width: 1000px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    img.main-bg {
        height: 523px;
        object-fit: cover;
    }


    .sec-orange h2,
    .sec-white h2,
    .sec-access h2 {
        font-size: 36px;
        line-height: 150%;
        text-align: center;
    }

    .news-es h2 {
        font-size: 28px;
        line-height: 150%;
        text-align: center;
    }

    .sec-orange p,
    .sec-white p,
    .sec-access p {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .inner h3 {
        font-size: 28px;
        color: #FF8E00;
    }

    .rmg-img .img-box {
        width: 32%;
    }

    .news-es .news-text {
        background-color: rgba(255, 255, 255, 1.00);
        padding-top: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        border-radius: 6px;
    }

    .feature-imgbox {
        width: 380px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .feature-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 32px;
    }

    .feature-textbox {
        width: 420px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .feature {
        padding-top: 16px;
        padding-right: 64px;
        padding-bottom: 64px;
        padding-left: 64px;
    }

    .feature-flex:last-child {
        margin-bottom: 0px;
    }

    .feature-textbox h4 {
        font-size: 24px;
        text-align: left;
    }

    .feature-hl {
        width: 60%;
    }

    .whatis-typeb {
        padding-top: 32px;
        padding-right: 32px;
        padding-bottom: 32px;
        padding-left: 32px;
        margin-top: 32px;
    }

    .whatis-typeb p {
        margin-bottom: 0px;
    }

    .img-center {
        width: 50%;
    }

    .worry li {
        font-size: 24px;
    }

    .worry-flex {
        display: flex;
        align-items: center;
    }

    .worry-img {
        width: 300px;
        margin-left: 0px;
        margin-right: 0px;
        padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
    }

    .link-flex {
        width: auto;
    }

    .link-flex a img {
        width: auto;
    }

    .rmg-list .rmg-logo {
        width: 200px;
        height: auto;
    }

    .rmg-logo img {
        width: 200px;
    }

    .rmg-list ul {
        columns: 3 auto;
    }

    .space-ins:before {
        content: "　";
    }

    .flow-box img:first-child {
        margin-bottom: 0px;
    }

    .worry-flex .worry {
        border-width: 0px;
        border-style: none;
        padding-left: 0px;
        padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .rmg-list ul li {
        font-size: 16px;
    }

    .news-text dl dd {
        font-size: 16px;
    }

    .main-img .main-inner {
        width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 16px;
        padding-bottom: 32px;
        position: relative;
        text-align: left;
    }

    .main-lead .lead-inner h3 {
        margin-left: 0px;
        margin-top: 56px;
        font-size: 16px;
        padding-top: 18px;
        padding-bottom: 18px;


    }

    .hd-img01 {
        height: auto;
    }

    .news-es .news-box {
        width: 640px;
        margin-left: 0px;
        margin-right: 32px;
        align-items: center;
        margin-bottom: 0px;
    }

    .info-box dl dt {
        width: 70px;
        font-size: 16px;
    }

    .info-box dl dd {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .news-es .info-box {
        align-items: center;
    }

    .service-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .service-card {
        width: 480px;
        margin-left: 0px;
        margin-right: 0px;
        display: grid;
        grid-template-columns: 240px 240px;
        margin-bottom: 32px;
    }

    .card-img {
        width: 240px;
        height: auto;
    }

    .card-text h4 {
        font-size: 28px;
    }

    .card-text p {
        font-size: 16px;
    }

    .card-text {
        margin-left: 0px;
        margin-right: 16px
    }

    .service-card:nth-child(3) .card-text,
    .service-card:nth-child(4) .card-text {
        order: 2;
        margin-left: 16px;
        margin-right: 0px
    }

    .service-card:nth-child(3) .card-img,
    .service-card:nth-child(4) .card-img {
        order: 1;
    }

    .schedule-yearly-box {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 60%;
    }

    .schedule-days-box {
        margin-bottom: 32px;
        width: auto;
    }

    .schedule-yearly-box p {
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        font-size: 18px;
    }

    .service-photo p {
        font-size: 16px;
    }

    .inner.mb0px {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    .greeting {
        width: 800px;
        background-color: rgba(255, 255, 255, .8);
        padding: 1em;
        border-radius: 8px;
    }
}


@media screen and (min-width:1025px) {
    #instaTxt {
        font-size: 16px;
        margin: 0 auto 8px;
        background-color: #fff;
        border-radius: 30px 0 0 30px;
        padding: 8px 0 8px 1em;
    }

    #instaTxt img {
        width: 2em;
        vertical-align: middle;
    }

    .infoChildren {
        position: relative;
        z-index: 1;
    }

    .infoChildren::before {
        content: "";
        background: url(../img/infoicon.svg)no-repeat bottom left/32%;
        width: 100%;
        height: 100%;
        z-index: -1;
        position: absolute;
        left: 0;
        bottom: 0;
    }

    .naviBox {
        display: flex;
        justify-content: space-between;
        max-width: 1000px;
        margin: 0 auto;
        padding: 0;
        padding-bottom: 88px;
    }

    .videoBox p {
        font-size: 14px;
        margin-bottom: 0;
        font-weight: normal;
        background-color: #ffd782;
        border-radius: 8px 8px 0 0;
    }

    .videoBox video {
        margin-bottom: 0px;
    }

    .naviBox iframe {
        width: 74%;
    }

    main {
        overflow: hidden;
    }

    .sec-orange,
    .sec-white {
        position: relative;
        z-index: 2;
    }

    .sec-orange::before,
    .sec-orange::after,
    .sec-white::before,
    .sec-white::after {
        content: "";
        width: 100%;
        height: 100%;
        background: url(../img/bg003.png)no-repeat center top/25%;
        position: absolute;
        top: 50%;
        left: -30%;
        transform: translateY(-50%);
        z-index: -1;
    }

    .sec-orange::after,
    .sec-white::after {
        left: auto;
        right: -30%;
        background: url(../img/bg004.png)no-repeat center top/25%;
    }

    .sc002::before {
        background: url(../img/bg001.png)no-repeat center/40%;
        left: -38%;
    }

    .sc002::after {
        background: url(../img/bg002.png)no-repeat center/40%;
    }

    .sec-white::before {
        left: -38%;
        background: url(../img/bg004.png)no-repeat center top/25%;
    }

    .sec-white::after {
        background: url(../img/bg001.png)no-repeat center top/25%;
    }

    .sec003::before {
        background: url(../img/bg001.png)no-repeat center top/25%;
    }

    .sec003::after {
        background: url(../img/bg004.png)no-repeat center top/25%;
    }
}