:root {
  --main: #25a889;
  --main-dark: #0c6f62;
  --text: #12313a;
  --muted: #55717a;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 40px rgba(5, 54, 43, 0.18);

  --soft-green: #e7f8ef;
  --soft-orange: #fff1db;
  --soft-blue: #eaf5ff;
  --soft-yellow: #fff8d6;
  --soft-purple: #f2ecff;
  --soft-teal: #e1f8f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    linear-gradient(rgba(9, 56, 35, 0.04), rgba(9, 56, 35, 0.18)),
    url("img/backimg.png") center top / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 244, 178, 0.35), transparent 34%),
    linear-gradient(90deg, rgba(0, 70, 42, 0.22), transparent 20%, transparent 80%, rgba(0, 70, 42, 0.22));
  pointer-events: none;
  z-index: -1;
}

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

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 70px;
}

/* header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(5, 54, 43, 0.12);
}

.logo-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-title {
  font-weight: 950;
  line-height: 1.2;
  font-size: 18px;
}

.domain {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.parent-link {
  flex: 0 0 auto;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--main-dark);
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(5, 54, 43, 0.12);
}

/* layout */

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

/* hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px 280px;
  gap: 18px;
  align-items: center;
  border-radius: 34px;
  padding: 34px 30px 30px;
  overflow: hidden;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff3d7;
  color: #7b5600;
  font-size: 14px;
  font-weight: 950;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.06em;
}

.hero-lead {
  margin: 0;
  color: #24454d;
  font-size: 16px;
  font-weight: 850;
}

.hero-buttons {
  display: grid;
  gap: 10px;
  max-width: 380px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 950;
  transition: transform 0.15s ease;
}

.primary-button {
  background: linear-gradient(135deg, #36bf9a, #159579);
  color: #fff;
  box-shadow: 0 12px 24px rgba(21, 149, 121, 0.28);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.82);
  color: #0c6380;
  border: 2px solid rgba(12, 99, 128, 0.18);
}

.kikirin-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 360px;
  position: relative;
}

.kikirin-stage::after {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 230px;
  height: 90px;
  background: rgba(98, 145, 91, 0.2);
  border-radius: 50%;
  filter: blur(2px);
}

.kikirin-image {
  position: relative;
  z-index: 1;
  width: 245px;
  max-width: 100%;
  filter: drop-shadow(0 16px 16px rgba(5, 54, 43, 0.18));
}

/* hero guide */

.hero-guide {
  border-radius: 28px;
  padding: 26px;
  background:
    radial-gradient(circle at right bottom, rgba(132, 190, 102, 0.22), transparent 38%),
    rgba(255, 253, 241, 0.86);
  border: 1px solid rgba(12, 111, 98, 0.12);
}

.hero-guide h2 {
  margin: 0;
  font-size: 25px;
}

.hero-guide p:not(.section-kicker) {
  margin: 16px 0 0;
  color: #405d65;
  font-weight: 800;
}

.hero-guide-mobile {
  display: none;
}

.hero-guide-pc {
  min-height: 280px;
  align-self: center;
}

