/* アプリ屋さん トップ・共通スタイル */
:root {
  --bg: #f4f3f7;
  --ink: #1c1b29;
  --ink-soft: #5c5a70;
  --line: #dcdae6;
  --white: #ffffff;
  --palm-bg: #15103a;
  --palm-gold: #e3c27c;
  --michi-bg: #0a1f44;
  --michi-sign: #ffd23f;
  --fr-bg: #f8f3ec;
  --fr-gold: #b88f55;
  --round: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --mincho: "Shippori Mincho B1", "Yu Mincho", serif;
  --display: "Dela Gothic One", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.9; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid #6b5bd6; outline-offset: 3px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ヘッダー */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.site-name { font-family: var(--round); font-weight: 700; font-size: 1.2rem; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.site-name i { width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(#7a5ce6 0 33%, #1e63d6 0 66%, #e88aa9 0); display: block; }
.site-nav { display: flex; gap: 22px; font-size: .88rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); }

/* ヒーロー */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 {
  font-family: var(--round); font-weight: 700; letter-spacing: .02em;
  font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.35; margin: 0 0 22px;
}
.hero p { margin: 0; max-width: 30em; color: var(--ink-soft); }
.icons { position: relative; height: 300px; }
.icons > * {
  position: absolute; width: 150px; height: 150px; border-radius: 36px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(28,27,41,.18);
}
.icons .i1 { left: 6%; top: 30px; transform: rotate(-9deg); }
.icons .i2 { left: 34%; top: 0; transform: rotate(3deg); z-index: 2; }
.icons .i3 { left: 58%; top: 70px; transform: rotate(11deg); }
.icons img, .icons svg { width: 100%; height: 100%; }

/* アプリのパネル */
.apps { display: grid; gap: 28px; padding-bottom: 96px; }
.panel {
  position: relative; border-radius: 32px; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; min-height: 440px;
}
.panel-body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.panel-head .ic { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; }
.panel-head .ic img, .panel-head .ic svg { width: 100%; height: 100%; }
.panel h2 { margin: 0; font-size: 1.7rem; line-height: 1.3; }
.panel .catch { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.5; }
.panel .desc { margin: 0 0 22px; max-width: 32em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .85rem; }
.chips li { padding: 3px 12px; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.status { font-size: .85rem; }
.panel-visual { position: relative; display: flex; align-items: flex-end; justify-content: center; }

/* 手相 */
.panel.palm {
  color: #2f2843;
  background: radial-gradient(ellipse at 85% 20%, rgba(200,184,239,.7), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(241,227,196,.7), transparent 55%), #f7f4fc;
}
.palm h2, .palm .catch { font-family: var(--mincho); font-weight: 600; letter-spacing: .06em; color: #3f2d74; }
.palm .desc { color: #6c6582; }
.palm .chips li { background: #fff; border: 1px solid #e2dbf0; color: #6b4fb3; }
.palm .btn { background: #6b4fb3; color: #fff; }
.palm .status { color: #6c6582; }
.palm .panel-visual img { width: 56%; max-width: 250px; height: 400px; object-fit: cover; object-position: top; border: 7px solid #1d1830; border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px rgba(63,45,116,.22); }

/* みちのサイン */
.panel.michi { color: #fff; background: url("../michinosign/img/dusk.jpg") center 65% / cover no-repeat, var(--michi-bg); }
.panel.michi::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,31,68,.94) 0%, rgba(10,31,68,.78) 50%, rgba(10,31,68,.2) 85%); }
.michi h2, .michi .catch { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.michi .desc { color: #d3def3; }
.michi .chips li { background: rgba(255,255,255,.12); }
.michi .btn { background: var(--michi-sign); color: var(--michi-bg); }
.michi .status { color: #d3def3; }
.michi .panel-visual img { width: 62%; max-width: 270px; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); }

/* Fashion Rating */
.panel.fashion { background: var(--fr-bg); color: #3b3431; }
.fashion h2, .fashion .catch { font-family: var(--mincho); font-weight: 600; letter-spacing: .05em; }
.fashion h2 { font-family: "Great Vibes", cursive; font-weight: 400; font-size: 2.3rem; letter-spacing: 0; }
.fashion .desc { color: #6f6560; }
.fashion .chips li { background: #fff; border: 1px solid #eadfcd; }
.fashion .btn { background: var(--fr-gold); color: #fff; }
.fashion .status { color: #6f6560; }
.fashion .panel-visual { overflow: hidden; }
.fashion .panel-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.fashion .panel-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--fr-bg), transparent 35%); }

/* 開発者について */
.about { padding: 0 0 96px; }
.about .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 56px; }
.about h2 { font-family: var(--round); font-size: 1.5rem; margin: 0; }
.about p { margin: 0 0 1em; color: var(--ink-soft); max-width: 40em; }

/* フッター */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 48px; font-size: .85rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* 404 */
.notfound { padding: 96px 0 120px; }
.notfound h1 { font-family: var(--round); font-size: clamp(3rem, 10vw, 6rem); margin: 0; line-height: 1.1; }
.notfound p { color: var(--ink-soft); margin: 12px 0 28px; }
.notfound .btn { background: var(--ink); color: #fff; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .icons { height: 200px; max-width: 360px; }
  .icons > * { width: 110px; height: 110px; border-radius: 26px; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel-body { padding: 36px 26px 28px; }
  .palm .panel-visual img { width: 58%; height: 300px; }
  .michi .panel-visual img { width: 58%; }
  .fashion .panel-visual { height: 300px; }
  .fashion .panel-visual::before { background: linear-gradient(180deg, var(--fr-bg), transparent 30%); }
  .panel.michi::before { background: linear-gradient(180deg, rgba(10,31,68,.92), rgba(10,31,68,.55)); }
  .about .wrap { grid-template-columns: 1fr; gap: 12px; }
  .site-nav { display: none; }
}

.chips.links a { text-decoration: none; display: block; }
.chips.links a:hover { text-decoration: underline; }
.fashion .panel-visual img { object-position: 50% 20%; }
