/* 不動産AIバックオフィス — style.css（単独サイト。不動産AIカレッジとは別のデザイン） */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --teal: #0f9d8f;
  --teal-dark: #0b7d72;
  --teal-soft: #e6f5f3;
  --sand: #f6f4ef;
  --ink: #1d2433;
  --ink-sub: #4a5468;
  --ink-faint: #7a8396;
  --line: #e3e1da;
  --white: #fff;
  --radius: 14px;
  --font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --font-num: "Jost", var(--font);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
.container { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(860px, 100% - 40px); }
.pc { display: inline; } .sp { display: none; }
@media (max-width: 640px) { .pc { display: none; } .sp { display: inline; } }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-num); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.logo-mark i { font-style: normal; color: #5fe0d2; }
.logo-text { font-weight: 900; font-size: 17px; color: var(--navy); line-height: 1.2; }
.logo-text small { display: block; font-weight: 500; font-size: 10.5px; color: var(--ink-faint); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-sub); }
.nav a:hover { color: var(--teal-dark); }
.nav .btn { color: #fff; padding: 10px 20px; font-size: 14px; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* ヒーロー */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1b4b72 100%); color: #fff; padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(15,157,143,.35), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.hero-badge b { color: #5fe0d2; white-space: nowrap; }
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 900; line-height: 1.35; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #5fe0d2; white-space: nowrap; }
.hero-sub { font-size: 15.5px; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span { font-size: 12.5px; padding: 5px 12px; border-radius: 6px; background: rgba(255,255,255,.1); }
.compare-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.compare-card .label { font-size: 13px; font-weight: 700; color: var(--ink-sub); margin-bottom: 12px; }
.compare-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 16px; border-radius: 12px; background: var(--sand); font-size: 13.5px; color: var(--ink-sub); margin-bottom: 10px; }
.compare-row b { font-weight: 900; font-size: 19px; color: var(--ink); white-space: nowrap; }
.compare-row.main { background: var(--teal-soft); border: 2px solid var(--teal); color: var(--navy); font-weight: 700; }
.compare-row.main b { font-size: 28px; color: var(--teal-dark); }
.compare-note { font-size: 12px; color: var(--ink-faint); line-height: 1.8; margin: 6px 0 18px; }
.compare-note a { color: var(--teal-dark); }
.compare-card .btn { width: 100%; }

/* セクション共通 */
.section { padding: 88px 0; }
.section.sand { background: var(--sand); }
.section.navy { background: var(--navy); color: #fff; }
.head { text-align: center; margin-bottom: 44px; }
.eyebrow { font-family: var(--font-num); font-weight: 600; font-size: 12.5px; letter-spacing: .18em; color: var(--teal); margin-bottom: 8px; }
.head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; line-height: 1.5; color: var(--navy); }
.navy .head h2 { color: #fff; }
.head p.lead { max-width: 760px; margin: 16px auto 0; font-size: 15px; color: var(--ink-sub); }
.note { font-size: 12.5px; color: var(--ink-faint); line-height: 1.85; }
.note a { color: var(--teal-dark); }

/* カード（お悩み・ツール） */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.sand .card { border-color: transparent; }
.card-no { font-family: var(--font-num); font-weight: 600; font-size: 28px; color: var(--teal); line-height: 1; margin-bottom: 12px; }
.card h3 { font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--ink-sub); }

/* 業務の表 */
.table-wrap { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(11,37,69,.06); overflow: hidden; }
.tasks { width: 100%; border-collapse: collapse; font-size: 14px; }
.tasks th { background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; padding: 14px 12px; text-align: left; line-height: 1.5; }
.tasks th small { font-weight: 500; opacity: .8; }
.tasks td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; line-height: 1.6; }
.tasks td:first-child { font-family: var(--font-num); font-weight: 600; color: var(--teal-dark); text-align: center; width: 48px; }
.tasks td:nth-child(3), .tasks td:nth-child(4) { white-space: nowrap; font-weight: 700; }
.tasks td b { display: block; font-weight: 900; color: var(--navy); }
.tasks td span:not(.badge) { display: block; font-size: 12.5px; color: var(--ink-sub); margin-top: 2px; }
.tasks tbody tr:nth-child(-n+3) td { background: #f2faf9; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--teal-dark); border: 1px solid rgba(15,157,143,.4); background: #fff; }
.badge.tool { color: #b45309; border-color: rgba(180,83,9,.4); }
.notes { margin-top: 20px; display: grid; gap: 8px; }
@media (max-width: 680px) {
  .tasks thead { display: none; }
  .tasks tbody tr { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; column-gap: 8px; row-gap: 4px; padding: 14px; border-top: 1px solid var(--line); }
  .tasks tbody tr:nth-child(-n+3) { background: #f2faf9; }
  .tasks td { padding: 0; border: 0; background: none !important; }
  .tasks td:first-child { grid-row: 1 / span 2; width: auto; text-align: left; }
  .tasks td:nth-child(2) { grid-column: 2 / 4; }
  .tasks td:nth-child(3), .tasks td:nth-child(4) { grid-column: 2; font-size: 12.5px; font-weight: 500; color: var(--ink-sub); }
  .tasks td:nth-child(3)::before { content: "負担と挙げた人数："; }
  .tasks td:nth-child(4)::before { content: "1か月の目安："; }
  .tasks td:nth-child(5) { grid-column: 3; grid-row: 3 / span 2; align-self: center; }
}

/* 成果物のイメージ */
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sample { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.sample img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 12 / 5; object-fit: cover; object-position: top left; width: 100%; }
.sample .badge { align-self: flex-start; margin-top: 4px; }
.sample b { font-weight: 900; color: var(--navy); font-size: 16px; }
.sample p { font-size: 13.5px; color: var(--ink-sub); }

/* 費用の比較 */
.cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.cost-col { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; }
.cost-col.main { border: 2px solid var(--teal); box-shadow: 0 16px 40px rgba(15,157,143,.14); }
.cost-label { font-weight: 700; font-size: 14px; color: var(--ink-sub); }
.cost-num { font-weight: 900; font-size: 18px; color: var(--navy); margin: 6px 0 16px; }
.cost-num b { font-family: var(--font-num); font-weight: 600; font-size: 46px; margin: 0 4px; }
.cost-col.main .cost-num b { color: var(--teal-dark); }
.cost-num small { font-size: 12px; font-weight: 500; color: var(--ink-sub); }
.cost-col ul { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.cost-col li { font-size: 13.5px; color: var(--ink-sub); padding-left: 16px; position: relative; }
.cost-col li::before { content: "・"; position: absolute; left: 0; }

/* 流れ */
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 20px; background: #fff; border-radius: var(--radius); padding: 24px 28px; }
.step.main { border: 2px solid var(--teal); }
.step-no { font-family: var(--font-num); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--teal-dark); padding-top: 3px; }
.step h3 { font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--ink-sub); }
.agenda { margin-top: 14px; display: grid; gap: 10px; }
.agenda li { background: var(--sand); border-radius: 10px; padding: 12px 16px; }
.agenda b { display: block; font-size: 14.5px; color: var(--navy); }
.agenda span { font-size: 13px; color: var(--ink-sub); }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 4px; padding: 20px; } }

