/* 会社の公式サイト（トップ・英語版）。2026-10-06 に作り直した（Yuji「シンプルなので モダンな感じに」）。
   ⚠ Samsung / D&B / 銀行などの審査で「実在する会社か」を見られるので、
   ⚠ 会社概要（商号・所在地・代表者・連絡先）は 飾りより 読めることを優先する。
   ⚠ kirameki-galaxy/ の方針ページは 前の style.css のまま（ここを変えても影響しない）。 */
:root {
  --ink: #16131c;
  --ink-2: #3a3644;
  --muted: #6e6979;
  --line: #ebe7ef;
  --bg: #ffffff;
  --bg-soft: #faf8fb;
  --pink: #e4507f;
  --violet: #7c5cf0;
  --grad: linear-gradient(120deg, var(--pink) 0%, #b455c8 50%, var(--violet) 100%);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(22, 19, 28, .04), 0 12px 32px rgba(22, 19, 28, .07);
  --wrap: 1120px;
  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  --display: "Plus Jakarta Sans", "Noto Sans JP", -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 英語版は 英字の書体を本文にも（日本語の書体の英字は 詰まって見える） */
body.en { font-family: var(--display); line-height: 1.75; }
.en .hero h1 { font-family: var(--display); font-size: clamp(32px, 4.4vw, 54px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.en .head h2, .en .sec-h2, .en .contact h2 { font-family: var(--display); letter-spacing: -.01em; }
.en .btn, .en .chip { font-family: var(--display); }

/* ── ヘッダー ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .88); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  font: 800 15px/1 var(--display);
}
.logo-text { font: 800 17px/1 var(--display); letter-spacing: .06em; }
.logo-text small { font-weight: 600; font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-left: 6px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font: 600 13px/1 var(--display); letter-spacing: .08em; color: var(--ink-2); }
.nav a:hover { color: var(--pink); }
.nav .lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 12px;
}
.nav .lang:hover { border-color: var(--pink); }

/* ── ヒーロー ── */
.hero { position: relative; padding: 120px 0 120px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(72px); opacity: .5; z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::before { width: 520px; height: 520px; background: #ffc2d6; top: -160px; right: -80px; }
.hero::after { width: 460px; height: 460px; background: #d9ccff; bottom: -200px; right: 260px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--pink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero h1 {
  margin: 28px 0 28px;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.28; font-weight: 900; letter-spacing: .02em;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-visual { position: relative; height: 420px; }
.glass {
  position: absolute; display: flex; align-items: center; gap: 16px;
  padding: 18px 22px 18px 18px; border-radius: 24px;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(124, 92, 240, .14);
  animation: float 7s ease-in-out infinite;
}
.glass img { width: 64px; height: 64px; border-radius: 18px; }
.glass b { display: block; font: 800 18px/1.3 var(--display); }
.glass span { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.glass.g1 { top: 40px; left: 0; }
.glass.g2 { top: 190px; right: 0; animation-delay: -3.5s; }
.bubble {
  position: absolute; padding: 12px 18px; border-radius: 18px 18px 18px 4px;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(228, 80, 127, .28); animation: float 6s ease-in-out infinite; animation-delay: -1.5s;
}
.bubble.b1 { top: 0; right: 40px; }
.bubble.b2 { bottom: 40px; left: 40px; border-radius: 18px 18px 4px 18px; background: var(--ink); box-shadow: 0 12px 30px rgba(22, 19, 28, .22); animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero p.lead { max-width: 640px; color: var(--ink-2); font-size: clamp(15px, 1.6vw, 17px); margin: 0 0 40px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 15px 28px; border-radius: 999px; font: 700 14px/1 var(--font); letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(22, 19, 28, .18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 19, 28, .24); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .7); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── 節 ── */
section.block { padding: 112px 0; }
section.block.tail { padding-bottom: 0; }
section.soft { background: var(--bg-soft); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-bottom: 56px; align-items: end; }
.head h2, .sec-h2 { margin: 18px 0 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.5; font-weight: 800; }
.en-title { font: 800 13px/1 var(--display); letter-spacing: .2em; color: var(--muted); }
.head p { margin: 0; color: var(--ink-2); }

/* ミッションの3つ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: transform .25s, box-shadow .25s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value .num { font: 800 14px/1 var(--display); letter-spacing: .1em; }
.value h3 { margin: 22px 0 10px; font-size: 19px; line-height: 1.6; }
.value p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* サービス */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .visual {
  height: 200px; display: grid; place-items: center; position: relative; overflow: hidden;
}
.service .visual img { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 16px 40px rgba(22, 19, 28, .22); position: relative; }
.service.frill .visual { background: linear-gradient(135deg, #ffe1eb, #ffc4d7); }
.service.hinata .visual { background: linear-gradient(135deg, #efe9ff, #ffe6f0); }
.service .visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px); background-size: 18px 18px; opacity: .5;
}
.service .body { padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service .tag { font: 700 11px/1 var(--display); letter-spacing: .16em; color: var(--pink); text-transform: uppercase; }
.service h3 { margin: 0; font-size: 26px; font-weight: 800; }
.service p { margin: 0; color: var(--ink-2); font-size: 15px; }
.service .links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--pink); color: var(--pink); }

/* 会社概要 */
.company { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.profile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 36px; }
.profile dl { margin: 0; display: grid; grid-template-columns: 180px 1fr; }
.profile dt, .profile dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.profile dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.profile dd { font-size: 15px; }
.profile dl > :nth-last-child(-n + 2) { border-bottom: none; }
.profile a { color: var(--pink); }

/* お問い合わせ */
.contact {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 64px; color: #fff;
  background: var(--grad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.contact::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); right: -120px; top: -180px;
}
.contact .en-title { color: #fff; opacity: .8; }
.contact h2 { margin: 14px 0 8px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.contact p { margin: 0; opacity: .9; }
.contact .btn { background: #fff; color: var(--ink); position: relative; z-index: 1; }
.contact .btn:hover { transform: translateY(-2px); }

/* フッター */
.site-footer { background: var(--ink); color: #cfcad6; padding: 72px 0 40px; margin-top: 112px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid #2c2834; }
.site-footer .logo-text { color: #fff; }
.site-footer .addr { margin: 18px 0 0; font-size: 13px; line-height: 1.9; color: #a9a3b3; }
.site-footer .cols { display: flex; gap: 64px; flex-wrap: wrap; }
.site-footer h4 { margin: 0 0 14px; font: 700 12px/1 var(--display); letter-spacing: .18em; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; font-size: 13px; }
.site-footer a { text-decoration: none; color: #cfcad6; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { padding-top: 28px; font: 500 12px/1 var(--display); letter-spacing: .08em; color: #8a8494; }

/* 出てくる動き（⚠ JS が無い・動きを減らす設定のときは 最初から見えている） */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .glass, .bubble { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── 狭い画面 ── */
@media (max-width: 900px) {
  .head, .company { grid-template-columns: 1fr; gap: 20px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; max-width: 460px; }
  .glass.g2 { top: 150px; }
  .values { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.lang) { display: none; }
  .hero { padding: 64px 0 80px; }
  .hero-visual { height: 330px; }
  .glass { padding: 14px 18px 14px 14px; }
  .glass img { width: 52px; height: 52px; border-radius: 14px; }
  .glass.g1 { top: 44px; }
  .glass.g2 { top: 150px; }
  .bubble.b1 { right: 8px; }
  .bubble.b2 { bottom: 0; left: 16px; }
  section.block { padding: 80px 0; }
  .profile { padding: 4px 22px; }
  .profile dl { grid-template-columns: 1fr; }
  .profile dt { padding: 18px 0 0; border-bottom: none; }
  .profile dd { padding: 4px 0 18px; }
  .profile dl > :nth-last-child(2) { border-bottom: none; }
  .contact { padding: 48px 28px; border-radius: 24px; }
  .service .body { padding: 26px 22px 30px; }
  .site-footer { margin-top: 80px; }
}

/* ── 方針などの文書のページ（/privacy/）── */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 24px; }
.doc .en-title { display: block; }
.doc h1 { margin: 16px 0 8px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.4; }
.doc .date { color: var(--muted); font-size: 13px; margin: 0 0 40px; }
.doc h2 { margin: 48px 0 12px; font-size: 19px; font-weight: 800; padding-top: 20px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--ink-2); font-size: 15px; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.doc dl { margin: 0; }
.doc dt { font-weight: 700; margin-top: 12px; }
.doc dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.doc a { color: var(--pink); }
.doc .box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.en .doc h1, .en .doc h2 { font-family: var(--display); }

/* サービスのカードの中の 規約へのリンク */
.service .policies { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 4px; font-size: 12px; }
.service .policies a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.service .policies a:hover { color: var(--pink); border-bottom-color: var(--pink); }
@media (max-width: 640px) { .doc { padding: 48px 16px 8px; } }
