.outside-wrapper {
  background-color: #ffffffeb;
}

/* 
  TOPページ クーポンカルーセル
*/
.coupon-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3px;
}

.coupon-slide {
  flex: 0 1 calc(50% - 10px);
}

.coupon-slide:only-child {
  flex-basis: calc(50% - 10px);
}

.coupon-banner-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.coupon-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.coupon-card {
  border-radius: 8px 8px 0px 0px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.coupon-card-media {
  position: relative;
  padding-top: 20px;
}

.coupon-card-image {
  width: 100%;
  display: block;
  height: auto;
}

.coupon-card-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.coupon-card-badge {
  display: inline-block;
  position: absolute;
  top: 0;
  padding: 4px 8px;
  border-radius: 6px 6px 0 0;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}

.coupon-card-badge.member-only {
  background: red;
}

.coupon-card-badge.public {
  background: #436bc3;
}

.coupon-card-badge.expiring {
  background: #f44336;
  color: #fff;
}

.coupon-card-badge.left {
  left: 0;
}

.coupon-card-badge.right {
  right: 0;
  font-size: 10px;
}

.coupons-link {
  margin-top: 10px;
  margin-right: 1%;
  text-align: right;
}

@media screen and (min-width: 980px) {
  #top .rank_1,
  #top .rank_2,
  #top .rank_3 {
    background-size: 100%;
  }

  #top .user-deta {
    width: 550px;
    height: 324px;
  }

  #home-btn a i::before {
    font-size: 60px;
  }

  #home-btn {
    bottom: 20%;
  }

  .drawer-hamburger {
    top: auto;
    bottom: 15%;
  }

  #menuButton {
    top: 0;
  }

  #top .box.notice,
  #top .error_name,
  #top .prompt {
    width: 600px;
    margin: 0 auto 10px;
  }

  .top_rank .box {
    position: relative;
    bottom: -23px;
    width: 460px;
    float: right;
  }

  .about_rank .box p {
    float: right;
  }

  .about_rank .box p a,
  .coupons-link a {
    /* font-size: 30px;
    display: inline-block;
    margin: 10px;
    padding: 4px;
    background: #0a68b5;
    color: #FFF;
    text-decoration: underline;
    z-index: 1; */
    display: inline-block;
    position: relative;
    height: 50px;
    /*リボンの高さ*/
    line-height: 50px;
    /*リボンの高さ*/
    text-align: center;
    padding: 0 30px;
    /*横の大きさ*/
    padding-right: 5px;
    font-size: 30px;
    /*文字の大きさ*/
    background: #0a68b5;
    /*塗りつぶし色*/
    color: #fff;
    /*文字色*/
    text-decoration: underline;
    box-sizing: border-box;
  }

  .about_rank .box p a:before,
  .about_rank .box p a::after,
  .coupons-link a:before,
  .coupons-link a::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 0px;
    z-index: 1;
  }

  .about_rank .box p a:before,
  .coupons-link a:before {
    top: 0;
    left: 0;
    border-width: 25px 0px 25px 20px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
  }

  .about_rank .box p a i,
  .coupons-link a i {
    padding-right: 5px;
  }

  header h1 img {
    width: 285px;
  }

  header h1 {
    padding: 25px 0;
    margin-bottom: 0;
  }

  #index .login {
    width: 100%;
  }

  #index .login dl {
    overflow: hidden;
  }

  #index .login dl dt {
    width: 30%;
    float: left;
    line-height: 44px;
  }

  #index .login dl dd {
    float: left;
    width: 55%;
  }

  #index form {
    padding: 30px;
    background: white;
    border: 2px SOLID #4d74b7;
  }

  #index .login .info_point {
    border-radius: 0;
  }

  #index .login h2,
  #index aside h3 {
    margin: 0 0 30px;
    font-size: 22px;
  }

  #index aside {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border: 2px SOLID #4d74b7;
  }

  #index .submit-box input[type="submit"] {
    padding: 12px 80px;
    font-weight: bold;
  }

  #index aside p .join {
    padding: 20px 10px;
    font-weight: bold;
  }

  #index footer {
    margin-top: 100px;
  }

  #join #toggle dd,
  #index #toggle dd {
    display: block;
    border: none;
    border-bottom: 1px solid #4d74b7;
    width: 100%;
  }

  #join #toggle dd ul,
  #index #toggle dd ul {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: white;
  }

  #join #toggle dd ul li,
  #index #toggle dd ul li {
    display: inline-block;
    padding-right: 20px;
    border-bottom: none;
    letter-spacing: -0.05em;
    text-align: center;
  }

  #join #toggle dd ul li a:after,
  #index #toggle dd ul li a:after {
    content: "|";
    padding-left: 20px;
  }

  #join #toggle dd ul li:last-child a:after,
  #index #toggle dd ul li:last-child a:after {
    content: "";
  }

  #join header h1,
  #index header h1 {
    margin-bottom: 0;
  }

  #join #toggle dt,
  #index #toggle dt {
    display: none;
  }

  #join .box {
    width: 100%;
    margin: 1rem auto;
    background: #ffffffb8;
    border: solid 2px #b1b1b1;
    border-radius: 5px;
    padding: 1rem 0;
  }

  #join .box h2 {
    padding: 15px 0;
    font-size: 1rem;
  }

  #join .box dl dt {
    padding: 10px 0;
    font-size: 1rem;
  }

  #join .box h2 + p {
    padding: 10px 10px 20px;
    font-size: 1rem;
    line-height: 1.4;
  }

  #join form {
    background: rgba(255, 255, 255, 0.4);
  }

  #join .box dl dd {
    padding: 10px;
  }

  #join .box dl dd label {
    font-size: 1rem;
  }

  #join .box dl + p input[type="submit"] {
    height: 45px;
  }

  .wrapper {
    width: 1000px;
    margin: 0 auto;
  }

  .pagebody {
    width: 100%;
    margin: 0 auto;
  }

  /*  .is_top .pc_left{
    float: left;
    width: 47%;*/
  /*margin-left: 10px;*/
  /*}*/
  .box .menu {
    width: 100%;
    margin: 0 auto;
  }

  .is_top .pc_right {
    float: right;
    /*width: calc(100% - 330px);*/
    width: 47%;
    margin-top: -30px;
  }

  .box .menu li a img {
    width: 112px;
  }

  .menu_box.box {
    width: 100%;
    margin: auto;
    margin-top: 50px;
  }

  .menu_box.box h2 {
    padding: 10px;
    font-size: 1rem;
  }

  #top .box.newopen .new_inner {
    padding: 0;
  }

  #top .taiken_movie {
    width: 100%;
  }

  #top .taiken_movie h2 {
    font-size: 1.2em;
    padding: 15px 10px;
  }

  #top .taiken_movie .more {
    font-size: 30px;
  }

  #top .taiken_movie .more .arrow {
    position: relative;
    padding-left: 23px;
  }

  #top .taiken_movie .more .arrow::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: solid 11px transparent;
    border-left: solid 14px #fff;
    top: 40%;
    margin-top: -5px;
  }

  .line_bnr {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
  }

  .signout {
    text-align: center;
    height: 65px;
  }

  input#signout {
    width: auto;
    margin-right: 3%;
    /*display: none;*/
  }

  /*20181103、#shop .box h2 を追加。伊藤.K */
  #line .box h2,
  #shop .box h2,
  #mail-magazine .box h2 {
    padding: 15px 10px;
    font-size: 1rem;
  }

  #mail-magazine .box h2 + p {
    margin: 10px 0 10px;
    font-size: 1rem;
  }

  #mail-magazine .box p {
    margin: 10px 0 10px;
    font-size: 1rem;
  }

  #mail-magazine .box h3 {
    padding: 10px;
  }

  .drawer-open #menuButton.active {
    bottom: auto;
    top: 0;
  }

  .drawer .drawer-hamburger,
  .drawer-close .drawer-hamburger {
    right: 15%;
  }

  .drawer-open .drawer-hamburger {
    bottom: auto;
    top: 0;
  }

  #home-btn {
    left: 9%;
  }

  .area {
    padding: 10px;
    font-size: 1rem;
  }

  #movie .area {
    font-size: 1.4em;
  }

  #foot_menu.menu_box.box h2 {
    margin-bottom: 10px;
  }

  .box h2 {
    padding: 15px 10px;
  }

  #history .box {
    background: rgba(255, 255, 255, 0.4);
  }

  #history .box h2 + p {
    font-size: 1rem;
    padding: 10px 10px 0;
  }

  #user-edit .pagebody,
  #girls-mailmaga .pagebody {
    /*background:rgba(255, 255, 255, 0.4);*/
  }

  #user-edit p {
    /* padding: 10px 10px 0;
      font-size: 1rem;*/
    line-height: 1.4;
  }

  #user-edit .user-deta dd,
  #user-edit .user-deta dt {
    padding: 10px;
  }

  #user-edit .user-deta dd {
    font-size: 1rem;
  }

  #girls-mailmaga p {
    /*padding: 10px;*/
  }

  #help .box p {
    padding: 10px 10px 0;
    font-size: 1rem;
  }

  #help .box .ac-menu ul li,
  #help .box label {
    font-size: 1rem;
  }

  #shop .box h3 {
    padding: 10px;
  }

  #contact .box h3 {
    padding: 10px;
  }

  #contact .box dl {
    width: 100%;
  }

  #contact .box dl dt {
    padding: 8px;
  }

  #top .notice h2 {
    padding: 0 0 4px;
  }

  .line_bnr02 {
    display: none;
  }

  .yuuryou-banner02 {
    display: none;
  }

  .htmlelm_login_user {
    font-size: 1.1em;
    text-align: right;
    margin: -1.2em 0.2em 2.5em 0;
    font-family: メイリオ, Osaka, "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3";
    /* position: relative; */
    /* top: -36px; */
  }

  #law .box p {
    margin: 20px;
    font-size: 16px;
  }

  #top .box.newopen {
    margin-bottom: 50px;
  }

  #top .box.newopen img {
    width: 980px;
  }

  #announcer {
    right: 20%;
    top: 50px;
  }

  #announcer i {
    font-size: 35px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
  input#signout {
    /*display: none;*/
  }

  #toggle dd {
    padding: 0px;
  }

  #join #toggle dd ul li,
  #index #toggle dd ul li {
    padding-right: 10px;
  }

  #join #toggle dd ul li a:after,
  #index #toggle dd ul li a:after {
    padding-left: 10px;
  }

  #index .login {
    margin: 30px 10px 20px;
    width: auto;
  }

  #index aside {
    width: auto;
    margin: 0 10px;
  }

  #top .user-deta {
    width: 550px;
  }

  #top .box.notice,
  #top .error_name,
  #top .prompt {
    width: 97%;
  }

  .about_rank {
    width: 97%;
    margin: 0 auto;
  }

  .about_rank .prompt {
    width: 100% !important;
  }

  .line_bnr {
    text-align: center;
  }

  #top .user-deta + .box p:nth-of-type(1) a {
    margin: 50px 10px 10px 10px;
  }

  #menu-trigger {
    position: relative;
    bottom: -4px;
    right: -25px;
    margin-bottom: 10px;
    transform: scale(1.1, 1.1);
  }

  #menu-trigger p {
    margin-bottom: -15px;
    margin-left: -60px;
  }

  #top .box.newopen {
    margin: -4px auto 15px;
  }

  .htmlelm_login_user {
    position: relative;
    bottom: 30px;
    font-size: 1.2em;
    display: block;
    width: 100%;
    right: auto;
    margin: 1.2em 0.2em 1.5em 0;
    text-align: right;
  }

  #top .taiken_movie .more .arrow {
    position: relative;
    padding-left: 23px;
  }

  #top .taiken_movie .more .arrow::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: solid 11px transparent;
    border-left: solid 14px #fff;
    top: 40%;
    margin-top: -5px;
  }

  #top .box.newopen {
    margin-bottom: 50px;
  }

  #top .box.newopen img {
    width: 980px;
  }

  #announcer {
    right: 15%;
    top: 50px;
  }

  #announcer i {
    font-size: 35px;
  }
}

