/* 医学部実績 */
.achievement-impact {
  margin: 18px auto 28px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8e8 0%, #ffffff 58%, #f7fbff 100%);
  border: 1px solid #ead7aa;
  box-shadow: 0 8px 22px rgba(80, 60, 20, 0.08);
}

.achievement-impact__head {
  text-align: center;
  margin-bottom: 14px;
}

.achievement-impact__catch {
    margin-top: 8px;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #222;
}

.achievement-impact__label {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #8a5a00;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.achievement-impact__head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 3.2vw, 1.8rem);
  line-height: 1.35;
  color: #402600;
}

.achievement-impact__head p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 700;
}

.achievement-impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.achievement-impact__card {
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #ead7aa;
}

.achievement-impact__card--top {
  border-color: #c9d8ef;
  background: rgba(248, 251, 255, 0.96);
}

.achievement-impact__type {
  margin: 0 0 7px;
  padding: 4px 8px;
  border-left: 4px solid #b98200;
  background: #fff4d9;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  color: #4b3000;
}

.achievement-impact__card--top .achievement-impact__type {
  border-left-color: #315f9f;
  background: #eaf2ff;
  color: #17365d;
}

.achievement-impact__card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.45;
  color: #222;
}

.achievement-impact__card ul {
  margin: 0;
  padding-left: 1.1em;
}

.achievement-impact__card li {
  margin: 0 0 4px;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .achievement-impact {
    padding: 14px;
  }

  .achievement-impact__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .achievement-impact__head p {
    text-align: left;
    font-size: 0.9rem;
  }

  .achievement-impact__card {
    padding: 10px;
  }

  .achievement-impact__card li {
    font-size: 0.86rem;
    line-height: 1.45;
  }


}


  .achievement-impact__note {
    margin-top: 8px;
    padding-top: 8px;

    border-top: 1px dashed #ddd;

    font-size: .77rem;

    line-height: 1.5;

    color: #777;
  }

  .achievement-impact__tag {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;

    border-radius: 999px;

    font-size: 1em;
    font-weight: bold;

    background: #ffe8a3;
  }


  /* 中学生ページ　ファーストビュー */
  .junior-impact {
    margin: 24px 0 34px;
    padding: 18px;
    background: linear-gradient(135deg, #fff8df 0%, #fffdf4 55%, #ffffff 100%);
    border: 1px solid #f0dfaa;
    border-radius: 18px;
}


.junior-impact__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.junior-impact__label {
    display: inline-block;
    margin: 0 0 8px;
    padding: 5px 12px;
    background: #8a6a18;
    color: #fff;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.junior-impact__tag {
    margin: 0 0 4px;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 700;
    color: #8a6a18;
}

.junior-impact__title {
    margin: 0 0 14px;
    font-size: clamp(1.1rem, 2.4vw, 1.3rem);
    line-height: 1.35;
    color: #2f260d;
}

.junior-impact__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.junior-impact__card {
    padding: 12px 10px;
    background: #fff;
    border: 1px solid #ead9a6;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.junior-impact__card--strong {
    background: #fff4c2;
    border-color: #d8ad2f;
}

.junior-impact__school {
    margin: 0 0 3px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.junior-impact__subject {
    margin: 0 0 5px;
    font-size: 0.8rem;
    color: #666;
}

.junior-impact__score {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #333;
    white-space: nowrap;
}

.junior-impact__score span {
    color: #777;
    font-size: 0.95rem;
}

.junior-impact__score strong {
    color: #b30000;
    font-size: 1.45rem;
}

.junior-impact__note {
    margin: 6px 0 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #6b5a20;
    font-weight: 700;
}

@media (max-width: 900px) {
    .junior-impact__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .junior-impact {
        padding: 14px 10px;
    }

    .junior-impact__grid {
        gap: 8px;
    }

    .junior-impact__card {
        padding: 10px 8px;
    }

    .junior-impact__score {
        font-size: 1.05rem;
    }

    .junior-impact__score strong {
        font-size: 1.25rem;
    }

    .junior-impact__note {
        font-size: 0.72rem;
    }
    
}



/* 成績向上カード */

section.content .score-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
  margin:12px 0 18px;
}

section.content .score-card{
  border:1px solid #e7e1cf;
  background:#fffdf7;
  border-radius:10px;
  padding:10px 8px;
  text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,.03);
}

section.content .score-name{
  font-weight:800;
  font-size:.92rem;
  line-height:1.2;
  margin-bottom:2px;
}

section.content .score-test{
  font-size:.78rem;
  color:#666;
  line-height:1.2;
  margin-bottom:5px;
}

section.content .score-values{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:5px;
  line-height:1;
}

section.content .before{
  font-size:1.05rem;
  font-weight:900;
  color:#1b55aa;
}

section.content .after{
  font-size:1.22rem;
  font-weight:900;
  color:#b20000;
}

section.content .arrow{
  font-size:1rem;
  color:#777;
}