@media only screen and (max-width: 767px) {
  *:focus {
    outline: none;
  }

  html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
  }

  body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    color: #303030;
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  }

  a {
    text-decoration: none;
    color: #ff8f00;
  }

  .cih {
    color: inherit;
  }

  div, p, input, select, textarea, button, td {
    box-sizing: border-box;
  }

  input, select, textarea {
    padding: 5px;
    background-color: #fff;
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    border: 1px solid #ff8f00;
    border-radius: 3px;
  }

  input[type="file"] {
    font-size: 0.8em;
  }

  input[type="submit"] {
    background-color: #ff8f00;
    color: #fff;
  }

  input[type="submit"]:hover {
    background-color: #fff;
    color: #303030;
  }

  input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0px;
    vertical-align: middle;
    border: 1px solid #ff8f00;
    border-radius: 3px;
  }

  input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0px;
    vertical-align: text-bottom;
    border: 1px solid #ff8f00;
    border-radius: 3px;
  }

  textarea {
    height: 100px;
  }

  hr {
    margin: 10px 0px;
    border: none;
    border-top: 1px solid #ff8f00;
  }

  hr.dot {
    border-top: 1px dotted #ff8f00;
  }

  hr.ns {
    margin: 0px;
  }

  hr.bg {
    border-top: 1px solid #c0c0c0;
  }

  hr.dot_g {
    border-top: 1px dotted #909090;
  }

  table {
    border-collapse: collapse;
  }

  ul {
    margin: 0px;
  }

  button {
  cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currentlysupported by Chrome and Opera */
  }

  img {
    width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    vertical-align: top;
  }