@media screen and (min-width: 981px) {
  #home-btn,
  .drawer .drawer-hamburger,
  .drawer-close .drawer-hamburger,
  .drawer-nav {
    display: none;
  }

  .drawer--right .drawer-nav {
    position: fixed;
    top: 50px;
    right: 0px;
    width: 400px;
    height: 1100px;
    /*margin-left: 410px;*/
    padding: 0;
    overflow: hidden;
    background: white;
    margin-bottom: 30px;
    z-index: 4;
  }

  #top .drawer--right .drawer-nav {
    margin-bottom: 10px;
  }

  .drawer-menu-box {
    /*width: 1050px;*/
    margin: 0 auto;
  }

  .drawer-nav .drawer-menu-box > ul {
    text-align: left;
    list-style: none;
  }

  .drawer-nav .drawer-menu-box > ul > li {
    /*display: inline-block;*/
    border-bottom: 0;
    padding: 0 0 4px 4px;
    font-weight: bold;
    font-size: 15px;
    border-left: solid 10px #507bc4;
    border-bottom: solid 1px #507bc4;
    margin-bottom: 5px;
    /* padding: 10px; */
  }

  .drawer-nav .drawer-menu-box h2 {
    display: none;
  }

  .drawer-menu-box {
    padding-top: 0;
  }

  /*  .drawer-nav .drawer-menu-box > ul > li:after{
    content: '|';
    display: inline-block;
    position: static;
    width: 0;
    height: auto;
    padding: 0 5px;
    }*/
  .drawer-nav .drawer-menu-box > ul > li:last-child:after {
    content: "";
  }

  .drawer-nav .drawer-menu-box > ul > li > a {
    display: inline-block;
    letter-spacing: -0.5px;
  }

  .drawer-nav .drawer-menu-box > ul > li > a img {
    display: none;
  }

  .drawer-nav .drawer-menu-box > ul > li i {
    display: none;
  }

  .drawer-nav .drawer-menu-box > ul > li .pc_hidden {
    display: none;
  }

  .drawer-nav .drawer-menu-box > ul > li.pc_hidden {
    display: none;
  }

  .pagebody {
    width: 800px;
    /*width: 460px;*/
  }

  /*    .is_top .pc_left{
      width: 49%;
      float: left;
    }
    .is_top .pc_right{
      width: 49%;
      }*/
  .menu_box.box {
    width: 980px;
  }

  .menu_box.box {
    width: 980px;
  }

  #top .box.notice,
  #top .error_name,
  #top .prompt {
    width: 100%;
  }

  #index .login {
    width: 900px;
  }

  #index .info_point {
    width: 900px;
  }

  #index .kaiintouroku {
    width: 900px;
  }

  #index aside {
    width: 900px;
  }

  #join #toggle dd ul,
  #index #toggle dd ul {
    width: 900px;
  }

  #join .box {
    width: 900px;
    margin: 1rem auto;
  }

  #top .timeVs {
    padding: 15px 0;
    text-align: center;
    margin: 0px 0 4px;
  }

  #top .top-rank-wrap {
    position: relative;
    margin-top: 0;
    top: 0;
  }

  #top .top-rank-wrap.has-timevs {
    margin-top: 6px;
  }

  #top .top-rank-wrap.has-coupons {
    margin-top: 12px;
  }

  #top .top-rank-wrap .top_rank {
    margin-top: 0;
  }

  .menu-trigger {
    top: 20px;
  }
}

