/*body背景*/
body{
  background-image: url(../Images/new/02/red/rb-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent !important;
}

/*企業ロゴ枠線*/
.ImgCompanyLogo {
  border-width: 4px;
  border-style: solid;
  border-color: #FFFFFF;
  max-width: 122px;
  margin-bottom: 1px;
}

.NewTableTag {
  border: 2px;
  margin-bottom: 0px;
}

/*タイトル上部分*/
.line_g{
  padding: 1px 10px;
  background-color: #666;
  color: #fff;
  text-align: right;
  margin-bottom: 20px;
}

#LblGreetingMessage,
#LblUserName{
  font-size: 18px;
  font-weight: bold;
}

/*タイトル部分*/
.LoginTitle{
  padding-bottom: 4px;
  border-bottom: solid 4px #d00e36;
  margin-top: 5px !important;
  margin-bottom: 30px;
}

/*ログインID、パスワード*/
.InputIDPASSTable > tbody > tr > td {
    text-align: left;
}

.InputIDPASSTable > tbody > tr > td > input{
  background-color: #efefef;
  border: solid 1px #666;
}


/*ログインボタン*/
.NewLoginBtn {
  background-image: url(../Images/new/02/red/arrowBtn_on.png);
  background-repeat: no-repeat;
  background-position: top 49% left 15%;
}

/*矢印画像*/
div.TextArrow {
  height: 17px;
  width: 18px;
  background-image: url('../Images/new/02/red/arrowBtn.png');
  background-repeat: no-repeat;
}

div.container-fluid div.row div.ChildBody.HiraginoFont.col-12 div table{
  margin-left: auto;
  margin-right: auto;
}

/*左メニュー*/
.CorporateLinkBtn,
a.MyPageBtn,
input.MyPageBtn,
input.ProfileCheckBtn,
a.ProfileCheckBtn,
input.EntrySheetCheckBtn,
a.EntrySheetCheckBtn,
a.PhotoCheckBtn,
a.LinkBtn,
input.PasswordChangeBtn,
a.PasswordChangeBtn,
input.InquiryBtn,
a.InquiryBtn,
.FileCheckBtn,
.QuestionnaireCheckBtn {
  vertical-align: middle;
  height: 40px;
  width: 180px;
  text-decoration: none !important;
  color: #333333;
  position: relative;
  border: solid 1px #666;
}

.CorporateLinkBtn::before,
a.MyPageBtn::before,
input.MyPageBtn::before,
input.ProfileCheckBtn::before,
a.ProfileCheckBtn::before,
input.EntrySheetCheckBtn::before,
a.EntrySheetCheckBtn::before,
a.PhotoCheckBtn::before,
a.LinkBtn::before,
input.PasswordChangeBtn::before,
a.PasswordChangeBtn::before,
input.InquiryBtn::before,
a.InquiryBtn::before,
.FileCheckBtn::before,
.QuestionnaireCheckBtn::before{
  content: "";
  height: 17px;
  width: 17px;
  background-image: url(../Images/new/02/red/arrowBtn.png);
  background-repeat: no-repeat;
  position: absolute;
  top: 10px;
  left: 10px;
}

.CorporateLinkBtn:hover,
input.MyPageBtn:hover,
a.MyPageBtn:hover,
input.ProfileCheckBtn:hover,
a.ProfileCheckBtn:hover,
input.EntrySheetCheckBtn:hover,
a.EntrySheetCheckBtn:hover,
a.PhotoCheckBtn:hover,
a.LinkBtn:hover,
input.PasswordChangeBtn:hover,
a.PasswordChangeBtn:hover,
input.InquiryBtn:hover,
a.InquiryBtn:hover,
.FileCheckBtn:hover,
.QuestionnaireCheckBtn:hover {
  background-color: #f1d7d9;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all  0.4s ease;
}

.CorporateLinkBtn.current,
input.MyPageBtn.current,
a.MyPageBtn.current,
input.ProfileCheckBtn.current,
a.ProfileCheckBtn.current,
input.EntrySheetCheckBtn.current,
a.EntrySheetCheckBtn.current,
a.PhotoCheckBtn.current,
a.LinkBtn.current,
input.PasswordChangeBtn.current,
a.PasswordChangeBtn.current,
input.InquiryBtn.current,
a.InquiryBtn.current,
.FileCheckBtn.current,
.QuestionnaireCheckBtn.current {
  background-color: #d00e36;
  color: #fff;
  border: none;
}

