.cate-country {
  background: #FCD7A1;
}
.cate-age {
  background: #D7E7AF;
}
.cate-join {
  background: #A2D7D4;
}


.programs {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.programs::after {
  content: "";
  display: block;
  width: 30%;
}

.search-result-ttl {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: normal;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
  width: 32.5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.card-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-sizing: border-box;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.card-content {
  padding: 5px;
}

.card-title {
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.25;
}

.card-title a {
  color: #000000;
}

.card-tags {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}

.tag {
  display: flex;
  background-color: #f0f0f0;
  color: #333;
  padding: 2px 10px;
  margin-right: 5px;
  border-radius: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}

.tag .material-symbols-outlined {
  font-size: 20px;
  margin-right: 4px;
}

.card-desc {
  font-size: 0.9rem;
  color: #666;
  font-weight: normal;
  line-height: 1.75;
}

.card .readmore {
  width: 100%;
  display: block;
  text-align: center;
  line-height: 4;
  margin-top: auto;
}

.search-box {
  width: 80%;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  border-radius: 25px;
  border: 1px solid #dedede;
}

.search-title-box {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  background: #f1f1f1;
  margin: 1rem;
  border-radius: 15px;
  padding: 1rem 2rem;
  cursor: pointer;
}

.search-title-box .arrow {
  margin-left: auto;
  transition: 0.2s;
}

.search-title-box.is-open .arrow {
  transform: rotate(180deg);
}

.search-title {
  font-size: 1.25rem;
  line-height: 1.5;
}

.search-category {
  display: flex;
}

.search-items {
  display: flex;
  flex-wrap: wrap;
}

.search-menu {
  width: 90%;
  margin: 0 auto;
}

.search-menu .search-menu-list {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dotted #cdcdcd;
}

.search-menu .search-menu-list:last-child {
  margin-bottom: 0rem;
  border-bottom: none;
}

.search-menu input[type=checkbox] + label {
  width: 210px;
  height: auto;
  line-height: 1.25;
  text-align: center;
  padding: 0;
  display: block;
  border-radius: 10px;
  margin-right: 0.5rem;
  cursor: pointer;
  background: #fff;
  border: 1px solid #063175;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  font-weight: normal;
  font-size: 1rem;
  padding: 1rem 0;
}

.search-category-title {
  min-width: 160px;
  padding-top: 0.25rem;
  font-weight: bold;
  letter-spacing: 0.3rem;
  font-size: 1rem;
}

.search-box .buttons {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.search-box .buttons .button {
  width: 49%;
  line-height: 5;
  border-radius: 1000px;
  border: none;
  font-weight: bold;
}

.search-box .buttons .button.reset {
  color: #696969
}

.form {
  opacity: 0;
  height: 0;
  transition: 0.4s;
  visibility: hidden;
}

.form.is-open {
  opacity: 1;
  visibility: visible;
}

.program-list {
  margin-top: 2rem;
  margin-bottom: 4rem;
}


/* プログラム詳細 */
.program-detail {
  width: 60%;
  margin: 0 auto;
  max-width: 1200px;
}
.program-detail .contentSubSection {
  padding-top: 5rem;
}
.program-title {
  font-size: 2rem;
  line-height: 1.25;
}
.program-title-catch {
  line-height: 1.5;
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: block;
}
.thumbnails {
  display: flex;
  gap: 5px;
}
.program-detail .thumbnails li {
  width: 50%;
}
.program-desc {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 1rem;
}


.program-feature {
  display: flex;
}
.feature {
  width: 60px;
}

.headTitle_icon {
  margin-bottom: 1rem;
  width: 80%;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 2;
  text-align: left;
  margin-bottom: 0.5rem;
}

.post-attr .post-day {
  font-size: 0.75rem;
}



.table-summary {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.1rem;
  color: #383838;
  width: 100%;
  display: block;
  border-collapse: collapse;
}
.table-summary th, .table-summary td {
  padding: 1rem 2rem;
  border: 1px solid #000;
  width: 100%;
}
.table-summary th {
  background: #f5f5f5;
  width: 200px;
  min-width: 200px;
  box-sizing: border-box;
  text-align: left;
}
.program-title-sub {
  font-size: 1.25rem;
  line-height: 2;
  border-left: 1px solid #000;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.point-list {
  background: #f5f5f5;
  padding: 1.5rem 2rem;
  padding-left: 3rem;
}
.point-list .point {
  list-style: disc;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: normal;
}

.info-table {
  font-size: 0.9rem;
  font-weight: normal;
  white-space: pre-line;
}

.info-table th {
  background: #e0ecf4;
  padding: 1rem 1.5rem;
  width: 90px;
  text-align: left;
}

.info-table td {
  padding: 1rem 1.5rem;
  line-height: 1.8;
}

.program-schedule {
  
}
.schedule-table {
  font-size: 0.9rem;
  font-weight: normal;
  line-height: 1.5;
  width: 100%;
}
.program-schedule th:nth-child(1),
.program-schedule th:nth-child(7) {
  width: 60px;
}
.program-schedule th:nth-child(2),
.program-schedule th:nth-child(3),
.program-schedule th:nth-child(4),
.program-schedule th:nth-child(5) {
  width: 80px;
}

.schedule-table th {
  background: #e0ecf4;
  height: 60px;
}

.schedule-table td {
  padding: 10px;
  vertical-align: top;
}

.schedule-table tr:nth-child(odd) {
  background: #f2f3f4;
}

.schedule-table tr:nth-child(even) {
  background: #f5fbff;
}



.package-price {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-weight: normal;
  white-space: pre-line;
}

.package-price strong {
  font-weight: normal;
}

.package-detail-button {
  width: 100%;
  background: #fff;
  border-radius: 500px;
  line-height: 3.5;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  padding-left: 3rem;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  color: #000;
}

.caution {
  margin-top: 6rem;
}

.package-detail-button .material-symbols-outlined {
  margin-left: auto;
}

.package-detail {
  background: #f5f5f5;
  padding: 4rem 3rem 2.5rem;
  border-radius: 0px 0px 30px 30px;
  transform: translateY(-2rem);
}

.package-detail ul {
  padding-left: 1rem;
}

.package-detail li {
  font-weight: normal;
  font-size: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  list-style: decimal;
}

.package-detail p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: normal;
  width: 100%;
}

.package-detail table {
  font-size: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  list-style: decimal;
  font-weight: normal;
  width: 100%;
}


.caution-text {
  font-size: 1rem;
  font-weight: normal;
  line-height: 2;
  white-space: pre-line;
}

.recommend {
  margin-top: 8rem;
}

.recommend .programs {
  width: 100%;
}

.recommend .ttl {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}


/* 新スケジュール */
.schedule-container {
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}
.schedule-container::after {
  content: "";
  position: absolute;
  width: 100%;
  z-index: 10;
  height: 20%;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.schedule-container.open::after {
  content: none;
}
.schedule-block p {
  margin: 0;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.schedule-block {
  margin: 0 auto;
  border-radius: 8px;
  background: #f5f5f5;
  padding: 20px;
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: normal;
  box-sizing: border-box;
}
.schedule-block .day {
  text-align: center;
  margin-top: 0.75rem;
}
.schedule-block .flex {
  display: flex;
}
.schedule-block .items-center {
  line-height: 1.25;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.schedule-block .justify-between {
  justify-content: space-between;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
}
.schedule-block .label {
  width: 60px;
  text-align: center;
  padding: 10px;
  background: #e0ecf4;
  color: rgb(1, 67, 97);
  box-sizing: border-box;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
}
.schedule-block .cate {
  color: rgb(102, 60, 0);
  background: rgb(255, 244, 229);
  border-radius: 5px;
  padding: 5px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 5px;
}
.schedule-block .time {
  width: 80px;
  text-align: right;
  padding-right: 1rem;
  box-sizing: border-box;
  font-weight: bold;
  color: gray;
}
.schedule-block .event {
  width: calc(100% - 80px);
  word-break: break-word;
}
.schedule-block .days {
  border-right: 2px solid #0088ff;
  padding-right: 20px;
  margin-right: 20px;
  position: relative;
}
.schedule-block .days::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 10000px;
  right: -7px;
  top: 16px;
}
.schedule-block .days::before{
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #0088ff;
  border-radius: 10000px;
  right: -9px;
  top: 14px;
}
.schedule-block .w-100 {
  width: 100%;
}
.schedule-block .timeline {
  width: calc(100% - 260px);
}
.schedule-block .note {
  line-height: 1.5;
  background: #e9e9e9;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 20px;
  margin-left: 1rem;
  width: 260px;
}
.btn-schedule {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.26);
  padding: 15px 5px;
  text-align: center;
  width: 60%;
  margin: 0 auto;
  color: rgb(1, 67, 97);
  background: rgb(229, 246, 253);
  font-size: 1rem;
  margin-top: 1rem;
}
@media screen and (max-width: 768px) {
  .schedule-block .md-block {
    display: block;
  }
  .schedule-block .timeline {
    width: 100%;
  }
  .schedule-block .note {
    width: 100%;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .schedule-block .time {
    width: 60px;
  }
}



@media (max-width: 767px){
  .card {
    width: 100%;
    margin: 0 auto 1rem;
  }
  .programs {
    width: 90%;
  }
  .search-box {
    width: 90%;
  }
  .search-category {
    display: block;
  }
  .search-menu input[type=checkbox] + label {
    width: auto;
  }
  .search-item {
    width: 50%;
  }

  .search-box .buttons {
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
  }

  .search-box .buttons .button {
    width: 100%;
  }

  .search-box .buttons .button.reset {
    margin-top: 1rem;
  }

  .program-detail {
    width: 90%;
  }

  .table-summary th {
    width: 140px;
    min-width: 140px;
  }

  .info-table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .info-table th {
    width: auto;
  }

  .schedule-table-wrapper {
    overflow-x: scroll;
  }
  .schedule-table {
    width: 800px;
  }
}