@media only screen and (min-width: 768) and (max-width: 1204px) {
  .drawer .drawer-hamburger,
  .drawer-close .drawer-hamburger {
    right: 10%;
  }

  .fixed-bnr {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    transition: bottom 0.5s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
  }

  #home-btn {
    left: 5%;
  }

  .drawer--right .drawer-nav {
    position: fixed;
    top: 30px;
    right: 0px;
    width: 400px;
    height: 1100px;
    /*margin-left: 410px;*/
    padding: 0;
    overflow: hidden;
    background: white;
    margin-bottom: 30px;
    z-index: 4;
  }

  .drawer-menu-box {
    padding-top: 0;
    width: 100%;
    overflow-y: scroll;
  }

  #top .taiken_movie .more .arrow {
    position: relative;
    padding-left: 23px;
  }

  #top .taiken_movie .more .arrow::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: solid 11px transparent;
    border-left: solid 14px #fff;
    top: 40%;
    margin-top: -5px;
  }

  .htmlelm_login_user {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 980px) {
  img.img-custom {
    width: 70% !important;
  }

  .drawer .drawer-hamburger,
  .drawer-close .drawer-hamburger {
    right: 0%;
  }

  #home-btn {
    left: 0;
  }

  #top .user-deta {
    height: 320px;
    margin-top: -4px;
  }

  header:after {
    left: 0;
    height: 27px;
  }

  .pagebody {
    /* margin-top: 20px; */
  }

  #top .taiken_movie .more {
    font-size: 30px;
  }
}

