/* Malcon 共通スタイル — やわらかく、ちょっとおしゃれに */
:root {
  --bg: #fffdf9;
  --bg-soft: #fff6ea;
  --surface: #ffffff;
  --text: #1f1d35;
  --muted: #636078;
  --line: #eee8f6;
  --accent: #5a5cff;
  --accent-2: #ff4fa3;
  --accent-text: #4a4cf0;
  --grad: linear-gradient(120deg, #4f7cff 0%, #a256ff 48%, #ff4fa3 100%);
  --grad-warm: linear-gradient(120deg, #ffcf3f 0%, #ff8a5c 55%, #ff4fa3 100%);
  --soft-grad: linear-gradient(135deg, #fff4d6 0%, #ffe6f2 50%, #e4f1ff 100%);
  /* 差し色 */
  --pop-yellow: #ffd23f;
  --pop-mint: #2ee6a8;
  --pop-sky: #3cc8ff;
  --pop-coral: #ff6b6b;
  --pop-pink: #ff5fb0;
  --pop-violet: #8a6bff;
  --blob-1: #ffe27a;
  --blob-2: #ffb3d9;
  --blob-3: #a8e6ff;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 2px 4px rgba(60, 40, 140, .04), 0 12px 32px rgba(60, 40, 140, .08);
  --shadow-hover: 0 4px 8px rgba(60, 40, 140, .06), 0 20px 48px rgba(60, 40, 140, .14);
  --max: 1100px;
  --font-body: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-head: "Outfit", "Zen Maru Gothic", -apple-system, "Hiragino Maru Gothic ProN", sans-serif;
  /* プラットフォームの色 */
  --p-ios: #1e88ff;
  --p-mac: #8a52ff;
  --p-windows: #00a8e8;
  --p-android: #1fbf6a;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131f;
    --bg-soft: #1e1b2c;
    --surface: #232036;
    --text: #f5f3ff;
    --muted: #b1adc9;
    --line: #34304a;
    --accent-text: #a9a6ff;
    --soft-grad: linear-gradient(135deg, #2a2438 0%, #2c2138 50%, #1d2a3d 100%);
    --blob-1: #6b5a1c;
    --blob-2: #7a2a5a;
    --blob-3: #1d5a7a;
    --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
    --shadow-hover: 0 4px 8px rgba(0, 0, 0, .35), 0 20px 48px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body:lang(en) { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.35; letter-spacing: .01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code, kbd { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; }
code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: .05em .45em; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 .45em; background: var(--surface); }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 88px 0; position: relative; }
.section.soft { background: var(--soft-grad); border-radius: var(--radius-lg); margin: 0 12px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5em; }
.muted { color: var(--muted); }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ふんわり背景 */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .85; animation: float 18s ease-in-out infinite; }
.blobs span:nth-child(1) { width: 420px; height: 420px; background: var(--blob-1); top: -120px; left: -80px; }
.blobs span:nth-child(2) { width: 360px; height: 360px; background: var(--blob-2); top: 40px; right: -100px; animation-delay: -6s; }
.blobs span:nth-child(3) { width: 300px; height: 300px; background: var(--blob-3); bottom: -140px; left: 40%; animation-delay: -12s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .blobs span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: "Outfit", var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.brand::before { content: ""; width: 22px; height: 22px; border-radius: 8px; background: var(--grad); transform: rotate(-8deg); }
.brand:hover { text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 6px; font-size: .95rem; }
.site-nav a { color: var(--text); padding: 6px 14px; border-radius: 999px; transition: background .2s; }
.site-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.site-nav a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); font-weight: 700; }
/* 言語メニュー */
.lang-menu { position: relative; margin-left: 8px; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--bg-soft); }
.globe { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; opacity: .7; }
.globe::before { content: ""; position: absolute; inset: 0 3px; border: 1.5px solid currentColor; border-top: 0; border-bottom: 0; border-radius: 50%; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-hover); z-index: 30; }
.lang-menu ul a { display: block; padding: 7px 14px; border-radius: 10px; }
.lang-menu ul a[aria-current="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); font-weight: 700; }
/* 言語のおすすめ */
.lang-suggest { background: var(--text); color: var(--bg); font-size: .9rem; }
.lang-suggest .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.lang-suggest a { color: var(--bg); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lang-suggest button { font: inherit; background: none; border: 0; color: var(--bg); opacity: .7; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 4px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--text); content: ""; transition: transform .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); }
  .site-nav a { padding: 12px 16px; }
  .lang-menu { margin: 6px 0 0; }
  .lang-menu summary { width: 100%; justify-content: center; padding: 10px 14px; font-size: .95rem; }
  .lang-menu ul { position: static; box-shadow: none; margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
  .nav-open .site-nav { display: flex; }
}

