@charset "utf-8";

:root{
  --edu-ink:#2f3740;
  --edu-blue:#2f5f8f;
  --edu-sky:#6bb6ff;
  --edu-orange:#ff9f1c;
  --edu-yellow:#fff4cf;
  --edu-paper:#fff;
  --edu-bg:#f6f7f9;
  --edu-line:#d9ecff;
  --edu-shadow:0 10px 28px rgba(38,67,96,.1);
  --edu-radius:18px;
  --edu-content:1080px;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  background:var(--edu-bg);
  color:var(--edu-ink);
  font-family:"Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height:1.8;
}

.edu-page{
  min-height:100vh;
}

.edu-hero{
  position:relative;
  min-height:clamp(380px,46vw,560px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--edu-blue);
}

.edu-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--edu-hero-image);
  background-size:cover;
  background-position:var(--edu-hero-position, 40% center);
}

.edu-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,247,223,.94) 0%,rgba(255,247,223,.78) 32%,rgba(255,247,223,.18) 62%,rgba(255,247,223,0) 100%),
    linear-gradient(0deg,rgba(246,247,249,.98) 0%,rgba(246,247,249,0) 30%);
}

.manabi-hero::after{
  background:
    radial-gradient(ellipse at 34% 22%, rgba(255,247,223,0) 0%, rgba(255,247,223,.05) 24%, rgba(255,247,223,.28) 42%, rgba(255,247,223,.62) 72%, rgba(255,247,223,.82) 100%),
    linear-gradient(0deg, rgba(255,247,223,.95) 0%, rgba(255,247,223,.78) 24%, rgba(255,247,223,.20) 48%, rgba(255,247,223,0) 70%),
    linear-gradient(90deg, rgba(255,247,223,.72) 0%, rgba(255,247,223,.48) 28%, rgba(255,247,223,.16) 44%, rgba(255,247,223,.56) 68%, rgba(255,247,223,.88) 100%),
    linear-gradient(0deg,rgba(246,247,249,.98) 0%,rgba(246,247,249,0) 24%);
}

.edu-hero-inner{
  position:relative;
  z-index:1;
  width:min(100%,calc(var(--edu-content) + 40px));
  margin:0 auto;
  padding:60px 20px 70px;
}

.edu-hero-copy{
  max-width:min(760px,82vw);
}

.edu-label{
  display:inline-block;
  background:var(--edu-orange);
  color:#fff;
  font-weight:700;
  padding:4px 14px;
  border-radius:999px;
  font-size:.9rem;
  margin-bottom:12px;
}

.edu-hero h1{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.28;
  margin:0 0 16px;
  color:var(--edu-blue);
  letter-spacing:0;
}

.edu-hero p{
  font-size:1.08rem;
  margin:0;
  font-weight:500;
}

.edu-main{
  max-width:var(--edu-content);
  margin:0 auto;
  padding:36px 18px 56px;
}

.edu-card{
  background:var(--edu-paper);
  border-radius:var(--edu-radius);
  padding:24px;
  margin:24px 0;
  box-shadow:var(--edu-shadow);
  border-left:7px solid var(--edu-sky);
}

.edu-card h2{
  margin:0 0 14px;
  color:var(--edu-blue);
  font-size:1.45rem;
  line-height:1.45;
  letter-spacing:0;
}

.edu-lead{
  background:#fffdf6;
  border:1px solid #f3dfaa;
  border-radius:var(--edu-radius);
  padding:24px;
  margin:0 0 24px;
  box-shadow:var(--edu-shadow);
  font-size:1.06rem;
  font-weight:500;
}

.edu-point-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:18px;
}

.edu-point{
  background:#f8fbff;
  border:1px solid var(--edu-line);
  border-radius:16px;
  padding:18px;
}

.edu-point-number{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  margin-bottom:10px;
  border-radius:50%;
  background:var(--edu-orange);
  color:#fff;
  font-weight:700;
}