@media screen and (min-width: 1600px) {
  .drawer .drawer-hamburger,
  .drawer-close .drawer-hamburger {
    right: 25%;
  }

  #home-btn {
    left: 18%;
  }
}

/*@media screen and (max-width:767px){*/
#movie.time_vs .left_img,
#movie.time_vs .right_txt {
  float: none;
  width: 100%;
  margin-left: 0;
  margin-bottom: 10px;
}

#movie.time_vs .area_inner {
  padding: 0 5px;
}

header .login_his {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 0.7em;
}

.is_top .login_his {
  display: block;
  font-size: 0.8em;
  text-align: center;
  padding-bottom: 5px;
}

#home-btn {
  left: 0;
  bottom: 3px;
}

h1 .img-responsive {
  margin-top: 5%;
  margin-bottom: 30px;
}

header h1 {
  padding: 5px 0 7px;
}

.movie-frame {
  position: relative;
}

.limit-background {
  min-height: 400px;
}

.limit-background img {
  width: 100%;
  filter: blur(5px);
}

.premium-regist-flex {
  border-radius: 5px;
  border: solid 2px #0a68b5;
  width: 40%;
  translate: 0 50;
  transform: translate(-50%, -50%);
  padding: 2rem;
  top: 40%;
  left: 50%;
  text-align: center;
  position: absolute;
  z-index: 1;
  background: #ffffffa3;
}

.premium-regist-flex a {
  margin-top: 1em;
  background: #0a68b5;
  color: #fff;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  display: inline-block;
  line-height: 1.4;
}

@media screen and (min-width: 981px) {
  body {
    margin-bottom: 100px;
  }

  .footer-menu {
    text-align: center;
    font-size: 11px;
    color: #507bc4;
    background-color: white;
    width: 100%;
    height: 100px;
    /*margin: 0px auto;*/
    /*margin-left: -400px;*/
    padding: 15px;
    position: fixed;
    bottom: 0;
    /*left: 50%;*/
    z-index: 100;
  }

  .footer-menu div {
    display: inline-block;
    text-align: center;
    width: 100px;
    margin-left: 10px;
    margin-right: -10px;
    margin-top: -10px;
  }

  .footer-menu img {
    width: 60%;
  }

  #top .footer-fixed {
    position: fixed;
    bottom: 104px;
  }

  #menu-trigger {
    position: relative;
    bottom: 0px;
    right: 30px;
  }

  #menu-trigger p {
    margin-left: 43px;
  }

  .about_rank {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .img-custom {
    width: 70% !important;
  }

  h1 .img-responsive {
    margin-bottom: 0px;
  }

  #top .footer-fixed div .footer-info {
    height: 150px !important;
  }
}

