﻿:root {
  --navy: #10243e;
  --blue: #1f5d8c;
  --cyan: #d9eff8;
  --green: #18a76d;
  --mint: #dff5eb;
  --ink: #182333;
  --muted: #627187;
  --line: #dce7ef;
  --bg: #f6fafc;
  --white: #fff;
  --shadow: 0 20px 50px rgba(16, 36, 62, .12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

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

.sp {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(220, 231, 239, .9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.header-cta {
  padding: 9px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 65px);
  padding: 72px clamp(22px, 6vw, 88px) 56px;
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 239, 248, .95) 0, rgba(217, 239, 248, 0) 34%),
    radial-gradient(circle at 6% 82%, rgba(223, 245, 235, .9) 0, rgba(223, 245, 235, 0) 28%),
    linear-gradient(160deg, #fff 0, #f8fcfa 48%, #e9f5fa 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 5.6vw, 68px);
  letter-spacing: 0;
  line-height: 1.12;
}

.section h2,
.contact h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #36455a;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary,
.line {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 28px rgba(24, 167, 109, .22);
}

.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.mail {
  color: #fff;
  background: var(--navy);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chips span {
  padding: 7px 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 510px;
  padding: 16px;
}

.hero-visual > .family-illustration {
  display: block;
  width: 100%;
  height: min(60vw, 520px);
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.family-stage {
  min-height: 560px;
}

.family-stage .family-illustration {
  position: absolute;
  top: 72px;
  right: 18px;
  width: min(82%, 560px);
  height: auto;
  border: 10px solid #fff;
  border-radius: 34px;
}

.scatter {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 18px rgba(16, 36, 62, .14));
}

.hero-buddy {
  top: 16px;
  left: 6px;
  width: min(28%, 190px);
  transform: rotate(-8deg);
}

.hero-cat {
  right: 10px;
  bottom: 10px;
  width: min(44%, 330px);
  transform: rotate(3deg);
}

.mascot-stage {
  min-height: 560px;
}

.mascot-stage::before {
  position: absolute;
  inset: 56px 22px 34px;
  content: "";
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .95) 0 15%, transparent 16%),
    radial-gradient(circle at 88% 74%, rgba(223, 245, 235, .9) 0 18%, transparent 19%),
    linear-gradient(145deg, #ffffff, #eef8f2);
  border: 1px solid rgba(220, 231, 239, .85);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.mascot-card {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, .82);
  border: 8px solid #fff;
  box-shadow: 0 18px 42px rgba(16, 36, 62, .12);
}

.mascot-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-mascot {
  top: 34px;
  left: 48px;
  width: min(52%, 340px);
  aspect-ratio: 1;
  border-radius: 34px;
  transform: rotate(-3deg);
}

.cat-mascot {
  right: 18px;
  bottom: 28px;
  width: min(66%, 430px);
  aspect-ratio: 1.22;
  border-radius: 34px;
  transform: rotate(2.5deg);
}

.floating-note {
  position: absolute;
  max-width: 230px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(220, 231, 239, .95);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(16, 36, 62, .12);
}

.floating-note span {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.floating-note b {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
}

.note-home {
  top: 38px;
  right: 0;
}

.note-money {
  bottom: 42px;
  left: 0;
}

.section {
  position: relative;
  padding: 82px clamp(22px, 6vw, 88px);
}

.section-head {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
}

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

.cards.six {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-cat,
.section-mascot {
  opacity: .96;
}

.cat-peek {
  right: clamp(16px, 5vw, 82px);
  bottom: -24px;
  width: min(24vw, 170px);
  transform: rotate(5deg);
}

.cards article,
.service-list div,
.steps div,
.person,
.policy-box,
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 36, 62, .06);
}

.cards article {
  padding: 24px;
}

.play-card {
  position: relative;
  overflow: visible;
}

.box-mascot {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 13px rgba(16, 36, 62, .13));
}

.hang-corner {
  top: -62px;
  right: 14px;
  width: 122px;
  transform: rotate(2deg);
}

.inside-card {
  right: -8px;
  bottom: -18px;
  width: 118px;
  opacity: .96;
}

.nap-card {
  transform: rotate(6deg);
}

.service-rest {
  right: 12px;
  bottom: -34px;
  width: 128px;
  transform: rotate(-3deg);
  opacity: .98;
}

.bottom-rest {
  right: -8px;
  bottom: -46px;
  width: 138px;
  transform: rotate(-2deg);
}

.card-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
}

