/* ************** all **************** */


.work_history {
    display: none;
}

.work_history_select {
    display: block;
}

/* 最大180pxボタン 色付き */
.btn-attention-block-middle {
	width: 30%;
	background: #C41134;
	color: #FFF;
	font-weight: bold;
	line-height: 1;
	border: 0;
	display: inline-block;
	padding: 15px 15px;
	text-align: center;
	border-radius: 5px;
	font-size: 20px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-transition: background-color .25s linear;
	        transition: background-color .25s linear;
}
.btn-attention-block-middle:hover,
.btn-attention-block-middle:visited {
	color: #FFF;
	text-decoration: none;
}
.btn-attention-block-middle:focus,
.btn-attention-block-middle:active {
	color: #FFF;
	-webkit-box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, .5);
	        box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, .5);
}
.btn-attention-block-middle:hover {
	background: #910021;
}
.btn-attention-block-middle:active,
.btn-attention-block-middle:focus {
	background: #910021;
}

@media (min-width: 768px) {
	.btn-block-middle {
		max-width: 180px;
	}
	.btn-attention-block-middle {
		max-width: 180px;
	}
}

@media print{

    .acms-admin-container {
      max-width: 90%;
    }

    .btn-attention-block-middle {
        display:none;
    }
}

.acms-admin-filter,
.acms-admin-table-admin-edit,
.acms-admin-filter-detail-btn,
.acms-admin-filter-detail-btn {
    font-size: unset;
}

@media (min-width: 768px) {
    .acms-admin-btn-admin {
        font-size:unset;
    }

    .skill_sheet_list_result .acms-admin-col-md-2,
    .skill_sheet_list_result .acms-admin-col-md-10
     {
      width: unset;
    }
}

.acms-admin-table-admin-edit {
    background: unset;
}


/* ************** contact-form **************** */

.contact-form table {
    border-collapse: collapse;
}

.contact-form .acms-admin-label {
  font-size: 20px;
}

.contact-form table tr {
    margin: 5px;
    border-bottom:1px #eee solid;
}

.contact-form .acms-admin-table-admin-edit tbody th {
    padding-bottom: 5px;
    text-align: left;
}


.contact-form .acms-admin-table-admin-edit tbody th+td {
    padding-bottom: 10px;
}

.contact-form .acms-admin-table-admin-edit thead th,
.contact-form .acms-admin-table-admin-edit thead td,
.contact-form .acms-admin-table-admin-edit tbody th,
.contact-form .acms-admin-table-admin-edit tbody td{
    display:block;
    width: 100% !important;
}

#work_history-select {
    vertical-align: unset;
}
#history_select {
    margin: 5px;
}

.contact-form .sub_lavel {
    font-weight: 700;
}

.contact-form .about_work_time {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}


