/* AI実務室 — 国内BtoB型（白 / 薄グレー / 薄青 / 濃紺の4段リズム） */

:root {
  --navy: #0F2C5C;
  --blue: #1B4FA8;
  --blue-pale: #E8F1FA;
  --gray-pale: #F5F6F8;
  --line: #E5E9F0;
  --text: #1A2233;
  --text-sub: #5A6779;
  --accent: #D93025;
  --cta-from: #F0611A;
  --cta-to: #F49019;
  --cta-shadow: #C34F00;
  --marker: #FFE45C;
  --line-green: #06C755;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(13, 31, 63, 0.08);
  --shadow-lg: 0 6px 24px rgba(13, 31, 63, 0.12);
  --wrap: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.9;
  font-size: 16px;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; }

/* ── 背景の4段リズム ───────────────────────── */
.s-white { background: #fff; }
.s-gray  { background: var(--gray-pale); }
.s-blue  { background: var(--blue-pale); }
.s-navy  { background: var(--navy); color: #fff; }
.s-navy h2, .s-navy h3, .s-navy strong { color: #fff; }
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
.s-navy + section, section + .s-navy { border-top: 0; }

/* ── ヘッダー ─────────────────────────────── */
.hd {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.hd-in { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: var(--wrap); margin: 0 auto; }
.hd-logo { font-size: 19px; font-weight: 900; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.hd-logo span { display: block; font-size: 10px; font-weight: 400; color: var(--text-sub); letter-spacing: 0; }
.hd-nav { display: flex; align-items: center; gap: 18px; }
.hd-nav a { font-size: 13px; color: var(--text-sub); text-decoration: none; font-weight: 500; }
.hd-nav a:hover { color: var(--blue); }

/* ── ボタン ───────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none; font-weight: 900;
  border-radius: 8px; text-align: center; line-height: 1.5;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-cta {
  background: linear-gradient(to right, var(--cta-from), var(--cta-to));
  color: #fff; padding: 15px 26px; font-size: 15px;
  box-shadow: 0 5px 0 0 var(--cta-shadow);
}
.btn-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 0 var(--cta-shadow); }
.btn-line { background: var(--line-green); color: #fff; padding: 15px 24px; font-size: 15px; box-shadow: 0 5px 0 0 #049C43; }
.btn-line:active { transform: translateY(3px); box-shadow: 0 2px 0 0 #049C43; }
.btn-out { background: #fff; border: 2px solid var(--blue); color: var(--blue); padding: 13px 22px; font-size: 14px; }
.btn-sm { padding: 8px 15px; font-size: 13px; box-shadow: 0 3px 0 0 var(--cta-shadow); }
.btn-sm-out { border: 1.5px solid var(--blue); color: var(--blue); background: #fff; padding: 7px 13px; font-size: 13px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ── ヒーロー ─────────────────────────────── */
.hero {
  padding: 56px 0 60px;
  background-color: var(--blue-pale);
  background-image:
    linear-gradient(to right,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.93) 30%,
      rgba(255,255,255,.72) 58%,
      rgba(255,255,255,.52) 100%),
    linear-gradient(to bottom, rgba(232,241,250,.55) 0%, rgba(255,255,255,.35) 100%),
    url("/img/hero-bg.png");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover;
  background-position: center, center, center right;
}
.hero .wrap { position: relative; }
.hero-badge {
  display: inline-block; background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 900; padding: 6px 14px; border-radius: 5px; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; font-weight: 900; line-height: 1.34; color: var(--navy); letter-spacing: -0.02em; margin: 0; }
/* h1の中に入れる小さい行。Googleに「何屋か」を伝えるためのもの。見た目は控えめでよい */
.h1-sub {
  display: block; font-size: 15px; font-weight: 700; line-height: 1.6;
  color: var(--blue); letter-spacing: 0.01em; margin-bottom: 8px;
}
.mark { background: linear-gradient(transparent 62%, var(--marker) 62%); padding: 0 2px; }
.hero-lead { font-size: 16px; color: var(--text-sub); margin-top: 18px; line-height: 1.95; }
.hero-lead strong { color: var(--accent); font-weight: 900; }
.checks { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.checks li { list-style: none; font-size: 14px; font-weight: 700; color: var(--navy); }
.checks li::before { content: "✓ "; color: var(--blue); font-weight: 900; }
.checks { padding: 0; margin-bottom: 0; }

/* ── 実績帯 ───────────────────────────────── */
.stats { background: var(--navy); }
.stats-in {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: var(--wrap); margin: 0 auto; padding: 26px 20px;
}
.stat { text-align: center; padding: 0 18px; position: relative; }
.stat .ico { width: 56px; height: 56px; margin: 0 auto 10px; opacity: .92; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: rgba(255,255,255,.14);
}
.stat .tag {
  display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .1em;
  color: #A9C0DE;
}
.stat.hl .tag { color: #FFD34D; }
.stat .n {
  font-size: 38px; font-weight: 900; color: #fff;
  line-height: 1.15; letter-spacing: -.03em; margin-top: 4px;
}
.stat .n em { font-size: 15px; font-style: normal; font-weight: 700; margin-left: 2px; }
.stat.hl .n { color: #FFD34D; }
.stat .l { font-size: 12px; color: #A9C0DE; line-height: 1.7; margin-top: 6px; }

/* ── 見出し ───────────────────────────────── */
.eyebrow { text-align: center; font-size: 14px; color: var(--accent); font-weight: 900; margin-bottom: 6px; }
h2 { font-size: 30px; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; line-height: 1.45; margin: 0 0 8px; }
h2.c { text-align: center; }
.sub { font-size: 15px; color: var(--text-sub); line-height: 1.9; margin: 0 0 28px; }
.sub.c { text-align: center; }

/* ── カード ───────────────────────────────── */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 16px; font-weight: 900; color: var(--navy); margin: 0; line-height: 1.6; }
.card p { font-size: 13.5px; color: var(--text-sub); margin: 7px 0 0; line-height: 1.8; }
.pain { display: flex; gap: 12px; align-items: flex-start; }
.pain .x { color: var(--accent); font-size: 20px; font-weight: 900; line-height: 1.3; }

/* ── 進め方 ───────────────────────────────── */
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px; }
.step .no { min-width: 34px; height: 34px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; font-weight: 900; color: var(--navy); margin: 3px 0 0; }
.step p { font-size: 13.5px; color: var(--text-sub); margin: 7px 0 0; line-height: 1.8; }

/* ── 実際の画面 ───────────────────────────── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.shot .cap { background: var(--gray-pale); padding: 7px 11px; font-size: 11px; color: var(--text-sub); font-weight: 700; }
.shot .ttl { padding: 10px 11px 13px; font-size: 13px; color: var(--navy); font-weight: 900; }
.shot .ttl.red { color: var(--accent); }
.shot img { width: 100%; }

/* ── 料金表 ───────────────────────────────── */
.price { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #F0F2F6; }
.price-row:last-child { border-bottom: 0; }
.price-row.hl { background: #FFF6E8; }
.price-row .nm { font-size: 15px; font-weight: 900; color: var(--navy); }
.price-row .nm small { font-weight: 400; color: #94A3B8; font-size: 13px; }
.price-row .ex { font-size: 12.5px; color: #8A6A3A; margin-top: 3px; }
.price-row .amt { font-size: 16px; font-weight: 900; color: var(--navy); white-space: nowrap; }
.note { background: #fff; border-left: 4px solid var(--accent); border-radius: 6px; padding: 14px 18px; margin-top: 14px; font-size: 13.5px; color: var(--text-sub); line-height: 1.8; }
.note strong { color: var(--accent); }

/* ── FAQ ──────────────────────────────────── */
.faq { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq details { border-bottom: 1px solid #F0F2F6; }
.faq details:last-child { border-bottom: 0; }
.faq summary { padding: 18px 22px; font-size: 15px; font-weight: 900; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--blue); }
.faq .a { padding: 0 22px 20px; font-size: 14px; color: var(--text-sub); line-height: 1.9; }

/* ── 最後のCTA ────────────────────────────── */
.cta-end { text-align: center; }
.cta-end h2 { color: #fff; }
.cta-end p { font-size: 15px; color: #A9C0DE; line-height: 1.9; margin: 12px 0 0; }
.cta-end .btns { justify-content: center; }

/* ── 記事 ─────────────────────────────────── */
.post { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; }
.post h1 { font-size: 32px; font-weight: 900; color: var(--navy); line-height: 1.5; letter-spacing: -0.02em; margin: 0 0 12px; }
.post .meta { font-size: 13px; color: #94A3B8; margin-bottom: 32px; }
.post h2 { font-size: 24px; margin: 44px 0 14px; padding-left: 14px; border-left: 5px solid var(--blue); }
.post h3 { font-size: 18px; font-weight: 900; color: var(--navy); margin: 32px 0 10px; }
.post p { font-size: 16px; line-height: 2.05; margin: 0 0 18px; }
.post ul, .post ol { padding-left: 1.4em; }
.post li { margin-bottom: 8px; line-height: 1.95; }
.post table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.post th, .post td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.post th { background: var(--gray-pale); font-weight: 900; color: var(--navy); }
.post blockquote { border-left: 4px solid var(--line); margin: 22px 0; padding: 4px 0 4px 18px; color: var(--text-sub); }
.post code { background: var(--gray-pale); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.post pre { background: var(--navy); color: #E2E8F0; padding: 18px; border-radius: var(--radius); overflow-x: auto; font-size: 13.5px; line-height: 1.75; }
.post pre code { background: none; padding: 0; color: inherit; }
.post img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 22px 0; }

.post-cta { background: var(--blue-pale); border-radius: var(--radius); padding: 28px 26px; margin: 44px 0 0; text-align: center; }
.post-cta h3 { font-size: 19px; font-weight: 900; color: var(--navy); margin: 0 0 8px; }
.post-cta p { font-size: 14px; color: var(--text-sub); margin: 0 0 18px; }

/* ── 記事一覧 ─────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.post-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; text-decoration: none; display: block; }
.post-card .d { font-size: 12px; color: #94A3B8; }
.post-card h3 { font-size: 17px; font-weight: 900; color: var(--navy); margin: 6px 0 8px; line-height: 1.6; }
.post-card p { font-size: 13.5px; color: var(--text-sub); margin: 0; line-height: 1.8; }

/* ── フォーム ─────────────────────────────── */
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.form label { display: block; font-size: 14px; font-weight: 900; color: var(--navy); margin: 20px 0 7px; }
.form label:first-child { margin-top: 0; }
.form .req { background: var(--accent); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 3px; margin-left: 7px; vertical-align: 2px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--text);
}
.form textarea { min-height: 150px; line-height: 1.8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form .hp { position: absolute; left: -9999px; }
.form .submit { text-align: center; margin-top: 30px; }
.form-note { font-size: 13px; color: var(--text-sub); line-height: 1.8; margin-top: 16px; }

/* ── 送信前の確認画面 ─────────────────────── */
.cfm { display: grid; grid-template-columns: 190px 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.cfm dt { padding: 15px 16px; font-size: 13.5px; font-weight: 700; color: var(--text-sub);
          background: var(--gray-pale); border-bottom: 1px solid var(--line); }
.cfm dd { padding: 15px 18px; margin: 0; font-size: 15px; color: var(--navy); font-weight: 500;
          border-bottom: 1px solid var(--line); word-break: break-word; }
.cfm dd.cfm-body { font-weight: 400; line-height: 1.85; }
.cfm .cfm-non { color: #A0AAB8; font-weight: 400; font-size: 13.5px; }
.cfm-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cfm-btns .btn { min-width: 190px; }
@media (max-width: 560px) {
  .cfm { grid-template-columns: 1fr; }
  .cfm dt { padding: 12px 14px 4px; background: none; border-bottom: 0; }
  .cfm dd { padding: 0 14px 13px; }
  .cfm-btns .btn { width: 100%; }
}

/* ── フッター ─────────────────────────────── */
.ft { background: var(--gray-pale); padding: 40px 0 32px; border-top: 1px solid var(--line); }
.ft-nm { font-size: 15px; font-weight: 900; color: var(--navy); }
.ft-in { font-size: 13px; color: var(--text-sub); margin-top: 10px; line-height: 1.95; }
.ft-in .muted { color: #94A3B8; }
.ft-links { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.ft-links a { font-size: 13px; color: var(--text-sub); text-decoration: none; }
.ft-cp { font-size: 12px; color: #94A3B8; margin-top: 22px; }

/* ── スマホ ───────────────────────────────── */
@media (max-width: 780px) {
  body { font-size: 15px; }
  section { padding: 44px 0; }
  .hero { padding: 36px 0 40px; }
  .hero h1 { font-size: 29px; line-height: 1.42; }
  h2 { font-size: 22px; }
  .post h1 { font-size: 24px; }
  .post h2 { font-size: 19px; }
  .grid2, .grid3, .shots, .posts { grid-template-columns: 1fr; }
  .hd-logo { font-size: 17px; }
  .stats-in { grid-template-columns: 1fr; padding: 18px 20px; gap: 16px; }
  .stat { padding: 0; display: grid; grid-template-columns: 52px 1fr;
          align-items: center; gap: 0 16px; text-align: left; }
  .stat .ico { width: 44px; height: 44px; margin: 0; grid-row: 1 / span 3; }
  .stat .l { margin-top: 4px; }
  .stat + .stat::before { left: 0; right: 0; top: -8px; bottom: auto; width: auto; height: 1px; }
  .stat .n { font-size: 32px; }
  .btns { flex-direction: column; }
  .btns .btn { width: 100%; }
  .price-row { flex-direction: column; gap: 4px; }
  .price-row .amt { text-align: right; }
}


/* ── 記事の図版 ───────────────────────────── */
.post figure { margin: 26px 0; }
.post figure img { margin: 0; border: 1px solid var(--line); }
.post figcaption {
  font-size: 13px; color: var(--text-sub); line-height: 1.8;
  margin-top: 9px; padding-left: 11px; border-left: 3px solid var(--blue);
}

/* ── SNS（大きいカード） ──────────────────── */
.sns-sec { padding: 56px 0; }
.sns-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.sns-card {
  display: flex; gap: 16px; align-items: center; text-decoration: none;
  background: #fff; border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease;
}
.sns-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.sns-ic {
  min-width: 48px; height: 48px; border-radius: 12px; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sns-tx { display: block; }
.sns-nm { display: block; font-size: 15px; font-weight: 900; color: var(--navy); }
.sns-nm em { font-style: normal; font-weight: 500; color: var(--text-sub); font-size: 13px; margin-left: 9px; }
.sns-ds { display: block; font-size: 12.5px; color: var(--text-sub); margin-top: 4px; line-height: 1.7; }

/* ── SNS（フッターの小アイコン） ───────────── */
.sns { display: flex; gap: 9px; margin-top: 18px; }
.sns a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--navy); border: 1px solid var(--line); text-decoration: none;
}
.sns a:hover { background: var(--navy); color: #fff; }

@media (max-width: 780px) {
  .sns-grid { grid-template-columns: 1fr; }
  .sns-sec { padding: 40px 0; }
}

/* ── スマホのメニュー（☰）───────────────── */
.mnav-tgl { position: absolute; opacity: 0; pointer-events: none; }
.mnav-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: auto; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; padding: 0 11px; background: #fff;
}
.mnav-btn span {
  display: block; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.mnav-tgl:checked + .mnav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mnav-tgl:checked + .mnav-btn span:nth-child(2) { opacity: 0; }
.mnav-tgl:checked + .mnav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav-tgl:focus-visible + .mnav-btn { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 780px) {
  .hd-in { position: relative; flex-wrap: nowrap; }
  .mnav-btn { display: flex; }
  .hd-nav {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .26s ease;
  }
  .mnav-tgl:checked ~ .hd-nav { max-height: 460px; }
  .hd-nav a {
    padding: 16px 20px; font-size: 16px; font-weight: 700;
    color: var(--navy); border-top: 1px solid var(--line); border-radius: 0;
  }
  .hd-nav a::after { content: "›"; float: right; color: var(--blue); font-size: 18px; line-height: 1; }
  .hd-nav .btn-sm-out {
    border: 0; border-top: 1px solid var(--line); color: var(--blue); text-align: left;
  }
  .hd-nav .btn-cta {
    margin: 14px 16px 18px; border-radius: 8px; text-align: center;
    padding: 15px; font-size: 15px; color: #fff;
  }
  .hd-nav .btn-cta::after, .hd-nav .btn-sm-out::after { content: ""; }
}

/* ── 記事カード（強化） ───────────────────── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; display: flex; flex-direction: column; overflow: hidden;
  border-top: 4px solid var(--blue);
  transition: transform .12s ease, box-shadow .12s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* 記事の頭に置くYouTube（front matter の video: で出る） */
.yt { position: relative; aspect-ratio: 16 / 9; margin: 24px 0 30px;
      border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ★動画のサムネイルをそのままカードの画像に使う（2026-08-12） */
.post-card .thumb { display: block; background: var(--gray-pale); line-height: 0; }
.post-card .thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card .tx { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.post-card .d { display: block; font-size: 12px; color: #94A3B8; font-weight: 700; }
.post-card h3 { font-size: 16px; font-weight: 900; color: var(--navy); margin: 8px 0 9px; line-height: 1.6; }
.post-card p { font-size: 13px; color: var(--text-sub); margin: 0 0 14px; line-height: 1.8; flex: 1; }
.post-card .more { font-size: 13px; font-weight: 900; color: var(--blue); }
@media (max-width: 780px) { .posts { grid-template-columns: 1fr; } }

/* ── ホバー：押せるものは、ふわっと浮き上がる ── */
.btn { will-change: transform; }

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 0 var(--cta-shadow), 0 12px 22px rgba(195, 79, 0, .30);
}
.btn-cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 var(--cta-shadow), 0 3px 8px rgba(195, 79, 0, .22);
}

.btn-line:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 0 #049C43, 0 12px 22px rgba(4, 156, 67, .30);
}
.btn-line:active { transform: translateY(2px); box-shadow: 0 2px 0 0 #049C43; }

.btn-out:hover {
  transform: translateY(-3px);
  background: var(--blue-pale);
  box-shadow: 0 10px 20px rgba(13, 31, 63, .16);
}
.btn-out:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(13, 31, 63, .14); }

.btn-sm-out:hover {
  transform: translateY(-2px); background: var(--blue-pale);
  box-shadow: 0 6px 14px rgba(13, 31, 63, .14);
}
.btn-sm-out { transition: transform .14s ease, box-shadow .14s ease, background .14s ease; display: inline-block; }

/* 白抜きボタン・小ボタンにもトランジションを効かせる */
.btn, .btn-out, .btn-sm-out, .sns-card, .post-card, .shot {
  transition: transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .16s ease, background .16s ease;
}

/* カード類も少し強めに浮かせる */
.sns-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(13, 31, 63, .16); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(13, 31, 63, .16); }
.shot:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(13, 31, 63, .18); }

/* フッターのSNSアイコンも */
.sns a { transition: transform .14s ease, background .14s ease, color .14s ease; }
.sns a:hover { transform: translateY(-3px); }

/* 動きが苦手な方の設定を尊重する */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-out, .btn-sm-out, .sns-card, .post-card, .shot, .sns a { transition: none; }
  .btn-cta:hover, .btn-line:hover, .btn-out:hover, .btn-sm-out:hover,
  .sns-card:hover, .post-card:hover, .shot:hover, .sns a:hover { transform: none; }
}

@media (max-width: 780px) {
  .hero {
    background-size: cover, cover, cover;
    background-position: center, center, center right;
    background-image:
      linear-gradient(to bottom,
        rgba(255,255,255,.95) 0%,
        rgba(255,255,255,.88) 42%,
        rgba(255,255,255,.58) 100%),
      linear-gradient(to bottom, rgba(232,241,250,.45), rgba(255,255,255,.30)),
      url("/img/hero-bg.png");
  }
}

/* ── 料金シミュレーター ───────────────────── */
.est {
  display: grid; grid-template-columns: 320px 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); margin: 26px 0; border: 1px solid var(--line);
}
.est-in { background: var(--blue-pale); padding: 24px 22px; }
.est-in label { display: block; font-size: 13px; font-weight: 900; color: var(--navy); margin-bottom: 18px; }
.est-in label:last-child { margin-bottom: 0; }
.est-in input[type=range] { width: 100%; margin-top: 8px; accent-color: var(--blue); }
.est-in output { display: inline-block; font-size: 17px; font-weight: 900; color: var(--blue); margin-top: 2px; }
.est-in select {
  width: 100%; margin-top: 7px; padding: 10px 11px; font-size: 13px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 7px; background: #fff; color: var(--text); font-weight: 500;
}
.est-chk { display: flex !important; align-items: center; gap: 8px; font-size: 12.5px !important; font-weight: 700 !important; }
.est-chk input { width: 17px; height: 17px; accent-color: var(--blue); }

.est-out { padding: 24px 24px 22px; }
.est-blk { margin-bottom: 20px; }
.est-blk h4 {
  font-size: 13px; font-weight: 900; color: var(--navy); margin: 0 0 9px;
  padding-bottom: 7px; border-bottom: 2px solid var(--blue-pale);
}
.est-blk h4 span { font-weight: 400; color: #94A3B8; font-size: 11px; margin-left: 8px; }
.est-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; line-height: 1.7; }
.est-row span { color: var(--text-sub); }
.est-row em { display: block; font-style: normal; font-size: 11px; color: #94A3B8; }
.est-row b { color: var(--navy); font-weight: 900; white-space: nowrap; }
.est-sum {
  display: flex; justify-content: space-between; margin-top: 8px; padding-top: 9px;
  border-top: 1px dashed var(--line); font-size: 13px; font-weight: 900; color: var(--navy);
}
.est-sum b { font-size: 17px; }
.est-ours .est-row b { color: var(--accent); }
.est-final { background: var(--navy); border-radius: 10px; padding: 18px 20px 16px; color: #fff; }
.est-final-h { font-size: 13px; font-weight: 900; color: #FFD34D; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.16); }
.est-final .est-row span { color: #A9C0DE; }
.est-final .est-row em { color: #7C93B4; }
.est-final .est-row b { color: #fff; }
.est-final-t {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 6px;
  margin-top: 10px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.16);
  font-size: 13px; font-weight: 900;
}
.est-final-t b { font-size: 22px; color: #FFD34D; }
.est-final-t span { font-size: 12px; color: #A9C0DE; font-weight: 400; }
.est-final-n { font-size: 11.5px; color: #A9C0DE; line-height: 1.8; margin-top: 10px; }
.est-note { font-size: 11.5px; color: #94A3B8; line-height: 1.8; margin: 12px 0 0; }

@media (max-width: 780px) {
  .est { grid-template-columns: 1fr; }
  .est-in { padding: 20px 18px; }
  .est-out { padding: 20px 18px; }
  .est-final-t { justify-content: space-between; }
}

.est-in label small {
  display: block; font-weight: 400; font-size: 11px; color: #6B7C93;
  line-height: 1.7; margin-top: 6px;
}

.est-lease {
  background: #FFF6E8; border-left: 4px solid var(--cta-from); border-radius: 6px;
  padding: 10px 13px; margin: 10px 0 0; font-size: 12px; color: #6B4A18; line-height: 1.8;
}
.est-lease b { color: #C34F00; font-size: 14px; }

/* ── 実際に入れたときの金額 ───────────────── */
.est-real {
  background: var(--gray-pale); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 16px 0 0;
}
.est-real h4 { font-size: 14px; font-weight: 900; color: var(--navy); margin: 0 0 6px; }
.est-real > p { font-size: 12.5px; color: var(--text-sub); line-height: 1.8; margin: 0 0 12px; }
.est-real .est-row { border-bottom: 1px solid #E9EDF2; }
.est-real-t { border-bottom: 0 !important; margin-top: 4px; padding-top: 10px !important;
  border-top: 2px solid var(--navy) !important; }
.est-real-t span { color: var(--navy) !important; font-weight: 900; }
.est-real-t b { font-size: 17px; }
.est-real-n { font-size: 12px; color: var(--text-sub); line-height: 1.8; margin: 12px 0 0;
  padding-left: 11px; border-left: 3px solid var(--cta-from); }

.est-real .est-row em { display: block; font-style: normal; font-size: 11px; color: #94A3B8; margin-top: 2px; }
.est-real-n strong { color: var(--accent); font-weight: 900; }

/* ── ヘッダーの小さいLINEボタン ───────────── */
.btn-sm-line {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--line-green); color: #fff; text-decoration: none;
  padding: 7px 13px; border-radius: 6px; font-size: 13px; font-weight: 900;
  box-shadow: 0 3px 0 0 #049C43;
  transition: transform .14s ease, box-shadow .14s ease;
}
.btn-sm-line:hover { transform: translateY(-2px); box-shadow: 0 5px 0 0 #049C43; }
.btn-sm-line:active { transform: translateY(1px); box-shadow: 0 2px 0 0 #049C43; }
@media (max-width: 780px) {
  .hd-nav .btn-sm-line {
    justify-content: center; margin: 14px 16px 0; padding: 14px;
    font-size: 15px; border-radius: 8px;
  }
  .hd-nav .btn-sm-line::after { content: ""; }
}
