:root {
  color: #1a1a1c;
  background: #f7f8fb;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #0017c1;
  font-weight: 700;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 32px;
}

.hero {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.brandMark {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.book {
  position: relative;
  width: 68px;
  height: 78px;
  border: 10px solid #3488e7;
  border-radius: 18px 18px 8px 18px;
}

.book::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -10px;
  bottom: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 999px 0 0 999px;
}

.heart {
  position: absolute;
  top: 18px;
  left: 19px;
  width: 24px;
  height: 24px;
  background: #35bfc5;
  transform: rotate(45deg);
  border-radius: 3px;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: #35bfc5;
  border-radius: 50%;
}

.heart::before {
  left: -12px;
}

.heart::after {
  top: -12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #626264;
  font-size: 0.95rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.45;
  letter-spacing: 0;
}

p {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.lead {
  margin-top: 14px;
  color: #3f3f42;
  max-width: 720px;
}

.panel {
  background: #ffffff;
  border: 1px solid #d8d8db;
  border-radius: 8px;
  padding: 28px;
  margin-top: 18px;
}

.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: #ffffff;
  background: #0017c1;
  border-radius: 8px;
  text-decoration: none;
}

.button.secondary {
  color: #0017c1;
  background: #e8f1fe;
}

.contact {
  font-size: 1.25rem;
}

ul {
  margin: 0 0 14px;
  padding-left: 1.3em;
  font-size: 1.05rem;
}

li {
  margin: 0.3em 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: #626264;
}

footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 960px);
    padding-top: 28px;
  }

  .hero {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .brandMark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .book {
    width: 48px;
    height: 56px;
    border-width: 7px;
    border-radius: 13px 13px 6px 13px;
  }

  .book::after {
    bottom: 8px;
    height: 9px;
  }

  .heart {
    top: 13px;
    left: 14px;
    width: 16px;
    height: 16px;
  }

  .heart::before,
  .heart::after {
    width: 16px;
    height: 16px;
  }

  .heart::before {
    left: -8px;
  }

  .heart::after {
    top: -8px;
  }

  .panel {
    padding: 20px;
  }
}