.contact-form .about_work_time_check {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

@media (min-width: 768px) {

    .contact-form .lavel-ap-tit {
        padding: 5px 0 0 0;
        width: 100%;
    }
    .contact-form .form-ap {
        padding: 0 5px;
        width: 100%;
    }
}

/*--------------------------------------
  カード
--------------------------------------*/
.answer_card {
    margin: 1rem auto;
    padding: 1rem;
    position: relative;
}

.answer_card .main_item input{
  display: none;
}

.answer_card-radius {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.answer_card .close_btn {
  display: flex;
  align-items: center;
  position: absolute;
  right: 30px;
  width: 3.5em;
  border: 2px solid #555555; /* 枠の調整 */
  background-color: #FFF;
  cursor:pointer;
}

@media (max-width: 768px) {
  .answer_card .close_btn {
    width: 4em;
  }
}
.answer_card .close_btn > div {
  padding: 1px 3px;
}  

.answer_card .close_btn .square_btn {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  bottom: 0;
  right:0;
  margin: auto 2px;
  border: 2px solid #555555; /* 枠の調整 */
  background: #fff; /* ボタンの背景色 */
}

.answer_card .square_btn::before, .square_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px; /* 棒の幅（太さ） */
  height: 27px; /* 棒の高さ */
  background: #555555; /* バツ印の色 */
}
 
.answer_card .square_btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.answer_card .square_btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
/*--------------------------------------
  モーダル
--------------------------------------*/
  .modal-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-out;
    z-index: 9;
  }
   
  .modal-container::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
  }
   
  .modal-container.active {
    opacity: 1;
    visibility: visible;
  }
   
  .modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    max-width: 500px;
    width: 90%;
  }
   
  /* .modal-close {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 14px;
    color: #fff;
    background: rgba(0,0,0,60%);
    padding: 4px 15px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
  } */
   
  .modal-content {
    background: #fff;
    border: 2px solid #000;
    text-align: left;
    padding: 30px;
    font-weight: bold;
  }

  .modal-content .en {
    font-family: "Inter";
    margin-right: 15px;
    display: block;
    text-align: center;
    color: #CA353B;
  }
  .modal-content .txt {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }
  .modal-content .gray-bg {
    margin-top: 15px;
    background: #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
  }
  .modal-content .gray-bg .txt {
    font-size: 12px;
  }

  .modal-container .botton_list{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-container .botton_list > div{
    margin: 3px;
  }

  .card-close {
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: center;
    background: #CA353B;
    padding: 12px 25px;
    color: #fff;
    max-width: 260px;
    margin-top: 20px;
    margin-inline: auto;
    border: 2px solid #CA353B;
  }

  .modal-close {
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: center;
    background: rgba(0,0,0,60%);
    padding: 12px 25px;
    color: #fff;
    max-width: 260px;
    margin-top: 20px;
    margin-inline: auto;
    border: 2px solid rgba(0,0,0,60%);
  }

  @media only screen and (min-width: 641px) {
    .btn-area>a:hover {
      background: #fff;
      color: #CA353B;
    }
    .btn-area.back>a:hover {
      color: #0A2463;
    }
  }
/* ************** skill_sheet_list **************** */
.acms-page-header.page-header {
    display: none;
}

.acms-admin-list-group-item {
    background-color: #d8f2ff;
}
.skill_sheet_list a,
.skill_sheet_list a:link,
.skill_sheet_list a:active,
.skill_sheet_list a:hover,
.skill_sheet_list a:visited  {
  text-decoration: none;
}

.acms-admin-label-info,
.acms-pager,
.acms-pager li span>a, .acms-pager li.cur span, .acms-pager li.cur button, .acms-pager li>a, .acms-pager li>button,
.acms-pager li span>a, .acms-pager li.cur span, .acms-pager li.cur button, .acms-pager li>a, .acms-pager li>button {
  font-size: unset;
}
@media (min-width: 768px) {
  .acms-pager li span>a, .acms-pager li.cur span, .acms-pager li.cur button, .acms-pager li>a, .acms-pager li>button{
    font-size: unset;
  }
}


/* ************** entry_skill_sheet **************** */
.entry_skill_sheet_basic {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 15px;
}

.entry_skill_sheet_basic div.entry_skill_sheet_header {
    padding: 10px;
    background-color: #d8f2ff;
}

.entry_skill_sheet_basic div.entry_skill_sheet_body dd.entry_skill_sheet_contents {
    padding: 10px;
    background-color: #efefef;
    margin-bottom: 15px;
}

.entry_skill_sheet_basic div.entry_skill_sheet_body dd.entry_skill_sheet_contents:last-child {
    margin-bottom: 0px;
}

.entry_skill_sheet_basic div.entry_skill_sheet_body dd.entry_skill_sheet_contents p {
    padding: 5px;
    margin: 0;
}

.entry_skill_sheet {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 15px;
}

.entry_skill_sheet_basic dt,
.entry_skill_sheet_basic dd,
.entry_skill_sheet dt,
.entry_skill_sheet dd {
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.8;
    color: #4B4B4B;
}

.entry_skill_sheet div.entry_skill_sheet_header {
    padding: 10px;
    background-color: #d8f2ff;
}

.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents {
    padding: 10px;
    background-color: #efefef;
    margin-bottom: 15px;
    min-height: 4em;
}

.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents:last-child,
.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents:nth-last-child(-n+1 of .work_history_select) {
    margin-bottom: 0px;
}

.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents p {
    padding: 5px;
    margin: 0;
}

.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents p.title {
    margin: 0 0 0 1em;
    font-weight: bold;
}

.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents p.list {
    margin: 0 0 0 2em;
}

.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents p.detail_title {
    background-color: #e0e0e0;
    margin: 0 0 0 3em;
}

.entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents p.detail {
    margin: 0 0 0 3em;
}


@media screen and (max-width: 768px) {
    .entry_skill_sheet_basic,
    .entry_skill_sheet{
        display: block;
    }

    .entry_skill_sheet_basic div.entry_skill_sheet_header,
    .entry_skill_sheet div.entry_skill_sheet_header {
        margin-bottom: 0px;
    }

    .entry_skill_sheet_basic div.entry_skill_sheet_body dd.entry_skill_sheet_contents,
    .entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents {
        margin-bottom: 10px;
    }

    .entry_skill_sheet_basic div.entry_skill_sheet_body dd.entry_skill_sheet_contents:last-child,
    .entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents:last-child,
    .entry_skill_sheet div.entry_skill_sheet_body dd.entry_skill_sheet_contents:nth-last-child(-n+1 of .work_history_select) {
        margin-bottom: 10px;
    }

}

