@charset "utf-8";
/* CSS front Document */
/* モーダル関連　********************************/
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: var(--orange-color-2);
    padding:16px;
    margin: 20% auto;
    width: 80%;
    max-width:600px;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
    border-radius:5px;
    animation-name: modalopen;
    animation-duration: 1s;
    position:relative;
    overflow:hidden;
}
.modal-content:after {
    content: '';
    background-image: url(/themes/custom/korejob_front/img/contents/tamura_02.webp);
    background-repeat: no-repeat;
    background-size: contain;
    width: 180px;
    height: 300px;
    position: absolute;
    bottom: -160px;
    right: 0px;
}
.modal-header h1 {
  width:calc(100% - 160px);
  margin: 0;
}

.modal-header {
  color:#fff;
  padding: 0;
    margin-bottom:16px;
  display: flex;
  justify-content: space-between;
}
.modal-body{
    width:calc(100% - 160px);
    background:#fff;
    border-radius:5px;
}
.modal-warp{
    position: relative;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    gap:8px;
}
/* モーダル閉じるボタン */
.modalClose {
    color:#333;
    background-color:var(--orange-color-4);
    padding:8px;
    border-radius:5px;
    max-width:120px;
    text-align:center;
}
.modalClose:hover {
  cursor: pointer;
  background:#fff;
  color:var(--orange-color-2);
}
.modal-body {
  padding: 10px 20px;
  color: black;
}
.modal-body span.form-data {
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 30px;
}
@media only screen and (max-width : 767px ) { 
    .modal-content {
        width:calc(100% - 16px);
        margin: 40% auto;
    }
    .modal-content:after {
        width: 120px;
        height: 200px;
        position: absolute;
        bottom: -100px;
        right: 0px;
    }
    .modal-header h1 {
      width:100%;
      margin: 0;
        font-size:20px;
    }
    .modal-body{
        width:calc(100% - 90px);
        background:#fff;
        border-radius:5px;
    }
}
@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}


/** 検索ページ ********************/
.path-job .block-views-exposed-filter-blockjoblist-page-job-search{
  margin-bottom:60px;
}

/** 保存条件 ***********************/
.search-save{
  /*
  background:#fff;
  padding:16px;
  border-radius: 10px;
  border: 2px solid var(--orange-color-2);
  */
  display:flex;
  justify-content: center;
  gap:10px;
}
.search-save .btn-warp{
  width:calc(35% - 16px);
  display:flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.search-save .list-warp{
  width:calc(100% - 35%);
}
@media only screen and (max-width : 767px ) { 
  .search-save{
      display:flex;
      flex-wrap: wrap;
      flex-direction: column;
  }
  .search-save .btn-warp{
      width:100%;
  }
  .search-save .list-warp{
      width:100%;
  } 
}
/* 検索フォームしたの検索条件保存ボタン */
.search-save .btn-warp button{
  width:100%;
  max-width:300px;
  font-weight: 600;
  color: var(--white-color);
  text-align: center;
  vertical-align: middle;
  background-color: var(--orange-color-2);
  border: none;
  padding: 0 8px;
  font-size: 1.4rem;
  line-height: 1.2;
  border-radius: 5px;
  height: 40px;
  cursor: pointer;
  transition: 0.2s ease-out;
}

/* SP用 検索条件保存ボタン **/
.form-actions .save-btn{
  width:calc(35% - 16px);
  font-weight: 600;
  color: var(--white-color);
  text-align: center;
  vertical-align: middle;
  background-color: var(--orange-color-2);
  border: none;
  padding: 0 8px;
  font-size: 1.4rem;
  line-height: 1.2;
  border-radius: 5px;
  height: 40px;
  cursor: pointer;
  transition: 0.2s ease-out;
  display:inline-block!important;
}
/* 通常の検索ボタンの幅を調整 */
.path-job .block-views-exposed-filter-blockjoblist-page-job-search .form-actions input[type="submit"]{
    width:calc(65% - 16px)!important;
}
@media only screen and (max-width : 991px ) {
  .form-actions .save-btn{
      display:inline-block!important;
  }
  /* 通常の検索ボタンの幅を調整 */
  .path-job .block-views-exposed-filter-blockjoblist-page-job-search .form-actions input[type="submit"]{
      width:calc(65% - 16px)!important;
  }
}
/* 最近検索した条件 */
.search-save h2{
  font-size:18px;
  padding-bottom:8px;
  border-bottom:solid 2px #D9D9D9;
  position: relative;
}
.search-save h2:before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 20%;
  height: 2px;
  content: '';
  background:var(--orange-color-2);
}
.search-save .saveData{
  width:70%;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* ブラウザがサポートしていない場合のフェールセーフ */
  /*max-height: 20px;*/
}
/*
@media only screen and (max-width : 992px ) { 
  .search-save .saveData{
     max-height: 14px;
  }
}
*/

/* 最近検索した条件 */
.save-list li{
  display:flex;
  gap:10px;
  padding: 8px 0;
  margin-bottom:8px;
  border-bottom:1px dashed #D9D9D9;
}
.save-list li button{
  height:25px;
  width:80px;
  border-radius:5px;
  border:none;
}
.save-list li button.load-btn{
  background:var(--orange-color-2);
  color:#fff;
}
.save-list li button.delete-btn{
  background:#D9D9D9;
  color:#333; 
}