/* Sabletec サイト共通スタイル。差し色は大富豪アプリのフェルトの緑。 */

:root {
  --accent: #2c6b52;
  --accent-dark: #143d2e;
  --accent-light: #eaf5ef;
  --text: #1c1c1c;
  --text-muted: #5a625e;
  --border: #d9e3dd;
  --bg: #ffffff;
  --bg-soft: #f7faf8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

/* ヘッダー・フッター */

.site-header {
  border-bottom: 3px solid var(--accent);
}

.site-header .inner,
.site-footer .inner,
main {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header .inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-name {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

main {
  padding-top: 32px;
  padding-bottom: 48px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer .inner {
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-footer p {
  margin: 0;
}

/* 本文 */

h1 {
  font-size: 1.6rem;
  line-height: 1.4;
  margin: 0 0 16px;
  color: var(--accent-dark);
}

h2 {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 40px 0 12px;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
}

h3 {
  font-size: 1.05rem;
  margin: 24px 0 8px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.5em;
}

li + li {
  margin-top: 4px;
}

.lead {
  color: var(--text-muted);
}

.breadcrumb {
  font-size: 0.875rem;
  margin: 0 0 16px;
  color: var(--text-muted);
}

.meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* アプリ一覧のカード */

.app-list {
  list-style: none;
  padding: 0;
}

.app-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--accent-light);
  padding: 18px 20px;
}

.app-card h3 {
  margin: 0 0 4px;
  color: var(--accent-dark);
}

.app-card p {
  margin: 0 0 10px;
}

.app-card .links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

/* 問い合わせ先 */

.contact {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}

.contact p:last-child {
  margin-bottom: 0;
}

.mail {
  font-weight: 700;
  font-size: 1.05rem;
}

/* 表 */

.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--accent-light);
  white-space: nowrap;
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.4rem;
  }

  main {
    padding-top: 24px;
  }
}
