/* mocchi-project 開発者サイト */
:root {
  --bg: #fbf6ee;
  --paper: #ffffff;
  --ink: #2a1c12;
  --muted: #6f5a48;
  --line: #eadcc8;
  --accent: #c8321e;
  --accent2: #e8a33a;
  --wood: linear-gradient(160deg, #d39a5c, #b9783a);
  --radius: 14px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.85; }
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; }
.brand small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.nav { display: flex; gap: 16px; font-size: 0.9rem; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--accent); }

.hero { background: var(--wood); color: #fffaf0; padding: 48px 0 40px; }
.hero h1 { margin: 0 0 10px; font-size: clamp(1.35rem, 5.4vw, 2.3rem); line-height: 1.35; text-shadow: 0 2px 0 rgba(90, 40, 5, 0.4); }
.hero p { margin: 0; max-width: 34em; font-size: 1.02rem; }
.plates { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.plates img { width: 44px; height: 44px; background: #fffaf0; border-radius: 50%; padding: 4px; box-shadow: 0 2px 4px rgba(60, 30, 5, 0.3); }

main { padding: 32px 0 48px; }
section { margin: 0 0 40px; }
h2 { font-size: 1.35rem; margin: 0 0 14px; padding-left: 12px; border-left: 5px solid var(--accent); line-height: 1.4; }
h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: 0 2px 8px rgba(90, 60, 30, 0.06); }
.app-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.app-icon { width: 120px; height: 120px; border-radius: 26px; background: var(--wood); display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 14px; }
.app-icon img { width: 100%; background: #fffaf0; border-radius: 50%; padding: 3px; }
.app-card h3 { margin-top: 0; font-size: 1.3rem; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
.tags span { font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #fbe6d4; color: #8a3a10; }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--accent); color: var(--accent); background: #fff; }
.btn.primary { background: var(--accent); color: #fff; }
.btn:hover { filter: brightness(1.05); }
ul, ol { padding-left: 1.4em; }
li { margin: 4px 0; }
.note { font-size: 0.88rem; color: var(--muted); }
.callout { background: #fff4e0; border: 1px solid #f0d3a2; border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
dl.faq dt { font-weight: 800; margin-top: 16px; }
dl.faq dt::before { content: "Q. "; color: var(--accent); }
dl.faq dd { margin: 4px 0 0; padding-left: 1.6em; }
table.simple { border-collapse: collapse; width: 100%; font-size: 0.92rem; background: var(--paper); }
table.simple th, table.simple td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.simple th { background: #f6ecdf; white-space: nowrap; }
.food-row { display: flex; align-items: center; gap: 10px; }
.food-row img { width: 30px; height: 30px; flex: none; }

.site-foot { border-top: 1px solid var(--line); background: var(--paper); padding: 24px 0 32px; font-size: 0.85rem; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

@media (max-width: 560px) {
  .app-card { grid-template-columns: 1fr; }
  .app-icon { width: 96px; height: 96px; padding: 10px; border-radius: 22px; }
  .card { padding: 18px 16px 14px; }
}