.cards h3,
.service-list h3,
.steps h3,
.person h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.5;
}

.cards p,
.service-list p,
.steps p,
.person p {
  margin: 0;
  color: var(--muted);
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: start;
  background: #fff;
}

.service-buddy {
  left: clamp(10px, 2vw, 28px);
  bottom: 32px;
  width: min(16vw, 118px);
  transform: rotate(-9deg);
}

.split > div:first-child {
  position: sticky;
  top: 96px;
}

.split > div:first-child p:not(.eyebrow) {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list div {
  padding: 24px;
}

.service-list span,
.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  place-items: center;
  color: var(--blue);
  background: var(--cyan);
  border-radius: 10px;
  font-weight: 900;
}

.flow {
  background: linear-gradient(180deg, #f6fafc, #fff);
}

.flow-cat {
  right: clamp(16px, 6vw, 90px);
  bottom: 16px;
  width: min(22vw, 170px);
  transform: rotate(-4deg);
}

.policy-mascot {
  right: clamp(20px, 8vw, 140px);
  top: 28px;
  width: min(18vw, 140px);
  transform: rotate(7deg);
}

.profile-cat {
  left: clamp(18px, 7vw, 120px);
  bottom: 22px;
  width: min(22vw, 170px);
  transform: rotate(-5deg);
}

.faq-mascot {
  left: clamp(18px, 9vw, 150px);
  top: 42px;
  width: min(16vw, 124px);
  transform: rotate(-8deg);
}

.faq-cat {
  right: clamp(18px, 8vw, 140px);
  bottom: 20px;
  width: min(22vw, 160px);
  transform: rotate(4deg);
}

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

.steps div {
  padding: 22px;
}

.steps h3 {
  font-size: 18px;
}

.policy {
  color: #fff;
  background: var(--navy);
}

.policy-box {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 42px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}

.policy-box-mascot {
  position: absolute;
  right: -26px;
  top: -46px;
  width: 118px;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .22));
  transform: rotate(5deg);
}

.policy-box h2 {
  color: #fff;
}

.policy-box p,
.policy-box li {
  color: rgba(255, 255, 255, .84);
}

.policy-box ul {
  margin: 22px 0 0;
  padding-left: 1.2em;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  margin: auto;
}

.person {
  padding: 30px;
}

.profile-lounge {
  right: 26px;
  top: 22px;
  width: 112px;
  transform: rotate(-2deg);
}

.profile-peek {
  right: 24px;
  top: 22px;
  width: 82px;
  transform: rotate(5deg);
}

.person.muted {
  background: #fbfdff;
}

.avatar {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 18px;
  font-size: 30px;
  font-weight: 900;
}

.role {
  margin-bottom: 12px !important;
  color: var(--blue) !important;
  font-weight: 900;
}

.faq {
  background: #fff;
}

