@media only screen and (min-width: 300px) and (max-width: 767px) {
/******登録情報表示テーブル*******/
  .regist-table tr,
  .regist-table th,
  .regist-table td {
    display: block;
    width: auto;
  }
  
  .regist-table tr:first-child {
    border-top: 1px solid #dbe1e8;  
  }
  
  .regist-table th,
  .regist-table td {
    border-top: none;
  }

  #contents {
    margin: 0 auto;
    padding: 0 10px;
    overflow: hidden
  }
  #s-contents,
  #details-contents {
    margin: 0 auto 100px;
    padding: 0 10px;
    overflow: hidden
  }
  #regist-contents {
    background-color: #FFFFFF;
    margin: 0 auto;
    padding: 10px;
    overflow: hidden    
  }

  #img{
    text-align: center;
    margin: 0 auto;
  }
    #img img{
      width: 100%;
    }
    #back_home {
      display: none;
    }

/********************************************login***********************************************************/
  #login_BG {
    background: url(../images/rgistBG.gif) center bottom/cover no-repeat;
    margin: 0 auto;
    padding: 20px 0;
    height: 100vh;
    vertical-align: top;
    padding-box;
  }
  #login_wrap {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .login_box {
    width: 100%;
    max-width: 600px;
    padding: 30px 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  .login_img {
    text-align: center;
    margin: 0 auto 20px;
  }
    .login_img img {
      width: 40%;
    }

  .login_title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.45em;
    margin: 15px 0;
  }
  .login_text {
    text-align: center;
    margin-top: 5px;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
                -1px 1px 0 #FFF, 1px -1px 0 #FFF,
                0px 1px 0 #FFF,  0-1px 0 #FFF,
                -1px 0 0 #FFF, 1px 0 0 #FFF;
  }
  .login_text2 {
    margin-top: 20px;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
                -1px 1px 0 #FFF, 1px -1px 0 #FFF,
                0px 1px 0 #FFF,  0-1px 0 #FFF,
                -1px 0 0 #FFF, 1px 0 0 #FFF;
  }
/********************************************header_flex*********************************************************/
  #header_flex {
    margin: 0 auto;
    margin-bottom: 30px;
  }
    .header_between {
    }
    .header_child1 {
      padding: 0;
      order: 1;
      float: left;
    }
    .header_child2 {
      width: 100%;
      padding: 0;
      order: 3;
    }
    .header_child3 {
      padding: 0;
      order: 2;
      float: right;
    }
      .header_child1 img.svg-logo {
        width: 100%;
        max-width: 180px;
      }
      .header_child2 .search_box {

      }
/********************************************navi*********************************************************/
  #navi_box {
    display: none;
  }
/********************************************検索ボックス*********************************************************/
  .search_container{
    position: relative;
    box-sizing: border-box;
    border: 2px solid #00b0c2;
    top: 30px;
    padding: 3px 10px;
    height: 45px;
    width: 100%;
    overflow: hidden;
  }
    .search_container input[type="text"]{
      border: none;
      width: 420px;
      height: 2.2em;
      font-size: 1rem;
    }
      .search_container input[type="text"]:focus {
        outline: 0;
      }
        .search_container input[type="submit"]{
          cursor: pointer;
          font-family: FontAwesome;
          border: none;
          background: #00b0c2;
          color: #fff;
          position: absolute;
          width: 3.5em;
          height: 47px;
          right:0px;
          top: -2px;
          outline : none;
        }
/********************************************USER-BOX*********************************************************/
  .user_area {
    padding-top: 8px;
  }
  .user-box {
    background-color: #fca001;
    width: 190px;
    padding: 0 5px 5px;
  }
    .user-name {
      margin-bottom: 2px;
      font-size: 1rem;
      text-align: right;
      color: #FFFFFF;
    }
    .user-point {
      background-color: #FFFFFF;
      font-size: 1rem;
      padding: 2px;
      text-align: right;
      position: relative;
    }
      .user-point .svg-coin {
        width: 15px;
        position: absolute;
        top: 6px;
      }
      .user-point span {
        margin-left: 20px;
      }
