/*
Theme Name: meviy04_2
Description: Meviy Blog Template
Author: MASAtoshi OKA
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meviy04_2
Version: 4.0
*/

.page_ugc{
    background:  #fff;
    margin-top: 109px;
    padding-top: 0px;
    min-height: calc(100vh - 209px);
}
@media screen and (max-width: 1024px) {
	.page_ugc{margin-top: 17vw;}
}

.page_ugc .sec_wrap{
    width: 100%;
    max-width: 1330px;
    /* max-width: 1330px; */
    padding: 15px;
    float: none;
    margin: 0 auto;
}

/* Header ----------------------------------------------*/
.ugc_intro_wrapper{
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    padding-top: 30px;
    animation: header_appear 1s linear 1 alternate;
}
@keyframes header_appear{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.ugc_intro{
    display: flex;
    justify-content: center;
    width: 1840px;
    padding: 0;
    margin: 0;
}
.ugc_intro h1{
    display: block;
    width: 550px !important;
    height: 211px;
    background: url(../images/ugc/ugc_title.png) center center no-repeat;
    background-size: contain;
    overflow: hidden;
    text-indent: -200%;
    margin: 0 !important;
}
.ugc_img_1, .ugc_img_2, .ugc_img_3{
    display: flex;
    justify-content: center;
    width: 239px;
    height: 211px;
    margin: 0 20px;
}
.ugc_description{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    color: #0a1464;
}
.ugc_description h2{
    font-family: "Open Sans", sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #0a1464;
    margin-bottom: 7px;
}
.ugc_description p{
    font-size: 20px;
    font-weight: 600;
    color: #0a1464;
}
span.text_meviy{
    display: inline-block;
    background: url(../images/ugc/meviy_text_logo_2.png)center bottom no-repeat;
    width: 120px; height: 30px;
    background-size: contain;
    overflow: hidden;
    text-indent: -500px;
    margin-bottom: -5px;
    margin-right: 5px;
}
@media screen and (max-width: 1740px) {
    .ugc_img_3{display: none;}
}
@media screen and (max-width: 1300px) {
    .ugc_intro{
        width: 100%;
        justify-content: space-between;
    }
    .ugc_img_1{margin-left: -180px;}
}
@media screen and (max-width: 1100px) {
    .ugc_description{max-width: 300px;}
    .ugc_description h2{
        font-size: 25px;
        margin-bottom: 5px;
    }
    .ugc_description p{font-size: 16px;}
}
@media screen and (max-width: 700px) {
    .ugc_intro{ flex-wrap: wrap;}
    .ugc_img_1{display: none;}
    .ugc_intro h1{
        display: block;
        float: none;
        margin: 0 auto 20px auto !important;
        width: 400px !important;
        height: 150px;
    }
    .ugc_img_2{
        display: none;
    }
    .ugc_description{
        display: block;
        float: none;
        margin: 0 auto;
    }
    
}
@media screen and (max-width: 400px) {
    .only_pc{display: none;}
}

/* スクロール */
@keyframes scroll-right {
from {
  transform: translateX(-100%);
}
  to {
  transform: translateX(0%);
}
}
.scroll-right_wrap {
    padding: 30px 0 0 0;
    display: flex;
    overflow: hidden;
}
.scroll-right_list {
    display: flex;
    list-style: none;
    padding: 0
}
.scroll-right_list {
  animation: scroll-right 20s infinite linear 0.5s both;
  animation-iteration-count:1;
}
.scroll-right_item {
  width: 1350px;
}
.scroll-right_item>img {
  width: 100%;
}

@keyframes scroll-left {
from {
  transform: translateX(100%);
}
  to {
  transform: translateX(0%);
}
}
.scroll-left_wrap {
padding: 0;
  display: flex;
  overflow: hidden;
}
.scroll-left_list {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0
}
.scroll-left_list {
  animation: scroll-left 5s infinite linear 0.5s both;
  animation-iteration-count:1;
}
.scroll-left_item {
  width: 1840px;
}
@media screen and (max-width: 700px) {
    .scroll-right_item {
  width: 750px;
}
}

/* キャンペーン */
.ugc_campaign{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: #0a1464;
    padding: 10px 0;
}
.ugc_campaign_text{
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ugc_campaign a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 20px !important;
    text-align: center;
    background: #ffba00;
    font-weight: 600;
    color: #000;
    -moz-border-radius:30px;
    border-radius:30px;
    margin: 0 20px;
    line-height: 140%;
}
.ugc_campaign img{
    height: 35px;
    width: auto;
}

/* Navigation ---------------------------------------------*/
form#ugc_sort{
    display: flex;
    justify-content: center;
    padding-top: 30px;
    width: 100%;
    clear: both;
}
form#ugc_sort button{
    width: 200px;
    text-align: center;
    margin: 0;
    padding: 10px;
    background: #fff;
    color: #000;
    font-weight: 600;
    border: #000 2px solid;
    font-size: 24px;
}
form#ugc_sort button:first-child{border-right: none;}
form#ugc_sort button.active{
    background: #000;
    color: #fff;
}

