:root {
  --ink: #172436;
  --body: #48596d;
  --muted: #8a97a7;
  --line: #dce8f3;
  --line-strong: #c8d8e6;
  --white: #fff;
  --mist: #f6fbff;
  --mist-blue: #eef8ff;
  --cyan: #48bde5;
  --mint: #6ed7cc;
  --blue: #2294df;
  --navy: #101b2a;
  --shadow: 0 20px 56px rgba(42, 87, 129, 0.12);
  --radius: 8px;
  --container: 1120px;
  --header-height: 76px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section-gap {
  padding: 52px 0 0;
}

.section-gap-sm {
  padding: 74px 0 0;
}

.section-gap-lg {
  padding: 104px 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(210, 225, 238, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1320px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.25vw, 36px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.global-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.global-nav a:hover {
  color: var(--blue);
}

.nav-sub,
.nav-primary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
}

.nav-sub {
  gap: 8px;
  border: 1px solid var(--line-strong);
}

.nav-sub::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  clip-path: path("M7.5 8.3a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Zm0 1.5c-4 0-6.4 2.2-6.4 5.1h12.8c0-2.9-2.4-5.1-6.4-5.1Z");
}

.nav-primary {
  gap: 9px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(16, 27, 42, 0.22);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.nav-icon rect,
.nav-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 40%, #eef8ff 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 33%, rgba(255, 255, 255, 0.2) 58%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.92) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding-top: 82px;
}

.hero-title {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(52px, 7.2vw, 92px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.accent-line {
  display: block;
  width: 68px;
  height: 4px;
  margin: 30px 0 26px;
  background: linear-gradient(90deg, var(--mint), var(--blue));
}

.hero-lead {
  margin: 0;
  color: #435164;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 142px;
  pointer-events: none;
}

.hero-wave-blue {
  background: linear-gradient(100deg, rgba(76, 170, 235, 0.33), rgba(76, 170, 235, 0.04));
  clip-path: polygon(0 38%, 26% 72%, 54% 66%, 100% 40%, 100% 100%, 0 100%);
}

.hero-wave-mint {
  background: linear-gradient(90deg, rgba(111, 217, 202, 0.3), rgba(31, 150, 226, 0.2));
  clip-path: polygon(0 74%, 42% 72%, 73% 58%, 100% 38%, 100% 100%, 0 100%);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.section-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.3;
  font-weight: 900;
}

.topics-panel {
  padding: clamp(34px, 5vw, 58px) clamp(28px, 6vw, 72px);
  border: 1px solid rgba(218, 232, 243, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.topic-tabs button {
  min-width: 76px;
  min-height: 34px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--body);
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.topic-tabs .active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.topic-list {
  border-top: 1px solid var(--line);
}

.topic-row {
  display: grid;
  grid-template-columns: 88px 118px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 14px;
  font-weight: 800;
}

.topic-row > span:last-child {
  justify-self: end;
  color: var(--ink);
}

.topic-tag {
  display: inline-grid;
  place-items: center;
  min-width: 70px;
  min-height: 22px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
}

.tag-news {
  background: #3aa7e7;
}

.tag-youtube {
  background: #f09caf;
}

.tag-column {
  background: #7bd8c7;
}

.tag-recruit {
  background: #8cd4ee;
}

.download-banner {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 250px 132px;
  align-items: center;
  gap: 26px;
  min-height: 172px;
  padding: 26px 34px;
  overflow: hidden;
  border: 1px solid #bcebf3;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(235, 253, 253, 0.96), rgba(240, 249, 255, 0.96)),
    radial-gradient(circle at 75% 50%, rgba(92, 209, 202, 0.2), transparent 28%);
}

.download-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(83, 198, 214, 0.16) 0 3px, transparent 3px),
    linear-gradient(115deg, transparent 0 62%, rgba(43, 157, 226, 0.1) 62.2% 62.6%, transparent 62.8%);
  background-size: 34px 34px, 100% 100%;
  opacity: 0.9;
  pointer-events: none;
}

.book-stack,
.download-copy,
.guide-preview,
.consult-badge {
  position: relative;
  z-index: 1;
}

.book-stack {
  height: 112px;
}

.book-stack span,
.guide-preview span {
  display: block;
  position: absolute;
  border-radius: 5px;
  border: 1px solid rgba(138, 202, 222, 0.5);
  background: #fff;
  box-shadow: 0 12px 26px rgba(68, 143, 176, 0.14);
}

.book-stack span::before,
.guide-preview span::before {
  content: "";
  position: absolute;
  inset: 16px 18px auto;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, #72d9cd 0 14px, transparent 15px),
    radial-gradient(circle at 70% 50%, #67b8ee 0 16px, transparent 17px),
    radial-gradient(circle at 48% 70%, #d9f8f9 0 18px, transparent 19px);
}

.book-stack span::after,
.guide-preview span::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 22px;
  border-top: 3px solid #d7edf5;
  border-bottom: 3px solid #d7edf5;
}

.book-stack span:first-child {
  width: 74px;
  height: 104px;
  left: 14px;
  top: 4px;
  transform: rotate(-8deg);
}

.book-stack span:last-child {
  width: 68px;
  height: 94px;
  left: 38px;
  top: 10px;
  transform: rotate(8deg);
  opacity: 0.78;
}

.download-copy p {
  margin: 0 0 4px;
  color: var(--body);
  font-size: 14px;
  font-weight: 900;
}

.download-copy h2 {
  margin-bottom: 18px;
  color: #1f5371;
  font-size: clamp(24px, 3vw, 36px);
}

.outline-button,
.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.outline-button {
  border: 1px solid #9bb8cc;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
}

.dark-button {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(16, 27, 42, 0.22);
}

.outline-button:hover,
.dark-button:hover {
  transform: translateY(-2px);
}

.guide-preview {
  height: 120px;
}

.guide-preview span:nth-child(1) {
  width: 84px;
  height: 108px;
  left: 18px;
  top: 8px;
  transform: rotate(-10deg);
}

.guide-preview span:nth-child(2) {
  width: 96px;
  height: 112px;
  left: 88px;
  top: 3px;
  transform: rotate(7deg);
}

.guide-preview span:nth-child(3) {
  width: 90px;
  height: 106px;
  left: 150px;
  top: 13px;
  transform: rotate(-4deg);
  opacity: 0.9;
}

.consult-badge {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--mint), #4bc6c7);
  font-weight: 900;
  text-align: center;
  line-height: 1.65;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.45fr;
  align-items: center;
  gap: clamp(46px, 7vw, 88px);
}

.about-copy h3,
.recruit-copy h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.55;
  font-weight: 900;
}

.about-copy p:not(.section-label),
.service-copy p,
.recruit-copy p {
  margin: 0 0 30px;
  color: var(--body);
  font-weight: 700;
}

.about-image {
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 24px 56px rgba(28, 91, 131, 0.16);
}

.about-image img {
  width: 100%;
  height: 382px;
  object-fit: cover;
}

.message-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.8fr);
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f8fbfe;
  box-shadow: 0 16px 42px rgba(49, 83, 116, 0.1);
}