.edu-point h3{
  margin:0 0 8px;
  color:var(--edu-blue);
  font-size:1.15rem;
  line-height:1.45;
}

.edu-quote{
  margin:18px 0 0;
  padding:18px 20px;
  border-radius:16px;
  background:#f2f8ff;
  border-left:6px solid var(--edu-sky);
  font-weight:700;
  color:var(--edu-blue);
}

.edu-meta{
  display:inline-block;
  margin:0 0 10px;
  color:#66717c;
  font-weight:700;
}

.edu-curve-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:18px 0;
}

.edu-chart-image{
  display:block;
  width:100%;
  height:auto;
  margin:20px 0 4px;
  border-radius:16px;
  border:1px solid var(--edu-line);
  box-shadow:0 8px 22px rgba(38,67,96,.08);
}

.edu-curve{
  min-height:220px;
  border-radius:16px;
  background:#f8fbff;
  border:1px solid var(--edu-line);
  padding:18px;
}

.edu-curve-title{
  margin:0 0 14px;
  color:var(--edu-blue);
  font-weight:700;
}

.edu-curve-box{
  position:relative;
  height:142px;
  border-left:3px solid #9fb6ca;
  border-bottom:3px solid #9fb6ca;
  background:
    linear-gradient(#dcebf7 1px,transparent 1px),
    linear-gradient(90deg,#dcebf7 1px,transparent 1px);
  background-size:36px 36px;
  overflow:hidden;
}

.edu-curve-svg{
  display:block;
  width:100%;
  height:142px;
}

.edu-curve-grid{
  stroke:#dcebf7;
  stroke-width:1;
}

.edu-curve-axis{
  stroke:#9fb6ca;
  stroke-width:4;
  stroke-linecap:round;
}

.edu-curve-stroke{
  fill:none;
  stroke:var(--edu-orange);
  stroke-width:7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.edu-curve-dot{
  fill:#fff7e8;
  stroke:var(--edu-orange);
  stroke-width:4;
}

.edu-curve-label{
  fill:#66717c;
  font-family:"Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size:13px;
  font-weight:700;
}

.edu-curve-line{
  position:absolute;
  left:8px;
  right:8px;
  bottom:16px;
  height:96px;
}

.edu-curve-line::before{
  content:"";
  position:absolute;
  inset:0;
  border-bottom:5px solid var(--edu-orange);
}

.edu-curve-line.is-straight::before{
  transform:skewY(-24deg);
  transform-origin:left bottom;
}

.edu-curve-line.is-jump::before{
  top:70px;
  left:0;
  right:0;
  height:74px;
  border:0;
  background:
    linear-gradient(var(--edu-orange),var(--edu-orange)) 0 54px/30% 5px no-repeat,
    linear-gradient(var(--edu-orange),var(--edu-orange)) 30% 34px/5px 25px no-repeat,
    linear-gradient(var(--edu-orange),var(--edu-orange)) 30% 34px/32% 5px no-repeat,
    linear-gradient(var(--edu-orange),var(--edu-orange)) 62% 10px/5px 29px no-repeat,
    linear-gradient(var(--edu-orange),var(--edu-orange)) 62% 10px/38% 5px no-repeat;
}

.edu-work{
  background:#fffdf6;
  border:1px dashed #e2bd65;
  border-radius:var(--edu-radius);
  padding:22px;
  margin:24px 0;
}

.edu-work h2{
  margin:0 0 12px;
  color:var(--edu-blue);
  font-size:1.35rem;
}

.edu-answer-lines{
  display:grid;
  gap:12px;
  margin-top:16px;
}

.edu-answer-lines span{
  display:block;
  height:34px;
  border-bottom:2px solid #eadfbf;
}

.edu-source{
  margin-top:14px;
  color:#66717c;
  text-align:right;
  font-weight:700;
}

.edu-section-title{
  margin:34px 0 16px;
  color:var(--edu-blue);
  font-size:1.55rem;
  line-height:1.45;
}

.edu-index-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:18px 0 30px;
}

.edu-article-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:20px;
  color:inherit;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--edu-line);
  border-radius:var(--edu-radius);
  box-shadow:var(--edu-shadow);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.edu-article-card:hover{
  transform:translateY(-3px);
  border-color:var(--edu-sky);
  box-shadow:0 14px 32px rgba(38,67,96,.14);
}

.edu-article-tag{
  width:max-content;
  max-width:100%;
  margin-bottom:12px;
  padding:3px 10px;
  border-radius:999px;
  background:#fff7e8;
  color:#c46a00;
  font-size:.86rem;
  font-weight:700;
}

.edu-article-card h2{
  margin:0 0 10px;
  color:var(--edu-blue);
  font-size:1.25rem;
  line-height:1.45;
}

.edu-article-card p{
  margin:0;
}

.edu-article-link{
  margin-top:auto;
  padding-top:16px;
  color:var(--edu-blue);
  font-weight:700;
}

.edu-back-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 0 18px;
  color:var(--edu-blue);
  font-weight:700;
  text-decoration:none;
}