.faq details {
  max-width: 920px;
  margin: 12px auto;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.faq .section-head {
  position: relative;
}

.faq-title-mascot {
  position: absolute;
  left: 50%;
  top: -70px;
  width: 104px;
  transform: translateX(-230px) rotate(-6deg);
  filter: drop-shadow(0 10px 13px rgba(16, 36, 62, .13));
}

.faq-hang {
  right: -4px;
  top: -68px;
  width: 132px;
  transform: rotate(3deg);
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  gap: 30px;
  align-items: center;
  margin: 0 clamp(22px, 6vw, 88px) 82px;
  padding: 44px;
  background: linear-gradient(135deg, #fff, #eaf5fb);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact p {
  color: var(--muted);
}

.contact-panel {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 26px;
}

.contact-cat {
  justify-self: center;
  width: min(150px, 58%);
  margin: -70px 0 -4px;
  filter: drop-shadow(0 14px 20px rgba(16, 36, 62, .14));
}

.note {
  margin: 4px 0 0 !important;
  font-size: 12px !important;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 6vw, 88px);
  color: #fff;
  background: #07182b;
}

.footer p,
.footer small {
  margin: 4px 0;
  color: rgba(255, 255, 255, .66);
}

.footer-links {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: auto;
    padding: 0;
  }

  .hero-visual > .family-illustration {
    height: auto;
    max-height: none;
    border-width: 8px;
  }

  .family-stage {
    min-height: 520px;
  }

  .family-stage .family-illustration {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 12px;
  }

  .hero-buddy {
    top: -6px;
    left: 4px;
    width: 30%;
  }

  .hero-cat {
    right: 0;
    bottom: 82px;
    width: 46%;
  }

  .mascot-stage {
    min-height: 480px;
  }

  .mascot-stage::before {
    inset: 18px 0 72px;
    border-radius: 26px;
  }

  .main-mascot {
    top: 0;
    left: 14px;
    width: 55%;
  }

.cat-mascot {
    right: 0;
    bottom: 60px;
    width: 74%;
  }

  .floating-note {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: inline-block;
    width: calc(50% - 7px);
    margin-top: 14px;
    vertical-align: top;
  }

  .note-home {
    margin-right: 10px;
  }

  .cards.six,
  .steps,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .split > div:first-child {
    position: static;
  }

  .footer {
    display: block;
  }

  .footer-links {
    flex-wrap: wrap;
    margin: 18px 0;
  }

  .cat-peek,
  .service-buddy,
  .flow-cat,
  .policy-mascot,
  .profile-cat,
  .faq-mascot,
  .faq-cat {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    width: min(34vw, 118px);
    margin: 18px auto 0;
    transform: none;
  }

  .policy-mascot {
    margin: 0 auto 16px;
  }

  .profile-cat {
    margin: 0 auto 18px;
  }

  .faq-mascot {
    margin: 0 auto 12px;
  }

  .faq-cat {
    margin: 14px auto 0;
  }
}

@media (max-width: 980px) {
  .hang-corner,
  .inside-card,
  .service-rest,
  .bottom-rest,
  .profile-lounge,
  .profile-peek,
  .faq-hang {
    position: absolute;
    display: block;
    transform: none;
  }

  .hang-corner {
    top: -46px;
    right: 8px;
    width: 96px;
  }

  .inside-card {
    right: 8px;
    bottom: -26px;
    width: 86px;
  }

  .service-rest {
    right: 10px;
    bottom: -24px;
    width: 88px;
  }

  .faq-hang {
    top: -44px;
    right: 8px;
    width: 88px;
  }

  .profile-peek {
    top: 18px;
    right: 18px;
    bottom: auto;
    width: 72px;
  }

  .bottom-rest {
    right: 12px;
    bottom: -32px;
    width: 94px;
  }

  .profile-lounge {
    top: 18px;
    right: 18px;
    bottom: auto;
    width: 88px;
  }

  .policy-box-mascot {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: min(32vw, 112px);
    margin: -18px auto 10px;
    transform: none;
  }

  .faq-title-mascot {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    width: min(32vw, 104px);
    margin: -20px auto 4px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-cta {
    padding: 8px 14px;
  }

  .hero,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .sp {
    display: block;
  }

  .btn {
    width: 100%;
  }

  .hero-visual > .family-illustration {
    border-radius: 22px;
  }

  .floating-note {
    width: 100%;
    margin-top: 10px;
  }

  .note-home {
    margin-right: 0;
  }

  .contact-cat {
    margin-top: -58px;
  }

  .contact {
    margin-right: 18px;
    margin-left: 18px;
    padding: 26px 18px;
  }

  .policy-box {
    padding: 28px 22px;
  }

  .cards article,
  .service-list div,
  .steps div,
  .person {
    padding: 22px;
  }
}