.section-kicker {
  margin: 0 0 6px;
  color: #73b77b;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

/* panels */

.panel {
  border-radius: 28px;
  padding: 24px;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.recommended-section,
.mini-parent-area {
  width: min(100%, 980px);
  margin-left: auto;
  margin-right: auto;
}

.mini-parent-area {
  background:
    linear-gradient(135deg, rgba(255, 248, 211, 0.94), rgba(255, 255, 255, 0.9));
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-note {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--main-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

/* recommended */

.recommended-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.featured-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 111, 98, 0.08);
  box-shadow: 0 10px 24px rgba(5, 54, 43, 0.08);
  transition: transform 0.15s ease;
}

.featured-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 32px;
}

.featured-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.featured-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.more-games {
  margin-top: 28px;
  text-align: center;
}

.more-games .primary-button {
  display: inline-flex;
  width: auto;
  min-width: 280px;
  padding: 0 28px;
}

/* parent */

.mini-parent-area p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.sub-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(12, 111, 98, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 950;
}

/* colors */

.orange {
  background: linear-gradient(135deg, #ffb23e, #ff8b26);
}

.green {
  background: linear-gradient(135deg, #76d83f, #42b92d);
}

.blue {
  background: linear-gradient(135deg, #65b6ff, #347ed2);
}

.yellow {
  background: linear-gradient(135deg, #ffd65a, #ffae00);
}

.purple {
  background: linear-gradient(135deg, #b995ff, #7a5be8);
}

.teal {
  background: linear-gradient(135deg, #30c7b7, #129486);
}

/* footer */

footer {
  margin-top: 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* bottom nav */

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(5, 54, 43, 0.2);
  z-index: 20;
}

.bottom-nav a {
  text-align: center;
  border-radius: 999px;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.35;
}

.bottom-nav a:first-child {
  background: var(--soft-green);
  color: var(--main-dark);
}

.primary-button:active,
.secondary-button:active,
.featured-card:active,
.sub-button:active {
  transform: scale(0.98);
}
.featured-thumb{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:18px;
  display:block;
}

/* PC */
@media (min-width:769px){

  .featured-card{
    flex-direction:column;
    align-items:flex-start;
    overflow:hidden;
  }

  .featured-thumb{
    margin-bottom:12px;
  }
}

/* スマホ */
@media (max-width:768px){

  .featured-card{
    align-items:center;
  }

  .featured-thumb{
    width:96px;
    min-width:96px;
    aspect-ratio:1/1;
    margin-bottom:0;
  }
}
/* tablet */

@media (max-width: 980px) {
  .page {
    width: min(760px, calc(100% - 32px));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .hero-guide-pc {
    display: none;
  }

  .hero-guide-mobile {
    display: block;
    margin-top: 22px;
  }

  .recommended-list {
    grid-template-columns: 1fr;
  }

  .featured-card {
    flex-direction: row;
    align-items: center;
    min-height: 104px;
    padding: 16px;
  }
}

/* mobile */

@media (max-width: 768px) {
  body {
    background:
      linear-gradient(rgba(9, 56, 35, 0.02), rgba(9, 56, 35, 0.12)),
      url("img/backimg.png") center top / cover fixed no-repeat;
    padding-bottom: 88px;
  }

  .page {
    width: min(430px, calc(100% - 24px));
    padding-top: 14px;
  }

  .site-header {
    margin-bottom: 16px;
  }

  .logo {
    padding: 8px 12px 8px 8px;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 15px;
  }

  .logo-title {
    font-size: 14px;
  }

  .domain {
    font-size: 12px;
  }

  .parent-link {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: none;
    padding: 24px 20px 20px;
    border-radius: 28px;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    text-align: center;
    display: block;
  }

  .hero-badge {
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    margin: 0 auto 14px;
    font-size: 12px;
  }

  h1 {
    width: 100%;
    font-size: 31px;
    text-align: center;
  }

  .hero-lead {
    width: 100%;
    font-size: 13px;
    text-align: center;
  }

  .hero-buttons {
    width: 100%;
    max-width: none;
    margin: 24px auto 0;
  }

  .hero-guide-mobile {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 22px;
    text-align: left;
  }

  .hero-guide-mobile h2 {
    font-size: 20px;
  }

  .hero-guide-mobile p:not(.section-kicker) {
    margin-top: 6px;
    font-size: 12px;
  }

  .kikirin-stage {
    min-height: 190px;
    justify-content: center;
    order: 2;
    margin-top: 8px;
  }

  .kikirin-image {
    width: 160px;
  }

  .panel {
    border-radius: 24px;
    padding: 18px;
  }

  .section-kicker {
    font-size: 11px;
  }

  h2 {
    font-size: 20px;
  }

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

  .recommended-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .featured-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 13px;
  }

  .featured-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: 28px;
  }

  .featured-card h3 {
    font-size: 18px;
    line-height: 1.5;
  }

  .featured-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  .more-games {
    margin-top: 20px;
  }

  .more-games .primary-button {
    width: 100%;
    min-width: 0;
  }

  .bottom-nav {
    display: grid;
  }
}