:root {
  --ink: #12213d;
  --muted: #647086;
  --paper: #f7f9fc;
  --white: #ffffff;
  --green: #102c5c;
  --green-2: #1f5f9f;
  --green-3: #eaf1fb;
  --gold: #f28c28;
  --blue: #102c5c;
  --red: #d65a1f;
  --line: rgba(20, 34, 58, 0.13);
  --shadow: 0 18px 42px rgba(16, 44, 92, 0.14);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", "Yu Gothic UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
}

body.mobile-mode {
  background: #dfe7f2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.18rem;
  transition: transform 180ms ease, box-shadow 180ms ease,
    background-color 180ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(242, 140, 40, 0.26);
  color: var(--ink);
}

.button-light {
  background: #ffb45f;
  box-shadow: 0 12px 28px rgba(242, 140, 40, 0.24);
  color: var(--ink);
}

.button-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

.icon-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.site-shell {
  background: var(--paper);
  min-height: 100vh;
  overflow: hidden;
}

.mobile-mode .site-shell {
  box-shadow: 0 24px 70px rgba(16, 44, 92, 0.28);
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
}

.wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 28px;
  width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(250, 249, 245, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.8rem;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.brand-main {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.brand-sub {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.16rem;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 1.1rem;
  justify-content: center;
}

.nav-links .nav-menu {
  align-items: center;
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-links .nav-menu a {
  color: #253652;
  font-size: 0.91rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.header-actions .button {
  min-height: 42px;
  padding: 0.62rem 1rem;
}

.hero {
  color: #fff;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  position: relative;
}

.hero::before {
  background-image: url("../images/jishushitsu.png");
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(7, 27, 60, 0.96) 0%,
      rgba(7, 27, 60, 0.76) 47%,
      rgba(7, 27, 60, 0.24) 100%
    ),
    linear-gradient(180deg, rgba(7, 27, 60, 0.06), rgba(7, 27, 60, 0.6));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-inner {
  align-items: end;
  display: grid;
  min-height: calc(100vh - 76px);
  padding-bottom: 72px;
  padding-top: 64px;
}

.hero-copy {
  max-width: 780px;
}

.hero-kicker,
.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.7rem, 8vw, 7.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 650;
  line-height: 1.95;
  margin: 0;
  max-width: 47rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.65rem;
}

.hero-tag {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 850;
  gap: 0.38rem;
  padding: 0.42rem 0.72rem;
}

.notice-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.notice-inner {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.notice-item {
  border-right: 1px solid var(--line);
  padding: 20px 24px;
}

.notice-item:last-child {
  border-right: 0;
}

.notice-label {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.notice-value {
  color: var(--green);
  display: block;
  font-size: 1.26rem;
  font-weight: 950;
  line-height: 1.3;
}

.section {
  padding: 88px 0;
}

.section-white {
  background: #fff;
}

.section-green {
  background: var(--green);
  color: #fff;
}

.section-soft {
  background: #eef5fd;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-head h2,
.text-block h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.section-head p,
.text-block p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
  max-width: 36rem;
}

.section-green .section-kicker,
.section-green .section-head p {
  color: #cfe4ff;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 62, 120, 0.07);
  padding: 28px;
}

.section-green .card {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 0.62rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.section-green .card p {
  color: rgba(255, 255, 255, 0.78);
}

.card-icon {
  align-items: center;
  background: var(--green-3);
  border-radius: 14px;
  color: var(--green);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 1.1rem;
  width: 46px;
}

.section-green .card-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffb45f;
}

.student-grid {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: 0.9fr 1.1fr;
}

.photo-tile {
  border-radius: 8px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.photo-tile img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-caption {
  background: rgba(7, 27, 60, 0.92);
  bottom: 18px;
  color: #fff;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 14px 16px;
  position: absolute;
}

.photo-caption strong {
  display: block;
  font-size: 1.05rem;
}

.photo-caption span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.check-list li {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 28px minmax(0, 1fr);
  list-style: none;
  padding: 16px;
}

.check-list i {
  color: var(--green);
  margin-top: 0.15rem;
}

.process {
  counter-reset: process;
  display: grid;
  gap: 0;
}

.process-step {
  align-items: start;
  border-top: 1px solid rgba(20, 34, 58, 0.13);
  counter-increment: process;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 72px minmax(0, 1fr) 220px;
  padding: 26px 0;
}

.process-step::before {
  color: var(--green);
  content: "0" counter(process);
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.42rem;
  margin: 0 0 0.25rem;
}

.process-step p {
  color: var(--muted);
  margin: 0;
}

.process-step .mini {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
}

.results-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.9fr 1.1fr;
}

.result-hero {
  align-content: end;
  background:
    linear-gradient(rgba(7, 27, 60, 0.2), rgba(7, 27, 60, 0.9)),
    url("../images/jishushitsu.png");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  color: #fff;
  display: grid;
  min-height: 560px;
  padding: 34px;
}

.result-hero strong {
  color: #ffb45f;
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 950;
  line-height: 0.95;
}

.result-hero span {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  margin-top: 0.55rem;
}

.result-cards {
  display: grid;
  gap: 16px;
}

.result-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  padding: 24px;
}

.result-card h3 {
  color: #ffb45f;
  font-size: 1.08rem;
  margin: 0 0 0.9rem;
}

.result-list {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
}

.result-list li {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  gap: 0.55rem;
  list-style: none;
  padding-bottom: 0.48rem;
}

.result-list li::before {
  background: #ffb45f;
  border-radius: 999px;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.teacher-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
}

.teacher-photo {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 62, 120, 0.07);
  max-width: 260px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.teacher-photo img {
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.teacher-copy {
  background: #fff;
  border: 1px solid var(--line);
  padding: 46px;
}

.teacher-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.16;
  margin: 0 0 1rem;
}

.teacher-copy .lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 1.5rem;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.fact-list div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 140px minmax(0, 1fr);
  padding: 0.72rem 0;
}

.fact-list dt {
  color: var(--green);
  font-weight: 900;
}

.fact-list dd {
  margin: 0;
}

.details-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.details-layout #access {
  grid-column: 1 / -1;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.info-card h3 {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.info-card p {
  color: var(--muted);
  margin: 0;
}

.info-card .big {
  color: var(--green);
  display: block;
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.fee-image,
.map-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 1rem;
  overflow: hidden;
}

.map-image iframe {
  border: 0;
  display: block;
  height: clamp(260px, 36vw, 430px);
  width: 100%;
}

.map-link {
  align-items: center;
  color: var(--green);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 0.36rem;
  margin-top: 0.8rem;
}

.flow-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 200px;
  padding: 20px;
}

.flow-card span {
  color: var(--gold);
  display: block;
  font-size: 1.6rem;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.flow-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.flow-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.blog-list {
  display: grid;
  gap: 1px;
}

.blog-item {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 140px minmax(0, 1fr) 44px;
  padding: 20px 0;
}

.blog-item time {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
}

.blog-item h3 {
  font-size: 1.08rem;
  margin: 0;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(7, 27, 60, 0.97), rgba(7, 27, 60, 0.84)),
    url("../images/jishushitsu.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 86px 0;
}

.contact-layout {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-layout h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin: 0 0 1.6rem;
  max-width: 42rem;
}

.qr-panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  justify-items: center;
  padding: 28px;
}

.qr-panel img:first-child {
  background: #fff;
  border-radius: 8px;
  max-width: 190px;
  padding: 8px;
  width: 100%;
}

.line-img {
  margin-top: 1rem;
  width: 196px;
}

.site-footer {
  background: #071b3c;
  color: rgba(255, 255, 255, 0.75);
  padding: 28px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-inner strong {
  color: #fff;
}

.mobile-bottom-cta {
  display: none;
}

.mobile-menu {
  display: none;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 27, 60, 0.96), rgba(7, 27, 60, 0.78)),
    url("../images/jishushitsu.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 94px 0 74px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin: 1rem 0 0;
  max-width: 42rem;
}

.content-section {
  background: var(--paper);
  padding: 72px 0;
}

.content-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.content-card,
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 62, 120, 0.07);
  padding: 34px;
}

.entry-content {
  color: var(--ink);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.35;
  margin: 2rem 0 0.8rem;
}

.entry-content p,
.entry-content li {
  color: var(--muted);
}

.entry-content a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.entry-content img {
  border-radius: 8px;
  height: auto;
}

.entry-content table {
  border-collapse: collapse;
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
}

.archive-list {
  display: grid;
  gap: 16px;
}

.post-card {
  display: grid;
  gap: 0.8rem;
}

.post-card h2,
.post-card h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  margin: 0;
}

