/*
    account_messages.css
*/
/*
    For reset.
*/

	*{
        -webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	}

	button, input, select, textarea {
		font-family : inherit;
		font-size   : 100%;
	}

/************************************** For PC. **************************************/

/* MAIN:RIGHT */

  div.ACC_MSG_WP{
    position:relative;
    padding-top:20px;
  }

  div.ACC_MSG_WP h3{
    display:none;
  }

  div.ACC_MSG_WP2{
    position:relative;
  }

  div.ACC_MSG_WP2 h3{
    display:none;
  }

  div.ACC_MSG_SUBJECT{
    width:100%;
    font-weight:bold;
  }

  div.ACC_MSG_SUBJECT p{
    width:100%;
    margi:0;
    padding:0 0 10px 0 ;
  }

  div.ACC_MSG_SUBJECT p img{
    width:16px;
  }

  div.ACC_MSG_MENU{
    width:calc(100% - 180px);
    position:absolute;
    top:20px;
    left:0;
  }

  div.ACC_MSG_MENU ul{
    display:flex;
    align-items:center;
    margin-left:4%;
  }

  div.ACC_MSG_MENU ul li{
    margin: 0 2%;
  }

  div.ACC_MSG_MENU ul li a{
    display:block;
    padding: 4px 12px;
  }

  div.ACC_MSG_MENU ul li.SCT_PAGE{
    background:#F2F2F2;
    text-decoration:underline;
    font-weight:bold;
  }

  div.ACC_MSG_SCH{
    width:auto;
    position:absolute;
    top:20px;
    right:0;
  }

  div.ACC_MSG_SCH p{
    margin:0;
    padding:0;
    text-align:right;
    position:relative;
  }

  div.ACC_MSG_SCH input[type="text"]{
    width:180px;
	padding: 4px 10px;
	border: 1px solid #ccc;
	font-size:1.0em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
  }

  div.ACC_MSG_SCH input[type="text"]::placeholder {
    color: #999;
    font-size:0.8em;
    font-weight:normal;
  }

  div.ACC_MSG_SCH p input[type="image"] {
    width: 22px;
    height:auto;
    position:absolute;
    right:10px;
    bottom:4px;
  }

  div.ACC_MSG_SCH p img{
    width:26px;
    height:auto;
    cursor:pointer;
  }

  div.ACC_MSG_BOX{
    width:100%;
    padding:90px 0 70px 0;
  }

  div.ACC_MSG_BOX_DTL{
    width:100%;
    padding:30px 0;
  }

  div.ACC_MSG_TTL_LINE{
    width:100%;
    display:flex;
    align-items:center;
    font-weight: bold;
    font-size:90%;
    margin-bottom:10px;
    font-weight: bold;
  }

  div.ACC_MSG_TTL_LINE div.TTL_FROM{
    width:32%;
    padding-left:10%;
  }

  div.ACC_MSG_TTL_LINE div.TTL_SUB{
    width:41%;
  }

  div.ACC_MSG_TTL_LINE div.TTL_REC{
    width:27%;
  }

  div.ACC_MSG_LINE_SCROLL{
    width:100%;
    max-height:23em;
    overflow: scroll;
    -ms-overflow-style: none; /* IE, Edge 対応 */
    scrollbar-width: none;    /* Firefox 対応 */
  }

  div.ACC_MSG_LINE_SCROLL::-webkit-scrollbar{
    display: none; /* Chrome, Safari 対応 */
  }

  div.ACC_MSG_LINE_NOREAD{
    width:100%;
    display:flex;
    align-items:center;
    font-weight: bold;
    font-size:80%;
    padding:4px 0;
    position:relative;
  }

  div.ACC_MSG_LINE_NOREAD a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
  }

  div.ACC_MSG_LINE_NOREAD:hover{
    cursor:pointer;
    background:#d8d8d8;
  }

  div.ACC_MSG_LINE_READ{
    width:100%;
    display:flex;
    align-items:center;
    font-weight: normal;
    background:#F2F2F2;
    font-size:80%;
    padding:4px 0;
    position:relative;
  }

  div.ACC_MSG_LINE_READ a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
  }

  div.ACC_MSG_LINE_READ:hover{
    cursor:pointer;
    background:#d8d8d8;
  }

  div.ACC_MSG_LINE_SENT{
    width:100%;
    display:flex;
    align-items:center;
    font-size:80%;
    padding:4px 0;
    position:relative;
  }

  div.ACC_MSG_LINE_SENT a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
  }

  div.ACC_MSG_LINE_SENT:hover{
    cursor:pointer;
    background:#d8d8d8;
  }

  div.ACC_MSG_HANDLER{
    width:90%;
    display:flex;
    align-items:center;
  }

  div.ACC_MSG_LINE_TRASH{
    width:100%;
    display:flex;
    align-items:center;
    font-size:80%;
    padding:4px 0;
    position:relative;
  }

  div.ACC_MSG_LINE_TRASH a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
  }

  div.ACC_MSG_LINE_TRASH:hover{
    cursor:pointer;
    background:#d8d8d8;
  }

  div.MSG_ICON{
    display:none;
  }

  div.MSG_READ_CHK{
    display:none;
  }

  div.MSG_CHK{
    width:10%;
    z-index:1;
    text-align:center;
  }

  div.MSG_FROM{
    width:24%;
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis; /*Safari*/
    -o-text-overflow: ellipsis; /*Opera*/
    padding-right:10px;
  }

  div.MSG_SUB{
    width:46%;
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis; /*Safari*/
    -o-text-overflow: ellipsis; /*Opera*/
    padding-right:10px;
  }

  div.MSG_REC{
    width:30%;
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis; /*Safari*/
    -o-text-overflow: ellipsis; /*Opera*/
    padding-right:20px;
  }

  div.MSG_ATC{
    position:absolute;
    right:5px;
    top:8px;
  }

  div.MSG_ATC img{
    width:20px;
  }

  div.ACC_MSG_NEW{
    width:100%;
    display:flex;
    justify-content: flex-end;
    align-items:center;
  }

  div.ACC_MSG_NEW p{
    margin:0;
    padding:0;
    width:auto;
    display:flex;
    align-items:center;
  }

  div.ACC_MSG_NEW p a{
    width:140px;
    font-size:80%;
    padding:2px;
    border:1px solid #434343;
    text-align:center;
  }

  div.ACC_MSG_NEW p:first-child{
    margin-right:30px;
  }

  div.ACC_MSG_NEW p a img{
    width:16px;
    height:16px;
    margin-right:8px;
    vertical-align: text-top;
  }

  div.ACC_MSG_LINE_NEW{
    width:100%;
    font-size:80%;
    padding:10px 0;
    position:relative;
  }

  div.ACC_MSG_LINE_OLD{
    width:100%;
    font-size:80%;
    padding:10px 0;
    position:relative;
    border-bottom:1px solid #ccc;
  }

  div.ACC_MSG_LINE_OLD a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
  }

  div.ACC_MSG_LINE_OLD:hover{
    cursor:pointer;
    background:#F2F2F2;
  }

  div.MSG_D_ICON{
    width:30px;
    position:absolute;
    top:26px;
    left:0;
  }

  div.MSG_D_ICON img{
    width:100%;
    height:auto;
  }

  div.MSG_D_DATE{
    position:absolute;
    top:6px;
    right:0;
  }

  div.MSG_D_FROM{
    width:100%;
    padding-left:40px;
    padding-right:120px;
    min-height:32px;
    display:flex;
    align-items: flex-start;
  }

  div.MSG_D_FROM p.MSG_D_NAME{
    line-height:1.4em;
  }

  div.MSG_D_FROM p.MSG_D_BADGE_BUYER{
    height:32px;
    margin:0;
    padding:0;
    font-size:66%;
    line-height:1.6em;
    text-align:center;
    padding-left:34px;
    margin-left:10px;
    background:url(../imgs/v_badge_buyer.png) no-repeat;
    background-size: 30px 30px;
    background-position: 0 0;
  }

  div.MSG_D_FROM p.MSG_D_BADGE_SELLER{
    height:32px;
    margin:0;
    padding:0;
    font-size:66%;
    line-height:1.6em;
    text-align:center;
    padding-left:34px;
    margin-left:10px;
    background:url(../imgs/v_badge_id.png) no-repeat;
    background-size: 30px 30px;
    background-position: 0 0;
  }

  div.ACC_MSG_LINE_OLD div.MSG_D_TXT{
    width:100%;
    padding-left:40px;
    padding-right:10px;
    line-height:1.8em;
      word-wrap: break-word;
  }

  div.ACC_MSG_LINE_NEW div.MSG_D_TXT{
    width:100%;
    padding-left:40px;
    line-height:1.8em;
      word-wrap: break-word;
  }

  div.ACC_MSG_LINE_NEW div.MSG_D_TXT_PAY{
    width:100%;
    padding-left:40px;
    margin-top:30px;
      word-wrap: break-word;
  }

  div.ACC_MSG_LINE_NEW div.MSG_D_TXT_LINK{
    width:100%;
    padding-left:40px;
    font-size:1.1em;
    color:blue;
      word-wrap: break-word;
  }

  div.ACC_MSG_LINE_NEW div.MSG_D_TXT_ATTACH{
    width:100%;
    margin-top:30px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
      word-wrap: break-word;
  }

  div.ACC_MSG_LINE_NEW div.MSG_D_TXT_ATTACH img{
    width:auto;
    height:20px;
    margin-right:10px;
  }

  div.ACC_MSG_LINE_NEW div.MSG_D_TXT_ATTBTN{
    width:100%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin-top:10px;
  }

  div.ACC_MSG_LINE_NEW div.MSG_D_TXT_ATTBTN img{
    width:20px;
    height:auto;
    margin-left:20px;
  }

  div.ACC_MSG_REP{
    width:100%;
    display:flex;
    padding-left:40px;
    margin-bottom:20px;
  }

  div.ACC_MSG_REP p{
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
  }

  div.ACC_MSG_REP p:first-child{
    margin-right:30px;
  }

  div.ACC_MSG_REP p a{
    display:block;
    font-size:80%;
    padding:2px 26px;
    border:1px solid #434343;
  }

  div.ACC_MSG_REP p img{
    width:16px;
    height:16px;
    margin-right:8px;
    vertical-align: text-top;
  }

  div.ACC_MSG_BOX_FORM{
    width:100%;
    padding:20px 0 20px 0;
  }

  div.ACC_MSG_LINE_FORM{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    margin-bottom:20px;
  }

  div.ACC_MSG_LINE_FORM span{
    width:100%;
    line-height:2.6em;
    font-size:90%;
  }

  div.ACC_MSG_LINE_FORM input[type="text"]{
    width:100%;
	padding: 4px 10px;
	border: 1px solid #606060;
	font-size:1.0em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
  }

  div.ACC_MSG_LINE_FORM #edt_sender{
    width:50%;
  }


  div.ACC_MSG_LINE_FORM textarea {
    width:100%;
    height: calc( 1.3em * 20 );
    line-height: 1.3;
	padding: 4px 10px;
	border: 1px solid #606060;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    font-size:1.0em;
  }

  div.ACC_MSG_SUBMIT{
    width:100%;
    display:flex;
    justify-content:space-between;
  }

  div.ACC_MSG_SUBMIT p{
    margin:0;
    padding:0;
  }

  div.ACC_MSG_SUBMIT p a{
    display:block;
    font-size:80%;
    padding:2px ;
  }

  div.ACC_MSG_SUBMIT p:last-child a{
    background:#434343;
    color:#fff;
    padding:2px 26px 2px 20px;
  }

  div.ACC_MSG_SUBMIT p img{
    width:16px;
    height:16px;
    margin-right:6px;
    vertical-align: text-top;
  }

  div.ACC_MSG_LINE_ARRANGED{
    display:none;
  }

  .MSG_SENDER{
    background: #FFF;
  }

  .HIGH_MSG_SENDER{
    background: #FFCCE8;
  }

  .MSG_SUBJECT{
    background: #FFF;
  }

  .HIGH_MSG_SUBJECT{
    background: #FFCCE8;
  }

  .MSG_MESSAGE{
    background: #FFF;
  }

  .HIGH_MSG_MESSAGE {
    background: #FFCCE8;
  }

  div.ACC_MSG_BOX_ADS{
    margin-bottom:20px;
  }

	div.ACC_MSG_DONE_ADS_WP{
      display: flex;
      width: 100vw;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000000;
      /*background:rgba(0, 0, 0, 0.4);*/
      justify-content: center;
      align-items: center;
    }

	div.ACC_MSG_DONE_ADS{
		width:30%;
        max-width:400px;
        height:auto;
        padding:10px;
        position:relative;
	}

	div.ACC_MSG_DONE_ADS p.ACC_MSG_DONE_ADS_POPIMG img{
		width:100%;
        height:auto;
        border:1px solid #ccc;
	}

	div.ACC_MSG_DONE_ADS p.ACC_MSG_DONE_ADS_POPCLOSE{
        position:absolute;
        top:0;
        right:0;
		width:26px;
		height:26px;
	}

	div.ACC_MSG_DONE_ADS p.ACC_MSG_DONE_ADS_POPCLOSE img{
		width:100%;
        border:0;
	}

	label.MSG_OFFER_SELLID{
		width:100%;
        font-weight:bold;
    }

	label.MSG_OFFER_URL{
		width:100%;
    }

	label.MSG_OFFER_URL a{
		text-decoration:underline;
        color:#0080ff;
    }

	input[type="text"].MSG_OFFER_DATE_ST{
		width:160px !important;
    }

	input[type="text"].MSG_OFFER_DATE_EN{
		width:160px !important;
    }

	input[type="text"].HIGH_MSG_OFFER_DATE_ST{
		width:160px !important;
		background: #FFCCE8;
    }

	input[type="text"].HIGH_MSG_OFFER_DATE_EN{
		width:160px !important;
		background: #FFCCE8;
    }

	img.MSG_OFFER_DATE_IMG{
		width:26px;
        height:26px;
        margin-left:5px;
        margin-top:3px;
    }

	input[type="text"].MSG_OFFER_PRICE{
		width:160px !important;
    }

	input[type="text"].HIGH_MSG_OFFER_PRICE{
		width:160px !important;
		background: #FFCCE8;
    }

	textarea.HIGH_MSG_OFFER_MESSAGE{
		background: #FFCCE8;
    }

  /* Dialog */
  div.MSG_SEND_DIALOG_BG{
    display: flex;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    background:rgba(0, 0, 0, 0.4);
    justify-content:center;
      align-items: center;
  }

  div.MSG_SEND_DIALOG_BOX{
      width:64%;
      height:auto;
      padding:30px;
      background:#fff;
      display: flex;
      height: auto;
      flex-wrap:wrap;
  }

  div.MSG_SEND_DIALOG_BOX h4{
      margin-bottom:20px;
  }

  div.MSG_SEND_DIALOG_BOX p{
      margin:0 ;
      padding:0;
      width:100%;
      font-size:0.9em;
      margin-bottom:20px;
  }

  div.MSG_SEND_DIALOG_BOX ul{
      margin-bottom:20px;
      font-size:0.9em;
      margin-left:10px;
  }

  p.MSG_SEND_DIALOG_BTN{
      display: flex;
      justify-content:center;
      margin-top:10px;
  }

  p.MSG_SEND_DIALOG_BTN a{
      width:100px;
      display:block;
      color:#fff;
      background:#3675FB;
      border-radius:6px;
      padding: 4px 8px ;
      text-align:center;
  }