/********************************************category btn area****************************************************/
  #category-title {
    text-align: left;
    font-size: 1.45rem;
    font-weight: bold;
    color: #00b0c2;
    display: block;
  }
    #grid {
      margin: 30px 0 60px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
      .item {
        text-align: center;
        background-color: #edefef;
        padding: 5px;
      }
      .item-inner {
        background-color: #FFFFFF;
        padding: 10px;
      }
        .item_img {
          padding: 15px 0;
        }
          .item_img img {
            width: 100%;
            max-width: 100px;
            height: 75px;
          }
        .btn_text {
          color: #303131;
          line-height: 2em;
          font-weight: bold;
          font-size: 1rem;
        }
        .grid_text {
          text-align: left;
          padding: 0;
          margin-top: 10px;
        }

      #friends_banner {
        margin-bottom: 50px;
      }
        #friends_banner img {
          width: 100%;
        }
/********************************************parts*********************************************************/
  #category_flex {
    margin: 0 auto;
    padding: 10px 0;
    border-bottom: 1px dotted #cccccc;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
  }
  #detail_flex {
    margin: 0 auto;
    padding: 10px 0;
    border-top: 1px dotted #cccccc;
    border-bottom: 1px dotted #cccccc;
  }
  #tab_flex,
  #history_flex {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    border-bottom: 1px dotted #cccccc;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
  }
  #my_flex {
    width: 100%;
    margin: 20px auto 50px;
    padding: 0;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    flex-wrap: wrap;
  }
  #prelu_flex {
    width: 100%;
    margin: 25px auto;
    padding: 0;  
  }
    .category_start {
      -webkit-box-pack:justify;
      -ms-flex-pack:justify;
      justify-content: flex-start;
    }
    .my_start,
    .prelu_start {
      -webkit-box-pack:justify;
      -ms-flex-pack:justify;
      justify-content: space-between;
    }
    .history_start {
      -webkit-box-pack:justify;
      -ms-flex-pack:justify;
      justify-content: flex-end;;
    }
    #category_flex .child,
    #tab_flex .child,
    #history_flex .child {
      width: auto;
      padding: 0;
      position: relative;
    }
    #my_flex .child {
      background-color: #FFFFFF;
      border: 10px solid #edefef;
      margin-bottom: 10px;
      padding: 10px;
      width: 49%;
      text-align: center;
      position: relative;
    }
    #prelu_flex .child {
      background-color: #FFFFFF;
      border: 3px solid #00b0c2;
      margin-bottom: 10px;
      padding: 10px;
      text-align: center;
      position: relative;
    }
      #history_flex .child:first-child {
        margin-right: auto!important;
      }
      #my_flex .child .my-btn-inner {
        background-color: #FFFFFF;
        padding: 10px;
      }
    #detail_flex .detail_img {
      width: 100%;
      padding: 0;
      position: relative;
    }
    #detail_flex .child {
      flex: 1;
    }
      #category_flex .child img,
      #tab_flex .child img {
        max-width: 80px;
        max-height: 80px;
        margin-right: 20px;
      }
      #detail_flex .detail_img img {
        width: 100%;
      }
      #my_flex .child img {
        max-width: 80px;
        height: 75px;
      }
        #my_flex .child .my_btn_text {
          font-size: 1.25rem;
          font-weight: bold;
        }
        #my_flex .child .my_btn_text span{
          font-size: 1rem!important;
          color: #FF0000;
          line-height: 1em!important;
        }
      #detail_flex .child .detail_name {
        font-size: 1.25rem;
        font-weight: bold;
        line-height: 2em;
        border-bottom: 1px dotted #cccccc;
      }
        .detail_name:nth-child(6) {
          border-bottom: none!important;
        }
        .detail_name span {
          color: #FF4F02;
        }
      #detail_flex .child .detail_point {
        font-size: 3.25rem;
        font-weight: bold;
        line-height: 1.8em;
        color: #FF0000;
        text-align: right;
      }
      #history_flex .child .history_name {
        font-size: 1.1rem;
        font-weight: normal;
        line-height: 1.65em;
      }
      #history_flex .child .right {
        text-align: right;
      }
      #category_flex .cate_name img.svg-coin,
      #tab_flex .cate_name img.svg-coin {
        width: 20px;
        margin-right: 5px!important;
        padding: 0;
        position: relative;
      }
      #detail_flex .detail_point img.svg-coin {
        width: 60px;
        margin-right: 20px!important;
        padding: 0;
        position: relative;
        vertical-align: middle;
      }
      #history_flex .history_name img.svg-coin {
        width: 20px;
        margin-right: 5px!important;
        padding: 0;
        position: relative;
        vertical-align: middle;
      }
    #category-title {
      margin: 50px auto 20px;
      text-align: left;
      font-size: 1.45rem;
      font-weight: bold;
      color: #00b0c2;
    }
      #category-title img {
        width: 100%;
        max-width: 30px;
        margin-right: 15px;
      }
      .detail-text {
        line-height: 2em;
        text-align: center;
        text-align: justify;
        text-justify: inter-ideograph;
      }

  .resigt-title {
    text-align: center;
    font-weight: bold;
    font-size: 1.4rem;
  }
  .table-box {
    margin: 30px 0;
  }

  .prelu-title {
    width: 100%;
    background-color: #00b0c2;
    padding: 5px;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 1.45rem;
    letter-spacing: .3em;
    display: inline-block;
  }
    .prelu-title span {
      background-color: #FFFFFF;
      padding: 0 5px;
      border-top-right-radius: 5px!important;
      border-bottom-right-radius: 5px!important;
      color: #000000!important;
      font-size: 1.45rem;
      letter-spacing: .1em;
    }
  .prelu-text {
    margin-top: 10px;
    text-align: left;
    font-size: 1rem;
    line-height: 1.65em;
  }
    .prelu-text p {
      text-align: justify;
    }

  .code-title {
    text-align: center;
    font-size: 1.45rem;
    font-weight: bold;
  }
  #preluBG {
    background: url(../images/my/img2_bg.gif) repeat-x;
    margin: 0;
    padding: 50px 10px 0;
  }
    .prelu-img {
      text-align: center;
      z-index: 999;
    }
      .prelu-img img {
        width: 100%;
      }

  #qa_box {
    margin: 0 auto;
  }
    .qaContainer dt {
    padding: 10px 10px 10px 35px;
    border-radius: 5px;
    background: #00b0c2;
    text-indent: -25px;
    color: #FFFFFF;
    }
      .qaContainer dt:before {
      content: "Q.";
      font-weight: bold;
      margin-right: 7px;
      }
    .qaContainer dd {
    margin: 20px 10px 40px 35px;
    text-indent: -25px;
    }
      .qaContainer dd:before {
      content: "A.";
      color: #00b0c2;
      font-weight: bold;
      margin-right: 7px;
      }

  #absolute-parent {
    position: relative;
    width: 100%;
    height: 400px;
    text-align: center;
  }
    .absolute-middle {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-right: -50%;
      -webkit-transform: translate(-50%, -50%); /* Safari用 */
      transform: translate(-50%, -50%);
    }
    .line_text {
      margin-bottom: 50px;
    }

  #sign-title {
    margin: 50px auto 0;
    text-align: center;
  }
    #sign-title img.svg-logo {
      width: 300px;
    }
    .signUp_text {
      margin-bottom: 50px;
      font-size: 1.65rem;
      font-weight: bold;
      color: #00b0c2;
      display: block;
    }