/* ボタン */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.3; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s; }
.btn small { font-size: .7rem; font-weight: 500; opacity: .85; letter-spacing: .04em; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(162, 86, 255, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(255, 79, 163, .4); }
.btn-secondary:hover { border-color: var(--pop-yellow); box-shadow: 0 6px 18px rgba(255, 190, 40, .25); }
.btn-secondary { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ヒーロー */
.hero { padding: 120px 0 104px; text-align: center; position: relative; }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-family: "Zen Maru Gothic", var(--font-head); font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.3; }
.hero h1:lang(en), .hero:lang(en) h1 { font-family: "Outfit", var(--font-head); letter-spacing: -.02em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.hero .btn-row { justify-content: center; }
.hero-platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; }

/* プラットフォームのバッジ */
.platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.platform { --c: var(--accent); display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border-radius: 999px; padding: 2px 12px; }
.platform::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.platform[data-platform="ios"] { --c: var(--p-ios); }
.platform[data-platform="mac"] { --c: var(--p-mac); }
.platform[data-platform="windows"] { --c: var(--p-windows); }
.platform[data-platform="android"] { --c: var(--p-android); }
.hero-platforms .platform { font-size: .9rem; padding: 6px 16px; background: var(--surface); box-shadow: var(--shadow); }

/* 絞り込み */
.platform-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 36px; }
.filter-btn { font: inherit; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 18px; cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.filter-btn[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.filter-empty { text-align: center; color: var(--muted); padding: 24px 0; }

/* アプリカード */
.app-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 520px)); justify-content: center; gap: 24px; }
.app-card { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); color: var(--text); transition: transform .25s, box-shadow .25s; }
.app-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.app-card img { border-radius: 24px; }
.app-card h3 { font-size: 1.45rem; margin-bottom: 0; }
.app-card .category { font-size: .9rem; color: var(--muted); margin: 0 0 .6em; }
.app-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.app-card .more { display: inline-block; margin-top: 14px; color: var(--accent-text); font-weight: 700; font-family: var(--font-head); }
.app-card[hidden] { display: none; }
.app-card.coming { box-shadow: none; border: 2px dashed var(--line); background: transparent; align-items: center; }
.app-card.coming:hover { transform: none; }
.icon-placeholder { width: 112px; height: 112px; border-radius: 26px; background: var(--grad); opacity: .18; }
@media (max-width: 560px) {
  .app-card { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .app-card img, .app-card .icon-placeholder { margin: 0 auto; }
  .app-card .platforms { justify-content: center; }
}

/* 特長 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature .emoji { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--bg-soft); font-size: 1.6rem; margin-bottom: 16px; }

/* 製品ページ */
.product-hero { padding: 96px 0 40px; text-align: center; position: relative; }
.product-hero > .container { position: relative; z-index: 1; }
.product-hero .app-icon { border-radius: 23%; width: 152px; margin: 0 auto 24px; filter: drop-shadow(0 16px 32px rgba(110, 60, 220, .3)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .product-hero .app-icon { animation: none; } }
.product-hero .platforms { justify-content: center; }
.product-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.product-hero .btn-row { justify-content: center; }
.screenshot { margin: 56px auto 0; max-width: 1000px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(70, 40, 150, .22); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-hover); }
.split ul { padding-left: 0; list-style: none; color: var(--muted); }
.split li { padding-left: 1.6em; position: relative; margin-bottom: .3em; }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
}
.example { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; margin: 0 0 .8em; overflow-x: auto; white-space: nowrap; }
.example .arrow { color: var(--accent-2); padding: 0 .5em; font-weight: 700; }