ul.cat_ugc{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0 0 0;
    width: 100%;
    clear: both;
}
ul.cat_ugc li{
    margin: 15px;
}
ul.cat_ugc li a{
    padding: 5px 15px;
    border: 2px solid #000;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    -moz-border-radius:20px;
    border-radius:20px;
}
ul.cat_ugc li a:hover,
ul.cat_ugc li.current-menu-item a{
    background: #000;
    color: #ffba00;
}
@media screen and (max-width: 900px) {
    ul.cat_ugc li {margin:7px;}
}

form#tax_ugc{
    display: flex;
    justify-content: center;
    padding: 30px 0 0 0;
    width: 100%;
    clear: both;
}
form#tax_ugc button{
    padding: 5px 15px;
    border: 2px solid #000;
    background: #ffba00;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    -moz-border-radius:20px;
    border-radius:20px;
    margin: 15px;
}
form#tax_ugc button a:hover,
form#tax_ugc button:checked{
    background: #000;
    color: #ffba00;
}


/* MAIN ---------------------------------------------*/
.ugc_wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffba00;
}
ul.ugc_list{
    list-style: none;
    width: 100%;
    max-width: 1130px;
    float: none;
    margin: 0 auto;
    display: flex;
    margin: 20px auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
ul.ugc_list > li{
    width: calc(25% - 30px);
    margin: 15px;
    padding: 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
    -moz-border-radius:10px;
    border-radius:10px;
}
#ugc_ranking_area ul.ugc_list{
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    justify-content: space-between;
}
#ugc_ranking_area ul.ugc_list > li{
    width: calc(33% - 50px);
    border: 4px solid #0a1464;
    box-shadow: 7px 7px 0 #0a1464;
    position: relative;
    overflow: visible;
}
.ranking_1, .ranking_2, .ranking_3{
    display: block;
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    text-indent: -200px;
    overflow: hidden;
    z-index: 2;
}
.ranking_1{
    background: url(../images/ugc/UGC_no1.png) center center no-repeat;
    background-size: contain;
}
.ranking_2{
    background: url(../images/ugc/UGC_no2.png) center center no-repeat;
    background-size: contain;
}
.ranking_3{
    background: url(../images/ugc/UGC_no3.png) center center no-repeat;
    background-size: contain;
}

@media screen and (max-width: 900px) {
    ul.ugc_list > li{
        width: calc(50% - 20px);
        margin: 10px;
    }
    #ugc_ranking_area ul.ugc_list{
        flex-direction: column;
    }
    #ugc_ranking_area ul.ugc_list > li{
    width: 300px;
    float: none;
   margin: 30px auto
}
}
@media screen and (max-width: 600px) {
    ul.ugc_list > li{
        width: calc(100% - 20px);
    }
}