/************************************** For SP. **************************************/
@media screen and (max-width:767px){
  /* MAIN:RIGHT */

  div.ACC_MSG_WP{
    padding:0 10px 10px 10px;
  }

  div.ACC_MSG_WP h3{
    display:block;
    font-size:120%;
  }

  div.ACC_MSG_WP2{
    padding:0 10px 0 10px;
  }

  div.ACC_MSG_WP h3{
    display:block;
    font-size:120%;
  }

  div.ACC_MSG_SUBJECT p span{
    margin-left:20px;
  }

  div.ACC_MSG_MENU{
    top:30px;
    width:100%;
  }

  div.ACC_MSG_MENU ul{
    display:flex;
    width:100%;
    margin-left:0;
    margin-top:20px;
    justify-content:space-between;
  }

  div.ACC_MSG_MENU ul li{
    margin: 6px 10px;
   /* width:100%;*/
    font-weight:bold;
    font-size:90%;
    width:auto;
  }

  div.ACC_MSG_MENU ul li a{
    padding: 0;
  }

  div.ACC_MSG_MENU ul li.SCT_PAGE{
    background:#fff;
  }

  div.ACC_MSG_SCH{
    top:0;
    right:10px;
  }

  div.ACC_MSG_BOX{
    padding:50px 0 30px 0;
  }

  div.ACC_MSG_BOX_DTL{
    padding: 0;
  }

  div.ACC_MSG_LINE_SCROLL{
    max-height:30em;
  }


  div.ACC_MSG_TTL_LINE{
    display:none;
  }

  div.ACC_MSG_LINE_NOREAD{
    border-bottom:1px solid #ccc;
    padding:20px 0 16px 0;
  }

  div.ACC_MSG_LINE_READ{
    background:#fff;
    border-bottom:1px solid #ccc;
    padding:20px 0 16px 0;
    font-weight:normal;
  }

  div.ACC_MSG_LINE_SENT{
    border-bottom:1px solid #ccc;
    padding:20px 0 16px 0;
  }

  div.ACC_MSG_LINE_TRASH{
    border-bottom:1px solid #ccc;
    padding:20px 0 16px 0;
  }

  div.MSG_ICON{
    display:block;
    width:10%;
  }

  div.MSG_ICON img{
    width:100%;
    height:auto;
  }

  div.MSG_READ_CHK{
    display:block;
    width:8%;
    text-align:center;
    font-size:80%;
    color:#337DCF;
  }

  div.MSG_CHK{
    width:8%;
    text-align:left;
  }

  div.MSG_FROM{
    width:70%;
    padding-right:0;
    position:absolute;
    right:0;
    top:1em;
    font-size:120%;
  }

  div.MSG_SUB{
    width:70%;
    padding-right:20px;
    position:absolute;
    right:0;
    top:3em;
  }

  div.MSG_REC{
    width:auto;
    position:absolute;
    right:0;
    top:0;
    font-weight:normal;
    padding-right:0;
  }

  div.MSG_ATC{
    top:2.6em;
  }
/*  div.ACC_MSG_NEW{
    width:100%;
    display:flex;
    justify-content: space-between;
    align-items:center;
  }

  div.ACC_MSG_NEW p.SP_DEL{
    display:block;
  }

  div.ACC_MSG_NEW p{
    margin:0;
    padding:0;
    width:43%;
    display:block;
  }

  div.ACC_MSG_NEW p a{
    font-size:90%;
    padding:2px;
    border:1px solid #434343;
    text-align:center;
  }

  div.ACC_MSG_NEW p img{
    width:20px;
    height:auto;
    margin-right:8px;
    vertical-align: text-top;
  }
*/


  div.ACC_MSG_NEW{
    justify-content: space-between;
  }

  div.ACC_MSG_NEW p:first-child{
    margin-right:0;
  }


  div.ACC_MSG_REP{
    padding-left:0;
    justify-content: space-between;
    align-items:center;
    margin-top:20px;
  }

  div.ACC_MSG_REP p{
    width:43%;
    display:block;
  }

  div.ACC_MSG_REP p:first-child{
    margin-right:0;
  }

  div.ACC_MSG_REP p a{
    font-size:90%;
    padding:2px;
    border:1px solid #434343;
    text-align:center;
  }

  div.ACC_MSG_REP p img{
    width:20px;
    height:auto;
    margin-right:8px;
    vertical-align: text-top;
  }

  div.ACC_MSG_LINE_ARRANGED{
    display:block;
    border:1px solid #ccc;
    padding:2px;
    line-height:1.0em;
    position:relative;
    margin:-1px 0 0 0;
  }

  div.ACC_MSG_LINE_ARRANGED span{
    position:absolute;
    top:-10px;
    left:20px;
	width:24px;
	height:24px;
    border-radius: 12px
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
	background: #fff;
    border:1px solid #434343;
    font-size:80%;
    line-height:20px;
    text-align:center;
    font-weight:bold;
    z-index:1;
  }

  div.LINE_FST{
    /*border:0;*/
  }

  div.ACC_MSG_LINE_NEW{
    padding-top:20px;
  }

  div.ACC_MSG_LINE_OLD{
    padding-top:20px;
  }

  div.ACC_MSG_LINE_FORM #edt_sender{
    width:100%;
  }

	div.ACC_MSG_DONE_ADS{
		width:70%;
	}

  div.MSG_D_FROM{
    padding-left:40px;
    padding-right:0;
    line-height:1.6em;
  }

  div.MSG_D_DATE{
    top:-6px;
  }

  div.MSG_D_FROM p.MSG_D_BADGE_BUYER{
    height:auto;
    padding-left:30px;
    background-size: 26px 26px;
  }

  div.MSG_D_FROM p.MSG_D_BADGE_ID{
    height:auto;
    padding-left:30px;
    background-size: 26px 26px;
  }

  div.MSG_SEND_DIALOG_BOX{
      width:90%;
  }



}
