/* mocomocosoft.jp：明るい机の上にビー玉が転がっている、という見た目。外部の読み込みは無い */
:root {
  --ink: #2f3260;
  --ink-dim: #6b6f95;
  --card: #ffffff;
  --line: #e3e2f4;
  --blue: #3b6cf6;
  --r: #ee2a3a; --b: #2f6bff; --g: #23c247; --y: #ffc815; --p: #9440ea;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  background:
    radial-gradient(circle at 12px 12px, rgba(255,255,255,0.55) 0 9px, transparent 10px) 0 0 / 72px 72px,
    linear-gradient(180deg, #e6dcff 0%, #cfe6ff 60%, #c3ecff 100%) fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }

.top, main, .bottom { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 6px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .wordmark { font-size: 26px; }
.kana { font-size: 13px; color: var(--ink-dim); letter-spacing: 0.08em; }
nav { display: flex; align-items: center; gap: 16px; font-size: 15px; }
nav a { text-decoration: none; color: var(--ink); font-weight: 700; }
nav a:hover { text-decoration: underline; }
nav .lang { padding: 4px 14px; border-radius: 999px; background: rgba(255,255,255,0.75); border: 1px solid var(--line); font-weight: 600; }
main { flex: 1; padding-top: 10px; padding-bottom: 40px; }

/* 題字：oをビー玉にする */
.wordmark { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: 0.01em; line-height: 1; }
.wordmark > span { display: inline-block; }
.mb {
  width: 0.62em; height: 0.62em; margin: 0 0.035em; border-radius: 50%;
  position: relative; top: 0.06em;
  box-shadow: 0 0.06em 0.1em rgba(47,50,96,0.28);
}
.mb::after {
  content: ""; position: absolute; left: 18%; top: 14%; width: 34%; height: 24%;
  border-radius: 50%; background: rgba(255,255,255,0.85); transform: rotate(-28deg);
}
.mb-r { background: radial-gradient(circle at 38% 32%, #ffb3b8 0, var(--r) 55%, #b3101f 100%); }
.mb-b { background: radial-gradient(circle at 38% 32%, #b9ceff 0, var(--b) 55%, #1740c4 100%); }
.mb-g { background: radial-gradient(circle at 38% 32%, #b5f5c2 0, var(--g) 55%, #128a2c 100%); }
.mb-y { background: radial-gradient(circle at 38% 32%, #fff1b0 0, var(--y) 55%, #d99800 100%); }
.mb-p { background: radial-gradient(circle at 38% 32%, #dcc0ff 0, var(--p) 55%, #6420b4 100%); }

section { background: var(--card); border-radius: 26px; padding: 26px 28px; margin: 18px 0; box-shadow: 0 6px 0 rgba(47,50,96,0.08), 0 14px 30px rgba(47,50,96,0.08); }
.hero { text-align: center; padding: 44px 24px 36px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(34px, 9vw, 64px); }
.hero h1 .wordmark { font-size: 1em; }
.lead { margin: 0 auto; max-width: 34em; color: var(--ink); }
h1 { font-size: 30px; line-height: 1.35; margin: 0 0 10px; }
h2 { font-size: 21px; line-height: 1.4; margin: 0 0 14px; }
h3 { font-size: 17px; line-height: 1.5; margin: 22px 0 4px; }
p { margin: 0 0 12px; }
.note { color: var(--ink-dim); font-size: 15px; }

.app { display: flex; gap: 22px; align-items: flex-start; }
.app img, .apphead img { border-radius: 22.5%; box-shadow: 0 6px 16px rgba(47,50,96,0.2); flex: none; }
.app h3 { margin: 0 0 4px; font-size: 21px; }
.apphead { display: flex; gap: 26px; align-items: center; }
.apphead h1 { font-size: clamp(28px, 6vw, 40px); }
.apphead .lead { margin: 0 0 14px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 14px 0 0; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 999px; background: #2fc45a; color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 #1f9442; }
.btn:hover { filter: brightness(1.05); }
.soon { display: inline-block; padding: 6px 18px; border-radius: 999px; background: #fff3c9; color: #8a5a00; font-weight: 800; font-size: 15px; border: 1px solid #f3dc8a; }
.link { font-weight: 700; }

.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat li { background: #f5f6ff; border-radius: 18px; padding: 16px 18px; font-size: 16px; line-height: 1.7; }
.feat b { display: block; font-size: 18px; color: var(--blue); }
.feat li:nth-child(2) b { color: #e25a00; }
.feat li:nth-child(3) b { color: #1e9a3c; }
.feat li:nth-child(4) b { color: var(--p); }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; }
.spec dt { font-weight: 800; }
.spec dd { margin: 0; }

.doc h2 { margin-top: 30px; padding-top: 18px; border-top: 2px dotted var(--line); }
.doc ul { margin: 0 0 12px; padding-left: 1.4em; }
.doc li { margin-bottom: 4px; }
.contact { font-size: 19px; font-weight: 800; }

.bottom { text-align: center; padding-top: 6px; padding-bottom: 36px; color: var(--ink-dim); font-size: 14px; }
.bottom p { margin: 0 0 6px; }
.bottom a { margin: 0 10px; color: var(--ink); font-weight: 700; }
.copy { letter-spacing: 0.04em; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 22px 20px; border-radius: 22px; }
  .app { flex-direction: column; align-items: center; text-align: center; }
  .app .row { justify-content: center; }
  .apphead { flex-direction: column; text-align: center; }
  .apphead .row { justify-content: center; }
  .feat { grid-template-columns: 1fr; }
  .kana { display: none; }
  nav { gap: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .mb { animation: bob 2.6s ease-in-out infinite; }
  .hero .mb:nth-of-type(2n) { animation-delay: -0.5s; }
  .hero .mb:nth-of-type(3n) { animation-delay: -1.1s; }
  .hero .mb:nth-of-type(5n) { animation-delay: -1.7s; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.09em); } }
}