.ugc_box_top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.ugc_text_sub{
    height: 40px;
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding: 0px;
}
.ugc_user {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ugc_text_sub {
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0px !important;
    font-size: 14px;
    color: #000;
    font-weight: 600;
    line-height: 120%;
    width: 100%;
}
.ugc_user_name{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0;
}

.ugc_text_sub div.ugc_user_img{
    width: 40px;
    height: 40px;
    -moz-border-radius:20px;
    border-radius:20px;
    margin-right: 7px;
    background-color: #fff;
    border: 1px solid #bababa;
    overflow: hidden;
}
.ugc_user_name{
    font-size: 12px;
    line-height: 100%;
    width: auto;
    flex: 2;
}
/* ULIKE ------------------------------*/
.ugc_ulike_above{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    text-align: right;
    padding: 0px !important;
    overflow: hidden;
}
div.wpulike{
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}
div.wpulike.wpulike-default{
    padding: 0 5px 0 0 !important;
    margin: 0 !important;
    width: auto !important;
    overflow: hidden;
    /* background: #f0f0f0; */
}
.wp_ulike_general_class{
    -moz-border-radius:5px;
    border-radius:5px;
    border: #000 2px solid;
    padding-right: 5px !important;
}
.wp_ulike_general_class.wp_ulike_is_liked{}
.wpulike.wpulike-default button.active{filter: none;}
.wpulike.wpulike-default button{
    background: none !important;
    padding: 0 !important;
    overflow: hidden;
    width: 0 !important;
    margin: 0 !important;
    margin-left: -5px !important;
    width: 28px !important;
    overflow: hidden;
}
.wpulike.wpulike-default button:before{}
.wpulike.wpulike-default button:after{
    display: block;
    overflow: hidden;
    content: '';
    width: 26px;
    height: 26px;
    color: #000 !important;
    overflow: hidden;
    background: url(../images/ugc/ugc_good_2.png) center left no-repeat;
    background-size: contain;
    padding: 0 !important;
    margin: 0 !important;
}
.wpulike.wpulike-default button.wp_ulike_btn_is_active:after{
    filter: none;
}
.count-box.wp_ulike_counter_up{
    -moz-border-radius:0px;
    border-radius:0px;
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    margin: 0;
    color:  #000 !important;
    background: none;
}
.count-box.wp_ulike_counter_up:before{
    border: none !important;
    background: none;
}
.ugc_img_area{
    /* aspect-ratio: 1; */
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}
#ugc_ranking_area .ugc_img_area{
    margin-top: 0;
}
.ugc_img{position: relative; width: 100%;}
.ugc_img:before {
    content:"";
    display: block;
    padding-top: 100%;
}
.ugc_img_content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}
.ugc_img_content img{width: 100%; height: auto;}
.ugc_text_main{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    flex-grow:1;
}
.ugc_text_main_2{
    flex-grow:1;
    padding-top: 7px;
}
.ugc_text_main_2 a{color: #000;}
.ugc_text_main_2 h3{
    font-size: 17px;
    font-weight: 600;
}

.ugc_text_main_2 p{
    font-size: 15px;
    font-weight: 500;
}
.ugc_text_main_2 small{font-size: 10px;}

ul.ugc_list > li.ugc_info_box{
    width: calc(50% - 30px);
    background: none !important;
    padding: 0;
    min-height: 408px ;
}
ul.ugc_list > li.ugc_info_box > a{
    background: #ffba00;
    margin: 0px 10px 10px 1px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    box-shadow: 10px 10px  #0a1464;
    border: 6px solid #0a1464;
    overflow: hidden;
    position: relative;
    -moz-border-radius:10px;
    border-radius:10px;
    display: flex;
    flex-direction: column;
}
.ugc_info_img{width: 100%; display: block;}
.ugc_info_img img{width: 100%; height: auto;}
.ugc_info_btn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.ugc_info_btn > div{
    display: block;
    width: 100%;
}

.ugc_info_btn > div > div{
    display: block;
    width: calc(50% - 60px);
    float: right;
    margin:0 30px 0 0;
    padding: 3px 10px 3px 20px;
    background: #fff;
    color: #0a1464;
    font-size: 16px;
    font-weight: 600;
    -moz-border-radius:25px;
    border-radius:25px;
}

.ugc_info_btn > div > div span{
    display: block;
    width: 100%;
    position: relative;
}
.ugc_info_btn > div > div >span:before{
    content: '';
    display: block;
    width: 20px;
    height: 100%;
    background: url(../images/ugc/ugc_arrow.png) center center no-repeat;
    background-size: contain;
    float: right;
    position: absolute;
    right: 0;
}
.ugc_info_face{
    display: block;
    width: 220px;
    position: absolute;
    bottom: 0;
    left: 0px;
}
.ugc_info_face img{
    width: 100%;
    height: auto;
}

#info_box_2 .ugc_info_face{
    left: auto;
    right: 0;
}