/* 表 */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 2em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.spec th { width: 30%; }

/* 本文ページ */
.page-head { padding: 80px 0 36px; position: relative; }
.page-head > .container { position: relative; z-index: 1; }
.page-head .blobs span { opacity: .45; }
.page-head p { color: var(--muted); }
.breadcrumb { font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: .6em; }
.breadcrumb a::after { content: " ›"; color: var(--muted); }
.prose { padding-bottom: 96px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.updated { color: var(--muted); font-size: .9rem; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 20px; color: var(--text); transition: transform .25s, box-shadow .25s; }
a.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card.highlight { background: linear-gradient(135deg, color-mix(in srgb, var(--blob-1) 35%, var(--surface)), color-mix(in srgb, var(--blob-2) 30%, var(--surface))); border-color: transparent; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 2em; }
.cards .card { margin: 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 32px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; color: var(--accent-text); }
details[open] summary::after { content: "−"; }
details > div { padding-top: 10px; color: var(--muted); }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.news-list time { color: var(--muted); font-family: var(--font-head); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .news-list li { grid-template-columns: 1fr; gap: 2px; } }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.lang-grid .card { margin: 0; padding: 16px 20px; }
.lang-grid .card a + a { margin-left: 14px; }
.release h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.release h2 .platform { font-size: .85rem; }
.release h2 time { font-size: .95rem; font-weight: 400; color: var(--muted); }

/* フッター */
.site-footer { margin-top: 40px; padding: 56px 0 36px; font-size: .9rem; background: var(--soft-grad); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; }
.footer-brand p { color: var(--muted); margin: 8px 0 0; max-width: 380px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: flex-start; }
.footer-nav a { color: var(--muted); }
.copyright { grid-column: 1 / -1; color: var(--muted); margin: 20px 0 0; font-family: var(--font-head); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* 404 */
.not-found { text-align: center; padding: 140px 0; position: relative; }
.not-found > .container { position: relative; z-index: 1; }
.not-found .code { font-family: "Outfit", var(--font-head); font-size: 6rem; font-weight: 700; line-height: 1; margin-bottom: 16px; }

/* 言語ごとのフォント（中国語・韓国語で日本語の字形にならないように） */
:lang(zh-Hans) { --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; --font-head: "Outfit", -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(zh-Hant) { --font-body: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; --font-head: "Outfit", -apple-system, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:lang(ko) { --font-body: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; --font-head: "Outfit", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:lang(zh-Hans) .hero h1, :lang(zh-Hant) .hero h1, :lang(ko) .hero h1 { font-family: var(--font-head); }
:lang(en) .hero h1, :lang(de) .hero h1, :lang(fr) .hero h1, :lang(es) .hero h1, :lang(it) .hero h1, :lang(pt-BR) .hero h1 { font-family: "Outfit", var(--font-head); letter-spacing: -.02em; }
body:lang(de), body:lang(fr), body:lang(es), body:lang(it), body:lang(pt-BR), body:lang(ko), body:lang(zh-Hans), body:lang(zh-Hant) { line-height: 1.7; }

/* ポップな差し色 */
.features > :nth-child(6n+1) .emoji { background: color-mix(in srgb, var(--pop-yellow) 30%, var(--surface)); }
.features > :nth-child(6n+2) .emoji { background: color-mix(in srgb, var(--pop-pink) 22%, var(--surface)); }
.features > :nth-child(6n+3) .emoji { background: color-mix(in srgb, var(--pop-sky) 24%, var(--surface)); }
.features > :nth-child(6n+4) .emoji { background: color-mix(in srgb, var(--pop-mint) 26%, var(--surface)); }
.features > :nth-child(6n+5) .emoji { background: color-mix(in srgb, var(--pop-violet) 20%, var(--surface)); }
.features > :nth-child(6n+6) .emoji { background: color-mix(in srgb, var(--pop-coral) 22%, var(--surface)); }
.feature { border-width: 1.5px; }
.features > :nth-child(6n+1):hover { border-color: var(--pop-yellow); }
.features > :nth-child(6n+2):hover { border-color: var(--pop-pink); }
.features > :nth-child(6n+3):hover { border-color: var(--pop-sky); }
.features > :nth-child(6n+4):hover { border-color: var(--pop-mint); }
.features > :nth-child(6n+5):hover { border-color: var(--pop-violet); }
.features > :nth-child(6n+6):hover { border-color: var(--pop-coral); }
.eyebrow { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.brand::before { background: var(--grad-warm); }
.site-header { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--pop-yellow), var(--pop-pink), var(--pop-violet), var(--pop-sky), var(--pop-mint)) 1; }
.app-card { border-width: 1.5px; }
.app-card:hover { border-color: var(--pop-pink); }
.hero-platforms .platform { background: var(--surface); }
.card.highlight { background: linear-gradient(135deg, #fff1c2, #ffd9ec 55%, #d8eeff); border-color: transparent; }
@media (prefers-color-scheme: dark) { .card.highlight { background: var(--soft-grad); } }
.split li::before { color: var(--pop-pink); }
details { border-width: 1.5px; }
details[open] { border-color: color-mix(in srgb, var(--pop-yellow) 70%, var(--line)); }
details summary::after { background: color-mix(in srgb, var(--pop-yellow) 35%, var(--surface)); color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.news-list time { color: var(--accent-text); font-weight: 600; }

/* 言語メニューには「よくある質問」の開閉スタイルを当てない */
details.lang-menu, details.lang-menu[open] { background: none; border: 0; padding: 0; margin: 0 0 0 8px; border-radius: 0; }
details.lang-menu summary { padding: 5px 14px; }
details.lang-menu summary::after { content: none; }
@media (max-width: 760px) {
  details.lang-menu, details.lang-menu[open] { margin: 6px 0 0; }
  details.lang-menu summary { padding: 10px 14px; }
}

/* 製品ページの部品（ZipICE 以降） */
.screenshot.tall { max-width: 460px; }
.split img.tall { max-width: 420px; margin: 0 auto; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin: 0 0 1.4em; }
.compare > div { border-radius: 16px; padding: 14px 18px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9rem; line-height: 1.7; overflow-wrap: anywhere; }
.compare .bad { background: color-mix(in srgb, var(--pop-coral) 14%, var(--surface)); border: 1.5px dashed color-mix(in srgb, var(--pop-coral) 60%, var(--line)); }
.compare .good { background: color-mix(in srgb, var(--pop-mint) 18%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--pop-mint) 70%, var(--line)); }
.compare small { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 700; margin-bottom: 4px; opacity: .75; }
.compare .arrow { font-size: 1.4rem; color: var(--pop-pink); font-weight: 700; }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; } .compare .arrow { text-align: center; transform: rotate(90deg); } }
.formats td, .formats th { text-align: center; }
.formats td:first-child, .formats th:first-child { text-align: left; font-weight: 700; }
.formats .y { color: #16a36a; font-weight: 700; }
.formats .n { color: var(--muted); opacity: .6; }
.formats small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.minor-features { columns: 2 260px; column-gap: 32px; padding: 0; list-style: none; }
.minor-features li { break-inside: avoid; padding: 10px 0 10px 1.8em; position: relative; border-bottom: 1px dashed var(--line); }
.minor-features li::before { content: "❄︎"; position: absolute; left: 0; color: var(--pop-sky); }

/* 背景が透明なアプリ画面の写真でも、ダークモードで暗く透けないように */
.split img { background: #f3f3f3; }

/* Finder の右クリックメニューの再現図 */
.finder-mock { position: relative; max-width: 520px; margin: 0 auto; padding: 8px 0 24px; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", sans-serif; font-size: 14px; line-height: 1.3; color: #1d1d1f; }
.fm-file { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 10px 18px; font-size: 13px; }
.fm-file .fm-doc { width: 58px; height: 70px; border-radius: 8px; background: linear-gradient(160deg, #eaf4ff, #bcdcff); border: 1px solid #a8c9f0; position: relative; box-shadow: 0 4px 10px rgba(40, 80, 160, .15); }
.fm-file .fm-doc::after { content: "ZIP"; position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 11px; color: #3d6fb8; letter-spacing: .05em; }
.fm-file span { background: #2f6fe4; color: #fff; border-radius: 5px; padding: 1px 7px; }
.fm-menu, .fm-sub { background: rgba(250, 250, 252, .96); border: .5px solid rgba(0, 0, 0, .15); border-radius: 11px; padding: 5px; box-shadow: 0 12px 36px rgba(20, 20, 60, .22), 0 2px 6px rgba(0, 0, 0, .08); }
.fm-menu { width: 230px; margin-left: 60px; position: relative; }
.fm-item { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
.fm-item img { width: 18px; height: 18px; border-radius: 4px; }
.fm-skel::before { content: ""; display: block; height: 9px; border-radius: 5px; background: #dcdce2; width: var(--w, 60%); margin: 4px 0; }
.fm-sep { height: 1px; background: rgba(0, 0, 0, .1); margin: 5px 10px; }
.fm-active { background: #2f6fe4; color: #fff; }
.fm-arrow { margin-left: auto; opacity: .9; }
.fm-sub { position: absolute; left: calc(100% - 6px); top: -6px; min-width: 230px; }
.fm-sub .fm-item:first-child { background: color-mix(in srgb, #2f6fe4 14%, transparent); }
@media (prefers-color-scheme: dark) {
  .finder-mock { color: #f2f2f7; }
  .fm-menu, .fm-sub { background: rgba(44, 44, 50, .96); border-color: rgba(255, 255, 255, .12); }
  .fm-skel::before { background: #4a4a55; }
  .fm-sep { background: rgba(255, 255, 255, .12); }
}
@media (max-width: 700px) {
  .fm-menu { margin-left: 0; }
  .fm-sub { position: static; margin: 6px 0 0 24px; box-shadow: 0 6px 18px rgba(20, 20, 60, .18); }
}
.fm-row { position: relative; }
/* 再現図を列の幅に収める */
.finder-mock { font-size: 13px; max-width: 440px; }
.fm-menu { width: 190px; margin-left: 12px; }
.fm-sub { min-width: 0; width: 220px; left: calc(100% - 4px); }
.fm-item { padding: 5px 9px; }
@media (max-width: 860px) { .finder-mock { margin: 0 auto; } }
.split .finder-mock { margin: 0; max-width: none; width: 100%; }
.split .fm-menu { margin-left: 0; }
.split .fm-file { margin-left: 24px; }

/* 製品ページ最上部の右クリックメニューの図（ZipICE） */
.hero-mock { display: flex; justify-content: center; margin: 48px auto 0; text-align: left; }
.hero-mock .finder-mock { font-size: 15px; width: auto; max-width: none; margin: 0; padding: 12px 260px 12px 0; }
.hero-mock .fm-menu { width: 220px; margin-left: 0; }
.hero-mock .fm-sub { width: 262px; }
.hero-mock .fm-item { padding: 6px 11px; }
.hero-mock .fm-file { margin-left: 30px; }
.hero-mock .fm-file .fm-doc { width: 64px; height: 78px; }
@media (max-width: 700px) {
  .hero-mock .finder-mock { padding-right: 0; }
  .hero-mock .fm-sub { width: auto; }
}
@media (max-width: 700px) {
  .hero-mock .finder-mock { width: 100%; max-width: 330px; }
  .hero-mock .fm-menu { width: 100%; }
  .fm-sub .fm-item { white-space: normal; }
}

/* Malcon のロゴマーク（ヘッダー・フッター） */
.brand::before { width: 26px; height: 26px; border-radius: 0; transform: none; background: url("/assets/images/logo/malcon-mark.svg") center / contain no-repeat; }

/* サポートページの問い合わせ */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.contact-card .contact-addr { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card .contact-addr span { color: var(--text); font-weight: 600; user-select: all; }
