﻿@charset "utf-8";

/* マッチング一覧
---------------------------------------------------------------------------- */
/*新着件数*/
.news-notification-wrap{
    display: flex;
    justify-content: flex-start;
    margin: 0 0 20px -3%;
}
.news-notification-item{
    margin: 0 0 0 3%;
    padding: 20px 20px 20px 20px;
    text-align: center;
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    border-radius: 5px;
    max-width: 200px;
    width: 25%;
}
.news-notification-item__title{
    margin: 0 0 20px 0;
}
.news-notification-item__number{
    font-size: 3em;
    line-height: 1;
    position: relative;
}
.news-notification-item__number::before{
    content: "";
    display: block;
    margin: -20px 0 0 0;
}
@media screen and (max-width: 1110px) {
    .news-notification-item{
        max-width: none;
        width: 47%;
    }
}
@media screen and (max-width: 900px) {
    .news-notification-item__title{
        font-size: 0.9em;
    }
}

/*検索*/
.matching-filter{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    margin: 0 0 20px 0;
}
.matching-filter-item{
    margin: 0 15px 10px 0;
}
.matching-filter__title{
    line-height: 1;
    font-size: 0.8em;
    margin: 0 0 5px 0;
}
.matching-filter input{
    padding: 10px;
}
.search-btn{
    padding: 22px 0 0 0;
}
@media screen and (max-width: 1350px) {
    .search-btn{
        width: 100%;
    }
    .search-btn .btn-action{
        margin: 0 auto;
    }
}
@media screen and (max-width: 900px) {
    .matching-filter{
        flex-direction: column;
    }
}

/*テーブル*/
.table-sort{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0 0 20px 0;
}
.table-sort div{
    margin: 0 0 10px 20px;
}

/*テーブル*/
.matching-table{
    width: 100% !important;
    min-width: 1200px !important;/*スクロール*/
    white-space: nowrap;/*スクロール*/
    border-left: 1px solid #CCCCCC;
	font-size: 0.9em;
}
/*
.matching-table tr:nth-child(even) {
    background: #f0f0f6;
}
*/
.matching-table tr:hover{
    cursor: pointer;
    background: #dadaf7;
}
.matching-table th{
	padding: 2px;
    background: #EEEEEE;
    text-align: center;
	border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}
.matching-table td{
	padding: 2px;
    text-align: center;
	border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}
/*編集アイコン*/
.matching-table a.edit{
    display: block;
    margin: -15px 0 0 0;
}
.matching-table a.edit:hover{
    opacity: 0.8;
}


/* マッチング詳細
---------------------------------------------------------------------------- */
.form-textarea{
    width: 100%;
    height: 100px;
    padding: 10px;
}
.count{
    font-size: 0.8em;
    text-align: right;
}
.horizontal-list input{
    padding: 10px;
}
.title-form-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}
.title-form-wrap div{
    margin: 0 20px 0 0;
}
.title-form-item__title{
    font-size: 0.8em;
    margin: 0 0 5px 0;
}

.matching-alert{
    color: #d7282d;
    font-weight: bold;
    line-height: 1.5;
	text-align: center;
    margin: 10px 0 20px 0;
}
.btn-action-list{
    display: flex;
	width: fit-content;
    justify-content: space-between;
    margin: 10px auto 30px auto;
}
.btn-action-list li{
    margin: 0 10px 0 0;
}
.btn-rejected a{
    background: #EEEEEE;
    color: #333333;
    font-weight: bold;
}

@media screen and (max-width: 1135px) {

}

/* マッチング：メッセージ
---------------------------------------------------------------------------- */
/*未読*/
.unread td{
    font-weight: bold !important;
}

/*メールアイコン*/
.connect-table a.mail{
    display: block;
    margin: -12px 0 0 0;
}
.connect-table a.mail img{
    width: 20px;
    height: 20px;
}
.connect-table a.mail:hover{
    opacity: 0.8;
}



/* モーダルウィンドウ
---------------------------------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
}

/* 背景黒色部分 */
.modal-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}
/* コンテンツ表示部分 */
.modal-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;/*モーダルサイズ*/
  height: 80%;/*モーダルサイズ*/
  padding: 20px;
  background: #e5e5eb;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch; /* 慣性スクロール */
  z-index: 999;
}

.box-btn {
  text-align: right;
}

.btn-modal {
  border: none;
  appearance: none;
  padding: 0;
  margin-right: 0.5em;
  background: transparent; /* ボタン背景を透明に */
  cursor: pointer;
  font-size: 3em;
}

.btn-more {
  border: 1px solid #000;
  appearance: none;
  padding: 0.3em 0.5em;
  background: transparent; /* ボタン背景を透明に */
  cursor: pointer;
}
