.top__section-mv {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
@media (max-width: 768px) {
    .top__section-mv {
        display: block!important;
    }
}
.top__section-mv div {
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .top__section-mv div {
        width: 100%;
    }
}
.top__section-mv .left_main_img,
.top__section-mv .right_main_img {
    position: relative;
}
.overlay_left_txt {
    position: absolute;
    display: flex;
    padding: 0px 8px 0px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    top: 36px;
    left: 0;
}

@media (max-width: 768px) {
    .overlay_left_txt {
        padding: 0px 8px 0px 5px;
    }
}
.overlay_right_txt {
    position: absolute;
    display: flex;
    padding: 0px 40px 0 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    bottom: 116px;
    right: 0;
}
.overlay_img_txt {
    position: absolute;
    align-self: stretch;
    top: 110px;
    left: 0;    
    display: flex;
    padding: 10px 8px 4px 80px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


@media (max-width: 1300px) {
    h2.overlay_left_txt,
    h2.overlay_right_txt,
    h2.overlay_right_img_txt {
        font-size: 28px;
    }
    h3.overlay_img_txt {
        font-size: 28px;
        top: 110px;
    }
    h2.overlay_right_img_txt {
        bottom: 48px;
        padding: 0px 8px 0px 20px;
    }
}
@media (max-width: 980px) {
    h2.overlay_right_img_txt {
        padding: 10px 8px 0px 30px;
    }
}
@media (max-width: 900px) {
    h2.overlay_right_img_txt {
        padding: 0px 8px 0px 30px;
    }
}
@media (max-width: 768px) {
    .overlay_img_txt {
        padding: 0px 8px 0px 40px;
    }
    
    h2.overlay_right_img_txt {
        font-size: 28px;
        bottom: 12px;
        padding: 0px 8px 0px 20px;
    }
    .overlay_right_txt img {
        width: 50px !important;
    }
    .overlay_right_txt {
        bottom: 62px;
        padding: 0px 16px 0px 4px;
        gap: 0;
        font-size: 28px;
    }
}
@media (max-width: 980px) {
    h3.overlay_img_txt {
        top: 90px;
    }
}
@media (max-width: 900px) {
    h3.overlay_img_txt {
        padding: 0px 8px 0px 30px;
    }
}
@media (max-width: 768px) {
    h3.overlay_img_txt {
        top: 61px;
    }
}
@media (max-width: 980px) {
    h2.overlay_left_txt {
        top: 25px;
    }
}
@media (max-width: 768px) {
    h2.overlay_left_txt {
        top: 12px;
        font-size: 28px;
    }
}
.overlay_right_img_txt {
    position: absolute;
    align-self: stretch;
    bottom: 40px;
    right: 0;    
    display: flex;
    padding: 0px 40px 0px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.overlay_img_txt img {
    position: absolute;
    top: -9px;
    left: 31px;
    width: 79px!important;
    height: 76.769px;
    transform: rotate(-1deg);
}
.overlay_right_img_txt img {
    position: absolute;
    top: -16px;
    left: 6px;
    width: 85.664px !important;
    height: 76.769px;
    transform: rotate(-1deg);
}
@media (max-width: 1300px) {
    .overlay_img_txt img,
    .overlay_right_img_txt img {
        left: 42px;
        width: 62px!important;
    }
}
@media (max-width: 980px) {
    .overlay_img_txt img {
        top: -2px;
    }
    .overlay_right_img_txt img {
        left: 2px;
        top: -3px;
    }
}
@media (max-width: 900px) {
    .overlay_right_img_txt img {
        left: 10px;
    }
    .overlay_img_txt img {
        left: 6px;
    }
}
@media (max-width: 768px) {
    .overlay_img_txt img {
        width: 50px!important;
        top: 0;
        left: 20px;
    }
}
.left_overlay_img,
.right_overlay_img {
    position: absolute;
}
.left_img_1 {
    left: 237px;
    bottom: 260px;
}
.left_img_2 {
    left: 178px;
    bottom: 202px;
}
.left_img_3 {
    left: 40px;
    bottom: 40px;
    width: 120px!important;
}
@media (max-width: 1100px) {
    .left_img_3 {
        width: 67px!important;
        height: 67px!important;
        left: 22px;
        bottom: 22px;
    }
}
.right_img_1 {
    top: 188px;
    right: 360px;
}
.right_img_2 {
    top: 188px;
    right: 240px;
}
.right_img_3 {
    top: 40px;
    right: 40px;
    width: 120px!important;
}
@media (max-width: 1100px) {
    .right_img_3 {
        width: 67px!important;
        height: 67px!important;
        right: 22px;
        top: 22px;
    }
}
.top__section-mv.flex div {
    position: relative;
    width: 100%;
}
.top__section-mv img {
    width: 100%;
    height: auto;
}
/*モグー飲食店の空席のcss｜ここから*/
.top__service-exp-wrap {
    display: flex;
    padding: 40px 0 0px 0;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

@media (max-width: 768px) {
    .top__service-exp-wrap {
        padding: 40px 20px 0;
    }
}
.top__service-exp-wrap h2 {
    text-align: center;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 32px;
}
.top__service-exp-wrap p {
    text-align: center;
}
@media (max-width: 768px) {
    .top__service-exp-wrap p {
        text-align: left;
        margin-bottom: 0;
    }
}
/* モーダルのスタイル */
.video-section {
    position: relative;
    display: inline-block;
}

.video-thumbnail {
    display: block;
    width: 100%;
    position: relative;
}

.video-thumbnail img {
    display: block;
    width: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color:#DA1915;
    padding: 10px;
    border-radius: 50%;
    background: #B80C09;
    width: 64px!important;
    height: 64px!important;
}
.video-thumbnail:hover .play-button {
    background-color: #DA1915;
}
.play-button svg {
    width: 24px;
    height: 24px;
    margin-top: 10px;
    margin-left: 7px;
}

.video-section img {
    width: 800px;
    height: 450px;
    justify-content: center;
    align-items: flex-start;
    border-radius: 16px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .video-section img {
        width: 100%;
        height: auto;
    }
}

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    width: 50%;
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
    }
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #000;
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-gap {
    margin-bottom: 80px;
}
/*モグー飲食店の空席のcss｜ここまで*/

/*モグーで今すぐ、超～お得に！｜ここから*/
.top__great-value-wrap {
    display: flex;
    height: 1580px;
    padding: 64px 0 0px 0;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}
@media (max-width: 768px) {
    .top__great-value-wrap {
        padding: 64px 20px 160px;
        height: unset;
    }
}
.top__great-value-wrap h2 {
    margin-bottom: 40px;
}
.top__great-value-wrap h3 {    
    margin-bottom:32px;
}
.top__merit-wrap {
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}
.top__merit-shop-flex {
    gap: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1300px) {
    .top__merit-wrap {
        padding: 0 20px;
    }
}
@media (max-width: 768px) {
    .top__merit-wrap {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        padding: 0;
    }
}
.gap-64 {
    margin-bottom: 64px;
}
.gap-40 {
    margin-bottom: 40px;
}
.top__merit-wrap > * {
    height: 100%;
}
@media (max-width: 768px) {
    .top__merit-wrap > * {
        height: auto;
    }
}
.top__merit-explain-text {
    width: 378px;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-radius: 16px;
    background:#FFF;
}

@media (max-width: 768px) {
    .top__merit-explain-text {
        width: 100%;
    }
}
.top__merit-explain-text img {
    margin: auto;
    display: block;
    width: 240px;
}
.top__merit-explain-text h4 {
    margin: 24px 0 16px;
}
@media (max-width: 768px) {
    .top__merit-explain-text h4 {
        margin: 8px 0 4px;
    }
}
.bg_red_btn {
    display: flex;
    width: 240px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    background-color: #B80C09;
    border-radius: 999px;
    margin-top: 40px;
}
.step_wrap {
    display: flex;
    padding: 64px 0px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    border-radius: 16px;
    position: relative;
}
.step-h2 {
    margin-bottom: 24px;
}
.step-h4 {
    font-size: 20px;
    margin-bottom: 16px!important;
}
.step-h4-med {
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .step_wrap {
        padding: 40px 0px;
        gap: 16px;
    }
}
.step_wrap svg {
    position: absolute;
    right: -85px;
    bottom: -72px;
}

.step_wrap img.phone-img {
    position: absolute;
    right: -85px;
    bottom: -72px;
    width: 410px;
}
@media (max-width: 1320px) {
    .step_wrap img.phone-img {
        width: 350px;
    }
}
@media (max-width: 1200px) {
    .step_wrap img.phone-img {
        width: 310px;
        right: -30px;
    }
}
@media (max-width: 1100px) {
    .step_wrap img.phone-img {
        width: 280px;
        right: -70px;
        bottom: -60px;
    }
}
@media (max-width: 768px) {
    .step_wrap img.phone-img {
        position: unset;
    }
    .phone-img.-sp {
        z-index: 1;
        position: relative;
        margin-top: -30px;
        width: auto;
        margin: auto;
        display: block;
        margin-top: -25px;
    }
}
.section-step-pd {
    padding: 0 127px;
    margin-top: -50px;
}
@media (max-width: 1200px) {
    .section-step-pd h2 {
        font-size: 35px;
    }
    .section-step-pd h3 {
        font-size: 28px;
    }
    .section-step-pd {
        padding: 0 80px;
    }
}
@media (max-width: 768px) {
    .section-step-pd h2 {
        font-size: 28px;
    }
    .section-step-pd h3 {
        font-size: 20px;
    }
    .section-step-pd {
        margin-top: -80px;
        padding: 0 20px;
    }
}
.top__register_btn {
    display: flex;
    padding: 24px 64px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: #B80C09;
    text-align: center;
    width: unset;
    font-size: 24px!important;
    border: unset;
}

@media (max-width: 768px) {
    .top__register_btn {
        padding: 24px 40px;
        font-size: 20px!important;
    }
}
.top__register_btn:hover {
    border: unset;
}
a.magazine_btn.bg_white_btn.white_btn {
    margin: auto;
    display: block;
}
/*モグーで今すぐ、超～お得に！｜ここまで*/
/*MAGAZINE｜ここから*/
.top__magazine_btn {
    display: block;
    width: 240px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin: auto;
}
.top__magazine-section-wrap {
    margin-top: 120px;
}
@media (max-width: 768px) {
    .top__magazine-section-wrap {
        margin-top: 50px;
    }
}
.top__magazine-section-wrap h2 span.text_red {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    text-transform: uppercase;
}
.magazine-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.magazine-item {
    width: 30%;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.magazine-image {
    height: auto;
}

.magazine-date {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}

.magazine-title {
    font-size: 16px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    overflow: hidden;
}

.magazine-category-list {
    margin-top: 10px;
}

.magazine-category {
    display: flex;
    padding: 4px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid #B80C09;
    background: #FFF;
    color: #B80C09;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
}
@media (max-width: 1200px) {
    .magazine-category {
        font-size: 10px;
        text-align: center;
        padding: 4px 9px;
    }
}
@media (max-width: 768px) {
    .magazine-category {
        padding: 4px 16px;
        text-align: unset;
        font-size: 12px;
    }
}
.magazine-posts {
    margin: 40px 0;

    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.magazine-post {
    box-sizing: border-box;
    width: 23%;
}
.magazine-posts > .magazine-post:nth-child(1) {
    width: 23%;
}
@media (max-width: 768px) {
    .magazine-posts {
        display: block;
        margin-bottom: 32px;
    }
    .magazine-post,
    .magazine-posts > .magazine-post:nth-child(1) {
        margin-bottom: 32px;
        width: 100%;
    }
}
.magazine-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    margin-bottom: 8px;
}
.magazine-post:hover .magazine-category {
    background: #FBF3F2;
}
.magazine-post:hover .magazine-date,
.magazine-post:hover .magazine-title {
    color: #DA1915;
}

.magazine-image-wrap{
    display:block; 
    position:relative;
    text-decoration:none;
    overflow:hidden;
}
.magazine-image-wrap:before{
    content:"";
    display:block;
    padding-top: 56.25%;
}
.magazine-image-wrap img{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    transition:0.3s;
    display:block;
    width:100%;
}
.magazine-post:hover .magazine-image-wrap img{
    transform:scale(1.1);
}

.magazine-image-wrap {
    margin-bottom: 16px;
}
/*MAGAZINE｜ここまで*/
/*NEWS一覧｜ここから*/
.top__news-section-wrap {
    margin-top: 120px;
    display: flex;
    padding: 80px;
    align-items: flex-start;
    gap: 80px;
    border-radius: 16px;
    background: #F8F8F8;
}
.top__news-section-wrap div {
    width: 50%;
}
@media (max-width: 768px) {
    .top__news-section-wrap div {
        width: 100%;
    }
}
.news-text,
.purpose-text {
    font-size: 20px;
}
@media (max-width: 768px) {
    .top__news-section-wrap {
        flex-direction: column;
        gap: 32px;
        align-self: stretch;
        padding: 32px 24px;
    }

    .news-text {
        font-size: 17px;
    }
}
.top__news-section-wrap .top__news-update-text {
    margin-top: 16px;
}
.top__news-section-wrap ul {
    width: 80%;
}
@media (max-width: 768px) {
    .top__news-section-wrap ul {
        width: 100%;
    }
}
.top__news-section-wrap ul li {
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 32px;
    margin-bottom: 32px;
}
.top__news-section-wrap ul li:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .top__news-section-wrap ul li {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
}
.top__news-section-wrap ul li a {
    display: flex;
    padding-right: 8px;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    align-items: flex-end;
    transition: transform .6s ease, color .3s ease, padding-right .3s ease;
}
.top__news-section-wrap ul li a:hover {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    padding-right: unset;
    color: #DA1915;
    transform: scale(1.02);
    transition: transform .6s ease;
    width: 100%;
}
.top__news-section-wrap ul li a:hover .news_date,
.top__news-section-wrap ul li a:hover .news_title {
    color: #DA1915;
}
.top__news-btn {
    margin-top: 32px;
}
@media (max-width: 768px) {
    .top__news-btn {
        margin-top: unset;
    }
}
.news_date {
    color: #000;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 8px;
    font-family: 'Raleway', 'Noto Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'メイリオ', Meiryo, sans-serif;
}
.news_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
}
.news_arrow {
    width: 32px;
}
h3.news_title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
    overflow: hidden;
    color: #000;
    text-overflow: ellipsis;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}
/*NEWS一覧｜ここまで*/
/*PURPOSE｜ここから*/
.top__purpose-section-pd {
    padding: 0 140px;
}
@media (max-width: 1300px) {
    .top__purpose-section-pd {
        padding: 0 70px;
    }
}
@media (max-width: 1200px) {
    .top__purpose-section-pd {
        padding: 0 30px;
    }
}
@media (max-width: 768px) {
    .top__purpose-section-pd {
        padding: 0 20px;
    }
}
@media (max-width: 1200px) {
    .top__purpose-section-pd h2 {
        font-size: 35px;
    }
}
@media (max-width: 768px) {
    .top__purpose-section-pd h2 {
        font-size: 28px;
    }
}
.purpose-h2-title {
    margin-bottom: 40px;
    margin-top: 10px;
}
.top__purpose-section-wrap {
    /* display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch; */
    margin-top: 120px;
    text-align: center;
}

@media (min-width: 1770px) {
    .top__purpose-section-wrap {
        justify-content: center;
    }
}
.purpose-img img {
    width: 480px; 
}
.purpose_btn {
    margin: auto!important;
}
@media (max-width: 768px) {
    .top__purpose-section-wrap {
        display: block;
        text-align: left!important;
    }
    .purpose-img img {
        margin: auto;
        display: block;
        margin-top: 32px;
        width: 100%;
    }
}
.top__purpose-explain-text {
    /* display: flex; */
    /* width: 635px; */
    flex-direction: column;
    align-items: flex-start;
}
@media (max-width: 768px) {
    .top__purpose-explain-text {
        width: unset;
    }
}
.top__purpose-section-wrap p {
    margin: 24px 0 40px;
}
/*PURPOSE｜ここまで*/
.left_main_img,
.right_main_img {
    width: 100%;
    display: block;
}
.left_overlay_img.left_img_1 {
    position: absolute;
    left: 40%;
    top: 40%;
    transform: translate(-40%, -40%);
    max-width: 50%;
    width: 115px;
}
.left_overlay_img.left_img_2 {
    position: absolute;
    left: 32%;
    top: 54%;
    transform: translate(-28%, -53%);
    max-width: 50%;
    width: 132px !important;
}
@media (max-width: 1110px) {
    .left_overlay_img.left_img_1,
    .left_overlay_img.left_img_2 {
        width: 16%!important;
    }
}

@media (max-width: 1110px) {
    .right_overlay_img.right_img_1,
    .right_overlay_img.right_img_2 {
        width: 19%!important;
    }
    .right_overlay_img.right_img_1 {
        left: 62%!important;
        top: 45%;
    }
    .right_overlay_img.right_img_2 {
        left: 41%!important;
    }
}
.right_overlay_img.right_img_1 {
    position: absolute;
    left: 57%;
    top: 55%;
    transform: translate(-38%, -45%);
    max-width: 50%;
    width: 136px;
}
.right_overlay_img.right_img_2 {
    position: absolute;
    left: 42%;
    top: 45%;
    transform: translate(-65%, -45%);
    max-width: 50%;
    width: 136px;
}
.mg-40 {
    margin: 40px 0;
}
.coming-soon-image img {
    margin: auto;
    display: block;
    width: 520px;
}
.-opposite-text {
    display: inline-block;
    transform: rotate(125deg);
}
.top__service-exp-text {
    margin-bottom: 64px;
    font-weight: 600;
    line-height: 180%;
}
h3.top__cm-text {
    font-size: 32px;
    margin-bottom: 8px;
}
.top__cm-video img {
    margin-top: 8px;
}
@media (max-width: 768px) {
    .top__service-exp-text {
        margin-top: 36px;
        font-weight: 700;
    }
    h3.top__cm-text {
        font-size: 24px;
        margin-bottom: 8px;
    }
    .top__cm-video img {
        margin-top: 0;
    }
}