/*
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
  }

  .modal_inner {
    width: 95%;
    max-width: 400px;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
  }
*/
  .modal_title {
    padding: 3px 5px;
    /*
    background-color: #607d8b;
    color: #fff;
    */
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 3px;
  }

  .modal2 {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 98;
  }

  .modal_inner2 {
    width: 90%;
    padding: 10px;
    background-color: #fff;
    border-radius: 3px;
  }

  .icon_modal {
    width: 20px;
  }

  .download_wrap, .modal_form_wrap {
    position: relative;
  }

  .modal_form {
    max-width: 300px;
    margin: 15px auto 0px auto;
    text-align: left;
  }

  .modal_form input {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  .modal_form input[type="checkbox"] {
    width: 15px;
    height: 15px;
    display: inline;
    margin: 0px;
    vertical-align: middle;
  }

  .signup_btn {
    opacity: 0.5;
  }

  .dl_logo {
    padding: 30px;
  }

  .dl_logo img {
    border: 1px solid #c0c0c0;
    border-radius: 5px;
  }

  .close_btn {
    position: absolute;
    top: 0px;
    right: 0px;
  }

  .close_btn img {
    width: 20px;
  }

  .signup_form {
    width: 300px;
    margin: 15px auto 0px auto;
    text-align: left;
  }

  .signup_form input[type="text"] {
    width: 100%;
  }

  .mini_link {
    font-size: 0.8em;
    font-weight: bold;
    color: #ff8f00;
  }

  .err_message {
    font-weight: bold;
    color: #cc0000;
  }

  .icon_box {
    padding: 5px;
  }

  .icon_box img {
    width: 22px;
    height: 22px;

  }


  /* ラッパー */
  #wrapper {
    position: relative;
    min-height: 100vh;
  }

  /* ヘッダー */
  #header {
    position: sticky;
    top: 0;
    left: 0;
    height: 85px;
    background-color: #fff;
    z-index: 999;
  }

  /* メイン */
  #main {
    position: relative;
    width: 100%;
  }

  /* フッター */
  #footer {
    position: relative;
    padding: 10px;
    background-color: #303030;
    color: #fff;
    text-align: center;
  }

  /* メニュー */
  #menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    margin-left: -260px;
    padding-top: 100px;
    background-color: #fff;
    /* z-index: 990; */
    z-index: 8;
    transition-duration: 0.5s;
  }

  /* ライバーメニュー */
  #liver_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    margin-right: -260px;
    padding-top: 100px;
    background-color: #fff;
    z-index: 8;
    transition-duration: 0.5s;
  }

  a.menu_btn {
    color: #303030;
    transition-duration: 0.3s;
  }

  a.menu_btn:hover {
    color: #ff8f00;
  }

  a.menu_btn.selected {
    color: #ff8f00;
  }

  select.border_y {
    padding: 5px 20px;
    border: 3px solid #ff8f00;
    border-radius: 100px;
  }

  .round.border_y {
    padding: 5px 20px;
    border: 3px solid #ff8f00;
    border-radius: 100px;
  }

  .border_r {
    padding: 5px 20px;
    font-weight: bold;
    border: 3px solid #ff0606;
    border-radius: 100px;
  }

  .history_table .border_r {
    padding: 2px 6px;
    font-weight: bold;
    border: 2px solid #ff0606;
    border-radius: 100px;
  }

  .lh0 {
    line-height: 0em;
  }

  /* スクロール */
  .sc_x {
    overflow-x: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
  }

  /* 改行 */
  .sc_inner {
    display: inline-block;
    white-space: nowrap;
    margin-right: 4px;
    font-size: 0.98em;
  }

  /* ボタン */
  .btn_g {
    background-color: #f4f4f4;
    color: #666;
    border: 1px solid #f4f4f4;
    border-radius: 100px;
    transition: 0.1s linear;
  }

  .btn_g:hover {
    background-color: #fff;
    color: #666;
  }

  .btn03 {
    padding: 3px 10px;
    border: 1px solid #f4f4f4;
    border-radius: 100px;
    background-color: #f4f4f4;
    color: #666;
    font-size: 0.8em;
    transition: 0.1s linear;
  }

  .btn03:hover {
    background-color: #fff;
    color: #666;
  }

  .btn04 {
    padding: 3px 10px;
    min-width: 120px;
    border: 3px solid #ff8f00;
    border-radius: 100px;
    background-color: #ff8f00;
    color: #fff;
    font-weight: bold;
    transition-duration: 0.3s;
  }

  .btn04:hover {
    background-color: #fff;
    color: #303030;
  }

  .btn05 {
    padding: 3px 10px;
    min-width: 120px;
    border: 3px solid #ff8f00;
    border-radius: 100px;
    background-color: #fff;
    color: #303030;
    font-weight: bold;
    transition-duration: 0.3s;
    font-size: 1.4em;
  }

  .btn05:hover {
    background-color: #ff8f00;
    color: #fff;
  }

  .btn06 {
    padding: 3px 5px;
    min-width: 150px;
    border: 3px solid #1E296A;
    border-radius: 100px;
    background-color: #fff;
    color: #303030;
    font-weight: bold;
    transition-duration: 0.3s;
  }

  .btn06:hover {
    background-color: #1E296A;
    color: #fff;
  }

  .btn07 {
    padding: 3px 5px;
    min-width: 100px;
    border: 3px solid #1E296A;
    border-radius: 100px;
    background-color: #1E296A;
    color: #fff;
    font-weight: bold;
    transition-duration: 0.3s;
  }

  .btn07:hover {
    background-color: #fff;
    color: #303030;
  }

  /* メニューオープン時のモーダル */
  .menu_under {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    /* z-index: 980; */
    z-index: 8;
  }

  /* ボックスシャドウ */
  .shadow {
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
  }

  /* グラデーション文字 */
  .g_text {
    color: #ff8f00;
    background: rgb(255,0,111);
    background: linear-gradient(90deg, rgba(255,0,111,1) 0%, rgba(255,6,6,1) 50%, rgba(255,143,0,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ヘッダーロゴ指定 */
  #header .logo {
    width: unset;
    max-height: 70px;
  }

  /* グラデーションボックス */
  .g_box {
    display: block;
      padding: 3px;
      background: rgb(255,0,111);
      background: linear-gradient(90deg, rgba(255,0,111,1) 0%, rgba(255,6,6,1) 50%, rgba(255,143,0,1) 100%);
      font-weight: bold;
    text-align: center;
    color: #fff;
    font-size: 1.4em;
  }

  /* グラデーションボタン */
  .g_bg {
    display: block;
      padding: 3px;
      border-radius: 100px;
      background: rgb(255,0,111);
      background: linear-gradient(90deg, rgba(255,0,111,1) 0%, rgba(255,6,6,1) 50%, rgba(255,143,0,1) 100%);
      font-weight: bold;
    box-sizing: border-box;
  }

  .g_bg_inner {
    display: block;
    min-width: 70px;
      padding: 3px;
      border-radius: 100px;
      background: #fff;
    color: #303030;
    text-align: center;
    transition-duration: 0.3s;
    box-sizing: border-box;
  }

  .g_bg_inner:hover {
      background: unset;
    color: #fff;
  }

  .g_bg_inner.nohover:hover {
      background: #fff;
    color: #303030;
  }

  .g_bg_inner2 {
    display: block;
    min-width: 70px;
      padding: 3px;
      border-radius: 100px;
      background: unset;
    color: #fff;
    text-align: center;
    transition-duration: 0.3s;
    box-sizing: border-box;
  }

  .g_bg_inner2:hover {
      background: #fff;
    color: #303030;
  }

  /* トップページスライドショー */
  .top_slide {
  }

  /* トップページ配信者リスト */
  .top_liver_list {
    position: sticky;
    top: 85px;
    left: 0;
    background-color: #fff;
    /* z-index: 970; */
    z-index: 4;
  }

  /* ページ内タイトルの下線 */
  .r_d {
    height: 3px;
    background-color: #FF0303;
  }

  .y_d {
    height: 2px;
    background-color: #ff8f00;
  }

  /* 配信スケジュールのサブメニュー */
  .tlc_st {
    font-size: 0.8em;
    transition-duration: 0.3s;
    border-bottom: 1px solid #c0c0c0;
  }

  .tlc_st.selected {
    color: #ff8f00;
    border-bottom: 1px solid #ff8f00;
  }

  .tlc_st:hover {
    color: #ff8f00;
    border-bottom: 1px solid #ff8f00;
  }

  /* 配信スケジュールのコンテンツ */
  .lc_block {
    width: 168px;
    padding: 0px 5px;
    display: inline-block;
  }

  /* 画像円形切り抜き */
  .r_img {
    border-radius: 500px;
    object-fit: cover;
  }

  /* 行末三点リーダ */
  .el {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ライバーリスト */
  .liver_list {
    position: relative;
    display: inline-block;
    width: 170px;
    height: 170px;
    margin-right: 12px;
    border-radius: 5px;
    overflow: hidden;
  }

  .liver_list.tlr {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 110px;
    margin-right: 6px;
    border-radius: 5px;
    overflow: hidden;
  }

  .liver_list:last-child {
    margin-right: 0px;
  }

  .liver_list .live_thum {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ll_head {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-gap: 5px;
    background-color: rgba(0,0,0,0.5);
  }

  .ll_users {
    font-size: 0.6em;
    font-weight: bold;
    background-color: rgba(255,255,255,0.7);
    padding: 1px 3px;
    border-radius: 100px;
  }

  .ll_onlive {
    font-size: 0.6em;
    font-weight: bold;
    background-color: rgba(255,255,255,0.7);
    padding: 1px 3px;
    border-radius: 100px;
  }

  .ll_foot {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 5px;
    background-color: rgba(0,0,0,0.5);
  }

  .ll_name {
    font-size: 0.7em;
    color: #fff;
    overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
  }

  .ll_cheer {
    font-size: 0.6em;
    font-weight: bold;
    color: #fff;
    background-color: #ff8f00;
    padding: 1px 3px;
    border-radius: 100px;
  }

  /* ライバーリスト（検索等） */
  .liver_simple_list {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-gap: 10px;
    width: 100%;
    max-width: 900px;
    margin: 0px auto;
      padding: 20px 0px;
    border-bottom: 1px dotted #909090;
    align-items: center;
  }

  .lsl_livericon {
    background-color: #fff;
      padding: 5px;
      width: 60px;
      height: 60px;
      border-radius: 200px;
  }

  .lsl_livericon.onlive {
    background: rgb(255,0,111);
      background: linear-gradient(90deg, rgba(255,0,111,1) 0%, rgba(255,6,6,1) 50%, rgba(255,143,0,1) 100%);
      padding: 5px;
      width: 60px;
      height: 60px;
      border-radius: 200px;
  }

  .lsl_livericon img {
    width: 50px;
    height: 50px;
    border-radius: 100px;
    object-fit: cover;
  }

  .lsl_livermeta {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr 1fr;
    align-items: center;
  }

  .lsl_livername {
    white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    font-size: 1.5em;
    font-weight: bold;
  }

  .lsl_liverdescription {
    grid-column: 1 / 3;
    white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
  }

  /* ランキング */
  .ranking_cat {
    display: inline-block;
    margin-right: 15px;
    padding-bottom: 3px;
    border-bottom: 2px solid #fff;
    transition-duration: 0.3s;
  }

  .ranking_cat:last-child {
    margin-right: 0px;
  }

  .ranking_cat.selected {
    color: #ff8f00;
    border-bottom: 2px solid #ff8f00;
  }
  /*
  .ranking_cat:hover {
    color: #ff8f00;
    border-bottom: 2px solid #ff8f00;
  }
*/
  .rb_inner {
    overflow-y: scroll;
      max-height: 300px;
  }

  .ranking_user {
    display: grid;
    grid-template-columns: 100px 70px 1fr;
    grid-gap: 10px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px dotted #909090;
  }

  .ranking_rankicon {
    position: relative;
  }

  .ranking_ranknum {
    position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      text-align: center;
      display: grid;
      align-items: center;
    font-size: 0.9em;
    font-weight: bold;
  }

  .rb_inner.r_1 .ranking_score {
    border: 2px solid #ff8f00;
      background-color: #ff8f00;
      color: #fff;
      border-radius: 100px;
      padding: 2px 5px;
    text-align: center;
  }

  .rb_inner.r_2 .ranking_score {
    border: 2px solid #ed4b84;
      background-color: #ED4B84;
      color: #fff;
      border-radius: 100px;
      padding: 2px 5px;
    text-align: center;
  }

  .rb_inner.r_3 .ranking_score {
    border: 2px solid #ff8f00;
      background-color: #fff;
      color: #ff8f00;
      border-radius: 100px;
      padding: 2px 5px;
    text-align: center;
  }

  .rb_inner.r_4 .ranking_score {
    border: 2px solid #EC3100;
      background-color: #EC3100;
      color: #fff;
      border-radius: 100px;
      padding: 2px 5px;
    text-align: center;
  }

  .ranking_score img {
    width: 15px;
    vertical-align: text-top;
  }

  .ranking_livericon img {
    height: 70px;
    border-radius: 100px;
    object-fit: cover;
  }

  .ranking_meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
    align-items: center;
  }

  .ranking_name {
    font-size: 1.4em;
    font-weight: bold;
    grid-column: 1 / 4;
  }

  /* お知らせ */
  .info_block {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 10px 0px;
    border-bottom: 1px dotted #909090;
  }

  .info_date, .info_cat {
    align-self: center;
  }

  .info_cat img {
    width: 70px;
    margin-left: 10px;
    vertical-align: middle;
  }

  .info_title {
    padding-top: 5px;
    font-size: 1.4em;
    font-weight: bold;
    color: #ff8f00;
  }

  .info_title, .info_text {
    grid-column: 1 / 3;
  }

  /* ヘルプ */
  .help_wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 5px;
    border: 1px solid #ff8f00;
    border-radius: 3px;
    align-items: center;
  }

  .help_title {
    font-weight: bold;
  }

  .help_text {
    grid-column: 1 / 3;
    background-color: #f0f0f0;
    border-radius: 3px;
    padding: 5px;
  }

  .help_add_block {
    border: none;
  }

  .help_add_close img {
    width: 20px;
  }

  /* 問い合わせ */
  .contact_message {
    width: 100%;
    height: 170px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 1.15em;
  }

  .contact_history {
    width: 95%;
    max-width: 600px;
    margin: 0px auto 20px auto;
  }

  .contact_history tr {
    border-bottom: 1px dotted #ff8f00;
  }

  .contact_history tr:last-child {
    border-bottom: 1px solid #ff8f00;
  }

  .contact_history th {
    padding: 5px;
    background-color: #ff8f00;
    color: #fff;
    white-space: nowrap;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
  }

  .contact_history th:first-child {
    border-left: 1px solid #ff8f00;
  }

  .contact_history th:last-child {
    border-right: 1px solid #ff8f00;
  }

  .contact_history td {
    padding: 5px;
    border-left: 1px solid #ff8f00;
    border-right: 1px solid #ff8f00;
  }

  /* プロフィール */
  .liver_cover img {
    min-height: 200px;
    object-fit: cover;
  }

  .profile_message {
    padding: 10px;
    border: 1px solid #ff0606;
  }

  .profile_message.change {
    width: 100%;
    border: 1px solid #909090;
  }

  .score_icon {
    width: 20px;
    vertical-align: top;
  }

  .dspg_border {
    grid-column: 1 / 3;
  }

  .dspg_border hr {
    margin: 0px;
  }

  .schedule_cancel {
    border: 1px solid #ff8f00;
    padding: 0px 5px;
  }

  .schedule_cancel:hover {
    background-color: #ff8f00;
    color: #fff;
  }

  .liver_cover.change {
    position: relative;
  }

  .change_cover {
    position: absolute;
      display: grid;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      align-items: center;
      background-color: rgba(0,0,0,0.5);
      color: #fff;
      font-weight: bold;
      font-size: 1.2em;
    line-height: 1.5em;
  }

  .change_cover img {
    width: 70px;
    min-height: unset;
  }

  .liver_icon.change {
    position: relative;
  }

  .change_icon {
    position: absolute;
      display: grid;
      top: 0;
      left: 0;
      width: 100px;
      height: 100px;
      align-items: center;
      background-color: rgba(0,0,0,0.5);
      color: #fff;
      font-weight: bold;
      font-size: 0.7em;
    border-radius: 100px;
    box-sizing: border-box;
  }

  .change_icon img {
    width: 30px !important;
    height: 30px !important;
    border: none !important;
    border-radius: 0px !important;
  }

  .userdata_name.change {
    font-size: 1.0em;
    border: 1px solid #909090;
  }

  /* 配信予約追加ダイアログ */
  .new_schedule_hour, .new_schedule_min {
    width: unset !important;
    display: inline !important;
  }

  .new_schedule_min {
    margin-left: 5px;
  }

  /* シェア */
  .btn_tweet {
    background-color: #1d9bf0;
    border-radius: 100px;
    padding: 5px 15px;
    color: #fff;
    line-height: 0em;
  }

  .btn_tweet img {
    width: 20px;
  }

  .border_b {
    border: 1px solid #909090;
    padding: 10px;
    border-radius: 5px;
  }

  /* 履歴 */
  .history_table {
    margin-top: 10px;
    font-size: 1.0em;
    font-weight: bold;
    border-collapse: separate;
      border-spacing: 0;
  }

  .history_table tr:last-child {
    border-bottom: 1px solid #ff8f00;
  }

  .history_table th {
    padding: 5px 0px;
    border-left: 1px solid #fff;
    background-color: #ff8f00;
    color: #fff;
  }

  .history_table th:first-child {
    border-left: 1px solid #ff8f00;
  }

  .history_table th:last-child {
    border-right: 1px solid #ff8f00;
  }

  .history_table td {
    padding: 10px 0px;
    border-left: 1px solid #ff8f00;
    border-bottom: 1px dotted #ff8f00;
    font-size: 0.8em;
  }

  .history_table tr:last-child td {
    border-bottom: 1px solid #ff8f00;
  }

  .history_table td:last-child {
    border-right: 1px solid #ff8f00;
  }

  /* トグルタイプのチェックボックス */
  .toggle_checkbox {
    position: relative;
    display: block;
    width: 40px;
    height: 15px;
    background-color: #909090;
    border-radius: 100px;
    z-index: 1;
  }

  .toggle_checkbox_btn {
    position: absolute;
    top: -2.5px;
    left: 0px;
    width: 20px;
    height: 20px;
    border-radius: 100px;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
    background-color: #fff;
    z-index: 2;
    transition-duration: 0.3s;
  }

  /* 配信準備 */
  .live_setting_menu {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    grid-gap: 15px;
    width: 100%;
    padding: 5px 15px;
    background-color: rgba(255,255,255,0.7);
    align-items: center;
  }

  .live_setting_menu img {
    width: 40px;
  }

  .live_setting_menu .finger {
    padding-left: 15px;
    border-left: 1px solid #c0c0c0;
  }

  .menu_open_arrow {
    display: inline-grid;
    margin-right: 17px;
    color: #ff8f00;
  }

  /* 配信開始 */
  .live_start_menu {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    grid-gap: 10px;
    width: 100%;
    padding: 5px 10px;
    background-color: rgba(255,255,255,0.7);
    align-items: center;
  }

  .live_start_menu img {
    width: 40px;
  }

  .live_start_menu .finger {
    padding-left: 10px;
    border-left: 1px solid #c0c0c0;
  }

  .lsm.menu_open_arrow {
    display: inline-grid;
    margin-right: 17px;
    color: #ff8f00;
  }

  .lsm.chat_open_icon {
    display: inline-grid;
    margin-left: 17px;
    color: #ff8f00;
  }

  .setting_modal {
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index: 100;
    overflow: scroll;
  }

  .smc_2 {
    display: grid;
  }

  .thum_base {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0px auto;
  }

  .thum_base img {
    position: relative;
    width: 100%;
    height: 400px;
    object-fit: cover;
  }

  .cut_border {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: 1px solid #ff8f00;
    background-color: rgba(255,255,255,0.3);
  }

  .cut_border2 {
    position: absolute;
    top: calc(50% - 128px);
    left: calc(50% - 75px);
    width: 150px;
    height: 256px;
    border-radius: 5px;
    border: 1px solid #ff8f00;
    background-color: rgba(255,255,255,0.3);
  }

  .sm_inner, .sm_inner2, .sm_inner3, .sm_inner4, .sm_inner5, .sm_inner6 {
    width: 95%;
    max-width: 400px;
    margin: 20px auto;
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
  }

  .sm_menu {
    padding-bottom: 2px;
    border-bottom: 2px solid #fff;
  }

  .sm_menu.selected {
    border-bottom: 2px solid #000;
  }

  .setting_modal .border_y {
    padding: 2px 0px;
    min-width: 300px;
    text-align: center;
  }

  .setting_modal button {
    padding: 2px 0px;
    min-width: 300px;
  }

  .setting_modal .border_y {
    padding: 2px 0px;
    min-width: 300px;
    border: 3px solid #ff8f00;
      border-radius: 100px;
      font-weight: bold;
  }

  .setting_thum {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    border: 1px solid #ff8f00;
    object-fit: cover;
  }

  .smc_4 .setting_thum {
    width: 200px;
    height: 300px;
  }

  .vlume_bar {
    display: inline-grid;
    grid-template-columns: repeat(10,auto);
    grid-gap: 15px;
  }

  .vlume_bar div {
    width: 10px;
    height: 40px;
    border-radius: 500px;
    background-color: #909090;
  }

  /* 視聴画面 */
  #watch {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0px;
    padding: 0px;
  }

  .live_stream {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }

  .tl_corner {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    z-index: 10;
  }

  .tr_corner {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    z-index: 20;
  }

  .watch_liver_icon img {
    width: 80px;
    height: 80px;
    border-radius: 500px;
    border: 2px solid #fff;
    object-fit: cover;
  }

  .round_ghost {
    background-color: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 2px 4px;
  }

  .watch_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .chat_area_menu {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-gap: 5px;
    width: 100%;
    min-height: 50px;
    padding: 5px;
    background-color: rgba(255,255,255,0.7);
    align-items: center;
  }

  .chat_area_menu img {
    width: 40px;
  }

  .chat_area_title img {
    width: 30px;
    height: 30px;
    object-fit: cover;
  }

  .sm_inner6 .chat_area_title img {
    width: 20px;
    height: 20px;
  }

  .gift_wrap {
    grid-column: 1 / 5;
    padding: 5px;
  }

  .gift_area {
    height: 45vh;
    overflow-y: scroll;
    padding: 5px;
  }

  .gift_icon_wrap {
      padding-top: 100%;
      border-radius: 500px;
      width: 100%;
      position: relative;
      overflow: hidden;
      box-shadow: 0px 0px 5px rgb(0 0 0 / 50%);
  }

  .gift_icon_wrap img {
    position: absolute;
      top: 0px;
      left: 0px;
      width: 100%;
      object-fit: cover;
  }

  .volume_slider {
    position: fixed;
    bottom: 45px;
    right: 45px;
    z-index: 90;
  }

  .egg_br {
    position: fixed;
    bottom: 60px;
    right: 5px;
    z-index: 90;
  }

  .egg_br img {
    width: 40px;
  }

  .pinp_bl {
    position: fixed;
    bottom: 60px;
    left: 5px;
    z-index: 90;
  }

  .pinp_bl img {
    width: 50px;
  }

  .live_volume_slider {
    width: 45px;
    -webkit-appearance:slider-vertical;
    writing-mode: bt-lr;
  }


  .font_size_select {
    position: absolute;
    top: 50px;
    right: 5px;
    color: #000;
    font-weight: bold;
    padding: 5px;
    border: 1px solid #ff8f00;
    border-radius: 5px;
    z-index: 97;
  }

  .mes_area {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 10px;
    align-items: center;
    padding: 5px;
    background-color: rgba(255,255,255,0.7);
  }

  .mes_area i {
    color: #ff8f00;
  }

  /* チャットエリア内モーダル */
  .modal2 {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 98;
  }

  .modal_inner2 {
    width: 90%;
    padding: 10px;
    background-color: #fff;
    border-radius: 3px;
  }

  .icon_modal {
    width: 20px;
  }

  .prof_meta_inchat {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-gap: 5px;
    margin-top: -10px;
  }

  .prof_meta_inchat .btn04,
  .prof_meta_inchat .btn05,
  .prof_meta_inchat .btn06,
  .prof_meta_inchat .btn07,
  .prof_meta_inchat .btn08 {
    min-width: unset;
    padding: 2px 4px;
    font-size: 0.6em;
  }

  .prof_icon_inchat img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 500px;
    border: 3px solid #fff;
  }}

