.pf-advice {
    max-width: 450px;
    position: relative;
    margin-inline: auto;
}

.pf-advice .pf-advice__img {
    position: relative;
    padding: 0 15px 30px 15px;
}

.pf-advice .pf-advice__btn {
    position: absolute;
    top: 50%;
    right: 40%;
    transform: translate(50%, -50%);
    max-width: 240px;
}

.pf-advice .pf-partner__img {
    position: relative;
    padding: 0 15px 60px 15px;
    margin-bottom: 20px;
}

.pf-advice .pf-partner__btn {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;
}

@media print, screen and (max-width: 335px) {
    .pf-advice .pf-advice__btn {
        max-width: 200px;
    }
}
.pf-button--unkeep {
    background-color: #238fe8 !important;
    color: #fff !important;
}
.pf-button--footer {
    height: 52px !important;
}
.keep_parent {
    position: relative;
}

/* モバイル版のスタイル */
@media only screen and (max-width: 767px) {
    /* footer_sp_btnをフレックスコンテナとして設定し、子要素を横に並べる */
    .footer_sp_btn {
        display: flex;
        justify-content: space-between; /* 子要素を両端に配置 */
        align-items: center; /* 子要素を中央に垂直揃え */
    }

    /* 応募画面へ進むボタンのスタイル調整 */
    .footer_sp_btn .pf-page-bottom_apply {
        flex-grow: 1; /* 可用空間をすべて取るように伸縮する */
        margin-right: 10px; /* キープするボタンとの間隔 */
    }

    /* キープするボタンのスタイル調整 */
    .footer_sp_btn .pf-page-bottom_fav {
        flex-shrink: 0; /* ボタンが縮小しないように設定 */
        max-width: 32%;
    }

    /* キープするボタン内のテキストとアイコンのスタイル調整 */
    .footer_sp_btn .pf-button--heart span {
        margin-right: 5px; /* アイコンとテキストの間にスペースを追加 */
    }
    .footer_sp_btn .pf-button--heart span {
        font-size: 12px; /* 文字サイズを小さくします */
        margin-right: 5px;
    }
}
/* iphoneSE */
@media only screen and (max-width: 378px) {

    .pf-button--001 {
        padding-bottom: 2px;
        padding-top: 4px;
    }
    /* キープするボタンのアイコンとテキストを縦に配置 */
    .footer_sp_btn .pf-button--heart {
        flex-direction: column;
    }

    .footer_sp_btn .pf-button--heart span.pf-button_txt {
        margin-top: 2px;  /* 上のマージンを調整 */
    }
    .footer_sp_btn .pf-button--heart span {
        font-size: 12px; /* 文字サイズを小さくします */
        margin-right: 5px;
    }
}
/* iphone12pro */
@media only screen and (max-width: 767px) {

    .pf-button--001 {
        padding-bottom: 2px;
        padding-top: 4px;
    }
    /* キープするボタンのアイコンとテキストを縦に配置 */
    .footer_sp_btn .pf-button--heart {
        flex-direction: column;
    }

    .footer_sp_btn .pf-button--heart span.pf-button_txt {
        margin-top: 2px;  /* 上のマージンを調整 */
    }
    .footer_sp_btn .pf-button--heart span {
        font-size: 12px; /* 文字サイズを小さくします */
        margin-right: 5px;
    }
    
    .pf-button--001.pf-button--s-lg {
        line-height: 28px;
    }
    .pf-button--001.pf-button--s-lg strong{
        font-size: 17px;
    }
}
.pf-button--heart::before {
    background-image: url(/common/images/ic-heart_check.svg);
    /* 他のプロパティは変更せずにそのまま */
}

.pf-button--heart.pf-button--unkeep::before {
    /* background-color: #fff; */
    background-image: url(/common/images/ic-heart_check_un.svg) !important; /* キープされていない状態の画像 */
}
.red-btn{
    background-color: #ef3e37 !important;
    border-color: #ef3e37!important;
    color: #fff!important;
}
/* ポップアップ */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
}

/* ポップアップの基本スタイル */
.popup-content {
    width: 344px; /* 必要に応じて変更 */
    max-width: 600px; /* 必要に応じて変更 */
    height: 195px;
    max-height: 600px; /* 必要に応じて変更 */
    text-align: center;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center; /* 中央揃え（垂直方向） */
    align-items: center; /* 中央揃え（水平方向） */
}

.popup-content2{
    width: 353px !important; /* 必要に応じて変更 */
    max-width: 600px; /* 必要に応じて変更 */
    height: 287px !important;
    max-height: 600px; /* 必要に応じて変更 */
}
.popup.show {
    opacity: 1;
    visibility: visible;
}
/* ポップアップボタンの基本スタイル */
.popup-btn, .popup-login-btn, .popup-register-btn {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #238FE8; /* デフォルトの背景色 */
    color: #fff; /* 文字色 */
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
    text-decoration: none;
}


/* ポップアップボタンの基本スタイル */
.popup-btn, .popup-login-btn, .popup-register-btn {
    margin-top: 20px; /* 上部の余白を追加 */
}


.close-btn_backup {
    position: absolute;
    top: -20px; /* 位置を調整 */
    right: 20px;
    color: #fff; /* 透過的な白に設定 */
    background-color: #fff;
    display: inline-block;
    width: 40px; /* ボタンの幅を固定 */
    height: 40px; /* ボタンの高さを固定 */
    line-height: 40px; /* ✖をボタンの中央に配置 */
    text-align: center; /* ✖をボタンの中央に配置 */
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
    font-weight: bold;
    font-size: 34px; /* ✖のサイズを大きくする */
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}



