/* 業務改善（/gyoumu-kaizen/）の見た目。色はGeminiの色の表のとおり（gemini\丸投げパック_診断_SEO記事_導入事例_色.txt） */
:root {
  --mp-main: #1E3A5F;      /* メイン：ディープネイビー */
  --mp-bg: #FBF8F3;        /* 背景：ウォームクリーム */
  --mp-head: #162B47;      /* 見出し：ミッドナイトネイビー */
  --mp-text: #33373B;      /* 本文：チャコールグレー */
  --mp-btn: #E06D1B;       /* ボタン：ブライトアンバー */
  --mp-btn-hover: #C45910; /* ボタンにカーソルを合わせたとき：バーントオレンジ */
  --mp-btn-text: #FFFFFF;  /* ボタンの文字 */
  --mp-card: #FFFFFF;      /* 診断のカード */
  --mp-line: rgba(30, 58, 95, .16);
  --mp-soft: rgba(30, 58, 95, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mp-bg); color: var(--mp-text); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif; font-size: 17px; line-height: 1.85; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { color: var(--mp-head); line-height: 1.45; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
h2 { font-size: clamp(23px, 3vw, 31px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--mp-main); }
img { max-width: 100%; height: auto; }
.mp-w { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.mp-narrow { max-width: 760px; }
.mp-skip { position: absolute; left: -9999px; }
.mp-skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* ボタン（診断・申し込み・相談はアンバー、電話はメインのネイビーで同じ大きさ） */
.mp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 56px; padding: 12px 28px; border-radius: 10px; border: 0; font: inherit; font-weight: 700; font-size: 18px; line-height: 1.3; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s; }
.mp-btn-go { background: var(--mp-btn); color: var(--mp-btn-text); }
.mp-btn-go:hover, .mp-btn-go:focus-visible { background: var(--mp-btn-hover); color: var(--mp-btn-text); }
.mp-btn-tel { background: var(--mp-main); color: var(--mp-btn-text); }
.mp-btn-tel:hover, .mp-btn-tel:focus-visible { background: var(--mp-head); color: var(--mp-btn-text); }
.mp-btn-line { background: transparent; color: var(--mp-main); border: 2px solid var(--mp-main); }
.mp-btn:focus-visible { outline: 3px solid var(--mp-head); outline-offset: 3px; }
.mp-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* 上の帯 */
.mp-header { background: var(--mp-bg); border-bottom: 1px solid var(--mp-line); position: sticky; top: 0; z-index: 5; }
.mp-header .mp-w { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.mp-brand { display: flex; align-items: center; gap: 10px; color: var(--mp-head); text-decoration: none; font-weight: 700; line-height: 1.3; }
.mp-brand small { display: block; font-weight: 400; font-size: 12px; color: var(--mp-text); }
.mp-header-cta { display: flex; gap: 8px; }
.mp-header-cta .mp-btn { min-height: 44px; padding: 8px 16px; font-size: 15px; }

/* 最初の段 */
.mp-hero { padding: 56px 0 48px; }
.mp-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.mp-kicker { color: var(--mp-main); font-weight: 700; margin-bottom: .8em; }
.mp-sub span { display: block; }
.mp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.mp-cta-note { font-size: 14px; margin-top: 8px; }

.mp-sec { padding: 56px 0; }
.mp-sec-alt { background: var(--mp-soft); }
.mp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mp-list li { background: var(--mp-card); border: 1px solid var(--mp-line); border-left: 5px solid var(--mp-main); border-radius: 8px; padding: 14px 18px; }
.mp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mp-box { background: var(--mp-card); border: 1px solid var(--mp-line); border-radius: 12px; padding: 22px; }
.mp-num { display: inline-block; color: var(--mp-main); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-bottom: 6px; }
.mp-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: f; }
.mp-flow li { background: var(--mp-card); border: 1px solid var(--mp-line); border-radius: 12px; padding: 18px 20px 18px 70px; position: relative; }
.mp-flow li::before { counter-increment: f; content: counter(f, decimal-leading-zero); position: absolute; left: 18px; top: 16px; color: var(--mp-main); font-weight: 700; font-size: 20px; }
.mp-faq details { background: var(--mp-card); border: 1px solid var(--mp-line); border-radius: 10px; margin-bottom: 10px; }
.mp-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--mp-head); }
.mp-faq details p { padding: 0 18px 16px; margin: 0; }