@media only screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }
  .sp {
    /*    display: block !important;*/
  }
  .w95_sp {
    width: 95%;
    margin-right:auto;
    margin-left:auto;
  }
  .pb5_sp{
    padding-bottom:5px;
  }
  .pb10_sp{
    padding-bottom:10px;
  }
}

@media only screen and (max-width: 320px) {
  #header .logo {
    max-height: 50px;
  }
}
@media only screen and (min-width: 400px) {
	.chat_area_menu {
		grid-template-columns: auto 1fr auto auto auto auto auto;
	}

	.gift_wrap {
		grid-column: 1 / 8;
	}

	.watch_menu_cog,
	.watch_menu_pinp,
	.watch_menu_egg {
		display: block !important;
	}

	.egg_br_inner,
	.pinp_bl_inner {
		display: none;
	}

	.chat_area_title {
		display: none;
	}

	.font_size_select {
		position: fixed;
		top: unset;
		bottom: 70px;
		right: 155px;
		background-color: rgba(255,255,255,0.7);
	}

	.volume_slider {
		position: fixed;
		bottom: 55px;
		right: 135px;
	}

	.live_setting_menu {
		grid-gap: 30px;
		width: 100%;
		padding: 5px 30px;
		background-color: rgba(255,255,255,0.7);
		align-items: center;
	}

	.live_setting_menu .finger {
		padding-left: 30px;
	}

	.menu_open_arrow {
		display: inline-grid;
		margin-right: 37px;
		color: #ff8f00;
	}

	.lsm.menu_open_arrow {
		margin-right: 17px;
	}

	.smc_2 {
		align-items: center;
		grid-template-columns: auto 1fr;
		grid-gap: 5px;
	}

	.smc_2_col2 {
		grid-column: 1 / 3;
	}

	.smc_4 .setting_thum {
		width: 250px;
		height: 141px;
	}

	.cut_border2 {
		top: calc(50% - 45px);
		left: calc(50% - 80px);
		width: 160px;
		height: 90px;
	}

	.smc_2 button, .smc_4 button {
		min-width: 210px;
	}

	.btn_ver {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 5px;
	}

	.btn_ver button {
		min-width: 170px;
	}

	.thum_trim {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-gap: 5px;
		align-items: center;
	}

	.thum_base {
		width: 200px;
	}

	.thum_base img {
		height: 250px;
	}

	.thum_trim button {
		min-width: 150px;
	}
}

@media only screen and (max-width: 399px) {
	.egg_br_inner,
	.pinp_bl_inner {
		display: block;
	}
}

@media only screen and (max-width: 768px) {
	.ranking_user {
		grid-template-columns: 65px 40px 1fr;
		grid-gap: 3px;
		align-items: center;
		padding: 5px;
		font-size: 0.6em;
	}

	.ranking_meta {
		grid-gap: 3px;
	}

	.ranking_user .btn05, .ranking_user .btn04 {
		min-width: 75px;
		padding: 3px;
		font-size: 0.6em;
	}

	.ranking_score img {
		width: 10px;
	}

	.ranking_livericon img {
		height: 40px;
	}
}

@media only screen and (max-width: 320px) {
	#header .logo {
		max-height: 50px;
	}
}
