/* アプリ比較チェックボックス用スタイル */
.app_lists_img{position:relative;}
.compare-checkbox{
  position:absolute;
  top:-4px;
  left:-12px;
  z-index:10;
  background:rgba(255,255,255,0.95);
  padding:0em 0.2em;
  border-radius:0;
  border:1px solid #ddd;
  max-width:calc(100% - 8px);
  white-space:nowrap;
  overflow:hidden;
}
.compare-checkbox input[type="checkbox"]:checked + .checkbox_txt::before{
  background-color:transparent !important;
  border-color:#000 !important;
}
.compare-checkbox input[type="checkbox"]:checked + .checkbox_txt::after{
  color:#000 !important;
  border-color:#000 !important;
}
.compare-checkbox .checkbox_txt{
  color:#000;
  font-size:0.9em;
  font-weight:400;
}

/* 比較セクション用スタイル */
.compare-inner-box.container_inner{
  margin-top:20px;
  padding:0 8%;
}
.compare-bg-inner{
  background:transparent !important;
  border:none;
  padding:0;
}
.compare-section-styled{
  display:block;
  margin-bottom:0;
}
.compare-content-wrapper{
  width:100%;
}
.compare-title{
  margin-bottom:5px;
  margin-left:0;
  font-size:1.1em;
}
.compare-side-menu{
  white-space:nowrap;
  display:flex;
  align-items:center;
  margin-top:10px;
}
.compare-side-menu a,
.compare-side-menu button{
  border:1px solid #e94820;
  border-radius:100px;
  display:flex;
  justify-content:center;
  align-items:center;
  width:160px;
  padding:.4em 1.2em;
  color:#e94820;
  transition:all .1s ease-out;
  transform:scale(1.2);
  text-decoration:none;
  cursor:pointer;
  box-sizing:border-box;
  font-size:14px;
  font-family:inherit;
  font-weight:normal;
  background-color:white;
}
.compare-side-menu a:hover,
.compare-side-menu button:hover{
  opacity:.6;
}
.clear-compare-button{
  margin-right:40px;
  width:140px !important;
}

/* col2_box-left比較用スタイル */
.compare-col2-left{
  width:100%;
}

/* IT導入補助金画像用スタイル */
.subsidy-img{
  position:absolute;
  top:0px;
  right:-12px;
  z-index:10;
}
.subsidy-img img{
  width:80px;
  height:40px;
  object-fit:contain;
}

/* 比較ダイアログ用スタイル */
.compare-dialog-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.5);
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
}
.compare-dialog-content{
  background-color:white;
  padding:30px;
  border-radius:8px;
  max-width:400px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.compare-dialog-content p{
  margin-bottom:20px;
  line-height:1.6;
}
.compare-dialog-button{
  background-color:#007bff;
  color:white;
  border:none;
  padding:10px 20px;
  border-radius:4px;
  cursor:pointer;
}

/* 詳細検索scrollbox用スタイル */
.detail-search-scrollbox{
  height:230px;
}

/* ===== メディアクエリ ===== */

/* モバイル */
@media screen and (max-width: 767px){
  .compare-section{
    flex-direction:row !important;
    flex-wrap:wrap !important;
  }
  .compare-section > div:first-child{
    flex:1;
    min-width:250px !important;
  }
  .compare-side-menu{
    justify-content:center;
    flex-direction:column;
    align-items:center;
    gap:10px;
  }
  .compare-side-menu a,
  .compare-side-menu button{
    width:150px;
    margin-right:0;
    font-size: 13px;
  }
  .clear-compare-button{
    margin-right:0 !important;
    width:140px !important;
  }
  .compare-inner-box.container_inner{
    margin-bottom:-20px !important;
  }
  .detail-search-scrollbox{
    height:180px;
  }
}

/* タブレット用調整 */
@media screen and (min-width: 768px) and (max-width: 1014px){
  .compare-checkbox{
    top:-14px !important;
    left:-14px !important;
  }
  .compare-side-menu{
    justify-content:center;
  }
}

/* タブレット・デスクトップ  */
@media screen and (min-width: 1015px){
  .compare-checkbox{
    top:-14px !important;
    left:-14px !important;
  }
  .compare-inner-box{
    padding:0;
  }
  .compare-section-styled{
    display:flex;
    flex-direction:row;
    align-items:center;
  }
  .compare-content-wrapper{
    margin-right:20px;
    flex:1;
  }
  .compare-side-menu{
    margin-top:0;
    flex-shrink:0;
  }
  .compare-inner-box.container_inner{
    margin-bottom:-35px !important;
  }
  .compare-col2-left{
    width:calc(100% - 330px);
    margin-right:40px;
  }
  .compare-col2-left .bg_inner{
    padding:15px 0px;
  }
  .subsidy-img{
    top:0;
    right:-14px;
  }
}