/* 診断のカード（白） */
.mp-shindan { background: var(--mp-card); border: 1px solid var(--mp-line); border-radius: 16px; padding: 32px; box-shadow: 0 10px 30px rgba(22, 43, 71, .08); }
.mp-shindan .mp-btn-go { min-width: 240px; }
.mp-step { display: none; }
.mp-step.is-on { display: block; }
.mp-progress { font-size: 14px; color: var(--mp-main); font-weight: 700; margin-bottom: 8px; }
.mp-bar { height: 6px; background: var(--mp-soft); border-radius: 3px; margin-bottom: 20px; overflow: hidden; }
.mp-bar i { display: block; height: 100%; background: var(--mp-main); }
.mp-q { font-size: 20px; font-weight: 700; color: var(--mp-head); margin-bottom: 16px; }
.mp-opts { display: grid; gap: 10px; margin-bottom: 20px; }
.mp-opt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--mp-line); border-radius: 10px; padding: 14px 16px; cursor: pointer; background: var(--mp-card); }
.mp-opt:has(input:checked) { border-color: var(--mp-main); background: var(--mp-soft); }
.mp-opt input { margin-top: .45em; accent-color: var(--mp-main); }
.mp-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.mp-field { display: block; margin-bottom: 16px; }
.mp-field span { display: block; font-weight: 700; color: var(--mp-head); margin-bottom: 4px; }
.mp-field b { font-size: 12px; background: var(--mp-btn); color: var(--mp-btn-text); border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
.mp-field i { font-style: normal; font-size: 12px; border: 1px solid var(--mp-line); border-radius: 4px; padding: 0 6px; margin-left: 6px; font-weight: 400; }
.mp-field input, .mp-field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; color: var(--mp-text); }
.mp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mp-small { font-size: 14px; }

/* 相談の段（フォームと電話を同じ重さで並べる） */
.mp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.mp-telbox { background: var(--mp-card); border: 1px solid var(--mp-line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.mp-telbox-num { font-size: clamp(30px, 4vw, 40px); font-weight: 700; color: var(--mp-head); text-decoration: none; letter-spacing: .03em; }
.mp-form { background: var(--mp-card); border: 1px solid var(--mp-line); border-radius: 16px; padding: 32px; }
.mp-last p { font-size: 19px; color: var(--mp-head); font-weight: 700; }

/* まだ無い所（Geminiの文・画像・埋め込み） */
.mp-empty { border: 2px dashed var(--mp-main); border-radius: 10px; padding: 14px 16px; color: var(--mp-main); background: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.mp-empty strong { display: block; font-size: 15px; }
.mp-img { border: 2px dashed var(--mp-main); border-radius: 12px; min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--mp-main); background: rgba(30, 58, 95, .04); font-size: 14px; line-height: 1.6; }
.mp-embeds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mp-embed { min-height: 260px; }

/* 結果・日程選び */
.mp-page { padding: 44px 0 56px; }
.mp-pattern { display: inline-block; background: var(--mp-main); color: #fff; border-radius: 8px; padding: 4px 14px; font-weight: 700; margin-bottom: 12px; }
.mp-day { border: 0; padding: 0; margin: 0 0 18px; }
.mp-day legend { font-weight: 700; color: var(--mp-head); margin-bottom: 8px; }
.mp-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mp-slot { display: block; cursor: pointer; }
.mp-slot input { position: absolute; opacity: 0; }
.mp-slot span { display: block; text-align: center; border: 2px solid var(--mp-line); border-radius: 8px; padding: 10px 6px; background: var(--mp-card); font-weight: 700; color: var(--mp-head); }
.mp-slot input:checked + span { border-color: var(--mp-btn); background: var(--mp-btn); color: var(--mp-btn-text); }
.mp-slot input:focus-visible + span { outline: 3px solid var(--mp-head); outline-offset: 2px; }
.mp-chosen { font-size: 22px; font-weight: 700; color: var(--mp-head); background: var(--mp-card); border: 2px solid var(--mp-main); border-radius: 10px; padding: 14px 18px; }
.mp-err { color: #8a2c0d; background: #fff; border: 1px solid #e3b9a6; border-radius: 8px; padding: 10px 14px; }
.mp-telline { margin-top: 24px; }
.mp-article h1 { margin-top: 8px; }
.mp-article-link { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--mp-line); }

.mp-footer { border-top: 1px solid var(--mp-line); padding: 28px 0 36px; font-size: 14px; }
.mp-footer p { margin: 0 0 6px; }

@media (max-width: 860px) {
  .mp-hero-grid, .mp-grid3, .mp-contact, .mp-embeds { grid-template-columns: 1fr; }
  .mp-hero { padding: 32px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .mp-w { padding: 0 16px; }
  .mp-header-cta .mp-btn { padding: 8px 10px; font-size: 13px; min-height: 40px; }
  .mp-brand small { display: none; }
  .mp-cta { grid-template-columns: 1fr; }
  .mp-shindan, .mp-form, .mp-telbox { padding: 22px 18px; }
  .mp-slots { grid-template-columns: repeat(2, 1fr); }
  .mp-sec { padding: 40px 0; }
}
.mp-opt .mp-empty { display: block; margin: 0; flex: 1; }
.mp-nav .mp-btn { flex: 1 1 140px; }
@media (max-width: 420px) {
  .mp-header .mp-w { min-height: 60px; }
  .mp-brand img { width: 30px; height: 30px; }
  .mp-brand span { font-size: 13px; }
  .mp-header-cta { gap: 6px; }
  .mp-header-cta .mp-btn { padding: 6px 8px; font-size: 12px; white-space: nowrap; }
}