.post-meta {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
}

.post-excerpt {
  color: var(--muted);
  margin: 0;
}

.post-nav,
.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  margin-top: 28px;
}

.post-nav a,
.pagination a,
.pagination span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-weight: 850;
  padding: 0.6rem 0.95rem;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 98px;
}

.sidebar-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.sidebar-card p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.4rem;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0.4rem 1.2rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.4rem 0 1rem 1.2rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 18px 22px;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    width: 100%;
  }

  .nav-links .nav-menu {
    flex-wrap: nowrap;
  }

  .header-actions {
    position: absolute;
    right: 22px;
    top: 17px;
  }

  .notice-inner,
  .grid-3,
  .grid-4,
  .student-grid,
  .results-layout,
  .teacher-layout,
  .details-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .notice-item {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .notice-item:last-child {
    border-bottom: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-step {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .process-step .mini {
    grid-column: 2;
  }

  .flow-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .brand-sub {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .header-actions .button {
    display: none;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .hero {
    min-height: 620px;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(7, 27, 60, 0.44) 0%,
        rgba(7, 27, 60, 0.9) 58%,
        rgba(7, 27, 60, 0.97) 100%
      );
  }

  .hero-inner {
    align-items: end;
    min-height: 620px;
    padding-bottom: 34px;
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 18vw, 4.8rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.85;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-tags {
    gap: 0.4rem;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 0.36rem 0.58rem;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    gap: 0.8rem;
    margin-bottom: 22px;
  }

  .section-head h2,
  .text-block h2 {
    font-size: clamp(1.78rem, 10vw, 2.45rem);
  }

  .section-head p,
  .text-block p {
    font-size: 0.96rem;
  }

  .notice-item {
    padding: 16px 18px;
  }

  .notice-value {
    font-size: 1.1rem;
  }

  .card,
  .info-card,
  .result-card,
  .teacher-copy,
  .qr-panel {
    padding: 20px;
  }

  .photo-tile,
  .result-hero {
    min-height: 360px;
  }

  .teacher-photo {
    max-width: 200px;
    min-height: 0;
  }

  .process-step {
    gap: 0.7rem;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 20px 0;
  }

  .process-step::before {
    font-size: 1.22rem;
  }

  .process-step h3 {
    font-size: 1.13rem;
  }

  .result-hero {
    padding: 22px;
  }

  .teacher-copy h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .fact-list div {
    gap: 0.15rem;
    grid-template-columns: 1fr;
  }

  .flow-cards {
    grid-template-columns: 1fr;
  }

  .flow-card {
    min-height: auto;
  }

  .blog-item {
    grid-template-columns: 1fr 44px;
  }

  .blog-item time {
    grid-column: 1 / -1;
  }

  .contact-section {
    padding: 62px 0 92px;
  }

  .page-hero {
    padding: 68px 0 48px;
  }

  .content-section {
    padding: 44px 0;
  }

  .content-card,
  .post-card {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-bottom-cta {
    background: rgba(250, 249, 245, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr 1fr;
    left: 0;
    padding: 10px 12px;
    position: fixed;
    right: 0;
    z-index: 60;
    backdrop-filter: blur(18px);
  }

  .mobile-mode .mobile-bottom-cta {
    left: 50%;
    max-width: 430px;
    transform: translateX(-50%);
  }

  .mobile-bottom-cta .button {
    font-size: 0.86rem;
    min-height: 44px;
    padding: 0.62rem 0.7rem;
  }
}