a {
  text-align: center;
}

#img-res {
  width: 63%;
  height: 63%;
}

.ranking_table .rank.r_1,
.ranking_table .rank.r_2,
.ranking_table .rank.r_3 {
  background-size: 92%;
}

#top .footer-fixed div .footer-info {
  height: auto;
}

#top .footer-fixed div .footer-info img {
  height: auto;
}

.premium-cancel {
  text-align: right;
  margin-top: 1em;
}

@media screen and (max-width: 500px) {
  body {
    margin-bottom: 67px;
  }

  .footer-menu {
    font-size: 11px;
    height: 67px;
    padding: 10px 5px 68px 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1111;
  }

  .footer-menu p:nth-of-type(1) {
    width: 105%;
    position: relative;
    left: -2px;
  }

  .footer-menu div:nth-child(4) p {
    font-size: 9px;
    left: -2px;
  }

  .footer-menu p:nth-of-type(2) {
    width: 77px;
    margin-left: -1px;
  }

  #slide_menu {
    position: fixed;
    bottom: 72px;
  }

  .menu-trigger {
    top: 26px;
  }

  .footer-menu img {
    width: 60%;
  }

  footer .footer-fixed {
    bottom: 66px;
  }

  #top .user-deta {
    height: 211px;
    top: 13px;
  }

  .top_rank {
    /* height: 250px; */
    height: 231px;
    margin-bottom: 5px;
  }

  .about_rank .box p {
    float: right;
  }

  .about_rank .box p a {
    display: inline-block;
    position: relative;
    height: 30px;
    /*リボンの高さ*/
    line-height: 30px;
    /*リボンの高さ*/
    text-align: left;
    padding: 0 25px;
    /*横の大きさ*/
    padding-right: 5px;
    font-size: 16px;
    /*文字の大きさ*/
    background: #0a68b5;
    /*塗りつぶし色*/
    color: #fff;
    /*文字色*/
    text-decoration: underline;
    box-sizing: border-box;
    /* width: 210px; */
  }

  .about_rank .box p a:before,
  .about_rank .box p a::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 0px;
    z-index: 1;
  }

  .about_rank .box p a:before {
    top: 0;
    left: 0;
    border-width: 15px 0px 15px 15px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
  }

  .about_rank .box p a i {
    padding-right: 5px;
  }

  .box {
    margin-bottom: 2px;
  }

  .box p i {
    padding-right: 5px;
  }

  #top .user-deta + .box p:nth-of-type(1) a {
    font-size: 17px;
    margin-top: 54px;
  }

  #top .user-deta p {
    font-size: 13px !important;
  }

  #top .user-deta p:nth-of-type(1) {
    right: 34%;
    font-size: 14px !important;
  }

  #top .user-deta p:nth-of-type(4) {
    font-size: 13px;
    top: 85%;
  }

  #top .user-deta p:nth-of-type(5) {
    top: 5%;
  }

  #top .fupoint-plus {
    top: 19%;
  }

  #top #expire_point {
    top: 51%;
  }

  #top #upcoming_get_point {
    top: 67%;
  }

  #top .user-deta p#expire_point,
  #top .user-deta #expire_point_value {
    font-size: 13px !important;
  }

  #top .user-deta p#upcoming_get_point,
  #top .user-deta #upcoming_get_point_value {
    font-size: 13px !important;
  }

  #top .user-deta #normal_point_value,
  #top .user-deta #expire_point_value,
  #top .user-deta #upcoming_get_point_value {
    line-height: 1.5;
  }

  #top .taiken_movie .more {
    font-size: 23px;
  }

  .line_bnr {
    display: none;
  }

  .yuuryou-banner {
    display: none;
  }

  #menu-trigger {
    position: relative;
    bottom: -15px;
    right: -30px;
    margin-top: -48px;
    transform: scale(0.7, 0.7);
  }

  #menu-trigger p {
    margin-left: -45px;
    font-size: 18px;
  }

  .htmlelm_login_user {
    margin: -1em 0.2em 2.5em 0 !important;
    text-align: right;
  }

  .about_rank {
    margin-right: 1%;
  }

  #top .notice p {
    float: right;
    text-decoration: none !important;
  }

  #top .taiken_movie h2 {
    font-size: 1em !important;
  }

  #top .taiken_movie .more .arrow {
    position: relative;
    padding-left: 15px;
  }

  #top .taiken_movie .more .arrow::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: solid 11px transparent;
    border-left: solid 14px #fff;
    top: 40%;
    margin-top: -5px;
  }

  #top .movie-thumb {
  position: relative;
  display: block;
}

  #top .movie-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

  #top .movie-thumb .play-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
}

  #top .movie-thumb .play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}

  .footer-menu {
    font-size: 15px;
    color: #507bc4;
    background-color: white;
    width: 100%;
    margin-bottom: 0px;
    padding: 5px 5px 5px 5px;
    position: fixed;
    bottom: 0px;
    left: 0;
  }

  .footer-menu div {
    width: 24%;
    display: inline-block;
    text-align: center;
    width: 19%;
    white-space: nowrap;
  }

  .menu-trigger {
    top: 42px;
  }

  #top .footer-fixed {
    position: fixed;
    bottom: 60px;
  }

  .htmlelm_login_user {
    margin: 0em 0.2em 0.5em 0 !important;
    padding-right: 10px;
  }

  .box p i {
    padding-right: 5px;
  }

  .menu-item-sp {
    width: 24%;
    position: relative;
    display: inline-block;
    text-align: center;
    display: inline-table;
    margin: 1%;
  }

  input#signout {
    position: absolute;
    right: 27px;
  }

  .premium-cancel {
    text-align: right;
  }
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
  /* ipad fix */

  input#signout {
    position: absolute;
    right: 113px;
  }
}

