/* Plusup Works 共通スタイル
   ・日本語が表示されない端末があるため、フォントはヒラギノを先頭にする（-apple-system を先頭にしない）
   ・ライト／ダーク両対応 */
:root {
  color-scheme: light dark;
  --bg: #f5f4ef; --card: #ffffff; --text: #18201b; --sub: #5f6a63; --line: rgba(20,40,28,.10);
  --green-1: #0d2a1c; --green-2: #14402b; --gold: #e6c15a; --gold-2: #b98a1f;
  --accent: #0b7a46; --link: #0b6bb8; --shadow: 0 1px 2px rgba(16,32,22,.05), 0 8px 24px rgba(16,32,22,.06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1210; --card: #171d19; --text: #eef2ef; --sub: #9aa59e; --line: rgba(255,255,255,.08);
          --accent: #4cc58a; --link: #74b9ff; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.75;
       font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ── ロゴ */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.mark { width: 30px; height: 30px; flex: none; display: block; }

/* ── 見出しの帯（トップ） */
.hero { position: relative; overflow: hidden; color: #fff;
        background: radial-gradient(120% 90% at 85% 0%, rgba(230,193,90,.22), transparent 55%),
                    linear-gradient(160deg, var(--green-2), var(--green-1) 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
               background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px); }
.hero .wrap { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 44px; }
.hero h1 { font-size: clamp(34px, 8vw, 52px); line-height: 1.15; margin: 44px 0 14px; font-weight: 800; letter-spacing: .005em; }
.hero h1 .plus { color: var(--gold); }
.hero p { margin: 0; color: rgba(255,255,255,.82); font-size: 16px; }
.hero .en { color: rgba(255,255,255,.55); font-size: 13px; }
.stack { display: flex; margin-top: 28px; }
.stack img { width: 52px; height: 52px; border-radius: 13px; border: 2px solid var(--green-1);
             margin-left: -10px; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.stack img:first-child { margin-left: 0; }

/* ── 下層ページの帯 */
.bar { background: linear-gradient(160deg, var(--green-2), var(--green-1)); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.bar nav a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 13px; margin-left: 14px; }

/* ── セクション */
section { padding: 36px 0 4px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin: 0 0 4px; }
h2 { font-size: 22px; line-height: 1.4; margin: 0 0 18px; }

/* ── アプリのカード */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
.app { display: flex; gap: 16px; padding: 18px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow);
       color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.app:hover { transform: translateY(-2px); }
.app > img { width: 76px; height: 76px; border-radius: 18px; flex: none; border: 1px solid var(--line); }
.app .body { min-width: 0; display: flex; flex-direction: column; }
.app .name { font-weight: 800; font-size: 17px; line-height: 1.35; }
.app .desc { color: var(--sub); font-size: 13.5px; line-height: 1.6; margin: 4px 0 10px; }
.app .meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tag { font-size: 11px; color: var(--sub); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.cta { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--accent);
       border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
a.cta { text-decoration: none; }
.ctas { margin-left: auto; display: flex; gap: 6px; }
.ctas .cta { margin-left: 0; }
@media (prefers-color-scheme: dark) { .cta { color: #0e1210; } }

/* ── 案内のタイル */
.tiles { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--card); border-radius: 16px;
        box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.tile svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.tile b { display: block; font-size: 15px; }
.tile span { display: block; color: var(--sub); font-size: 12px; line-height: 1.4; }
.tile .chev { margin-left: auto; color: var(--sub); }

/* ── 文章のページ */
.doc { max-width: 760px; margin: 0 auto; padding: 36px 20px 8px; }
.doc h1 { font-size: 28px; line-height: 1.35; margin: 0 0 10px; }
.doc h2 { font-size: 19px; margin: 34px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 15.5px; margin: 22px 0 4px; }
.doc p, .doc li { font-size: 15px; }
.doc small { color: var(--sub); }
.lead { color: var(--sub); margin: 0 0 22px; }
.mailcard { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 18px; padding: 18px 20px;
            box-shadow: var(--shadow); text-decoration: none; color: inherit; margin: 8px 0 8px; }
.mailcard svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.mailcard b { display: block; font-size: 16.5px; color: var(--link); word-break: break-all; }
.mailcard span { display: block; font-size: 12px; color: var(--sub); }

/* ── フッター */
footer.wrap { margin-top: 56px; padding: 26px 0 36px; border-top: 1px solid var(--line); color: var(--sub); font-size: 12.5px; text-align: center; }
footer nav { margin-bottom: 8px; }
footer nav a { color: var(--sub); text-decoration: none; margin: 0 8px; white-space: nowrap; }