.message-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.message-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 34px 48px;
}

.message-copy p {
  margin: 0 0 22px;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.45;
  font-weight: 900;
}

.message-copy span {
  color: var(--body);
  font-weight: 800;
}

.message-copy strong {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  margin-top: -10px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
}

.service-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.55fr;
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(55, 91, 126, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(45, 86, 128, 0.12);
}

.service-card svg {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  color: var(--cyan);
}

.service-card path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 14px;
  color: #1577c5;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
  font-weight: 700;
}

.service-card > span {
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-weight: 900;
}

.project-banner {
  position: relative;
  min-height: 202px;
  padding: 38px 42px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(83, 206, 195, 0.9), rgba(40, 139, 229, 0.86)),
    url("assets/images/about-city.png") center / cover;
}

.project-banner::before,
.project-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 58%, rgba(255, 255, 255, 0.12) 58.2% 58.7%, transparent 59%);
}

.project-banner::after {
  transform: translateX(14%);
  opacity: 0.65;
}

.project-banner > * {
  position: relative;
  z-index: 1;
}

.project-banner p {
  margin: 0 0 8px;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.project-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.project-banner span {
  display: block;
  margin-bottom: 24px;
  font-weight: 800;
  opacity: 0.92;
}

.project-banner .dark-button {
  min-height: 44px;
  background: rgba(16, 27, 42, 0.92);
}

.recruit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 560px);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding-left: max(0px, calc((100% - 1440px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
}

.recruit-image {
  overflow: hidden;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.recruit-image img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center;
}

.recruit-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.recruit-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 900;
}

.contact-banner {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 154px;
  padding: 32px 44px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(105deg, #6fd7cc 0%, #34b5dd 46%, #168be8 100%);
  box-shadow: 0 20px 48px rgba(35, 145, 216, 0.2);
}

.mail-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #29a8db;
  background: var(--white);
}

.mail-icon svg {
  width: 38px;
  height: 38px;
}

.mail-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-banner h2 {
  color: var(--white);
  margin-bottom: 6px;
}

.contact-banner p {
  margin: 0;
  font-weight: 800;
  opacity: 0.92;
}

.contact-banner .dark-button {
  min-width: 270px;
}

.site-footer {
  margin-top: 72px;
  background: linear-gradient(180deg, #f6fbff, #fff);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 56px;
  padding: 54px 0 48px;
}

.footer-brand p {
  margin: 26px 0 18px;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.outline-button.small {
  min-height: 40px;
  padding: 0 18px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.footer-nav div {
  min-height: 170px;
  padding-left: 38px;
  border-right: 1px solid var(--line);
}

.footer-nav h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.footer-nav a {
  display: block;
  margin: 10px 0;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  align-items: center;
  font-size: 12px;
}

.footer-bottom a {
  margin: 0 12px;
}

.js-enabled .reveal-item,
.js-enabled .reveal-group {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.72s cubic-bezier(0.2, 0.72, 0.18, 1),
    transform 0.72s cubic-bezier(0.2, 0.72, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal-item.is-visible,
.js-enabled .reveal-group.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .js-enabled .reveal-item,
  .js-enabled .reveal-group {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .global-nav {
    gap: 16px;
    font-size: 12px;
  }

  .nav-sub,
  .nav-primary {
    padding: 0 12px;
  }

  .download-banner {
    grid-template-columns: 110px minmax(0, 1fr) 210px;
  }

  .consult-badge {
    display: none;
  }

  .service-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .header-inner,
  .hero-content {
    width: min(100% - 32px, var(--container));
  }

  .section-gap {
    padding-top: 38px;
  }

  .section-gap-sm {
    padding-top: 56px;
  }

  .section-gap-lg {
    padding-top: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 38px rgba(25, 52, 80, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .global-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .nav-sub,
  .nav-primary {
    justify-content: center;
    margin-top: 12px;
    border-bottom: 0;
  }

  .hero {
    min-height: 560px;
  }

  .hero-image img {
    object-position: 62% center;
  }

  .hero-image::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 47%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.94) 100%);
  }

  .hero-content {
    padding-top: 74px;
  }

  .hero-title {
    font-size: clamp(44px, 11vw, 72px);
  }

  .topic-row {
    grid-template-columns: 82px 96px minmax(0, 1fr) 20px;
    gap: 14px;
  }

  .download-banner {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 18px;
  }

  .guide-preview {
    display: none;
  }

  .message-card {
    grid-template-columns: 1fr;
  }

  .message-card img {
    height: 260px;
  }

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

  .recruit {
    grid-template-columns: 1fr;
    padding-right: 16px;
    padding-left: 16px;
  }

  .recruit-image {
    border-radius: var(--radius);
  }

  .contact-banner {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .contact-banner .dark-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-main,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    border-left: 0;
  }

  .footer-nav div {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 7px;
  }

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

  .hero {
    min-height: 560px;
  }

  .hero-image img {
    object-position: 68% center;
  }

  .hero-title {
    max-width: 320px;
    font-size: 43px;
  }

  .hero-lead {
    max-width: 280px;
    font-size: 17px;
  }

  .hero-wave {
    height: 112px;
  }

  .topics-panel {
    padding: 28px 18px;
  }

  .section-head {
    display: block;
  }

  .section-head .text-link {
    margin-top: 16px;
  }

  .topic-tabs {
    gap: 8px;
  }

  .topic-tabs button {
    min-width: auto;
    padding: 0 14px;
  }

  .topic-row {
    grid-template-columns: 76px 1fr 20px;
    gap: 10px;
    padding: 14px 0;
  }

  .topic-row time {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
  }

  .topic-row span:nth-child(3) {
    grid-column: 1 / 3;
  }

  .topic-row > span:last-child {
    grid-column: 3;
    grid-row: 1 / 4;
  }

  .download-banner {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .book-stack {
    display: none;
  }

  .about-image img,
  .recruit-image img {
    height: 300px;
  }

  .message-copy {
    padding: 28px 24px;
  }

  .recruit-links {
    grid-template-columns: 1fr;
  }

  .contact-banner {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .mail-icon {
    width: 64px;
    height: 64px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}