.CorporateLinkBtn.current::before,
input.MyPageBtn.current::before,
a.MyPageBtn.current::before,
input.ProfileCheckBtn.current::before,
a.ProfileCheckBtn.current::before,
input.EntrySheetCheckBtn.current::before,
a.EntrySheetCheckBtn.current::before,
a.PhotoCheckBtn.current::before,
a.LinkBtn.current::before,
input.PasswordChangeBtn.current::before,
a.PasswordChangeBtn.current::before,
input.InquiryBtn.current::before,
a.InquiryBtn.current::before,
.FileCheckBtn.current::before,
.QuestionnaireCheckBtn.current::before{
  content: "";
  background-image: url(../Images/new/02/red/arrowBtn_on.png);
}

/*ログアウトボタン*/
input.LogoutBtn {
  vertical-align: middle;
  height: 40px;
  width: 180px;
  text-decoration: none !important;
  color: #333333;
  position: relative;
  border: solid 1px #666;
  background-image: url(../Images/new/02/red/arrowBtn.png);
  background-repeat: no-repeat;
  background-position: top 45% left 6%;
  text-align: left;
  padding-left: 32px;
  background-color: #efefef;
}

input.LogoutBtn:hover {
  background-color: #c9c9c9;
  color: #fff;
  border: none;
}

/*タイトル*/
.title_mypage{
  color: #d00e36;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 5px;
  display: block;
}

/*アクションメニュー*/
/*メッセージビュー*/
/*イベントビュー*/
.ActionMenu,
.MessageView,
.EventView{
  box-sizing: border-box;
  font-size: 12px;
}

.ActionMenu,
.EventView{
  margin: 0 0 20px 0;
}

.MessageView{
  margin: 0 0 20px 0;
}

.ActionMenu table,
.MessageView table,
.EventView table{
  width: 100%;
}

/*イベントビュー*/
.EventView .GridTable td{
  vertical-align: top;
}

/*メッセージビュー*/
#messageDiv .MessageViewRowTopTen td,
.MessageViewRow td {
    line-height: 1.6;
    border-bottom: solid 1px #4b4847;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
}

#messageDiv .MessageViewRowTopTen:first-child td,
.MessageViewRow:first-child td {
    padding-top: 0;
}

#messageDiv .MessageViewRowTopTen td::before,
.MessageViewRow td::before {
    content: "NEW";
    background-color: #4b4847;
    color: #fff;
    padding: 3px 20px;
    font-size: 10px;
    font-weight: bold;
    margin-right: 10px;
}

#messageDiv .MessageViewRowTopTen.read td::before,
.MessageViewRow.read td::before {
    background-color: transparent;
    color: transparent;
}

#messageDiv .MessageViewRowTopTen td a,
.MessageViewRow td a {
    padding-left: 35px;
}

 #messageDiv .MessageViewRowTopTen td a::before,
 .MessageViewRow td a::before {
    content: "";
    height: 17px;
    width: 18px;
    background-image: url(../Images/new/02/red/arrowBtn.png);
    background-repeat: no-repeat;
    position: absolute;
    top: calc(1200px / 55);
    left: calc(1200px / 14);
 }

#messageDiv .MessageViewRowTopTen:first-child td a::before,
.MessageViewRow:first-child td a::before {
    top: calc(1200px / 260);
}

#messageDiv .MessageViewRowTopTen td a .message,
.MessageViewRow td a .message {
    margin-left: 25%;
    position: relative;
    display: block;
}

@media only screen and (max-width:991px){
    #messageDiv .MessageViewRowTopTen td::before,
    .MessageViewRow td::before {
        padding: 3px 10px;
        vertical-align: top;
        margin-right: 0;
    }

    #messageDiv .MessageViewRowTopTen td a,
    .MessageViewRow td a {
        padding-left: 10%;
        display: inline-block;
        width: 80%;
    }

    #messageDiv .MessageViewRowTopTen td a::before,
    .MessageViewRow td a::before {
        left: calc(375px / 6.5);
        top: calc(375px / 35);
    }

    #messageDiv .MessageViewRowTopTen:first-child td a::before,
    .MessageViewRow:first-child td a::before {
        top: calc(375px / 300);
    }

    #messageDiv .MessageViewRowTopTen td a .message,
    .MessageViewRow td a .message {
        margin-left: 0;
    }

  #ContentPlaceHolder1_LoginForm > tbody > tr > td > div > table > tbody > tr > td > input{
    width: 100%;
  }
}

