@charset "utf-8";

@media (min-width: 769px) {
    #top_kodawari .top_kodawari_li li {
        width: 196px;
        /*186*/
        height: 196px;
        /*186*/
    }

    #top_kodawari .top_kodawari_li {
        width: 622px;
        /*592*/
    }
}

@media (max-width: 768px) {
    #top_kodawari .top_kodawari_li li {
        width: 98px;
        /*88*/
        height: 98px;
        /*88*/
    }

    #top_kodawari .top_kodawari_li {
        width: 310px;
        /*280*/
    }

    #top_kodawari .top_kodawari_number {
        font-size: 20px;
        /*24*/
        line-height: 24px;
        /*24*/
        vertical-align: bottom;
        /*new*/
        margin-top: -8px;
        /*-15*/
        margin-bottom: 13px;
        /*10*/
    }
}

/***********************ここから************************************************************/
#Company_introduction_move .container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

#Company_introduction_move .top_media_inner {
    background: url(/wp-content/themes/affinger5-child/images/top/bg_top_media.png) left top no-repeat #f3ebe4;
    background-size: 200px 200px;
    margin-top: 60px;
    padding: 40px 0;
    position: relative;
}

#Company_introduction_move .top_media_name {
    background-color: #d4b094;
    color: #FFF;
    line-height: 22px;
    font-size: 12px;
    width: 62px;
    height: 72px;
    text-align: center;
    position: absolute;
    top: -4px;
    left: 20px;
}

#Company_introduction_move .top_about_container {
    min-width: auto;
}

#Company_introduction_move iframe {
    margin: 20px 60px;
    height: 676px;
    width: 381px;
}

#Company_introduction_move video {
    max-width: 35%;
    width: 100%;
    margin: auto;
}

#Company_introduction_move .Company_introduction_move_flex {
    display: flex;
    justify-content: space-around;
}

#Company_introduction_move .Company_introduction_text {
    max-width: 48%;
    width: 100%;
    margin: 0 auto;
}

#Company_introduction_move {
    margin-top: 100px;
}

#top_about .suji-banner-2 {
    position: absolute;
    top: -80px;
    right: 100px;
    z-index: 1;
}

/***********************ここから20230828************************************************************/
.mainvisual_text.sp_none {
    position: relative;
}

.banner_hukidashi_warp {
    position: absolute;
    bottom: 103px;
    right: 23px;
    display: none;
}

.banner_jitan_warp {
    position: absolute;
    bottom: 31px;
    right: 45px;
    animation: blinkOpacity 1s ease-in-out infinite alternate;
    cursor: pointer;
}

@keyframes blinkOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.banner_hukidashi_warp.DisplayBlock {
    display: block;
}

/********************* */
@media screen and (max-width:900px) {
    #Company_introduction_move .Company_introduction_move_flex {
        flex-direction: column;
    }

    #Company_introduction_move video {
        width: 90%;
        max-width: 100%;
    }

    #Company_introduction_move.container {
        margin: 0;
    }

    #Company_introduction_move .Company_introduction_text {
        max-width: 100%;
        margin: 15px auto;
    }

    #Company_introduction_move .Company_introduction_text {
        width: fit-content;
        margin: 0 auto;
        padding: 20px
    }

    #Company_introduction_move iframe {
        margin: 0px auto;
        display: block;
    }
}

@media (max-width: 768px) {
    #Company_introduction_move iframe {
        margin: 0px auto;
        display: block;
        width: 339px;
        height: 600px;
    }

    #Company_introduction_move .top_media_name {
        height: 38px;
    }

    .top_suji_container a .suji-banner2-sp {
        border: 0;
        display: block;
        width: 80%;
        margin: 3px auto;
    }

    /***********************ここから20230830************************************************************/
    .sp-banner_jitan_warp img {
        width: 70%;
        display: block;
        margin: 10px auto;
        animation: blinkOpacity 1s ease-in-out infinite alternate;
        cursor: pointer;
    }

    .sp-banner_hukidashi_warp {
        position: fixed;
        top: 150px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        z-index: 3;
    }

    .sp-banner_hukidashi_warp.DisplayBlock {
        display: block;
    }

    .on_click_mask {
        position: fixed;
        top: 0;
        z-index: 2;
        height: 100vh;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: none;
    }

    .on_click_mask.DisplayBlock {
        display: block;
    }

    .ScrollStop {
        overflow: hidden;
    }

    .suji-banner-right #top_menu_adviser_message {
        width: 86%;
        position: absolute;
        top: 25%;
    }

    .entry-content .top_suji_container .suji-banner-right {
        top: 45px;
        height: 50%;
    }
}

