/* Sorapico ブランドカラー */
:root {
  --navy: #2B2F55;
  --purple: #7B5CF0;
  --lavender: #EEEAFE;
  --star: #FFD95A;
  --bg: #FBFAFF;
  --text: #22253F;
  --muted: #6B6E8A;
  --card: #FFFFFF;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  line-height: 1.8; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2 { line-height: 1.35; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.3rem, 4.5vw, 1.8rem); margin: 0 0 .4em; }

/* セール告知 */
.sale-bar { background: var(--star); text-align: center; font-weight: 700; padding: .55rem 1rem; font-size: .92rem; }
.sale-bar a { color: var(--navy); text-decoration: none; }

/* ヘッダー */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: .8rem 16px; max-width: 1080px; margin: 0 auto; }
.logo { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 1.5rem; color: var(--navy); text-decoration: none; }
.logo-star { color: var(--star); margin-right: .15em; }
.nav { display: flex; gap: 1rem; font-size: .95rem; }
.nav a { color: var(--navy); text-decoration: none; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ボタン */
.btn { display: inline-block; border-radius: 999px; padding: .75rem 1.5rem; font-weight: 700; text-decoration: none; text-align: center; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 18px rgba(123,92,240,.3); }
.btn-ghost { border: 2px solid var(--purple); color: var(--purple); background: #fff; }
.btn-buy { background: var(--navy); color: #fff; padding: .55rem 1rem; font-size: .9rem; margin-top: auto; }

/* ヒーロー */
.hero { display: grid; gap: 1.5rem; padding: 2rem 0 2.5rem; align-items: center; }
.eyebrow { color: var(--purple); font-weight: 700; margin: 0; font-size: .9rem; }
.lead { font-size: 1.05rem; color: var(--muted); }
.hero-art { display: flex; justify-content: center; gap: .5rem; }
.hero-art img { width: 46%; max-width: 260px; border-radius: 50%; background: var(--lavender); }
@media (min-width: 760px) { .hero { grid-template-columns: 1.1fr 1fr; padding: 3.5rem 0; } }

/* セクション */
.section { padding: 2.2rem 0; }
.section-alt { background: var(--lavender); border-radius: var(--radius); padding: 2.2rem 16px; }
.section-lead { color: var(--muted); margin-top: 0; }
.more { text-align: center; margin-top: 1.5rem; }
.page-head { padding: 2rem 0 .5rem; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.1rem; margin-top: 1.6rem; }
.muted { color: var(--muted); font-size: .9rem; }

/* 商品カード：スマホ2列 → PC4列 */
.products { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.product-link { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--radius); padding: 10px 10px 14px; text-decoration: none; color: var(--text); box-shadow: 0 2px 10px rgba(43,47,85,.07); }
.product-link img { border-radius: 12px; background: #f4f3fa; }
.product-title { font-size: .88rem; margin: .5rem 0 .1rem; line-height: 1.5; }
.product-price { font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.product-price small { font-weight: 400; color: var(--muted); font-size: .72rem; }

/* キャラカード */
.charas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .charas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chara a, .chara > div { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: var(--radius); padding: 14px 10px; text-decoration: none; color: var(--text); border-top: 5px solid var(--team, var(--purple)); height: 100%; }
.chara img { width: 80%; border-radius: 50%; background: var(--lavender); }
.chara-team { font-size: .75rem; color: var(--muted); margin-top: .4rem; }
.chara-name { font-weight: 700; color: var(--navy); }
.chara-arrival { font-size: .75rem; color: var(--purple); }
.silhouette { width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: var(--star); display: grid; place-items: center; font-size: 2.4rem; font-family: Fredoka, sans-serif; opacity: .85; }
.team h2 { border-left: 6px solid var(--team); padding-left: .6rem; }

/* キャラ個別 */
.chara-hero { display: grid; gap: 1rem; padding: 2rem 0 1rem; align-items: center; }
.chara-hero img { width: 70%; max-width: 320px; margin: 0 auto; border-radius: 50%; background: var(--lavender); border: 6px solid var(--team); }
@media (min-width: 760px) { .chara-hero { grid-template-columns: 1fr 1.3fr; } }

/* フッター */
.site-footer { margin-top: 3rem; background: var(--navy); color: #d8d9ef; text-align: center; padding: 2rem 16px; font-size: .88rem; }
.site-footer a { color: #fff; }
.footer-logo { font-family: Fredoka, sans-serif; font-size: 1.3rem; color: #fff; margin: 0 0 .5rem; }
.copy { opacity: .7; }

/* 問い合わせフォーム */
.contact-form { display: grid; gap: 1rem; max-width: 560px; }
.contact-form label { display: grid; gap: .35rem; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: .7rem .8rem; border: 1.5px solid #d9d6ee; border-radius: 12px; background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--purple); border-color: var(--purple); }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.label-text { display: flex; align-items: center; }
.req { font-size: .7rem; color: #fff; background: var(--purple); border-radius: 4px; padding: 0 .35rem; margin-left: .4rem; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecec; color: #9b1c1c; padding: .8rem 1rem; border-radius: 12px; }
