@charset "utf-8";

.top-popup {
  margin-bottom: 30px;
}

.top-popup__title {
  margin: 0;
  font-size: 1.6em;
  line-height: 1.35;
  text-align: center;
}

.popup-overlay[hidden] {
  display: none !important;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.68);
}

.popup-open {
  overflow: hidden;
}

.popup {
  width: min(1000px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 12px;
  background: #fff;
  line-height: 1.25;
  text-align: center;
}

.popup__title-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px 5px;
  background: #87390d;
  color: #fff;
}

.popup__title {
  margin: 0;
  font-size: 1.6em;
  line-height: 1.35;
  color: #fff !important;
}

.popup__day {
  flex: 0 0 auto;
  margin: 22px 0 0;
  font-size: 14px;
  text-align: right;
}

.popup__content {
  padding: 8px 4px 2px;
}

.popup__content > p {
  margin: 0 2px 6px;
}

.popup__note {
  color: #f00;
  font-weight: 600;
}

.popup__info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.popup__info-table th,
.popup__info-table td {
  padding: 7px;
  border: 1px solid #777;
  text-align: left;
  vertical-align: top;
}

.popup__info-table th {
  width: 158px;
  font-weight: 600;
  white-space: nowrap;
  background: #ffe083;
  color: #f00;
}

.popup__info-table ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.popup__info-table li {
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.popup__important-text {
  margin: 8px 20px 10px;
  padding: 7px 10px;
  background: #fce4d8;
  color: #f00;
  font-weight: 600;
}

.popup__important-text p {
  margin: 0;
}

.popup__btn-box {
  display: flex;
  gap: 16px;
  margin: 20px 0 14px;
}

.popup__action {
  display: flex;
  flex: 1;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #111;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  height: 55px;
  transition: 0.3s ease;
}

.popup__action:hover {
  opacity: 0.8;
}

.popup__action--primary {
  background: #87390d;
  color: #fff;
}

.popup__action--secondary {
  background: #fce4d8;
}

.popup__action--secondary:hover {
  color: #fff;
}

.popup__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.popup__check {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-weight: 600;
}

.popup__check input[type="checkbox"] {
  flex: 0 0 14px;
  width: 14px !important;
  height: 14px;
  max-width: 14px !important;
  margin: 0;
  cursor: pointer;
}

.popup__close {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .crows__notice,
  .crows__main-title,
  .crows__main-text,
  .crows__sec-day,
  .crows__sec-schedule,
  .crows__sec-download,
  .crows__sec-search,
  .crows__sec-faq,
  .crows__sec-contact {
    padding: 0 7px;
  }
}

@media (max-width: 600px) {
  .top-popup {
    padding: 0 7px;
  }

  .popup__title-box{
    display: block;
    margin-bottom: 12px;
  }

  .top-popup__title-box{
    margin-bottom: 12px;
  }

  .popup__title,
  .top-popup__title {
    font-size: 1.2em;
  }

  .popup__day {
    margin: 0;
  }

  .popup-overlay {
    padding: 10px;
  }

  .popup {
    max-height: calc(100vh - 20px);
    font-size: 12px;
  }

  .popup__info-table tr {
    display: flex;
    flex-direction: column;
  }

  .popup__info-table th {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .popup__important-text {
    margin-right: 0;
    margin-left: 0;
  }

  .popup__btn-box {
    gap: 8px;
    flex-direction: column;
  }

  .popup__bottom {
    flex-direction: column;
    align-items: center;
  }
}

/* クローズページ */
.crows__notice {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  margin-top: 20px;
  align-items: end;
}

.crows__label {
  background: #87390d;
  color: #fff;
  border-radius: 7px;
  padding: 7px 14px;
}

.crows__main-title {
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 7px;
  border-bottom: 1px solid;
}

/* .crows__main-text {
  text-align: center;
} */

.crows__main-text span {
  color: #f00;
  font-weight: 600;
}

.crows__sub-title {
  font-size: 1.4em;
  font-weight: bold;
  padding: 4px;
  border-bottom: 4px double #333000;
  margin: 70px 0 15px;
}

.crows__section-day-content {
  background: #fce4d8;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto;
}

.crows__section-day-text {
  color: #f00;
  font-size: 1.6em;
  margin-top: 10px;
}

.crows__sec-download p span {
  font-weight: bold;
}

.crows__download-method,
.crows__contact-info {
  background: #fce4d8;
  padding: 15px;
  text-align: center;
  margin: 15px auto;
  max-width: 900px;
}

.crows__download-method-title,
.crows__contact-title {
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.crows__sec-search a {
  color: #0056b3;
  text-decoration: underline;
  transition: color 0.3s;
}

.crows__sec-search a:hover {
  color: #003366;
}

.crows__faq-intro {
  max-width: 900px;
  margin: 15px auto;
}

.crows__sec-faq dl {
  max-width: 900px;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.crows__sec-faq dl:not(:last-of-type) {
  margin-bottom: 12px;
}

.crows__sec-faq dt {
  background: #adabaa;
  color: #fff;
}

.crows__sec-faq dt,
.crows__sec-faq dd {
  padding: 10px;
  display: flex;
  gap: 4px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.crows__contact-info {
  font-weight: 600;
}

@media (max-width: 600px) {
  .crows__sub-title {
    margin: 45px 0 15px;
  }

  .crows__main-text,
  .crows__sec-download p,
  .crows__download-method,
  .crows__contact-info {
    text-align: left;
  }

  .crows__download-method-title,
  .crows__contact-title {
    text-align: center;
  }
  .crows__section-day-content {
    font-size: 1em;
  }

  .popup__content{
    text-align: left;
  }
}