.entry-content #mainvisual {
    background: none;
    height: auto;
}

.swiper {
    height: 100%;
}

.swiper-slide img {
    height: 100%;
    width: 100%;
}

@media (max-width: 768px) {
    #mainvisual .swiper {
        padding-top: 36px;
    }
}

@media (max-width: 768px) {
    .swiper-button-prev.sp_none {
        display: none;
    }

    .swiper-button-next.sp_none {
        display: none;
    }
}

.swiper .swiper-button-next:after {
    content: 'next';
    font-size: 27px;
    color: #e95a83;
    font-weight: bold;
}

.swiper .swiper-button-next {
    right: 19.791666666666664vw;
}

.swiper .swiper-button-prev:after {
    content: 'next';
    font-size: 27px;
    color: #e95a83;
    font-weight: bold;
    transform: rotate(175deg);
}

.swiper .swiper-button-prev {
    left: 19.791666666666664vw;
}

.swiper .swiper-slide {
    height: auto;
}

.swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 20px !important;
    background-color: #e95a83;
    border: 2px solid #fff;
    opacity: 1;
    background-color: transparent;
}

.swiper .swiper-pagination-bullet-active {
    background-color: #e95a83;
    width: 10px;
    height: 10px;
    border: none;
}

@media (min-width: 768px) {
    .swiper-slide:not(.swiper-slide-active) {
        position: relative;
    }

    .swiper-slide:not(.swiper-slide-active)::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.7);
        /* 白い背景色を半透明で適用 */
        z-index: 1;
    }
}

/***********************ここから************************************************************/
@media screen and (min-width: 768px) {
    .br-sp {
        display: none;
    }
}

.descr sitenametop {
    display: none;
}

/***********************ここから************************************************************/
@media(min-width:751px) {
    .sp-only {
        display: none !important;
    }
}

@media(max-width:750px) {
    .pc-only {
        display: none !important;
    }
}

.my-top-element {
    /* 共通のスタイル */
}

@media (min-width: 768px) {
    .my-top-element {
        /* PC表示時のスタイル */
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .my-top-element {
        /* スマートフォン表示時のスタイル */
        font-size: 14px;
    }
}

/***********************ここから************************************************************/

.ebisu__about {
    background-color: #fff !important;
}

.ebisu__btn {
    width: 300px !important;
}

@media screen and (max-width:768px) {
    .ebisu__btn {
        margin: 0 auto !important;
    }
}

#top_voice {
    background-color: #f6f7f7;
    padding: 50px 0;
}

.top_news_inner {
    background: url(/wp-content/themes/affinger5-child/images/top/bg_top_news.png) left top no-repeat #f5f5f5;
}

@media (max-width: 768px) {
    #top_voice {
        background-color: #f6f7f7;
        padding: 50px 0;
        border-top: 0px;
        margin-bottom: 0px;
    }

    .top_news_inner {
        background: url(/wp-content/themes/affinger5-child/images/top/bg_top_news.png) left top no-repeat #f5f5f5;
    }
}

#ryoukin {
    background-color: #ffffff;
    padding: 50px 0;
}

.fs12 {
    font-size: 12px;
}

@media (max-width: 768px) {
    #ryoukin {
        background-color: #ffffff;
        padding: 75px 0;
    }

    .fs12 {
        font-size: 12px;
    }
}

#flow {
    background-color: #f6f7f7;
    padding: 50px 0;
}

@media (max-width: 768px) {
    #flow {
        background-color: #f6f7f7;
        padding: 75px 0;
    }
}

.ebisu__faq {
    margin-top: 50px;
}