/*追加CSS*/
/* ==========================
   お仕事検索条件
========================== */
.hero-job {
  background-image: url("/common/img/job/h1-job.jpg");
}

.hero-job-mini {
  background-image: url("/common/img/job/h1-job-mini.jpg");
  height: 77px;
}
@media (max-width: 767px) {
  .hero-job {
    background-image: url("/common/img/job/h1-job-sp.jpg");
  }

  .hero-job-mini {
    background-image: url("/common/img/job/h1-job-mini-sp.jpg");
    height: 62px;
  }
}

.job-search-condition {
  background: #fff;
  padding: 54px 0 80px;
  margin-bottom: 220px;
  color: #111;
}

.search-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dotted #BCBCBC;
  display: flex;
  justify-content: space-between;
}
.search-block.last {
  margin-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dotted #BCBCBC;
}

.search-block-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 4px;

  width: 100px;
}

.search-block-body {
  width: calc(100% - 120px);
}

.job-category {
  margin-bottom: 22px;
}

.job-category.mb-0 {
  margin-bottom: 0;
}

.job-category.mb-5 {
  margin-bottom: 8px;
  margin-top: 8px;
}

.job-category.pb-0, .job-category.pb-0 label {
  padding-bottom: 0 !important;
}

.job-category-radio {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.job-category.mb-0 .job-category-radio {
  padding: 8px 0;
  margin-bottom: 0;
}

.job-category-body {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 28px;
}

.job-category-image {
  width: 160px;
  cursor: pointer;
}

.job-category-image img {
  width: 100%;
  height: auto;
}

.job-category-buttons {
  width: calc(100% - 180px);
}


.area-buttons,
.job-category-buttons,
.tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    padding-top: 0 !important;
}