/********************************************ボタン*************************************************************/  
    #contents_back,
    #detail_btn,
    #regist_btn {
      margin: 20px auto;
      text-align: center;
    }
      #contents_back a .btn,
      #detail_btn a .btn {
        margin: 20px auto;
        padding: 5px 50px;
        font-size: 1rem;
        font-weight: bold;
        background-color: #00b0c2;
        border-radius: 20px;
        text-align: center;
        color: #FFFFFF;
        display: inline-block;
      }
      #regist_btn a .btn {
        margin: 0 auto;
        padding: 5px 50px;
        font-size: 1rem;
        font-weight: bold;
        background-color: #00b0c2;
        border-radius: 20px;
        text-align: center;
        color: #FFFFFF;
        display: inline-block;
      }
        #contents_back a .btn:hover,
        #detail_btn a .btn:hover,
        #regist_btn a .btn:hover {
          background-color: #fca001;
        }
        #contents_back a .btn i {
          vertical-align: middle;
          margin-right: 15px;
        }
      #copy_box {
        text-align: center;
        margin: 20px 0 ;
      }
        .copy_btn {
          width: 100%;
          max-width: 400px;
          padding: 12px;
          margin-left: auto!important;
          margin-right: auto!important;
          color:#000000;
          background-color: #FFFFFF;
          border: solid 1px #cccccc;
          border-radius: 3px;
          transition: .4s;
          text-align: center;
          font-size: 1.15rem;
          letter-spacing: .2em;
          display: inline-block;
        }
          .copy_btn i {
            margin-left: 15px;
          }
            .copy_btn:hover {
              background: #00b0c2;
              color: #FFFFFF;
            }
            .copy_btn:hover {
              cursor: pointer;
            }

  #request-title {
    background-color: #00b0c2;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    line-height: 2em;
  }
  #request-bank,
  #request-amazon,
  #request-btc {
    width: 100%;
    max-width: 500px;
    margin: 50px auto 0;
  }
  #request-bank {
    border: 1px solid #0183FD;
  }
  #request-amazon {
    border: 1px solid #232F3F;
  }
  #request-btc {
    border: 1px solid #FDD501;
  }
    .title-bank,
    .title-amazon {
      color: #FFFFFF;
      text-align: center;
      font-size: 1.25rem;
      font-weight: bold;
      line-height: 2em;
    }
    .title-bank {
      background-color: #0183FD;
    }
    .title-amazon {
      background-color: #232F3F;
    }
    .title-btc {
      background-color: #FDD501;
      color: #000000;
      text-align: center;
      font-size: 1.25rem;
      font-weight: bold;
      line-height: 2em;
    }
    .request-box {
      padding: 20px;
    }
      .day-rate {
        text-align: center;
        font-size: 3rem;
        font-weight: bold;
      }
        .day-rate img {
          width: 60px;
          height: 60px;
          margin-right: 15px;
          vertical-align: middle;
        }
      .request-text {
        text-align: center;
        margin: 20px 0;
      }
  /****友達紹介用下部調整*****/
  #mgb {
    margin-bottom: 100px;
    padding: 0 10px;
  }