.edu-back-link:hover{
  text-decoration:underline;
}

.edu-essay{
  background:#fff;
  border-radius:var(--edu-radius);
  padding:30px 34px;
  margin:24px 0;
  box-shadow:var(--edu-shadow);
  border:1px solid #eadfbf;
}

.edu-essay-title{
  margin:0 0 4px;
  color:var(--edu-blue);
  font-size:1.5rem;
  text-align:center;
  letter-spacing:0;
}

.edu-essay-author{
  margin:0 0 22px;
  text-align:center;
  font-weight:700;
  color:#66717c;
}

.edu-essay-body{
  margin:0;
  padding:0;
  border:0;
  color:#2f3740;
  font-size:1.06rem;
  line-height:1.9;
}

.edu-essay-body p{
  margin:0 0 1em;
}

.edu-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.edu-box{
  background:#f8fbff;
  border-radius:16px;
  padding:18px;
  border:1px solid var(--edu-line);
}

.edu-box h3{
  margin:0 0 8px;
  color:#ff8a00;
  font-size:1.2rem;
}

.edu-flow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:16px;
}

.edu-step{
  flex:1;
  min-width:140px;
  text-align:center;
  background:#fff7e8;
  border:1px solid #ffd89a;
  border-radius:14px;
  padding:14px;
  font-weight:700;
}

.edu-arrow{
  font-size:1.4rem;
  color:var(--edu-orange);
}

.edu-list li{
  margin-bottom:10px;
}

.edu-message{
  background:var(--edu-blue);
  color:#fff;
  border-radius:var(--edu-radius);
  padding:24px;
  margin-top:32px;
  text-align:center;
  font-size:1.15rem;
  font-weight:700;
}

@media(max-width:700px){
  .edu-hero{
    min-height:500px;
    align-items:flex-end;
  }

  .edu-hero::before{
    background-position:var(--edu-hero-position-mobile, 33% top);
  }

  .edu-hero::after{
    background:
      linear-gradient(0deg,rgba(255,247,223,.98) 0%,rgba(255,247,223,.9) 45%,rgba(255,247,223,.25) 78%,rgba(255,247,223,0) 100%),
      linear-gradient(0deg,rgba(246,247,249,.98) 0%,rgba(246,247,249,0) 20%);
  }

  .edu-hero-inner{
    padding:245px 18px 44px;
  }

  .edu-hero p{
    font-size:1rem;
  }

  .edu-main{
    padding-top:26px;
  }

  .edu-card{
    padding:20px;
    border-radius:16px;
  }

  .edu-essay{
    padding:22px 20px;
  }

  .edu-two{
    grid-template-columns:1fr;
  }

  .edu-point-grid{
    grid-template-columns:1fr;
  }

  .edu-index-grid{
    grid-template-columns:1fr;
  }

  .edu-curve-panel{
    grid-template-columns:1fr;
  }

  .edu-arrow{
    display:none;
  }
}
