/* 掲示事項モーダル */

.footer_main_nav .kosei_nav_btn {
  position: relative;
  display: inline-block;
  padding: 0 0 0 32px;
  font-size: 1.6rem;
  letter-spacing: 0.05rem;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  line-height: inherit;
}

.footer_main_nav .kosei_nav_btn::before {
  position: absolute;
  content: '';
  display: block;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: url('images/arrow_ftmenu.svg') no-repeat center 100%;
}

.footer_main_nav .kosei_nav_btn:hover {
  color: #fd6d0d;
}

.modal__content--kosei {
  width: 860px;
  max-width: 92vw;
  height: 82vh;
  max-height: 90vh;
  background: #fff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.modal__content--kosei .modal__content_inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 0;
}

.kosei_close_btn {
  position: absolute !important;
  top: -36px !important;
  right: 0 !important;
}

.kosei_modal_body {
  overflow-y: auto;
  flex: 1;
  padding: 40px 48px;
  min-height: 0;
}

.kosei_modal_h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 2px solid #fd6d0d;
}

.kosei_acc_item {
  border-bottom: 1px solid #e0e0e0;
}

.kosei_acc_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-align: left;
  font-family: inherit;
  line-height: 1.5;
  transition: color 0.2s;
}

.kosei_acc_header:hover {
  color: #fd6d0d;
}

.kosei_acc_header::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fd6d0d;
  border-bottom: 2px solid #fd6d0d;
  transform: rotate(45deg);
  margin-left: 16px;
  transition: transform 0.3s;
}

.kosei_acc_header.is-open::after {
  transform: rotate(-135deg);
}

.kosei_acc_body {
  display: none;
  padding: 4px 8px 20px;
}

.kosei_acc_body p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
}

.kosei_acc_body p:last-child {
  margin-bottom: 0;
}

.kosei_sub_ttl {
  font-weight: bold;
  font-size: 1.4rem !important;
  color: #333 !important;
  margin-top: 8px;
  margin-bottom: 8px !important;
}

.kosei_note {
  font-size: 1.3rem !important;
  color: #666 !important;
}

.kosei_bullet_list {
  padding-left: 0;
  margin: 8px 0;
}

.kosei_bullet_list li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 1.4rem;
  line-height: 1.7;
  color: #444;
  list-style: none;
}

.kosei_bullet_list li::before {
  position: absolute;
  left: 0;
  top: 10px;
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fd6d0d;
}

.kosei_ol_list {
  padding-left: 20px;
  margin: 8px 0;
}

.kosei_ol_list li {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
}

.kosei_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 1.4rem;
}

.kosei_table th,
.kosei_table td {
  padding: 10px 14px;
  border: 1px solid #ddd;
  color: #444;
  text-align: left;
}

.kosei_table th {
  background: #f5f5f5;
  font-weight: bold;
  color: #333;
}

.kosei_table tbody tr:nth-child(even) {
  background: #fafafa;
}

@media screen and (max-width: 900px) {
  .modal__content--kosei {
    width: 95vw;
    height: 88vh;
  }

  .kosei_modal_body {
    padding: 24px 20px;
  }

  .kosei_modal_h2 {
    font-size: 1.6rem;
    padding-bottom: 16px;
  }

  .kosei_acc_header {
    font-size: 1.4rem;
    padding: 14px 4px;
  }

  .kosei_table th,
  .kosei_table td {
    padding: 8px 10px;
    font-size: 1.2rem;
  }

  .kosei_close_btn {
    top: -32px !important;
  }
}
