* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif;
  color: #6b5372;
  background: #ffeef7;
}

.page {
  min-height: 100vh;
  background-image: url("images/bg_type_talk.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 26px 24px 70px;
  position: relative;
  overflow: hidden;
}

.top-logo {
  position: absolute;
  top: 26px;
  left: 34px;
  width: 260px;
  max-width: 42vw;
  z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(238, 112, 153, 0.25));
}

.hero {
  width: min(900px, 94%);
  margin: 0 auto;
  padding-top: 125px;
  text-align: center;
}

.main-logo {
  width: min(520px, 88vw);
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 16px 35px rgba(255, 128, 168, 0.25));
}

.catch {
  margin: 8px auto 22px;
  font-size: clamp(1rem, 2.8vw, 1.45rem);
  line-height: 1.9;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #675174;
  text-shadow: 0 2px 10px rgba(255,255,255,0.95);
}

.catch span {
  color: #ef6f9e;
}

.start-link {
  display: inline-block;
  width: min(540px, 90vw);
  transition: 0.25s ease;
}

.start-link:hover {
  transform: translateY(-4px) scale(1.015);
  filter: brightness(1.04);
}

.start-link img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(239, 101, 150, 0.25));
}

.time {
  margin-top: 12px;
  color: #ec729a;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(255,255,255,0.9);
}

.types {
  width: min(1080px, 96%);
  margin: 52px auto 0;
  padding: 32px 28px 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 190, 216, 0.65);
  box-shadow:
    0 20px 50px rgba(218, 122, 185, 0.16),
    inset 0 0 28px rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
}

.mini-title {
  text-align: center;
  margin: 0 0 4px;
  color: #8d6c99;
  font-weight: 700;
  font-size: 0.95rem;
}

.types h2 {
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(1.65rem, 4vw, 2.3rem);
  letter-spacing: 0.08em;
  color: #7c6088;
  text-shadow: 0 2px 12px rgba(255,255,255,0.9);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.type-card {
  position: relative;
  min-height: 280px;
  padding: 20px 16px 18px;
  border-radius: 24px;
  text-align: center;
  background: rgba(255,255,255,0.58);
  box-shadow:
    0 14px 30px rgba(120, 78, 145, 0.10),
    inset 0 0 18px rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.type-card:hover {
  transform: translateY(-6px);
}

.type-card.pink {
  border: 1px solid rgba(244, 133, 170, 0.55);
}

.type-card.mint {
  border: 1px solid rgba(98, 215, 214, 0.6);
}

.type-card.lavender {
  border: 1px solid rgba(169, 139, 250, 0.55);
}

.num {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8aae, #ef6f9e);
  color: white;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(239, 111, 158, 0.28);
}

.type-card img {
  width: 122px;
  height: 122px;
  object-fit: contain;
  margin: 14px auto 8px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(120, 78, 145, 0.12));
}

.type-card h3 {
  margin: 6px 0 2px;
  font-size: 1.05rem;
  color: #ef6f9e;
}

.type-card .jp {
  margin: 0 0 12px;
  font-weight: 800;
  color: #65caca;
  font-size: 0.9rem;
}

.type-card p:last-child {
  margin: 0;
  line-height: 1.75;
  font-size: 0.87rem;
  font-weight: 600;
  color: #6d5a73;
}

.info-banner {
  display: block;
  width: min(860px, 100%);
  margin: 28px auto 0;
  filter: drop-shadow(0 12px 20px rgba(239, 111, 158, 0.16));
}

@media (max-width: 980px) {
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 110px;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 20px 14px 46px;
    background-position: top center;
  }

  .top-logo {
    top: 16px;
    left: 16px;
    width: 190px;
    max-width: 58vw;
  }

  .hero {
    padding-top: 92px;
  }

  .main-logo {
    width: 88vw;
    margin-bottom: 18px;
  }

  .catch {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .types {
    margin-top: 36px;
    padding: 24px 14px;
    border-radius: 26px;
  }

  .type-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .type-card {
    min-height: auto;
    padding: 20px 16px;
    display: block;
    text-decoration: none;
  }

  .type-card img {
    width: 116px;
    height: 116px;
  }

  .info-banner {
    margin-top: 22px;
  }
}