/********************************************ボトムメニュー*************************************************************/
  #footer__column {
      margin-bottom:60px;
    }
  .mini-text{font-size:10px;}

  ul.bottom-menu {
      position: fixed;
      left:0;
      bottom:0;
      width: 100%;
      height:60px;
      margin:0;
      padding:0;
      background-color:#f5f5f5;
      border-top:2px solid #808080;
      /*border-bottom:2px solid #808080;*/
      z-index:999;
    }
  ul.bottom-menu　{
      padding-bottom:env(safe-area-inset-bottom);
  }
  ul.bottom-menu li {
      float:left;
      width:33.3333%;
      list-style-type:none;
      text-align:center;
      font-size:25px;
    }
  ul.bottom-menu li.att-icon {
      font-size:30px!important;
      margin-top: -5px;
    }
    .bottom-menu li.att-icon a {
        display: block;
        color:#EE3B85;
        padding-top:10px;
        padding-bottom:5px;
        line-height:10px;
        text-decoration:none;
      }
    .bottom-menu li a {
        display: block;
        color:#808080;
        padding-top:10px;
        padding-bottom:5px;
        line-height:10px;
        text-decoration:none;
      }
    .bottom-menu li a:hover {
      color:#a9a9a9;
    }

  ul.menu-second-level {
      visibility: hidden;
      opacity: 0;
      z-index:1;}

    ul.menu-second-level li a{
      border-top:1px dashed #a9a9a9;
      font-size:15px;
      line-height:30px;
    }
      .menu-second-level li a:hover {
        height:100%;
        background: lightgrey;
      }
      li.menu-width-max ul.menu-second-level {
        position: absolute;
        bottom: 60px;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        padding:0;
      }
      li.menu-width-max:hover ul.menu-second-level {
        bottom: 60px;
        visibility: visible;
        opacity: 1;
      }
      li.menu-width-max ul.menu-second-level li {
        float: left;
        width: 100%;
        border: none;
      }

/********************************************規約*************************************************************/
  #fkiyaku {
    text-align: center;
    margin: 0 auto
  }

  #fkiyaku ul {
    width: 100%;
    font-size: 0
  }

  #fkiyaku ul li {
  font-size: 0.8rem;
  line-height: 0.5em;
  padding:0 ;
  font-weight: 200;
  color: #FFFFFF
  }

  #link-text {
    text-align: center;
    margin-left: -10px;
    margin-bottom: 100px;
    font-size: 0;
  }
    #link-text ul li {
      display: inline-block;
      margin-left: 10px;
      font-size: 1rem;
      color: #000000;
    }
  #sns-link {
    text-align: center;
    margin-top: 50px;
    margin-left: -50px;
    margin-bottom: 50px;
  }
    #sns-link ul li {
      display: inline-block;
      margin-left: 50px;
      font-size: 1rem;
      color: #000000;
    }
      #sns-link ul li img {
        width: 50px;
        height: 50px;
      }
}