@charset "UTF-8";

/* ===== 桜アニメーション ===== */
.sakura-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.sakura {
  position: absolute;
  top: -30px;
  will-change: transform, opacity;
  animation: sakura-fall linear infinite;
}
.sakura-inner {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 35% 35%, #ffe4ef, #ffb7c5 55%, #ff8fab);
  border-radius: 150% 0 150% 0;
  box-shadow: inset -1px -1px 3px rgba(220, 80, 120, 0.15);
  animation: sakura-spin linear infinite;
}
@keyframes sakura-fall {
  0%   { transform: translateY(0)     translateX(0); opacity: 1; }
  40%  { transform: translateY(40vh)  translateX(var(--sx)); }
  70%  { transform: translateY(75vh)  translateX(0); }
  100% { transform: translateY(110vh) translateX(calc(var(--sx) * 0.5)); opacity: 0.4; }
}
@keyframes sakura-spin {
  0%   { transform: rotate(0deg)   rotateY(0deg); }
  50%  { transform: rotate(180deg) rotateY(60deg); }
  100% { transform: rotate(360deg) rotateY(0deg); }
}

/* ===== KV ===== */
.kv-zisseki {
  background: linear-gradient(135deg, #e8f0fc 0%, #fdeaf4 100%);
  padding: 50px 20px 40px;
  text-align: center;
}
.kv-zisseki .kv-year {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #1f57c8;
  margin-bottom: 8px;
}
.kv-zisseki h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #1a1a2e;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.kv-zisseki .kv-sub {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .kv-zisseki { padding: 36px 16px 28px; }
}

/* ===== セクションナビ ===== */
.result-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px 20px;
  background: #fff;
}
.result-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: .25s;
}
.result-nav a:hover { opacity: .75; transform: translateY(-2px); }
.nav-junior { background: #1f57c8; color: #fff; }
.nav-high   { background: #4ca56b; color: #fff; }
.nav-univ   { background: #d6419a; color: #fff; }
@media (max-width: 700px) {
  .result-nav { gap: 10px; padding: 20px 16px; }
  .result-nav a { padding: 10px 20px; font-size: .9rem; }
}

/* ===== ラッパー ===== */
.result-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ===== セクションボックス ===== */
.result-section {
  border-radius: 12px;
  overflow: hidden;
}
.section-junior { background: #e8f0fc; }
.section-high   { background: #ecf7ef; }
.section-univ   { background: #fdeaf4; }

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 30px;
}
.section-bar {
  width: 6px;
  min-height: 48px;
  border-radius: 3px;
  flex-shrink: 0;
}
.bar-junior { background: #1f57c8; }
.bar-high   { background: #4ca56b; }
.bar-univ   { background: #d6419a; }

.section-title-en {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
.title-junior .section-title-en { color: #1f57c8; }
.title-high   .section-title-en { color: #4ca56b; }
.title-univ   .section-title-en { color: #d6419a; }

.section-title-ja {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1;
}

.section-body { padding: 0 30px 30px; }
@media (max-width: 700px) {
  .section-header { padding: 20px 16px; }
  .section-body   { padding: 0 16px 20px; }
}

/* ===== フィーチャーグリッド（大見出し校） ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.feature-school {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.2;
}
.feature-count {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.feature-count .unit { font-size: 1rem; font-weight: 700; }
.count-junior { color: #1f57c8; }
.count-high   { color: #4ca56b; }
.count-univ   { color: #d6419a; }

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .feature-school { font-size: 1rem; }
  .feature-count  { font-size: 1.6rem; }
}

/* ===== その他リスト ===== */
.other-label {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #777;
  margin: 20px 0 10px;
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.other-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.other-school { font-size: .95rem; font-weight: 700; color: #333; }
.other-count  { font-size: 1rem; font-weight: 900; white-space: nowrap; }
.other-count .unit { font-size: .8rem; font-weight: 700; }
.ocount-junior { color: #1f57c8; }
.ocount-high   { color: #4ca56b; }
.ocount-univ   { color: #d6419a; }

.etc-note {
  margin-top: 12px;
  font-size: .85rem;
  color: #888;
  font-weight: 700;
}

/* ===== 学校名タグリスト ===== */
.school-list-section {
  margin-top: 24px;
}
.school-list-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.label-junior { background: #1f57c8; color: #fff; }
.label-high   { background: #4ca56b; color: #fff; }
.label-univ   { background: #d6419a; color: #fff; }

.school-tags {
  display: block;
  line-height: 2;
}
.school-tag {
  display: inline;
  font-size: .9rem;
  color: #444;
}
.school-tag::after {
  content: ' ／ ';
  color: #bbb;
  font-size: .8rem;
}
.school-tag:last-child::after {
  content: '';
}

@media (max-width: 700px) {
  .other-grid { grid-template-columns: repeat(2, 1fr); }
  .other-school { font-size: .85rem; }
}

/* ===== CTA ===== */
.zisseki-cta {
  background: linear-gradient(135deg, #1f57c8 0%, #3a7bd5 100%);
  text-align: center;
  padding: 56px 20px;
  margin-top: 20px;
}
.zisseki-cta p {
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.7;
}
.zisseki-cta .cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.zisseki-cta .cta-btns a {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  transition: .25s;
}
.zisseki-cta .cta-btns a:hover { transform: translateY(-3px); opacity: .9; }
.btn-trial { background: #f5c400; color: #1a1a2e; }
.btn-contact { background: #fff; color: #1f57c8; }
@media (max-width: 700px) {
  .zisseki-cta { padding: 40px 16px; }
  .zisseki-cta .cta-btns a { padding: 14px 28px; width: 100%; max-width: 320px; }
}