#info_box_2 .ugc_info_btn > div > div {
    float: left;
    margin:0 0 0 30px;
}
@media screen and (max-width: 900px) {
    ul.ugc_list > li.ugc_info_box{
        min-height: auto;
        width: calc(100% - 20px) !important;
        margin: 10px;
    }
    .ugc_info_btn{
        min-height: 100px;
    }
    .ugc_info_btn > div > div{
    display: block;
    width: 200px
    }
    .ugc_info_face{
        width: 150px;
    }
}
@media screen and (max-width: 600px) {
    .ugc_info_btn{
        min-height: 85px;
    }
}
@media screen and (max-width: 400px) {
    .ugc_info_btn{
        min-height: 70px;
    }
    .ugc_info_btn > div > div{
        width: 150px;
    }
}

@media screen and (max-width: 600px) {
    /* .ugc_text_sub{
        flex-direction: column;
    } */
}


/* modal */
.modal-wrapper {
  z-index: 1001;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 10px;
  text-align: center
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 8000;
  position: relative;
  width: 85%;
  max-width: 400px;
  max-height: 100%;
  padding: 0px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle;
  text-align: left;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 9000;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.59);
  font-size: 30px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

.modal-wrapper .modal-close:hover {
  color: #fff !important;
  background: #000;
}
.modal_content{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 0px;
    border: 2px solid #000;
}

ul.ugc_img_loop{padding: 0 !important; margin: 0 !important;}
ul.ugc_img_loop li{padding: 0 !important; margin: 0 !important;}
ul.ugc_img_loop li img{width: 100% !important; height: auto;}




.ugc_x a{
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    padding: 3px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #000;
    background: #ffc600;
    -moz-border-radius:5px;
    border-radius:5px;
}

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

	.modal_content{display: block; padding-bottom: 0;}
}

.ugc_modal_top{
    padding: 3px 15px;
    border-bottom: #000 2px solid;
    display: flex;
    justify-content: space-between;
}
.ugc_modal_top > div{
    text-align: left;
}
.ugc_modal_img{
    border-bottom: #000 2px solid;
}
.ugc_modal_img img{width: auto; height: 100%;}
ul.ugc_img_loop {
    position: relative;
}
ul.ugc_img_loop .slick-prev,
ul.ugc_img_loop .slick-next{
    top: calc(20% - 20px);
    width: 40px;
    height: 40px;
}
ul.ugc_img_loop .slick-prev{
    left: 10px;
    z-index: 10;
}
ul.ugc_img_loop .slick-next{
    right: 10px;
    z-index: 10;
}
.slick-dots{bottom: 10px;}
.ugc_modal_terms{
    border-bottom: #000 2px solid;
    padding: 7px 15px 0px 15px;
}
.ugc_modal_terms a{
    background: #000;
    -moz-border-radius:20px;
    border-radius:20px;
    padding: 5px 10px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}