/* 品質と安全 */
.promise { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.promise li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 18px 20px 18px 48px; position: relative; font-size: 14.5px; line-height: 1.8; }
.promise li::before { content: "✓"; position: absolute; left: 18px; top: 17px; color: #5fe0d2; font-weight: 900; }

/* 料金 */
.price { background: #fff; border: 2px solid var(--teal); border-radius: 20px; padding: 32px 30px; }
.price-main { text-align: center; font-weight: 900; font-size: 20px; color: var(--navy); margin-bottom: 20px; }
.price-main b { font-family: var(--font-num); font-weight: 600; font-size: 54px; color: var(--teal-dark); margin: 0 4px; }
.price-main small { font-size: 13px; font-weight: 500; color: var(--ink-sub); }
.terms { border-top: 1px solid var(--line); }
.terms > div { display: grid; grid-template-columns: 9.5em minmax(0,1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; font-size: 14px; color: var(--navy); }
.terms dd { font-size: 14px; color: var(--ink-sub); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 20px; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: 14px; color: var(--ink-sub); padding-bottom: 18px; }
.faq a { color: var(--teal-dark); }

/* フォーム */
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 36px; max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border: 1px solid #cfd5df; border-radius: 10px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.form fieldset { border: 0; display: grid; gap: 8px; }
.form legend { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; }
.choices.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.form .choice { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--ink); }
.form .consent { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .consent a { color: var(--teal-dark); }
.form-extra { font-size: 12.5px; color: var(--ink-faint); }
.form .btn { justify-self: center; }
.form-status { color: #c0392b; font-size: 14px; text-align: center; }
.thanks { display: none; background: #fff; color: var(--ink); border-radius: 20px; padding: 40px; max-width: 820px; margin: 0 auto; text-align: center; }
.thanks.on { display: block; }
.thanks h3 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.operator { text-align: center; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 20px; }
@media (max-width: 640px) {
  .form { padding: 24px 18px; }
  .form-row, .choices, .choices.three { grid-template-columns: 1fr; }
}

/* フッター */
.footer { background: #071a33; color: rgba(255,255,255,.7); padding: 40px 0 28px; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.footer .logo-text { color: #fff; }
.footer .logo-text small { color: rgba(255,255,255,.55); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-note { font-size: 12px; color: rgba(255,255,255,.5); }

/* レスポンシブ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .samples { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 52px 0 60px; }
  .cost { grid-template-columns: 1fr; }
  .terms > div { grid-template-columns: 1fr; gap: 2px; }
  .price { padding: 26px 20px; }
  .price-main b { font-size: 44px; }
}

/* キャンペーン */
.campaign { background: var(--teal); color: #fff; padding: 22px 0; }
.campaign-inner { display: flex; align-items: center; gap: 24px; }
.campaign-label { font-family: var(--font-num); font-weight: 600; letter-spacing: .18em; font-size: 12px; background: rgba(0,0,0,.18); padding: 6px 12px; border-radius: 6px; white-space: nowrap; }
.campaign-inner > div { flex: 1; }
.campaign-title { font-weight: 900; font-size: 19px; line-height: 1.5; }
.campaign-title b { font-size: 26px; color: #fff3b0; margin-left: 2px; }
.campaign-text { font-size: 13px; color: rgba(255,255,255,.9); }
.campaign .btn-primary { background: #fff; color: var(--teal-dark); white-space: nowrap; }
.price-campaign { text-align: center; background: #fff7d6; color: #7a5a00; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 20px; }
@media (max-width: 768px) {
  .campaign-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .campaign-title { font-size: 17px; }
}

/* ヘッダー：スマホで詰まらないように */
.logo-mark { flex-shrink: 0; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .logo-text { font-size: 15px; }
  .logo-text small { display: none; }
  .nav .btn { padding: 9px 14px; font-size: 13px; }
}
.logo-mark { display: flex; align-items: center; justify-content: center; }
