/* kensin.css */
    .tab-wrap {
      margin-bottom: 40px;
    }

    .tab-group {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      align-items: flex-end;
    }

    .tab {
      flex-grow: 1;
      background: #FFF;
      border: 2px solid #004e97;
      color: #000;
      cursor: pointer;
      display: inline-block;
      font-size: 18px;
      font-weight: bold;
      margin: 0 5px 15px;
      padding: 15px 8px;
      text-align: center;
      transition: 1s;
      vertical-align: bottom;
    }

    .tab-group .kigyo {
      flex-grow: 1;
      background: #FFF;
      border: 2px solid #007663;
      color: #000;
      cursor: pointer;
      display: inline-block;
      font-size: 18px;
      font-weight: bold;
      margin: 0 5px 15px;
      padding: 15px 8px;
      text-align: center;
      transition: 1s;
      vertical-align: bottom;
    }

    .tab.is-active {
      color: #FFF;
      transition: 1s;
      background: #004e97;
      position: relative;
    }

    .kigyo.is-active {
      color: #FFF;
      transition: 1s;
      background: #007663;
      position: relative;
    }

    .tab.is-active:after {
      content: "";
      position: absolute;
      bottom: -24px;
      left: 50%;
      margin-left: -15px;
      border: 12px solid transparent;
      border-top: 12px solid #004e97;
    }

    .kigyo.is-active:after {
      content: "";
      position: absolute;
      bottom: -24px;
      left: 50%;
      margin-left: -15px;
      border: 12px solid transparent;
      border-top: 12px solid #007663;
    }

    /*コンテンツ表示部分*/
    .panel-group {
      min-height: 100px;
      margin-top: 15px;
      /*border-top: 5px solid #004e97;
    border-bottom: 5px solid #004e97;*/
      padding: 10px;
    }

    .panel {
      display: none;
      padding-top: 50px;
    }

    .panel.is-show {
      display: block;
      border-top: 5px solid #004e97;
      border-bottom: 5px solid #004e97;
    }

    .panel-group .kigyo.is-show {
      display: block;
      border-top: 5px solid #007663;
      border-bottom: 5px solid #007663;
    }

    #contents #left_contents h4.kigyo {
      border-left: 10px solid #007663;
      color: #007663;
    }

    .download01 {
      width: 100%;
    }

    .download01 tr th {
      text-align: center;
    }

    .download01 tr td {
      vartical-align: middle;
      text-align: center;
      width: 33%;
    }

    #kensin tr td img {
      display: inline-block;
      vertical-align: middle;
    }


.notice-box {
  border: 2px solid #99bbdd;
  padding: 30px 50px;
  margin: 15px 0;
  border-radius: 8px;
  background-color: #f7faff;
}

#contents #left_contents #guidance .notice-box h3 {
	width: auto;
	float: none;
    margin-top: 0;
    padding: 0;
    text-align: center;
    background:none;
    color: #000;
  font-size: 1.1rem;
  font-weight: bold;
}
.notice-box ul {
	margin-bottom:  15px;
	}
.btn-yoyaku {
  display: inline-block;
  background-color: #0077cc;  /* 明るい青に変更 */
  color: white;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

#contents #left_contents a.btn-yoyaku:active,
#contents #left_contents a.btn-yoyaku:link,
#contents #left_contents a.btn-yoyaku:visited{
	  color: #FFF;
}
#contents #left_contents a.btn-yoyaku::hover {
  background-color: #005599;
  color: #FFF;
}

/* リンク風のボタン */
.link-btn {
  color: #004e97;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1rem;
}

/* モーダル背景 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

/* モーダル本体 */
.modal {
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 700px;  /* 500px → 700px に変更 */
  width: 90%;
}

.modal h5 {
  background-color: #f8f8f8;
  border-left: 4px solid #004e97;
  border-radius: 0px;
  color: #000000;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding: 10px;
}
#contents .modal p {
  margin: 20px 0 10px 0;
  line-height: 1.6;
}
.modal ol {
  list-style-type: none;
  padding-left: 0em;

}	
.modal ol li {
  padding-left: 1em;
  text-indent: -1em;
  list-style-type: none;
}
.modal ol li::before {
  content: "・";
  color: #004e97;
}
.close-btn {
  display: block;
  margin: 20px auto 0;
  padding: 8px 16px;
  cursor: pointer;
  background-color: #004e97;
  color: white;
  border: none;
  border-radius: 0px;
}