@charset "UTF-8";
/* 日々ラボ LP 共通スタイル（外部 CDN・外部フォント・外部スクリプトは読み込まない） */

:root {
  --ink: #1e2430;
  --ink-soft: #55606f;
  --line: #dde2e9;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --accent: #2f6f5e;
  --accent-soft: #e8f1ee;
  --warn-bg: #fdf7ec;
  --warn-line: #e7d3a9;
  --radius: 8px;
  --maxw: 880px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Yu Gothic UI", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダ */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
}
.site-title a { color: var(--ink); text-decoration: none; }
.site-nav {
  margin-left: auto;
  font-size: 14px;
}
.site-nav a { margin-left: 14px; color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }

/* 見出し */
h1 {
  font-size: 28px;
  line-height: 1.5;
  margin: 34px 0 12px;
}
h2 {
  font-size: 20px;
  margin: 44px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent-soft);
}
h3 {
  font-size: 16px;
  margin: 26px 0 8px;
}
p { margin: 0 0 14px; }

.lead {
  font-size: 17px;
  color: var(--ink-soft);
}

.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 30px;
}
.hero h1 { margin-top: 26px; }

/* 箱 */
.box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 18px;
  background: var(--bg);
}
.box.soft { background: var(--bg-soft); }
.note {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.small { font-size: 13px; color: var(--ink-soft); }

/* 2カラム（無料 / 追加機能） */
.cols {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cols > .box { flex: 1 1 320px; margin-bottom: 0; }
.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  padding: 1px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--bg-soft);
  vertical-align: middle;
  margin-left: 6px;
}
.tag.paid { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

ul.plain, ol.plain { margin: 0 0 14px; padding-left: 1.4em; }
ul.plain li, ol.plain li { margin-bottom: 6px; }
code {
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
  font-size: .92em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}

/* 価格・購入 */
.price {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .01em;
}
.price small { font-size: 14px; font-weight: 400; color: var(--ink-soft); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--accent);
}
.btn:hover { opacity: .88; }
.btn.ghost { background: #fff; color: var(--accent); }

/* 表 */
table.t {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 0 18px;
}
table.t th, table.t td {
  border: 1px solid var(--line);
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
}
table.t th {
  background: var(--bg-soft);
  font-weight: 700;
  white-space: nowrap;
}

/* デモ */
.demo { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.demo-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-soft);
}
.demo-body { padding: 14px; }
.demo-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
table.sample {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
  min-width: 720px;
}
table.sample th, table.sample td {
  border-bottom: 1px solid var(--line);
  padding: 6px 9px;
  text-align: left;
  white-space: nowrap;
}
table.sample thead th { background: var(--bg-soft); position: sticky; top: 0; }
table.sample tbody tr:nth-child(even) { background: #fbfcfd; }

.picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 14px 0 10px;
  font-size: 14px;
}
.picker label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }

.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.demo-actions button {
  font: inherit;
  font-size: 14px;
  padding: 7px 16px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.demo-actions button.sub { background: #fff; color: var(--accent); }
.demo-actions button:hover { opacity: .88; }

.counter {
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 6px 12px;
  display: inline-block;
}

textarea.out, input.tpl {
  width: 100%;
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: #fcfdfe;
  color: var(--ink);
}
textarea.out { min-height: 150px; resize: vertical; white-space: pre; }
input.tpl { padding: 8px 10px; }

/* 画像 */
figure { margin: 0 0 22px; }
figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
}
figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

/* FAQ */
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 10px;
  background: var(--bg);
}
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 2px; }

/* フッタ */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 22px 0 34px;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer a { color: var(--ink-soft); }
.site-footer nav a { margin-right: 14px; display: inline-block; }

@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 23px; }
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav a { margin-left: 0; margin-right: 14px; }
}