.popup-icon {
    width: 50px;
    margin-bottom: 20px;
}

.popup-message {
    font-size: 24px;
    font-weight: bold;
}

.popup-login-btn, .popup-register-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.popup-login-btn {
    background-color: #238FE8;
    color: #fff;
}

.popup-register-btn {
    background-color: #ef3e37;  
    color: #ffffff;  
    border: 1px solid #f45b55;

}

.popup-login-btn:hover {
    background-color: #007BCC;
}
.popup-btn:hover {
    background-color: #4da4eb;
}

.popup-register-btn:hover {
    background-color: #f7c4d0;
    color: #e9dddd;
} 

.popup-content .smaill-message {
    font-size: 12px; /* assuming a smaller font size */
    margin: 8px;
}

img.close-btn:hover path {
    fill: red !important;
}

.uni-req-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px; /* 項目間のスペースを調整 */
}
.uni-req-item .label {
    font-weight: bold;
}
.chart {
    text-align: center; /* chartの部分を中央揃えにする */
}

/* CSS */
.pf-table {
    overflow: visible; /* 親要素に適用されている場合 */
}

.pf-table tr, .pf-table td {
    overflow: visible; /* trやtdに適用されている場合 */
    /* 必要に応じて高さを調整 */
    height: auto;
}

.pg-panel-box__chart {
    /* グラフの高さや幅を調整する場合 */
    height: auto;
    width: 100%;
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 8px solid white;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-popup {
    font-size: 18px;
    color: white;
    font-weight: bold;
}
.atmstylehead {
    margin: -20px -15px 0px -15px;
    background-color: #238fe8;
    padding: 8px 20px;
}
.atmstyleheadfont{
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: -20px;
}
.atmstyletitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}
.atmstylemain {
    margin-bottom: -20px;
    
}
.atmstylecontents{
    border-bottom: 1px solid #d8d8d8;
    padding: 20px 10px;
    width: 100%;
}
@media screen and (max-width: 767px) {
    .pf-map_inner {
        /* height: 536px !important;  または任意の高さに設定 */
        height: 304px !important;  /* または任意の高さに設定 */
    }
}

@media screen and (max-width: 767px){
    .pf-button--001 {
        padding: 7px 10px;
    }
}

@media only screen and (max-width: 767px) { 
    .pf-button--001.pf-button--c-primary {
        padding: 7px 10px;
    }
}
@media screen and (max-width: 767px){
    .pf-button--middle-02 {
        padding: 13.5px 10px;
    }
}
@media screen and (max-width: 767px){
    .keep-button_footer{
        padding-bottom: 2px;
        padding-top: 4px;
    }
}

/* KKDEV2-1451 介護求人ナビ×キャリオス1DAY連携企画_第二弾の開発 */

@media screen and (min-width: 768px) {
    .pf-cv.pf-cv--type-01 .otameshi-wrap {
        margin-left: -26%;
    }
    .otameshi_img_pc_3 {
        margin-left: 3% !important; /* 左右中央のみ */
        margin-right: auto !important; /* 左右中央のみ */
        margin-bottom: -20px;
    }
}
@media screen and (min-width: 1920px) {
    .pf-cv.pf-cv--type-01 .otameshi-img {
        /* min-width: 650px; */
        /* min-width: 720px; */
    }
}

.pf-partner__img--npb {
    padding-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
    .otameshi_sp_2 {
        margin-top: -5px;
        max-width:350px;
        margin-left: auto !important; /* 左右中央のみ */
        margin-right: auto !important; /* 左右中央のみ */
    }
    .otameshi_sp_3 {
        max-width: 380px !important;
    }
}
@media screen and (min-width: 370px) and (max-width: 380px) {
    .sp_size_se {
        max-width: 336px !important;
    }
    .otameshi_sp_2 {
        margin-top: -5px;
        max-width:350px;
        margin-left: 0px !important; /* 左右中央のみ */
        margin-right: 0px !important; /* 左右中央のみ */
    }
}
@media screen and (min-width: 380px) and (max-width: 390px) {
    .sp_size_se {
        max-width: 346px !important;
    }
}
@media screen and (min-width: 300px) and (max-width: 360px) {
    .sp_size_se {
        max-width: 320px !important;
    }
}
/* KKDEV2-1451 介護求人ナビ×キャリオス1DAY連携企画_第二弾の開発 */
/* お試し勤務用 */
/* 背景のオーバーレイ */
.overlay-t {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
/* ポップアップ本体 */
.popup-t {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 353px;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  position: relative;
}
.trail-close {
  position: absolute; 
  top: -25px; 
  right: 15px; 
  width: 50px; 
  height: 50px; 
  cursor: pointer; 
  z-index: 1000;
}
.popup-t .action {
  background: #238FE8;
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 16px;
  font-weight:bold; 
  cursor: pointer;
  margin-top: 15px;
  width: 90%;
}
.popup-t .checkbox {
  margin-top: 15px;
  font-size: 12px;
  font-weight:bold; 
  color: #333;
  display: flex;
  gap: 6px;
  margin-left: 5%;
}

.subject-title {
  color:#09629F; 
  font-weight:bold; 
  font-size: 14px;
  margin-bottom: 4px;
}
