@charset "UTF-8";
.modal {
  /* 非表示の初期状態 */
  /* オーバーレイ */
  /* モーダル本体 */
}
.modal-list {
  display: flex;
  gap: 30px;
}
.modal-list li {
  width: calc((100% - 60px) / 3);
  text-align: center;
  padding: 20px 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.modal-list li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.modal-list li img:nth-child(1) {
  width: 120px;
  margin-bottom: 5px;
}
.modal-list li img:nth-child(2) {
  width: 100%;
  margin-bottom: 15px;
}
.modal-list p {
  text-align: left;
}
.modal-list a {
  pointer-events: none;
  min-width: none;
  width: 80%;
}
@media screen and (max-width: 800px) {
  .modal-list {
    flex-direction: column;
  }
  .modal-list li {
    width: 100%;
  }
  .modal-list li img:nth-child(1) {
    width: 80px;
  }
}
.modal-ttl {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center !important;
}
.modal-overlay, .modal-content {
  display: none;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
}
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 70%;
  max-width: 840px;
  max-height: 80vh;
  padding: 20px;
  z-index: 1000;
  border-radius: 12px;
  overflow-y: scroll;
  text-align: center;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-content::-webkit-scrollbar {
  display: none;
}
.modal-content img {
  display: block;
  margin: 0 auto 15px;
}
.modal-content p:not([class]) {
  text-align: left;
  font-size: 16px;
}
@media screen and (max-width: 800px) {
  .modal-content {
    width: 90%;
  }
  .modal-content img {
    width: 80%;
  }
  .modal-content p:not([class]) {
    font-size: 14px;
  }
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.modal-heding {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}
@media screen and (max-width: 800px) {
  .modal-heding {
    font-size: 18px;
    text-align: left !important;
  }
}

.video-box {
  display: flex;
  gap: 30px 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.video-box > div {
  width: calc((100% - 60px) / 4);
  padding: 20px 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
@media screen and (max-width: 800px) {
  .video-box {
    flex-direction: column;
  }
  .video-box > div {
    width: 100%;
  }
}
.video-iframe {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}
.video-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-ttl {
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0 10px;
}
.video-text {
  font-size: 14px;
  line-height: 1.6;
}

.link_card {
  display: flex;
  gap: 30px 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.link_card-item {
  width: calc((100% - 60px) / 4);
  padding: 20px 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.3s;
}
.link_card-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
  color: #0062a0;
}
.link_card-img {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  font-size: 0;
}
.link_card-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  border: none;
}
.link_card-ttl {
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0 10px;
}
.link_card-text {
  font-size: 14px;
  line-height: 1.6;
}
@media screen and (max-width: 800px) {
  .link_card {
    flex-direction: column;
  }
  .link_card > div {
    width: 100%;
  }
}