@charset "UTF-8";

@media only screen and (min-width: 768px) {
  /* ---------------------------------------------------------------
    common
  --------------------------------------------------------------- */

  /** SNS ボタン 共通**/
  .sns__area {
    width: 100%;
    padding: 10px 0px 30px;
  }
  .sns__group {position: relative;}
  .sns__group__lists {
    display: flex;
    justify-content: space-between;
    text-align: center;
  }
  .sns__btn {
    width: 19%;
    margin: 0 0.5%;
  }
  .sns__btn a{
    font-size: 12px;
    padding: 14px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;

  }

  .sns__btn.facebook a{background-color: #3b5998;}
  .sns__btn.twitter a{background-color: #55acee;}
  .sns__btn.line a{background-color: #00b900;}
  .sns__btn.viber a{background-color: #665cac;}
  .sns__btn.pocket a{background-color: #ea5a6c;}

  /**Viber モーダル**/
  .sns__modal__area {
    display: none;
    position: absolute;
    right: 45px;
    top: 60px;
    padding: 10px 20px 15px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.4);
    z-index: 2;
  }
  .sns__modal__area:before {
    position: absolute;
    display: block;
    left: 50px;
    top: -10px;
    width: 21px;
    height: 21px;
    background: rgba(255,255,255,0.95);
    box-shadow: -3px -3px 3px rgba(0,0,0,0.18);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
  }

  .close__btn{
    position: relative;
    top: 3px;
    left: 128px;
    width: 20px;
    height: 20px;
    display: inline-block;
  }
  .close__btn:before ,.close__btn:after {
    display: block;
    content: "";
    position: absolute;
    top: 5%;
    left: -20%;
    width: 100%;
    height: 16%;
    background: #ccc;
  }
  .close__btn:before {
      transform: rotate(-45deg);
  }
  .close__btn:after {
    transform: rotate(45deg);
  }
  .sns__modal__viber{
      text-align: left;
  }
  .sns__modal__viber .viber_link{
    vertical-align: middle;
    line-height: 1;
    margin: 0 2px;
    display: block;
    padding: 0 0 10px;
  }
  .sns__modal__viber .viber_link a{
    background-color: #665cac;
    width: 200px;
    padding: 10px 20px;
    text-decoration: none;
  }
  .sns__modal__viber .viber_link.download a{
    background-color: #ff7700;
  }
  .sns__modal__viber .viber_link a .arrow{
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
      left: -10px;
      vertical-align: middle;
  text-decoration: none;
  font-size: 15px;
  }
  .sns__modal__viber .viber_link a .arrow::before{
    content: "";
    vertical-align: middle;
    position: absolute;
    left: 3px;
    width: 4px;
    height: 4px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .sns__group__lists,.sns__modal__viber {
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

@media only screen and (max-width: 767px) {
  /* ---------------------------------------------------------------
    common
  --------------------------------------------------------------- */

  /** SNS ボタン 共通**/
  .sns__area {
    width: 100%;
    padding: 10px 0px 30px;

  }
  .sns__group {position: relative;}
  .sns__group__lists {
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
  }
  .sns__btn {
    width: 19%;
    margin: 5px 0.5%;
  }
  .sns__btn a{
    font-size: 12px;
    padding:5px 14px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;

  }

  .sns__btn.facebook a{background-color: #3b5998;}
  .sns__btn.twitter a{background-color: #55acee;}
  .sns__btn.line a{background-color: #00b900;}
  .sns__btn.viber a{background-color: #665cac;}
  .sns__btn.pocket a{background-color: #ea5a6c;}
}
