@charset "UTF-8";

:root {
  --accent: #f07b00;
  --border: #e7e7e7;
  --muted: #777;
  --btn: #999;
}

body {
  font-family: "Noto Sans JP", 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, 'MS PGothic', Osaka, arial, serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  font-optical-sizing: auto;
  font-style: normal;
  color: #333;
}
img {
  max-width: 100%;
  height: auto;
}
@media (768px <= width) {
  .sp {
    display: none !important;
  }
}
@media (width <= 767px) {
  .pc {
    display: none !important;
  }
}

header {
  text-align: center;
  padding: 40px 0 30px;
}
header img {
  width: 160px;
}

.page-title {
  text-align: center;
  border-bottom: solid 5px var(--accent);
  padding-bottom: 25px;
}
.page-title h2 {
  font-size: 24px;
  font-weight: 700;
}

.filter-wrap {
  background-color: #F6F6F6;
  padding: 40px 0 50px;
}
.filter-inner {
  max-width: 1132px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.filter-inner p{
  font-size: 12px;
	color: var(--muted);
}
.filter-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 25px;
}
.filter-box {
  background: #fff;
  padding: 18px;
}
.filter-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}
.filter-row:last-child {
  border-bottom: none;
}
.filter-label {
  width: 100px;
  flex: 0 0 auto;
  font-weight: 700;
  color: #333;
  font-size: 14px;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.filter-options label {
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-options input {
  accent-color: var(--accent);
}
.filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.btn-reset {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 10px;
}
.filter-count {
  color: #333;
  font-weight: 700;
}
.course-grid {
  max-width: 1100px;
  margin: 26px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.course-card {
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: inherit;
  padding: 0 0 20px 0;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
}
.course-icon {
  background: #EEE;
  padding: 10px 0;
  text-align: center;
  transition: all .5s;
}
.course-card:hover .course-icon {
  background: #E75400;
}
.course-icon img {
  width: 100px;
  margin: 0 auto;
}
.course-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.8;
  min-height: 44px;
  margin: 10px 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-link {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.course-link::after {
  content: "";
}
.course-open {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--btn);
  cursor: pointer;
  margin-top: auto;
}
.course-open .arrow {
  color: var(--accent);
}
.no-result {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 16px;
  color: #444;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 980px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-row {
    flex-direction: column;
    gap: 8px;
  }
  .filter-label {
    width: auto;
  }
}
@media (max-width: 520px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.modal.is-open {
  display: block;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}
.modal__dialog {
  position: relative;
  width: min(860px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  background: #fff;
  overflow: auto;
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 40px;
  cursor: pointer;
  color: #333;
}
.modal__head {
  padding: 22px 26px 10px;
}
.modal__kicker {
  color: #f07b00;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
.modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.modal__bar {
  height: 2px;
  background: #f07b00;
  margin-top: 12px;
}
.modal__body {
  padding: 0 26px 26px;
}
.modal__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 12px 0 16px;
}
.modal__lead {
  margin: 0 0 14px;
  line-height: 1.8;
  color: #333;
  font-size: 14px;
  white-space: pre-line;
}
.modal__recommend {
  background: #f6f6f6;
  border-radius: 2px;
  padding: 14px 16px;
  margin: 14px 0 18px;
}
.modal__recommend-title {
  position: relative;
  font-weight: 800;
  color: #f07b00;
  font-size: 13px;
  margin-bottom: 10px;
  padding-left: 30px;
}
.modal__recommend-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-60%);
  width: 24px;
  height: 24px;
  background-image: url(../images/icon_lamp@2x.png);
  background-size: 100%;
}
.modal__recommend-list {
  margin: 0;
  padding-left: 6px;
}
.modal__recommend-list li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 1.5em;
  line-height: 1.7;
  font-size: 13px;
  color: #333;
}
.modal__recommend-list li::before {
  content: "⚫︎";
  position: absolute;
  top: 0;
  left: 0;
}
.modal__meta {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 16px;
  margin: 6px 0 18px;
}
.modal__meta dt {
  font-weight: 800;
  color: #333;
  font-size: 13px;
  border-right: 2px solid #333;
  padding-right: 12px;
}
.modal__meta dd {
  margin: 0;
  color: #333;
  font-size: 13px;
  line-height: 1.7;
}
.modal__cta {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.modal__btn {
  display: inline-block;
  background: #f07b00;
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
}
.modal__btn:hover {
  opacity: .9
}
/* モーダル中スクロール時に背景が動かないように */
body.modal-lock {
  overflow: hidden;
}