/*タブレットサイズ以上用*/
@media screen and (min-width: 501px) {
  .line_bnr02 {
    display: none;
  }

  .yuuryou-banner02 {
    display: none;
  }

  .is_top .pc_left {
    width: 49%;
    float: left;
  }

  .is_top .pc_right {
    width: 49%;
    float: right;
  }

  .top_rank {
    /* margin-bottom: 60px; */
    height: auto;
    padding: 20px 0 10px;
  }

  .about_rank .box p {
    float: right;
  }

  .about_rank .box p a,
  .coupons-link a {
    display: inline-block;
    position: relative;
    height: 30px;
    /*リボンの高さ*/
    line-height: 30px;
    /*リボンの高さ*/
    text-align: left;
    padding: 0 25px;
    /*横の大きさ*/
    padding-right: 5px;
    font-size: 16px;
    /*文字の大きさ*/
    background: #0a68b5;
    /*塗りつぶし色*/
    color: #fff;
    /*文字色*/
    text-decoration: underline;
    box-sizing: border-box;
    /* width: 210px; */
  }

  .about_rank .box p a:before,
  .about_rank .box p a::after,
  .coupons-link a:before,
  .coupons-link a::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 0px;
    z-index: 1;
  }

  .about_rank .box p a:before,
  .coupons-link a:before {
    top: 0;
    left: 0;
    border-width: 15px 0px 15px 15px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
  }

  .about_rank .box p a i,
  .coupons-link a i {
    padding-right: 5px;
  }

  .box p i {
    padding-right: 5px;
  }

  #top .taiken_movie .more .arrow {
    position: relative;
    padding-left: 15px;
  }

  #top .taiken_movie .more .arrow::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: solid 11px transparent;
    border-left: solid 14px #fff;
    top: 40%;
    margin-top: -5px;
  }

  .line_bnr {
    text-align: center;
  }

  .yuuryou-banner {
    text-align: center;
  }

  #announcer {
    right: 15%;
    top: 50px;
  }

  #announcer i {
    font-size: 35px;
  }
}

