/* =========================================================
   マツラビ 紹介LP  ―  専用スタイル
   ※ style.css / sub.css の後に読み込み。ブランドのネイビー×
   オレンジを基調に、キャラページらしい明るさ・遊び心を追加。
   ========================================================= */

@keyframes mascotBob{ 0%,100%{ transform:translateY(0) rotate(-1deg); } 50%{ transform:translateY(-14px) rotate(1.5deg); } }
@keyframes sparkle{ 0%,100%{ opacity:.2; transform:scale(.7); } 50%{ opacity:1; transform:scale(1); } }
@keyframes floatSlow{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }

/* ---------- HERO ---------- */
.mascot-hero{
  position:relative; overflow:hidden; text-align:center;
  padding:84px 24px 96px;
  background:
    radial-gradient(120% 90% at 50% -10%, #DCEBFB 0%, #EAF4FF 38%, #F6FAFD 72%, #ffffff 100%);
  border-bottom:1px solid var(--line);
}
.mascot-hero__sky{ position:absolute; inset:0; pointer-events:none; }
.mascot-hero__sky span{ position:absolute; color:var(--orange); animation:sparkle 3s ease-in-out infinite; }
.mascot-hero__sky span:nth-child(1){ left:12%; top:18%; font-size:18px; animation-delay:0s; }
.mascot-hero__sky span:nth-child(2){ left:82%; top:14%; font-size:22px; color:var(--blue); animation-delay:.6s; }
.mascot-hero__sky span:nth-child(3){ left:24%; top:60%; font-size:14px; color:var(--blue-2); animation-delay:1.1s; }
.mascot-hero__sky span:nth-child(4){ left:73%; top:64%; font-size:20px; animation-delay:1.6s; }
.mascot-hero__sky span:nth-child(5){ left:50%; top:8%; font-size:13px; color:var(--blue); animation-delay:.3s; }

.mascot-hero__fig{ position:relative; display:inline-block; margin-bottom:14px; }
.mascot-hero__fig img{ width:230px; max-width:62vw; height:auto; filter:drop-shadow(0 22px 28px rgba(0,48,114,.28)); animation:mascotBob 4.5s ease-in-out infinite; }
.mascot-hero__badge{ position:absolute; right:-6px; top:6px; display:inline-flex; align-items:center; gap:6px; background:var(--orange); color:#fff; font-size:12px; font-weight:700; letter-spacing:.04em; padding:7px 14px; border-radius:999px; box-shadow:0 12px 24px -12px rgba(248,102,0,.7); transform:rotate(6deg); animation:floatSlow 3.6s ease-in-out infinite; }
.mascot-hero__eyebrow{ font-family:'Cormorant Garamond',serif; font-style:italic; font-size:26px; letter-spacing:.2em; color:var(--blue); }
.mascot-hero__title{ font-size:62px; font-weight:700; letter-spacing:.14em; color:var(--navy); line-height:1.1; margin:2px 0 6px; }
.mascot-hero__tagline{ font-size:17px; font-weight:500; letter-spacing:.1em; color:var(--orange-d); margin-bottom:18px; }
.mascot-hero__sub{ max-width:560px; margin:0 auto; font-size:14.5px; line-height:2.2; letter-spacing:.04em; color:var(--muted); }
.mascot-hero__cue{ margin-top:34px; display:inline-flex; flex-direction:column; align-items:center; gap:6px; font-size:10.5px; letter-spacing:.24em; color:var(--muted-2); }
.mascot-hero__cue svg{ animation:floatSlow 1.8s ease-in-out infinite; }

/* ---------- PROFILE ---------- */
.mascot-profile{ display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:24px; padding:44px; box-shadow:0 34px 64px -46px rgba(0,48,114,.45); }
.mascot-profile__fig{ position:relative; text-align:center; }
.mascot-profile__disc{ position:absolute; inset:0; margin:auto; width:240px; height:240px; border-radius:50%; background:radial-gradient(circle at 50% 40%, #EAF4FF, #D7E7F8); z-index:0; }
.mascot-profile__fig img{ position:relative; z-index:1; width:200px; max-width:60%; height:auto; filter:drop-shadow(0 16px 22px rgba(0,48,114,.25)); animation:mascotBob 5s ease-in-out infinite; }
.mascot-profile dl{ margin:0; }
.mascot-profile dl > div{ display:grid; grid-template-columns:96px 1fr; gap:10px; padding:11px 0; border-bottom:1px dashed var(--line-2); }
.mascot-profile dt{ font-size:12px; font-weight:700; letter-spacing:.08em; color:var(--blue-2); align-self:center; }
.mascot-profile dd{ margin:0; font-size:13.5px; line-height:1.8; color:var(--ink-2); }
.mascot-profile__name{ font-size:24px; font-weight:700; letter-spacing:.1em; color:var(--navy); margin-bottom:6px; }
.mascot-profile__name span{ font-size:13px; color:var(--orange-d); margin-left:10px; letter-spacing:.04em; }

/* ---------- 図鑑 GALLERY ---------- */
.mascot-gallery{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.gcard{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px 14px 16px; text-align:center; transition:transform .35s var(--ease), box-shadow .35s; }
.gcard:hover{ transform:translateY(-6px) rotate(-1deg); box-shadow:0 28px 50px -38px rgba(0,48,114,.5); }
.gcard__pic{ display:grid; place-items:center; height:120px; margin-bottom:12px; background:radial-gradient(circle at 50% 45%, #F2F8FF, #E6F0FB); border-radius:14px; }
.gcard__pic img{ width:auto; height:96px; max-width:90%; object-fit:contain; filter:drop-shadow(0 8px 12px rgba(0,48,114,.18)); }
.gcard__name{ font-size:13px; font-weight:700; letter-spacing:.04em; color:var(--navy); }
.gcard__cap{ margin-top:3px; font-size:11px; color:var(--muted); letter-spacing:.02em; }

/* ---------- できること SKILLS ---------- */
.skill-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.skill-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:30px 26px; text-align:center; }
.skill-card__emoji{ font-size:34px; line-height:1; }
.skill-card h3{ margin:14px 0 10px; font-size:16px; font-weight:700; letter-spacing:.05em; color:var(--navy); }
.skill-card p{ font-size:13px; line-height:2; color:var(--muted); margin:0; }

/* ---------- 隠し遊び EGG ---------- */
.mascot-egg{ position:relative; overflow:hidden; max-width:900px; margin:0 auto; background:linear-gradient(150deg,#00306f,#00245A 60%,#001B45); color:#fff; border-radius:24px; padding:48px 56px; box-shadow:0 40px 70px -46px rgba(0,48,114,.7); }
.mascot-egg__tag{ font-size:11px; letter-spacing:.22em; color:var(--blue-soft); margin-bottom:14px; }
.mascot-egg h2{ font-size:24px; font-weight:500; letter-spacing:.06em; line-height:1.5; margin-bottom:16px; }
.mascot-egg p{ font-size:13.5px; line-height:2.1; color:rgba(199,221,246,.92); max-width:560px; }
.mascot-egg__peek{ position:absolute; right:30px; bottom:-8px; width:104px; height:auto; animation:floatSlow 3.2s ease-in-out infinite; cursor:help; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  .mascot-hero{ padding:60px 20px 70px; }
  .mascot-hero__title{ font-size:46px; }
  .mascot-hero__eyebrow{ font-size:21px; }
  .mascot-profile{ grid-template-columns:1fr; gap:26px; padding:30px 22px; text-align:center; }
  .mascot-profile dl > div{ grid-template-columns:88px 1fr; text-align:left; }
  .mascot-gallery{ grid-template-columns:repeat(3,1fr); gap:14px; }
  .skill-grid{ grid-template-columns:1fr; gap:16px; }
  .mascot-egg{ padding:34px 22px 96px; }
  .mascot-egg__peek{ width:68px; right:14px; opacity:.9; }
}
@media (max-width:560px){
  .mascot-hero__title{ font-size:38px; }
  .mascot-gallery{ grid-template-columns:repeat(2,1fr); }
}
@media (prefers-reduced-motion:reduce){
  .mascot-hero__fig img, .mascot-profile__fig img, .mascot-hero__badge, .mascot-hero__cue svg, .mascot-egg__peek, .mascot-hero__sky span{ animation:none; }
}
