/* 色・文字は DESIGN.md（旧 shareru.site のデザイン）に合わせている */
:root {
  color-scheme: light;
  --key: #7cd8db;
  --slate: #6e8894;
  --text: #212529;
  --link: #333333;
  --cell: rgba(0, 0, 0, 0.05);
  --footer-bg: #f9f9f9;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}

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

.site-header {
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-header img {
  display: inline-block;
  height: 48px;
  width: auto;
  vertical-align: middle;
}

main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 16px 64px;
  flex: 1;
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
  margin-bottom: 20px;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  color: var(--slate);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.section-title .en {
  color: var(--key);
  font-size: 12.25px;
}

/* 会社情報の表 */
.info {
  width: 100%;
  border-collapse: collapse;
  color: var(--slate);
}

.info th,
.info td {
  border: 1px solid var(--slate);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.info th {
  width: 9.5em;
  background: var(--cell);
  white-space: nowrap;
}

.info a { color: var(--slate); }

.site-footer {
  background: var(--footer-bg);
  border-top: 3px solid var(--key);
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 13px;
}

.site-footer nav { margin-bottom: 8px; }

.copyright {
  margin: 0;
  color: var(--slate);
  font-size: 12px;
}

/* プライバシーポリシー */
.policy h1 {
  color: var(--slate);
  font-size: 26px;
  line-height: 1.4;
  margin: 0;
}

.policy h2 {
  color: var(--slate);
  font-size: 18px;
  margin: 40px 0 8px;
}

.policy ol,
.policy ul { padding-left: 1.5em; }
.policy li { margin: 4px 0; }
.policy .dates { margin-top: 40px; color: var(--slate); }

@media (max-width: 600px) {
  main { padding-top: 40px; }

  .site-header img { height: 40px; }

  .section-title h1,
  .section-title h2,
  .policy h1 { font-size: 22px; }

  .info,
  .info tbody,
  .info tr,
  .info th,
  .info td { display: block; width: 100%; }

  .info tr + tr th { border-top: 0; }
  .info td { border-top: 0; }
}