@media screen and (max-width: 500px) {
  body {
    margin-bottom: 78px;
  }

  .footer-menu {
    font-size: 11px;
    height: 67px;
    padding: 10px 5px 68px 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1111;
  }

  .footer-menu p:nth-of-type(1) {
    width: 105%;
    position: relative;
    left: -2px;
  }

  .footer-menu div:nth-child(4) p {
    font-size: 9px;
    left: -2px;
  }

  .footer-menu p:nth-of-type(2) {
    width: 77px;
    margin-left: -1px;
  }

  .menu-trigger {
    top: 26px;
  }

  .footer-menu img {
    width: 60%;
  }

  footer .footer-fixed {
    bottom: 66px;
  }

  #top .user-deta {
    height: 186px;
    top: 13px;
  }

  .top_rank {
    /* height: 250px; */
    height: 208px;
    margin-bottom: 5px;
  }

  .about_rank .box p {
    float: right;
  }

  .about_rank .box p a,
  .coupons-link a {
    display: inline-block;
    position: relative;
    height: 30px;
    /*リボンの高さ*/
    line-height: 30px;
    /*リボンの高さ*/
    text-align: left;
    padding: 0 25px;
    /*横の大きさ*/
    padding-right: 5px;
    font-size: 16px;
    /*文字の大きさ*/
    background: #0a68b5;
    /*塗りつぶし色*/
    color: #fff;
    /*文字色*/
    text-decoration: underline;
    box-sizing: border-box;
    /* width: 210px; */
  }

  .about_rank .box p a:before,
  .about_rank .box p a::after,
  .coupons-link a:before,
  .coupons-link a::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 0px;
    z-index: 1;
  }

  .about_rank .box p a:before,
  .coupons-link a:before {
    top: 0;
    left: 0;
    border-width: 15px 0px 15px 15px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
  }

  .about_rank .box p a i,
  .coupons-link a i {
    padding-right: 5px;
  }

  .box {
    margin-bottom: 2px;
  }

  .box p i {
    padding-right: 5px;
  }

  #top .user-deta + .box p:nth-of-type(1) a {
    font-size: 17px;
    margin-top: 54px;
  }

  #top .user-deta p {
    font-size: 13px !important;
  }

  #top .user-deta p:nth-of-type(1) {
    right: 34%;
  }

  #top .user-deta p:nth-of-type(4) {
    font-size: 13px;
    top: 85%;
  }

  #top .user-deta p:nth-of-type(5) {
    top: 5%;
  }

  #top .user-deta p#normal_point,
  #top .user-deta #normal_point_value {
    font-size: 12px !important;
  }

  #top .user-deta p#expire_point,
  #top .user-deta #expire_point_value {
    font-size: 12px !important;
  }

  #top .user-deta p#upcoming_get_point,
  #top .user-deta #upcoming_get_point_value {
    font-size: 12px !important;
  }

  #top .user-deta #normal_point_value,
  #top .user-deta #expire_point_value,
  #top .user-deta #upcoming_get_point_value {
    line-height: 1.5;
  }

  #top .taiken_movie .more {
    font-size: 23px;
  }

  .line_bnr {
    display: none;
  }

  .yuuryou-banner {
    display: none;
  }

  #menu-trigger {
    position: relative;
    bottom: -15px;
    right: -30px;
    margin-top: -48px;
    transform: scale(0.7, 0.7);
  }

  #menu-trigger p {
    margin-left: -45px;
    font-size: 18px;
  }

  .htmlelm_login_user {
    margin-left: auto !important;
    text-align: right;
  }

  .about_rank {
    margin-right: 1%;
  }

  #top .notice p {
    float: right;
    text-decoration: none !important;
  }

  #top .taiken_movie h2 {
    font-size: 1em !important;
  }

  #top .taiken_movie .more .arrow {
    position: relative;
    padding-left: 15px;
  }

  #top .taiken_movie .more .arrow::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: solid 11px transparent;
    border-left: solid 14px #fff;
    top: 40%;
    margin-top: -5px;
  }

  #top .error_name {
    width: 98%;
  }

  #must {
    width: 98%;
    margin: 10px auto;
    margin-bottom: 2px;
  }

  .prompt {
    font-size: small;
    width: 100% !important;
  }

  .menu-item-sp {
    width: 30%;
    position: relative;
    display: inline-block;
    text-align: center;
  }

  #top .box.newopen .new_inner {
    padding: 5px 0;
  }

  #index .login .red_point {
    padding: 5px;
  }

  .top-slideshow a {
    display: inline;
  }

  .banner-slider .banner-slider-img {
    max-width: 80%;
  }

  .banner-slider .slick-next {
    right: 3%;
  }

  .banner-slider .slick-prev {
    left: 1%;
  }

  .top-slideshow .slick-prev {
    left: 3% !important;
  }

  .movie_viewed {
    right: -10px;
  }

  .limit-background {
    min-height: 300px;
  }

  .limit-background img {
    height: 300px;
  }

  .premium-regist-flex {
    width: 70%;
    margin-top: 10%;
    padding: 1em;
  }

  #mail-magazine .box p {
    margin: 10px 0 10px;
  }

  .padding-2 {
    padding: 0.5em;
  }

  #friend .friend-intro__reward {
    min-width: 100%;
  }

  #friend .friend-intro__reward-point {
    font-size: 20px;
  }

  #announcer {
    right: 5%;
    top: 35px;
  }

  #announcer i {
    font-size: 35px;
  }
}

@media screen and (max-width: 280px) {
  .footer-menu div {
    width: 18%;
  }
}

#slide_menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 90px;
  width: 100%;
  max-width: none;
  height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 24px 20px 32px;
  background-color: #fff;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 -12px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

@media (max-width: 768px) {
  #slide_menu {
    bottom: 78px;
    height: calc(100vh - 78px);
    padding: 20px 16px 28px;
  }
}

@media (max-width: 480px) {
  #slide_menu {
    bottom: 72px;
    height: calc(100vh - 72px);
    padding: 16px 12px 24px;
    border-radius: 0 0 18px 18px;
  }
}

