/* POP なデザイン言語: クリーム地+濃紺の太線+ステッカー風の影。キャラクター(こどもキンタウロスと神獣フレンズ)は
   濃紺の線画なので、暗い背景には置かない */
:root {
  --navy: #004a7c;      /* WSC ロゴの紺 */
  --ink: #0b1424;       /* キャラクターの線と同じ濃紺 */
  --muted: #4d586a;
  --cream: #fff7e0;
  --paper: #fffdf6;
  --yellow: #ffd84d;
  --kin-yellow: #d2d254;
  --sky: #4aa8ff;
  --coral: #ff7a59;
  --green: #3dbb7a;
  --pink: #ff6fa5;
  --radius: 28px;
  --line: 2.5px solid var(--ink);
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0; letter-spacing: .03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 840px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.mk { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding-inline: .06em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 246, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand img { border-radius: 8px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 18px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.nav a { color: var(--ink); text-decoration: none; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--cream); }
.nav .nav-cta { background: var(--yellow); border: var(--line); box-shadow: 3px 3px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.nav .nav-cta:hover { background: var(--yellow); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
@media (max-width: 640px) {
  .brand-name { font-size: 15px; }
  .nav a:not(.nav-cta) { display: none; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 900; font-size: 16px; color: var(--ink);
  padding: 13px 30px; border-radius: 999px; text-decoration: none;
  border: var(--line); box-shadow: 5px 5px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--yellow); }
.btn-ghost { background: #fff; }
.btn-lg { font-size: 18px; padding: 17px 38px; }
.ext { font-family: var(--font-body); font-size: .9em; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #dff1ff 0%, #eef8ff 38%, var(--cream) 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; }
.blob-1 { width: 420px; height: 420px; right: -120px; top: -140px; background: var(--yellow); opacity: .55; }
.blob-2 { width: 240px; height: 240px; left: -90px; bottom: 40px; background: var(--pink); opacity: .22; }
.blob-3 { width: 150px; height: 150px; left: 42%; top: 36px; background: var(--green); opacity: .2; }
.ring { position: absolute; border-radius: 50%; border: 3px dashed var(--ink); opacity: .16; }
.ring-1 { width: 300px; height: 300px; right: 30%; bottom: -170px; }
.ring-2 { width: 120px; height: 120px; left: 6%; top: 60px; }
.star { position: absolute; width: 30px; fill: var(--yellow); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; animation: twinkle 3.2s ease-in-out infinite; }
.star-1 { left: 38%; top: 22%; }
.star-2 { right: 7%; top: 58%; width: 22px; animation-delay: .8s; }
.star-3 { left: 4%; top: 52%; width: 20px; fill: var(--coral); animation-delay: 1.6s; }
@media (max-width: 959px) { .star-1 { left: auto; right: 9%; top: 5%; } .blob-3 { display: none; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(14deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-inner { position: relative; display: grid; gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(88px, 10vw, 136px); }
@media (min-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; } }
.hero-eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 900; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; background: #fff; border: var(--line); border-radius: 999px; padding: 3px 16px; margin-bottom: 22px; transform: rotate(-2deg); }
.hero h1 { font-weight: 900; font-size: clamp(38px, 6vw, 68px); line-height: 1.3; letter-spacing: .04em; word-break: keep-all; }
.hero-lead { word-break: auto-phrase; margin-top: 24px; max-width: 34em; font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-art img { width: 100%; animation: floaty 5s ease-in-out infinite; }
@media (max-width: 959px) { .hero-art { max-width: 560px; margin-inline: auto; } }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(36px, 5vw, 80px); fill: var(--paper); }

/* sections */
.section { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: var(--cream); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-en { display: inline-block; font-family: var(--font-head); font-weight: 900; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--yellow); border: var(--line); border-radius: 999px; padding: 1px 16px; transform: rotate(-2deg); }
.section-head h2 { font-weight: 900; font-size: clamp(30px, 4.2vw, 44px); margin-top: 12px; }
.sec-friend { width: clamp(96px, 13vw, 150px); flex: none; margin-bottom: -10px; animation: floaty 4.5s ease-in-out infinite; }

/* cards */
.cards { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

.card {
  --c: var(--yellow);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: var(--line); border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--c);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 11px 11px 0 var(--c); }
.c-yellow { --c: var(--yellow); } .c-coral { --c: var(--coral); } .c-pink { --c: var(--pink); }
.c-sky { --c: var(--sky); } .c-green { --c: var(--green); } .c-navy { --c: var(--navy); }

.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0; border-bottom: var(--line); background: var(--cream); }
.card-media > img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media > img { transform: scale(1.04); }
.card-media--pop { display: grid; place-items: center; }
.card-media--pop > img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; }
.card:hover .card-media--pop > img { transform: scale(1.06) rotate(-2deg); }
.bg-yellow { background: #ffe88a; } .bg-coral { background: #ffd9cc; } .bg-green { background: #cdf0dd; }
.pop-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .85) 3px, transparent 3.5px); background-size: 26px 26px; }
.card-media--books { display: flex; align-items: center; justify-content: center; gap: 6%; padding: 7% 8%; background: #d6ebff; }
.card-media--books > img { position: relative; width: 38%; height: auto; border-radius: 4px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.card-media--books > img:nth-of-type(1) { transform: rotate(-4deg); }
.card-media--books > img:nth-of-type(2) { transform: rotate(4deg); }
.card:hover .card-media--books > img:nth-of-type(1) { transform: rotate(-7deg) scale(1.03); }
.card:hover .card-media--books > img:nth-of-type(2) { transform: rotate(7deg) scale(1.03); }
.card-peek { position: absolute; z-index: 2; width: 23%; right: 16px; top: 0; translate: 0 -62%; pointer-events: none; transition: transform .25s ease; }
.card:hover .card-peek { transform: rotate(-6deg) scale(1.08); }

.card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.card-tag { align-self: flex-start; font-family: var(--font-head); font-size: 12px; font-weight: 900; letter-spacing: .06em; background: var(--c); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 0 12px; line-height: 1.9; }
.c-navy .card-tag { color: #fff; }
.card-body h3 { font-weight: 900; font-size: 22px; margin: 12px 0 10px; display: flex; align-items: center; gap: 10px; min-height: 32px; }
.card-logo { height: 30px; width: auto; margin-left: -3px; }
.card-body > p:not(.card-tag) { word-break: auto-phrase; font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.card-link { margin-top: auto; padding-top: 18px; font-family: var(--font-head); font-weight: 900; font-size: 14.5px; color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; align-self: flex-start; }
.card-link:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 3px; }
.badge { font-size: 11.5px; font-weight: 900; letter-spacing: .06em; background: #fff; border: 2px dashed var(--ink); padding: 1px 12px; border-radius: 999px; transform: rotate(3deg); }

.books { display: grid; gap: 12px; }
.books li { font-size: 14px; line-height: 1.6; }
.books a { font-weight: 700; }
.books span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* company */
.profile { margin: 0; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: 7px 7px 0 var(--green); padding: 10px clamp(20px, 4vw, 44px); }
.profile > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 20px 0; border-bottom: 2px dashed rgba(11, 20, 36, .18); }
.profile > div:last-child { border-bottom: 0; }
.profile dt { font-family: var(--font-head); font-weight: 900; font-size: 15px; }
.profile dd { margin: 0; font-size: 15px; }
.profile dd li { position: relative; padding-left: 1.3em; }
.profile dd li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.inline-link { margin-left: 14px; font-size: 13px; font-weight: 700; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
@media (max-width: 520px) { .profile > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; } }

/* contact */
.contact { text-align: center; padding-bottom: 0; }
.contact-box { position: relative; background: #e3f3ff; border: var(--line); border-radius: var(--radius); box-shadow: 7px 7px 0 var(--sky); padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px); }
.contact .section-head { margin-bottom: 20px; }
.contact-friend { position: absolute; width: clamp(92px, 15vw, 168px); right: clamp(-28px, -2vw, -8px); top: clamp(-64px, -6vw, -36px); transform: rotate(8deg); animation: floaty 4s ease-in-out infinite; }
.contact-lead { margin-bottom: 30px; color: var(--muted); font-weight: 500; }
.contact-note { margin-top: 26px; font-size: 13px; color: var(--muted); }
.parade { display: flex; justify-content: center; align-items: flex-end; gap: clamp(20px, 6vw, 72px); margin-top: clamp(48px, 7vw, 80px); padding-inline: 24px; }
.parade img { width: clamp(84px, 12vw, 140px); height: auto; }
.parade img:nth-child(2) { margin-bottom: 26px; animation: floaty 4.2s ease-in-out infinite; }
.parade img:nth-child(3) { margin-bottom: 14px; animation: floaty 3.6s ease-in-out .6s infinite; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 13px; border-top: 6px solid var(--yellow); }
.footer-inner { padding-block: 44px 36px; display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.footer-brand img { border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--font-head); font-weight: 700; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.copyright { font-size: 12px; color: rgba(255, 255, 255, .55); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
