@charset "UTF-8";

/* ------------------------------------------------------------------
   そのまま保守 — スタイルシート

   想定読者: 中小企業の経営者・総務担当・士業事務所。
   年齢層が高めで、Windows + Edge/Chrome、あるいはスマートフォンから来る。

   方針:
     - 文字を大きく、行間を広く。読めないサイトは信用されない
     - 装飾より可読性。アニメーションは入れない
     - JavaScript を一切使わない。壊れる余地を作らない
       （「古いものが動き続ける」を売る事業として、自分のサイトが
         ツールチェーンの都合で壊れるのは筋が通らない）
   ------------------------------------------------------------------ */

:root {
  --ink: #1a2b33;          /* 本文。真っ黒より少し青みのある濃色 */
  --ink-soft: #4a5f6b;
  --accent: #0f5c66;       /* 深い青緑。安心・継続を意識した色 */
  --accent-dark: #0a444c;
  --accent-pale: #e8f2f3;
  --warn: #9a3412;         /* 「作り直し」の話をするときだけ使う */
  --line: #d8e0e3;
  --bg: #ffffff;
  --bg-soft: #f5f8f9;
  --radius: 6px;
  --measure: 760px;        /* 本文の最大幅。日本語は40文字前後が読みやすい */
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  text-align: left;
}

@media (min-width: 768px) { body { font-size: 18px; } }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }

/* ---------- レイアウト ---------- */

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--measure); margin-left: auto; margin-right: auto; }

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); }

/* ---------- ヘッダー ---------- */

header.site {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
}
.brand small {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
}
nav.site a {
  margin-left: 20px;
  font-size: .95rem;
  text-decoration: none;
}
nav.site a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  nav.site a { margin: 0 18px 0 0; }
}

/* ---------- ヒーロー ---------- */

.hero { padding: 64px 0 56px; }
.hero h1 {
  font-size: clamp(1.7rem, 5.2vw, 2.6rem);
  line-height: 1.5;
  margin: 0 0 20px;
  letter-spacing: .01em;
}
.hero .lead {
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 28px;
}
.hero .lead strong { color: var(--ink); }

/* ---------- 見出し ---------- */

h2 {
  font-size: clamp(1.35rem, 3.6vw, 1.7rem);
  line-height: 1.55;
  margin: 0 0 8px;
  letter-spacing: .01em;
}
h2 + .sub {
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-size: .97rem;
}
h3 {
  font-size: 1.12rem;
  margin: 32px 0 8px;
  line-height: 1.6;
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.04rem;
  border: 2px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-pale); color: var(--accent-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: .9rem; color: var(--ink-soft); }

/* ---------- カード / リスト ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0 0;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  background: #fff;
}
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

ul.checks { list-style: none; padding: 0; margin: 20px 0 0; }
ul.checks li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--line);
}
ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 対応技術 ---------- */

.tech-group { margin: 26px 0 0; }
.tech-group h3 { margin: 0 0 10px; font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  padding: 6px 15px;
  font-size: .93rem;
}

/* ---------- 料金 ---------- */

.steps { counter-reset: step; margin: 28px 0 0; padding: 0; list-style: none; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 58px;
  border-left: 2px solid var(--line);
  margin-left: 17px;
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: -18px;
  top: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .95rem;
}
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps p { margin: 0 0 6px; color: var(--ink-soft); }

.price-box {
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--accent-pale);
  margin: 10px 0 0;
}
.price-box .amount {
  font-size: clamp(1.5rem, 4.4vw, 2rem);
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1.4;
}
.price-box .amount small { font-size: .55em; font-weight: 600; }
.price-box p { margin: 6px 0 0; font-size: .96rem; }

/* ---------- 表 ---------- */

.table-scroll { overflow-x: auto; margin: 22px 0 0; }
table {
  border-collapse: collapse;
  width: 100%;
  font-size: .96rem;
  min-width: 480px;
}
th, td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--bg-soft); font-weight: 600; }

/* ---------- 引用 / 注記 ---------- */

blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--accent);
  color: var(--ink-soft);
}
.note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: .95rem;
  margin: 24px 0;
}
.note strong { color: var(--ink); }

/* ---------- FAQ ---------- */

.faq { margin: 26px 0 0; }
.faq dt {
  font-weight: 700;
  margin: 24px 0 6px;
  padding-left: 28px;
  position: relative;
}
.faq dt::before {
  content: "Q";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.faq dd {
  margin: 0 0 0 28px;
  color: var(--ink-soft);
}

/* ---------- フォーム ---------- */

form.inquiry { margin: 26px 0 0; max-width: var(--measure); }
.field { margin: 0 0 20px; }
.field label { display: block; font-weight: 600; margin: 0 0 6px; }
.field .hint { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.field .req {
  font-size: .75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}
input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #9fb0b6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--accent-pale);
  border-color: var(--accent);
}
.privacy { font-size: .9rem; color: var(--ink-soft); margin: 0 0 22px; }

/* 迷惑送信よけ。人間には見えず、自動送信には埋められる囮の項目 */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- 記事 ---------- */

article.post { padding: 48px 0 8px; }
article.post h1 {
  font-size: clamp(1.5rem, 4.4vw, 2.05rem);
  line-height: 1.55;
  margin: 0 0 10px;
}
article.post .meta { color: var(--ink-soft); font-size: .92rem; margin: 0 0 32px; }
article.post h2 {
  margin: 44px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-pale);
}
article.post h3 { margin: 32px 0 8px; }
article.post p { margin: 0 0 20px; }
article.post ul, article.post ol { margin: 0 0 20px; padding-left: 1.5em; }
article.post li { margin: 0 0 8px; }

.post-list { list-style: none; padding: 0; margin: 24px 0 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 20px 0; }
.post-list a { font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.post-list a:hover { text-decoration: underline; }
.post-list p { margin: 6px 0 0; color: var(--ink-soft); font-size: .95rem; }

.cta-inline {
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 24px 26px;
  margin: 44px 0 8px;
}
.cta-inline h2 { margin: 0 0 8px; border: none; padding: 0; font-size: 1.2rem; }
.cta-inline p { margin: 0 0 16px; color: var(--ink-soft); font-size: .97rem; }

/* ---------- フッター ---------- */

footer.site {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 36px 0 44px;
  font-size: .92rem;
  color: var(--ink-soft);
}
footer.site nav a { margin-right: 20px; text-decoration: none; }
footer.site nav a:hover { text-decoration: underline; }
footer.site .operator { margin: 18px 0 0; line-height: 1.8; }
footer.site .copy { margin: 18px 0 0; font-size: .86rem; }

/* ---------- 印刷 ---------- */

@media print {
  header.site nav, .btn, form.inquiry { display: none; }
  body { font-size: 11pt; }
  section { padding: 18px 0; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