/*罫線*/
.MenuRuledLine {
  height: 2px;
  background-color: #d00e36;
  margin-top: 0;
}

/*ニューアイコン*/
div.NewImageIcon {
  height: 14px;
  width: 29px;
  background-image: url('../Images/new/02/red/newBtn.png');
  background-repeat: no-repeat;
}

/*イベント予約テーブル*/
.ReservationTable tr td p{
  background-color: #f1f2f2;
}

.ReservationTable tr td:first-child p{
  background-color: #d00e36;
}

/*四角赤*/
.square::before{
  color: #d00e36;
}

.box{
  background-color: #d00e36;
}

/*イベント詳細項目*/
.registration th::after{
  content: "\5FC5\9808";
  background-color: #d00e36;
  color: #fff;
  padding: 1px 20px;
  font-size: 12px;
  display: block;
  width: 30%;
  margin-top: 5px;
}

/*戻る、予約、同意して次へ、印刷ボタン*/
.MainControl input:first-child{
  background-color: #848585;
  background-image: url(../Images/new/02/red/arrowBtn_back.png);
}

.MainControl input:last-child{
  background-color: #d00e36;
  background-image: url(../Images/new/02/red/arrowBtn_on.png);
}

.agree_btn{
  width: 35%;
}

.agree_btn input{
  width: 50%;
}

.agree_btn input:first-child{
  background-position: top 50% left 35%;
}

.agree_btn input:last-child{
  padding-left: 25px;
  background-position: top 50% left 15%;
}

.btn3{
  width: 60%;
}

.btn3 input{
  width: 33.333%;
  background-position: top 50% left 5%;
}

.btn3 input:first-child,
.btn3 input:nth-child(2){
  margin-right: 5px;
}

/*背景色白色*/
.BackgroundWhite {
  background-color: #FFFFFF;
}

/*休暇中の連絡先*/
.holiday_contacts tr{
  background-color: #f7baca;
}

.holiday_contacts tr td{
  border-right: solid 1px #f7baca !important;
}

/*予約ボタン*/
input.ReserveSBtn {
  border: 0px;
  height: 25px;
  width: 90px;
  background-color: #d00e36;
  background-image: url(../Images/new/02/red/arrowBtn_on.png);
  background-repeat: no-repeat;
  background-position: top 45% left 22%;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  line-height: 1.7;
  text-align: center;
  padding-left: 23px;
  margin-left: 10px;
}

input.ActionMenuBtn {
    background-position: top 45% left 10%;
}

input.ReserveSBtn:hover {
  opacity: 0.8;
}

/*提出ボタン*/
input.ReportBtn {
  border: 0px;
  background-image: url('../Images/new/02/red/reportBtn.gif');
  height: 21px;
  width: 44px;
}

input.ReportBtn:hover {
  background-image: url('../Images/new/02/red/reportBtn.gif');
}

/*受験ボタン*/
input.ExamBtn {
  border: 0px;
  background-image: url('../Images/new/02/red/examBtn.gif');
  height: 21px;
  width: 44px;
}

/*企業ロゴ表示位置調整用divタグ高さ*/
.SpaceDivHeight {
  height: 0;
}

/*マイページのトップ画像と情報欄の空き*/
.MyPageMarginBottom {
  margin-bottom: 10px !important;
}

/*メニューボタン隙間調整*/
.MainMenuBtnMargin {
  border-collapse: separate !important;
  border-spacing: 0px 1px;
}

#ContentPlaceHolder1_LoginForm_UserNameRequired, #ContentPlaceHolder1_LoginForm_PasswordRequired {
    white-space: nowrap;
}

.LoginErrorMessageTable > tbody > tr > td {
    color: Red;
    text-align: left;
    vertical-align: middle;
}

/*スマホメニュー ログアウトボタン*/
.nav-item-style-logout {
    background-color: #efefef;
}

@media only screen and (max-width:991px){
  .agree_btn,
  .btn3{
    width: 100%;
  }

  /*prof4*/
  .registration.prof4 td input[type="radio"],
  .registration.prof4 td input[type="checkbox"]{
    width: 10% !important
  }
}