@media (min-width: 1024px) {
  #slide_menu {
    bottom: 110px;
    height: calc(100vh - 110px);
    padding-top: 32px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.user-edit {
  background-color: rgb(255 255 255 / 90%);
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  padding: 10px;
}

@media screen and (max-width: 320px) {
  body {
    margin-bottom: 78px;
  }

  .footer-menu {
    font-size: 1px;
    height: 67px;
    padding: 10px 5px 68px 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 11;
  }
}

body {
  text-size-adjust: 100% !important;
  -webkit-text-size-adjust: 100% !important;
  /*Chrome,Safari*/
  -ms-text-size-adjust: 100% !important;
  /*EgdeMobile*/
  -moz-text-size-adjust: 100% !important;
}

* {
  max-height: 999999px;
}

.footer-menu div {
  /* border-right: solid;
  border-right-width: 2px; */
  position: relative;
}

.footer-right-border {
  position: absolute;
  bottom: 31%;
  right: -2px;
  height: 46%;
  border-right: 2px solid;
}

.footer-menu :last-child div {
  border: none;
}

div#menu-trigger {
  border: none !important;
}

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
  /* 最小幅641pxおよび最大幅1024px、タブレット専用のスタイル */
  .footer-girls-mailmaga-png {
    width: 64px;
    height: 64px;
  }
}

p {
  margin-top: 0;
  margin-bottom: 0rem !important;
}

.text-decoration-none {
  text-decoration: none;
}

.text-white {
  color: white;
}

.luckynum-expl {
  margin-top: 1em !important;
  text-align: center;
}

.luckynum-expl h3 {
  font-size: 1rem;
}

.luckynum-expl h3 span {
  text-decoration: underline;
}

.luckynum-expl .mt-1 {
  margin-top: 0.5em;
}

.luckynum-expl .mt-2 {
  margin-top: 1em;
}

.luckynum-expl .point {
  font-size: 1rem;
  font-weight: 900;
  color: red;
}

.sp-br {
  display: none;
}

/* 768px以下で改行を有効にする */
@media screen and (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

.sec-footer-banner {
  text-align: center;
}

#top .wrapper {
  position: relative;
}

#announcer {
  position: absolute;
  z-index: 3;
}

#announcer a {
  position: relative;
  display: inline-block;
  color: #3b5998;
}

.bell-wiggle {
  transform-origin: top center;
  animation: bell-wiggle 1s ease-in-out infinite;
}

.bell-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  right: -6px;
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  font-weight: bold;
  z-index: 2;
  transform: translateZ(0);
  animation: dot-pop 1.2s ease-in-out infinite;
}

.menu-icon {
  position: relative;
  display: inline-block;
  margin-right: 4px;
}

.footer-icon {
  position: relative;
  display: inline-block;
}

.profile-icon-sway {
  transform-origin: center center;
  animation: profile-icon-sway 1s ease-in-out infinite;
}

.menu-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 53px;
  height: 20px;
  padding: 0 7px;
  background-color: #ef4444;
  border-radius: 999px;
  border: 1px solid #fff;
  position: absolute;
  top: -3px;
  right: -6px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  font-weight: bold;
  z-index: 2;
  transform: translate(-10%, 20%) scale(0.92);
  opacity: 0;
  animation: menu-dot-appear 0.35s ease-out forwards, menu-dot-shake 3s ease-in-out 0.35s infinite;
}

.bell-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 75, 75, 0.45);
  z-index: -1;
  animation: dot-ping 1.2s ease-out infinite;
}

.menu-dot::before {
  content: none;
}

.bell-dot::after,
.menu-dot::after {
  content: "!";
}

.menu-dot::after {
  content: "未完了";
}

@keyframes bell-wiggle {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes profile-icon-sway {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

@keyframes menu-dot-appear {
  from {
    transform: translate(-10%, calc(20% - 2px)) scale(0.92);
    opacity: 0;
  }
  to {
    transform: translate(-10%, 20%) scale(1);
    opacity: 1;
  }
}

@keyframes menu-dot-shake {
  0%,
  78%,
  100% {
    transform: translate(-10%, 20%) rotate(0deg);
  }
  82% {
    transform: translate(-10%, 20%) rotate(-8deg);
  }
  86% {
    transform: translate(-10%, 20%) rotate(8deg);
  }
  90% {
    transform: translate(-10%, 20%) rotate(-6deg);
  }
  94% {
    transform: translate(-10%, 20%) rotate(6deg);
  }
}

@keyframes dot-pop {
  0%,
  100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.25);
  }
  45% {
    transform: scale(0.95);
  }
}

@keyframes dot-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.1);
    opacity: 0;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.unread-counter {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 4px;
  background-color: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  right: -10px;
  text-align: center;
  z-index: 2;
  transform: translateZ(0);
}
.unread-counter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 75, 75, 0.45);
  z-index: -1;
  animation: dot-ping 1.2s ease-out infinite;
}

.tabs {
  overflow: hidden;
  background-color: #f1f1f1;
  display: flex;
}

.tab-button {
  width: 50%;
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 16px;
  transition: background-color 0.3s;
  font-size: 17px;
}

.tab-button:hover {
  background-color: #ddd;
}

.tab-button.active {
  background-color: #3e537f;
  color: #fff;
}

.tab-content {
  display: none;
  padding: 10px;
  border-top: none;
}

.ippon_text {
  text-align: center;
  border: solid 2px #ff7272;
  font-size: 1.2rem;
}

.d-block {
  display: block;
}

.menu-item-sp p {
  white-space: nowrap;
}