.area-buttons .select-button,
.job-category-buttons .select-button,
.tag-buttons .select-button {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.area-buttons .select-button input[type="checkbox"],
.job-category-buttons .select-button input[type="checkbox"],
.tag-buttons .select-button input[type="checkbox"]{
  display: none;
}

.area-buttons .select-button span,
.job-category-buttons .select-button span,
.tag-buttons .select-button span {
  padding: 6px 12px;
  border: 1px solid #BCBCBC;
  border-radius: 4px;
  font-size: 1.6rem;
  color: #111111;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.area-buttons .select-button input[type="checkbox"]:checked + span,
.job-category-buttons .select-button input[type="checkbox"]:checked + span,
.tag-buttons .select-button input[type="checkbox"]:checked + span{
  background-color: #EAF2FF;
  color: #0041B1;
  font-weight: bold;
  border-color: #0041B1;
}

.area-buttons .select-button:hover span,
.job-category-buttons .select-button:hover span,
.tag-buttons .select-button:hover span {
  background-color: #f1f5fb;
}



.job-category-buttons button,
.area-buttons button,
.tag-buttons button {
  border: 1px solid #333;
  background: #fff;
  padding: 6px 14px;
  margin: 4px;
  font-size: 14px;
  cursor: pointer;
}

.area-group {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.area-group.sp-ml {
  margin-bottom: 0;
}

.area-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F2F2F2;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 1.4rem;
}

.search-block-body .keyword-input {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  border: 1px solid #ccc;
  margin-top: 0;
  font-size: 1.4rem;
}

.search-submit {
  text-align: center;
  margin-top: 30px;
}

.btn-search-submit {
  background: #0041B1;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 14px 145px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.btn-search-submit span{
  display: block;
  margin-top: 2px;
}

/* SP */
@media (max-width: 768px) {
  .job-category-body {
    flex-direction: column;
  }

  .job-category-image img {
    width: 120px;
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .job-search-condition {
    padding: 30px 0 60px;
    margin-bottom: 175px;
  }

  .job-categories-title{
    font-size: 2rem;
  }

  .search-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .search-block {
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
    display: block;
  }

  .search-block.first{
    margin-top: 16px;
  }

  .search-block.last {
    margin-top: 24px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .search-block-title {
    font-size: 1.6rem;
    margin-top: 4px;
    margin-bottom: 12px;
    width: 100%;
    border-left: 2px solid #111;
    background: #F2F2F2;
    padding: 6px 12px;
  }

  .search-block-body {
    width: 100%;;
  }

  .job-category {
    margin-bottom: 18px;
  }
  .job-category.mb-0 {
    margin-bottom: 0;
  }
  .job-category.mb-5 {
    margin-bottom: 4px;
    margin-top: 4px;
  }

  .job-category-radio {
    gap: 4px;
    margin-bottom: 7px;
  }

  .job-category.mb-0 .job-category-radio {
    padding: 0;
    margin-bottom: 14px;
  }
  .job-category.mb-5{
    margin-bottom: 24px;
  }

  .job-category-body {
    display: block;
    margin-left: 24px;
  }

  .job-category-image {
    width: 120px;
    margin-bottom: 10px;
  }

  .job-category-buttons {
    width: calc(100% - 180px);
  }


  .area-buttons,
  .job-category-buttons,
  .tag-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      align-items: flex-start;
      padding-top: 0 !important;
      width: calc(100% - 120px);
  }

  .job-category-buttons,
  .tag-buttons{
    width: 100%;
  }

  .area-buttons .select-button,
  .job-category-buttons .select-button,
  .tag-buttons .select-button {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
  }

  .area-buttons .select-button input[type="checkbox"],
  .job-category-buttons .select-button input[type="checkbox"],
  .tag-buttons .select-button input[type="checkbox"]{
    display: none;
  }

  .area-buttons .select-button span,
  .job-category-buttons .select-button span,
  .tag-buttons .select-button span {
    padding: 4px 10px;
    font-size: 1.4rem;
  }

  .job-category-buttons button,
  .area-buttons button,
  .tag-buttons button {
    border: 1px solid #333;
    background: #fff;
    padding: 6px 14px;
    margin: 4px;
    font-size: 14px;
    cursor: pointer;
  }

  .area-group {
    margin-bottom: 8px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .area-group.sp-ml {
    margin-left: 90px;
  }

  .area-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    padding: 13px 0;
    width: 80px;
    font-size: 1.3rem;
    text-align: center;
  }

  .search-block-body .keyword-input {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: 1px solid #ccc;
    margin-top: 0;
    font-size: 1.4rem;
  }

  .search-submit {
    text-align: center;
    margin-top: 30px;
  }

  .btn-search-submit {
    width: 100%;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 12px 0;
    border-radius: 30px;
    gap: 8px;
    display: flex;
    justify-content: center;
  }

  .btn-search-submit span{
    display: block;
    margin-top: 2px;
  }
}




/*求人情報詳細*/
.breadcrumb.hero-top{
  margin-top: 104px;
  background: #F2F2F2;
}

.breadcrumb.hero-top ol{
  padding: 14px 0;
}


.job-detail {
  width: 1200px;
  margin: 0 auto;
  background: #fff;
}

/* ヘッダー */
.job-header .job-meta {
  display: flex;
  gap: 30px;
  font-size: 1.4rem;
  color: #111111;
  margin-bottom: 10px;
}

.job-header .job-meta dl{
  display: flex;
  gap: 10px;
  align-items: center;
}

.job-header .job-meta dl dt{
  font-size: 1.2rem;
  border: 1px solid #BCBCBC;
  padding: 2px 6px;
}


.job-header .job-meta dl dd{
  display: flex;
  gap: 10px;
}

.job-header .job-title {
  font-size: 3.2rem;
  font-weight: bold;
  margin-top: 20px;
}

.job-header .job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 26px 0 25px;
}

.job-header .job-tags li {
  background: #EAF2FF;
  border: 1px solid #D9E7FF;
  font-size: 1.4rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}

/* テーブル */
.job-table {
  margin-top: 36px;
}

.job-table table {
  border: 1px solid #BCBCBC;
  margin: 0;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.job-table table th {
    border: 1px solid #c8c8c8;
    background: #F2F2F2;
    width: 160px;
    padding: 20px;
    vertical-align: middle;
    text-align: left;
}

.job-table table td {
    border: 1px solid #c8c8c8;
    padding: 20px;
    vertical-align: middle;
}

.job-table table td p {
  font-size: 1.6rem;
  margin-bottom: 0;
}

.job-table table td p.bold {
  font-weight: bold;
}

/* ボタン */
.job-buttons {
  margin-top: 40px;
  text-align: center;
}

.btn-entry {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 12px;
  background-image: linear-gradient(90deg, #e51f41, #810104);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: bold;
}

.btn-entry img{
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.btn-entry:hover{
  background: #7E0002;
}
.btn-entry:hover img{
  opacity: 1;
}

.btn-back {
  display: inline-block;
  padding: 12px 56px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid #989898;
  margin-top: 30px;
  font-size: 1.6rem;
}


.btn-back:hover {
    background-color: #111;
    border-color: #111;
    color: #fff;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .breadcrumb.hero-top{
    margin-top: 62px;
  }

  .job-header .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .job-header .job-meta dl{
    gap: 10px;
  }

  .job-header .job-meta dl dt{
    font-size: 1.1rem;
    border: 1px solid #BCBCBC;
    padding: 2px 6px;
  }


  .job-header .job-meta dl dd{
    display: flex;
    gap: 10px;
  }

  .job-header .job-tags {
    gap: 4px;
    margin: 16px 0;
    width: 100%;
  }

  .job-header .job-tags li {
    margin-top: 0;
    padding: 2px 6px;
    font-size: 1.2rem;
  }

  .job-detail {
    width: auto;
    margin: 0 15px;
  }

  .job-table {
    margin-top: 16px;
  }

  .job-table table {
        width: 100%;
        display: block;
        border: none;
        border-top: 1px solid #c8c8c8;
  }

  .job-table table th {
        display: block;
        width: 100%;
        padding: 10px;
        border: none;
        border-left: 1px solid #c8c8c8;
        border-right: 1px solid #c8c8c8;
        border-bottom: 1px solid #c8c8c8;
        font-size: 1.4rem;
        padding: 6px 14px;
    }

    .job-table table td {
        display: block;
        width: 100%;
        padding: 10px;
        border: none;
        border-left: 1px solid #c8c8c8;
        border-right: 1px solid #c8c8c8;
        border-bottom: 1px solid #c8c8c8;
        padding: 8px 14px 16px;
    }

        
    .job-table table td p {
      font-size: 1.4rem;
    }

  .job-header .job-title {
    font-size: 2.4rem;
    display: block;
    overflow:visible;
  }

  .btn-entry{
    padding: 12px 0;
    margin-top: 30px;
  }
}



/*検索結果*/
.search-result {
  background: #fff;
  padding: 40px 0 80px;
}

.result_num{
  font-size: 2.2rem;
  font-family: "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Meiryo", "MS PGothic", sans-serif !important;
  margin-bottom: 20px;
}

.result_num span{
  font-size: 2.8rem;
  color: #E51F41;
}

.search-result__inner {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.search-result__list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 820px;
}


.job-card__wrap {
  border: 1px solid #cfd8e3;
  border-radius: 0.6rem;
  background: #fff;
  margin-bottom: 20px;
  box-shadow: 0px 5px 20px -12px rgba(0,0,0,0.2);
}

/* 非表示制御（JSで .is-hidden を付与） */
.job-card__wrap.is-hidden {
  display: none;
}

.job-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.job-card__link_block {
  cursor: pointer;
}

/* ヘッダー */
.job-card__head {
  background: #eaf3ff;
  padding: 18px 24px;
}

.job-card__dates {
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
}

.job-card__dates dl {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  margin: 0;
}

.job-card__dates dt {
  margin-right: 10px;
  padding: 2px 6px;
  border: 1px solid #bfcad6;
  border-radius: 2px;
  font-weight: normal;
  font-size: 1.2rem;
}

.job-card__dates dd {
  margin: 0;
}

.job-card__title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
  color: #0b51c5;
  position: relative;
  text-decoration: underline;
}

.job-card__title:hover {
  text-decoration: none;
}

.job-card__title::after {
    content: "";
    top: 6px;
    right: -25px;
    width: 18px;
    height: 18px;
    background: url(/common/img/job/icon_arrow.svg) no-repeat center / contain;
    display: inline-block;
    margin-bottom: -2px;
    margin-left: 5px;
}

/* ボディ */
.job-card__body {
  display: grid;
  grid-template-columns: 482px 258px;
  column-gap: 3.2rem;
  padding: 14px 20px;
}

/* 左カラム */
.job-card__main {
  font-size: 1.5rem;
}

.job-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  padding: 0 0 14px 20px;
  border-bottom: 0.1rem solid #e0e0e0;
  margin: 14px 0 0;
}

.job-row:first-child {
  margin-top: 0;
}

.job-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.job-row dt {
  font-weight: bold;
  color: #333;
  font-size: 1.4rem;
}

.job-row dd {
  margin: 0;
  line-height: 1.6;
  font-size: 1.4rem;
}

.job-row dd.lim__txt04 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* ← 行数指定 */
  overflow: hidden;
}

.job-row strong {
  font-size: 1.4rem;
}

/* 右カラム */
p.job-card__sub-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.job-feature {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.job-feature li {
  border: 1px solid #bfcad6;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 1.4rem;
  background: #fff;
  white-space: nowrap;
}

.all-button{
  padding: 30px 0;
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  background: #F2F2F2;
  margin-bottom: 20px;
  cursor: pointer;
}

.all-button::after{
    content: "";
    width: 18px;
    height: 18px;
    background: url(/common/img/job/icon_drop.svg) no-repeat center / contain;
    display: inline-block;
    margin-bottom: -3px;
    margin-left: 5px;
}

@media screen and (max-width: 768px) {
  .search-result{
    padding-bottom: 40px;
  }

  .result_num{
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .result_num span{
    font-size: 2.2rem;
  }

  .search-result__inner{
    width: auto;
    margin: 0 15px;
    gap: 20px;
  }

/* カード余白 */
  .job-card__wrap {
    margin-bottom: 1.6rem;
  }

  .search-result__list {
    width: auto;

  }

  /* ヘッダー */
  .job-card__head {
    padding: 1rem 1.2rem 1.2rem;
  }

  .job-card__dates {
    gap: 1.2rem;
    margin-bottom: 0.6rem;
  }

  .job-card__dates dl {
    font-size: 1.2rem;
  }

  .job-card__title {
    font-size: 1.7rem;
    line-height: 1.45;
  }

  /* ボディ：1カラム */
  .job-card__body {
    display: block;
    padding: 1.2rem;
    padding: 12px 15px 14px;
  }

  /* 左情報 */
  .job-card__main {
    font-size: 1.4rem;
  }

  .job-card__dates dt {
    font-size: 1.1rem;
  }

  .job-row {
    grid-template-columns: 8rem 1fr;
    padding: 0 0 12px;
  }

  .job-row:last-child {
    padding: 0 0 12px;
    margin-top: 12px;
  }

  .job-row dt {
    font-size: 1.4rem;
  }

  .job-row dd {
    font-size: 1.4rem;
  }

  .job-row strong {
    font-size: 1.4rem;
  }

  /* 特徴エリア：下部へ */
  .job-card__sub {
    margin-top: 0;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
  }

  p.job-card__sub-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  /* 特徴タグ */
  .job-feature {
    gap: 4px;
  }

  .job-feature li {
    font-size: 1.2rem;
    padding: 4px 8px;
  }

  .all-button{
    padding: 30px 0;
  }
}



/*お仕事一覧*/
/* ===================================
   search-filter-aside 専用CSS
=================================== */

.search-filter-aside {
  width: 340px;
  font-size: 1.4rem;
}

.search-filter-aside__header {
  background: linear-gradient(#222, #000);
  color: #fff;
  padding: 12px 14px;
  font-weight: bold;
}

/* ヘッダをフレックスにしてタイトルとトグルを横並びにする */
.search-filter-aside__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-filter-aside__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
}

.search-filter-aside__icon {
  width: 16px;
  height: 16px;

}

/* プラス／マイナス表示 */
.sf-toggle-mark {
  font-size: 20px;
  line-height: 1;
  color: #fff;
  margin-left: 12px;
}

.search-filter-aside__body {
  padding: 15px 15px 16px;
  background: #F2F2F2;
}

/* グループ */
.sf-group + .sf-group {
  margin-top: 20px;
}

.sf-title {
  font-weight: bold;
  border-left: 2px solid #111;
  padding-bottom: 0;
  margin-bottom: 8px;
  font-size: 1.4rem;
  line-height: 1.5;
  padding-left: 12px;
}

/* ラジオ */
.sf-radio {
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 6px;
}

.sf-radio input[type="radio"]:checked + span{
  color: #0041B1;
}

.sf-radio input {
  margin-right: 6px;
  accent-color: #1e5fd8;
}

/* チェックボックス */
.sf-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  margin-left: 18px;
}

.sf-checkbox-group.inline {
  margin-left: 0;
}

.sf-checkbox-group input {
  display: none;
}

.sf-checkbox-group span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #BCBCBC;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}

/* 選択時 */
.sf-checkbox-group input:checked + span {
  background: #e6f0ff;
  border: 1px solid #0041B1;
  color: #1e5fd8;
  font-weight: bold;
}

/* キーワード */
.sf-keyword {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font-size: 13px;
  box-sizing: border-box;
}

.sf-keyword:focus {
  outline: none;
  border-color: #1e5fd8;
}

/* ボタン */
.sf-button {
  width: 100%;
  margin-top: 20px;
  padding: 11px 12px;
  border: none;
  border-radius: 24px;
  background: #0041B1;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.6rem;
  transition: 0.2s;
}

.sf-button:hover {
  opacity: 0.9;
}




@media screen and (max-width: 768px) {
  .search-filter-aside {
    width: 100%;
}
  .search-filter {
    width: 100%;
    border-left: none;
  }

  .search-filter__header {
    cursor: pointer;
    font-size: 1.6rem;
    border-radius: 4px;
  }

  .search-filter__toggle {
    display: block;
    font-size: 30px;
    line-height: 1;
  }

  .search-filter__toggle::before {
    content: "+";
  }

  .search-filter.is-open .search-filter__toggle::before {
    content: "−";
  }

.search-filter-aside__body{
  display: none;
}

  .search-filter__body {
    display: none;
  }

  .search-filter.is-open .search-filter__body {
    display: block;
  }


  .search-apply {
    width: 100%;
    padding: 12px;
    background: #d6001c;
    color: #fff;
    border: none;
    font-size: 14px;
    border-radius: 20px;
  }

}







input::placeholder, .textarea::placeholder {
  color: #BDBDBD;
}

.textarea {
  min-height: 90px;
  resize: vertical;
  margin: 0;
	padding: 9px 12px;
	background: none;
	border-radius: 4px;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
  border: 1px solid #BDBDBD;
  background: #fff;
  font-family: Hiragino Kaku Gothic Pro, sans-serif;
}

.radio-label,
.checkbox-label {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  cursor: pointer;
  font-size: 1.4rem;
  color: #212121;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  /* ベースのリセット（ネイティブ外観を消す） */
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  cursor: pointer;
  flex: none;
  position: relative;
  box-sizing: border-box;
}

/* ラジオ（丸） */
.radio-label input[type="radio"] {
  border: 2px solid #9e9e9e;
  border-radius: 50%;
  background-color: #ffffff;
}
.radio-label input[type="radio"]:checked {
  border-color: #1976d2;
  background-image:
    radial-gradient(circle at center, #1976d2 0 36%, transparent 37%),
    radial-gradient(circle at center, #ffffff 0 62%, transparent 63%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
}

.radio-label input[type="radio"]:focus-visible {
  outline: none;
}

.radio-label span{
  font-size: 1.8rem;
}


.radio-label input[type="radio"]:checked + span{
  color: #0041B1;
}

/* チェックボックス（四角） */
.checkbox-label input[type="checkbox"] {
  border: 2px solid #9e9e9e;
  border-radius: 4px;
  background-color: #ffffff;
  margin: 0;
}
.checkbox-label input[type="checkbox"]:checked {
  background-color: #1976d2;
  border-color: #1976d2;
  /* 白いチェックマークをSVGで表示 */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l2.5 2.5 6-7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
}
.checkbox-label input[type="checkbox"]:focus-visible {
  outline: none;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}



@media screen and (max-width: 768px) {
  .radio-label, .checkbox-label{
    display: block;
    margin-bottom: 8px;
    width: 100%;
  }

  .checkbox-label{
    margin-bottom: 0;
    width: 80px;
  }

  .radio-label span{
    font-size: 1.6rem;
  }

  .radio-label input[type="radio"]{
    margin-top: -3px;
    margin-right: 3px;
  }

  .checkbox-label input[type="checkbox"]{
    display: block;
    margin: 0 auto 10px;
  }

  
/* Close Button */
.close-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 20px 0 10px;
  font-size: 14px;
  color: #111;
  width: 100%;
  font-weight: bold;
}

.close-btn img {
  width: 16px;
  height: 16px;
}



}
