/* yuyu apps 共通のスタイル (案 C カラフル・タイル)。
   アプリごとのタイルの色は白い文字が読める濃さにして、明るい表示・暗い表示のどちらでも同じ色を使う */
:root {
  --bg: #FFFFFF;
  --fg: #20232B;
  --muted: #646a79;
  --soft: #F4F1F6;
  --line: #E9E5EC;
  --link: #C2414F;
  --dot1: #F2875F;
  --dot2: #6FA8DC;
  --dot3: #F2C94C;
  /* アプリの色 */
  --app-music: #E25563;
  --app-tabilog: #8E3341;
  --app-cinema: #23305A;
  --app-yutai: #2E8F7E;
  --app-mulligan: #4A2C82;
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15171C; --fg: #ECEDF1; --muted: #A5AAB8; --soft: #22252D; --line: #2F333C; --link: #FF8A97;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15171C; --fg: #ECEDF1; --muted: #A5AAB8; --soft: #22252D; --line: #2F333C; --link: #FF8A97;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--dot2); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ヘッダー */
.site-head .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 25px; letter-spacing: .01em; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--dot1); }
.dots i:nth-child(2) { background: var(--dot2); }
.dots i:nth-child(3) { background: var(--dot3); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--fg); }

/* トップ */
.hero .wrap { padding-block: 26px 30px; }
.hero h1 { margin: 0; font-family: var(--round); font-weight: 800; font-size: clamp(28px, 5vw, 42px); line-height: 1.4; text-wrap: balance; }
.hero p { margin: 12px 0 0; color: var(--muted); max-width: 40em; }

.section .wrap { padding-block: 28px; }
.section h2 { margin: 0 0 14px; font-family: var(--round); font-weight: 800; font-size: 24px; }

/* アプリは「準備中」「公開中」に分けて並べる (数に合わせて列を決め、1つだけ余る段を作らない)。スマホは1列 */
.group-label { margin: 22px 0 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.group-label:first-of-type { margin-top: 0; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { border-radius: 24px; padding: 22px; color: #FFFFFF; display: grid; gap: 10px; align-content: start; min-width: 0; }
.tile img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.tile h3 { margin: 4px 0 0; font-family: var(--round); font-weight: 800; font-size: 21px; line-height: 1.35; }
.tile .catch { margin: 0; font-weight: 700; font-size: 15px; }
.tile .desc { margin: 0; font-size: 14px; line-height: 1.7; opacity: .92; }
.tile .pill { justify-self: start; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .22); padding: 3px 11px; border-radius: 999px; }
.tile .links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 0; font-size: 13.5px; }
.tile .links a { color: #FFFFFF; }
.t-music { background: var(--app-music); }
.t-tabilog { background: var(--app-tabilog); }
.t-cinema { background: var(--app-cinema); }
.t-yutai { background: var(--app-yutai); }
.t-mulligan { background: var(--app-mulligan); }

.futari { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--soft); color: var(--muted); font-size: 14.5px; }
.futari img { width: 28px; height: 28px; }
.futari a { font-weight: 700; }

.about p, .contact p { margin: 0 0 10px; max-width: 40em; }
.contact-box { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; }
.contact-box .mail { font-weight: 700; user-select: all; word-break: break-all; }
.contact-box button { font: inherit; font-size: 13px; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--fg); cursor: pointer; }

.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 30px 40px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: 20px; }
.site-foot a { color: var(--muted); }

/* アプリのページ (サポート・プライバシーポリシー) */
.app-band { color: #FFFFFF; }
.app-band .wrap { display: flex; align-items: center; gap: 18px; padding-block: 28px; }
.app-band img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); flex: none; }
.app-band h1 { margin: 0; font-family: var(--round); font-weight: 800; font-size: clamp(22px, 4vw, 30px); line-height: 1.4; text-wrap: balance; }
.app-band .meta { margin: 4px 0 0; font-size: 14px; opacity: .9; }
.crumb { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }

.doc .wrap { max-width: 760px; padding-block: 8px 20px; }
.doc h2 { margin: 36px 0 10px; font-family: var(--round); font-weight: 800; font-size: 20px; }
.doc h3 { margin: 24px 0 6px; font-size: 17px; }
.doc p, .doc li { font-size: 15.5px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.draft { margin: 20px 0; padding: 12px 16px; border: 1.5px dashed var(--link); border-radius: 12px; color: var(--link); font-size: 14px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); white-space: nowrap; }