.ugc_user{
    border-bottom: #000 2px solid;
    padding: 15px;
}
.ugc_igarashi{
    border-bottom: #000 2px solid;
    display: flex;
}
.igarashi_face{
    width: 100px;
    border-right: 2px solid #000;
    padding: 15px;
    box-sizing: border-box;
}
.igarashi_text{
    width: calc(100% - 200px);
    padding: 15px;
    box-sizing: border-box;
}
.ugc_user h4, .ugc_igarashi h4{
    font-size: 20px;
    font-weight: 600;
}
.modal_nav{
    display: flex;
    justify-content: space-between;
}

.modal_close a{
    display: block;
    background: url(../images/ugc/modal_close_2.png)center center no-repeat;
    background-size: contain;
    width: 67px; height: 25px;
    overflow: hidden;
    text-indent: -200px;
    border-right: 2px solid #000;
}
.modal_prev_next{
    display: flex;
    background-size: contain;
    justify-content: flex-end;
    width: 50px; height: 25px;
}
.modal_prev a{
    display: block;
    background: url(../images/ugc/modal_prev.png)center center no-repeat;
    background-size: contain;
    width: 25px; height: 25px;
    border-left: 2ps solid #000;
    overflow: hidden;
    text-indent: -100px;
    border-left: 2px solid #000;
}
.modal_next a{
    display: block;
    background: url(../images/ugc/modal_next.png)center center no-repeat;
    background-size: contain;
    width: 25px; height: 25px;
    border-left: 2ps solid #000;
    overflow: hidden;
    text-indent: -100px;
    border-left: 2px solid #000;
}

#ugc_ranking_area h2{
    font-family: "Open Sans", sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #0a1464;
    margin-bottom: 7px;
    text-align: center;
    line-height: 120%;
    padding-bottom: 20px;
}

#ugc_ranking_area h2 small{
    font-family: Arial,"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 20px;
}
#ugc_ranking_area .ugc_img{
    margin-bottom: 7px;
}
.like_btn{
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/ugc/ugc_good_2.png) bottom center;
    background-size: contain;
    margin-bottom: -3px;
}
.ugc_description .like_btn{
    width: 30px;
    height: 30px;
    margin-bottom: -6px;
}
.ranking_img_bottom{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: -100px;
}
.ranking_img_left, .ranking_img_right{
    display: block;
    width: 200px;
}
.ranking_img_left img,
.ranking_img_right img{
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1200px) {
    .ranking_img_bottom{margin-top: 0px;}

}
.ugc_note{
    font-size: 10px;
    text-align: right;
    color: #555;
}

#ugc_try{
    background: #0a1464;
}
#ugc_try .sec_wrap{
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}
.try_img{width: 700px;}
.try_img img{width: 100%; height: auto;}
.try_text_area{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    padding-left: 60px;
    padding-top: 0;
}
.try_text{}
.try_text h2{
    font-family: "Open Sans", sans-serif;
    line-height: 100%;
    font-size: 60px;
    font-weight: 800;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
}
.try_text p{
    font-size: 26px;
    font-weight: 600;
}
.try_btn a{
    display: block;
    background: #ffba00;
    padding: 10px;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    color: #000;
    -moz-border-radius:40px;
    border-radius:40px;
}
@media screen and (max-width: 600px) {
    #ugc_try .sec_wrap{
        flex-direction: column;
    }
    .try_img{
        display: block;
        width: calc(100% - 30px);
        margin: 20px auto;
        float: none;
    }
    .try_text_area{
        padding: 0 15px;
    }
    .try_text h2{
        font-size: 40px;
    }
    .try_text p{
        font-size: 16px;
    }
    .try_btn a{
        margin-top: 20px;
    }
}