@charset "utf-8";
/* メガスタ受講生 救済キャンペーン（os01 用・style.css と分離） */

.relief-cp-section {
  padding: 2.5rem 1rem 3rem;
  background: #f7f9fc;
}

.relief-cp-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.relief-cp-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #1a2744;
  margin: 0 0 1rem;
}

.relief-cp-sub {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
  margin: 0 0 1.25rem;
  text-align: left;
}

.relief-cp-lead {
  font-size: 0.98rem;
  line-height: 1.95;
  color: #444;
  margin: 0 0 1.75rem;
  text-align: left;
}

.relief-cp-banner {
  margin: 0 0 1.5rem;
}

.relief-cp-banner img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.relief-cp-details {
  text-align: left;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.relief-cp-summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 2.75rem 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a2744;
  position: relative;
  outline: none;
  text-align: center;
  background: #eef3f9;
}

.relief-cp-summary::-webkit-details-marker {
  display: none;
}

.relief-cp-summary::after {
  content: "＋";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.1rem;
}

.relief-cp-details[open] > .relief-cp-summary::after {
  content: "－";
}

.relief-cp-summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(0, 140, 255, 0.25);
}

.relief-cp-panel {
  padding: 1.5rem 1.25rem 1.75rem;
  border-top: 1px solid #e6eaf0;
}

.relief-cp-block {
  margin-bottom: 1.35rem;
}

.relief-cp-block:last-of-type {
  margin-bottom: 0;
}

.relief-cp-block-title {
  font-weight: 700;
  font-size: 1rem;
  color: #1a2744;
  margin: 0 0 0.5rem;
}

.relief-cp-block-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

.relief-cp-list {
  list-style-type: disc !important;
  list-style-position: outside !important;
  margin: 0.75rem 0 0 !important;
  padding-left: 1.35em !important;
}

.relief-cp-list li {
  display: list-item !important;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin: 0.35rem 0;
}

.relief-cp-note {
  font-size: 0.82rem;
  line-height: 1.75;
  color: #666;
  margin: 0.85rem 0 0;
}

.relief-cp-cta-wrap {
  text-align: center;
  margin: 1.5rem 0 1rem;
}

.relief-cp-cta-wrap .relief-cp-cta-sp.cta_sp {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 0;
}

.relief-cp-cta-wrap .relief-cp-cta-pc {
  display: none;
}

.relief-cp-cta-wrap a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.relief-cp-footnote {
  font-size: 0.72rem;
  line-height: 1.7;
  color: #666;
  margin: 0 0 1.25rem;
  text-align: center;
}

.relief-cp-closing {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
  margin: 0;
  font-weight: 700;
}

@media (max-width: 480px) {
  .relief-cp-section {
    padding: 1.75rem 0.875rem 2.25rem;
  }
}

@media screen and (min-width: 897px) {
  .relief-cp-cta-wrap .relief-cp-cta-sp {
    display: none !important;
  }

  .relief-cp-cta-wrap .relief-cp-cta-pc {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
  }

  .relief-cp-cta-wrap .relief-cp-cta-pc .inner {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .relief-cp-cta-wrap .relief-cp-cta-pc .column.line-btn {
    width: 70%;
    text-align: center;
  }

  .relief-cp-cta-wrap .relief-cp-cta-pc .form-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90px;
    padding: 0 30px 0 80px;
    background-color: #15ba55;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 45px;
    margin-bottom: 0.8rem;
    background-image: url("../images/icon_line.svg");
    background-position: left 28px center, left 80px center, right 30px center;
    background-size: 44px auto, 25px auto, 17px auto;
    background-repeat: no-repeat;
  }

  .relief-cp-cta-wrap .relief-cp-cta-pc .form-btn:hover {
    opacity: 0.8;
  }
}
