@charset "utf-8";

/* ============================================
   建設業からはじめる不動産業
   kensetsu-gyo.com  /  style.css
   ※ リノジオnavi（renogeo-navi.com）のトーンに準拠
   ============================================ */

:root {
  --green:       #009360;   /* メインカラー */
  --green-dk:    #047E55;
  --lime:        #96BE43;   /* サブカラー（黄緑） */
  --lime-lt:     #ACDE80;
  --bg-lime:     #EAF3DB;   /* 淡い緑の背景 */
  --bg-lime-lt:  #F5F9ED;
  --bg-gray:     #F2F1F2;
  --bg-blue:     #E2F0FB;
  --orange:      #DB9022;   /* アクセント */
  --text:        #251E1C;
  --text-mute:   #666464;
  --line:        #DDDDDD;
  --bg:          #ffffff;

  --radius:    24px;
  --radius-sm: 16px;
  --maxw:      1156px;
  --font: 'M PLUS 1p', "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "Noto Sans JP", Meiryo, sans-serif;
  --font-en: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 2;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: var(--green); transition: .3s; }
p { transform: rotate(0.05deg); } /* Windows環境での描画補正（本家に準拠） */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 18px;
}
.container--narrow { max-width: 860px; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.logo { text-decoration: none; color: var(--text); line-height: 1.4; }
.logo__main {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
}
.logo__sub {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .14em;
}

.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: var(--green); }
.nav__cta {
  background: var(--green);
  color: #fff !important;
  padding: 11px 24px;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--green-dk);
}
.nav__cta:hover { background: var(--green-dk); box-shadow: 0 1px 0 var(--green-dk); transform: translateY(2px); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  background: none; border: 0; cursor: pointer;
  padding: 11px;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--green);
  margin: 5px 0; transition: .25s; border-radius: 2px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 18px 44px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: .3s;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 0 var(--green-dk);
}
.btn--primary:hover {
  background: var(--green-dk);
  box-shadow: 0 1px 0 var(--green-dk);
  transform: translateY(3px);
}
.btn--ghost {
  background: #fff;
  border-color: var(--green);
  color: var(--green);
}
.btn--ghost:hover { background: var(--bg-lime); }
.btn--block {
  display: block;
  width: 100%;
  font-size: 17px;
  padding: 20px;
  border: 0;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 100px;
  background: linear-gradient(180deg, var(--bg-lime-lt) 0%, var(--bg-lime) 100%);
}
/* 背景の丸いモチーフ（本家のふんわりした印象に寄せる） */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  right: -120px; top: -140px;
  background: rgba(172, 222, 128, .35);
}
.hero::after {
  width: 300px; height: 300px;
  left: -110px; bottom: -130px;
  background: rgba(0, 147, 96, .10);
}
.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 7px 20px;
  background: var(--green);
  color: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.hero__title {
  margin: 0 0 28px;
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--text);
}
.hero__title em {
  font-style: normal;
  color: var(--green);
  background: linear-gradient(transparent 62%, var(--lime-lt) 62%);
  padding: 0 4px;
}
.hero__lead {
  max-width: 740px;
  margin: 0 0 40px;
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--text-mute);
}
.hero__lead strong {
  color: var(--text);
  font-weight: 700;
  background: linear-gradient(transparent 64%, #fff 64%);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 36px 0 0; padding: 0; list-style: none;
}
.hero__badges li {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  background: #fff;
  border-radius: 100px;
  color: var(--green-dk);
}

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 76px 0; }
.section--gray { background: var(--bg-lime-lt); }
.section--dark { background: var(--green); color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__eyebrow { color: var(--lime-lt); }

.section__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--lime);
}
.section__title {
  margin: 0 0 30px;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.55;
  color: var(--text);
}
.section__lead { margin: 0 0 48px; font-size: 15.5px; color: var(--text-mute); }
.section--dark .section__lead { color: rgba(255,255,255,.86); }

/* ---------- 悩み ---------- */
.problems { margin: 0 0 36px; padding: 0; list-style: none; }
.problems li {
  position: relative;
  margin-bottom: 12px;
  padding: 18px 24px 18px 60px;
  background: var(--bg-lime-lt);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  line-height: 1.85;
}
.problems li::before {
  content: "✓";
  position: absolute; left: 22px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lime);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.problems__answer {
  margin: 0;
  padding: 30px 34px;
  background: var(--bg-lime);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dk);
  line-height: 2;
}

/* ---------- カード ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
}
.card__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  background: var(--bg-lime);
  color: var(--green);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
}
.card h3 {
  margin: 0 0 12px;
  font-size: 18.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.6;
}
.card p { margin: 0; font-size: 14px; line-height: 2; color: var(--text-mute); }

/* ---------- 開催概要テーブル ---------- */
.outline {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-bottom: 60px;
  font-size: 15px;
}
.outline th, .outline td {
  padding: 20px 26px;
  text-align: left;
  vertical-align: top;
  line-height: 1.85;
}
.outline th {
  width: 170px;
  background: var(--bg-lime);
  color: var(--green-dk);
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.outline td {
  background: var(--bg-lime-lt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note { display: inline-block; font-size: 13px; color: var(--text-mute); }

/* ---------- 当日の流れ ---------- */
.flow__title {
  margin: 0 0 24px;
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
}
.flow__list { margin: 0; padding: 0; list-style: none; }
.flow__list li {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 18px 0 18px 26px;
  font-size: 15px;
}
/* 縦のタイムライン */
.flow__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0; bottom: 0;
  width: 2px;
  background: var(--bg-lime);
}
.flow__list li:first-child::before { top: 28px; }
.flow__list li:last-child::before  { bottom: calc(100% - 28px); }
.flow__list li::after {
  content: "";
  position: absolute;
  left: 0; top: 24px;
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
}
.flow__time {
  flex: 0 0 62px;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--green);
}
.flow__body strong { color: var(--text); font-weight: 700; }

/* ---------- カリキュラム ---------- */
.curriculum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.curriculum__item {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 30px;
}
.curriculum__item h3 {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.55;
}
.curriculum__item h3 span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  background: var(--lime);
  color: #fff;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
}
.curriculum__item p { margin: 0; font-size: 14px; line-height: 2; color: var(--text-mute); }

/* ---------- その他のご相談（サブ扱い） ---------- */
.other-list { margin: 0 0 28px; padding: 0; list-style: none; }
.other-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.9;
}
.other-list li::before {
  content: "";
  position: absolute; left: 6px; top: 24px;
  width: 9px; height: 9px;
  background: var(--lime);
  border-radius: 50%;
}
.other-list strong { color: var(--text); font-weight: 700; }
.other-note {
  margin: 0;
  padding: 24px 28px;
  background: var(--bg-blue);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 2;
}

/* ---------- 参加者の声 ---------- */
.voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.voice {
  position: relative;
  margin: 0;
  padding: 34px 30px 28px;
  background: var(--bg-lime-lt);
  border-radius: var(--radius);
}
.voice::before {
  content: "“";
  position: absolute;
  top: 6px; left: 24px;
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 1;
  color: var(--lime-lt);
}
.voice blockquote {
  position: relative;
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 2.05;
}
.voice figcaption {
  font-size: 12.5px;
  color: var(--text-mute);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* ---------- FAQ ---------- */
.faq { margin: 0; }
.faq__item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  padding: 26px 30px;
}
.faq dt {
  position: relative;
  padding-left: 42px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.7;
}
.faq dt::before,
.faq dd::before {
  position: absolute;
  left: 0; top: 2px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
}
.faq dt::before {
  content: "Q";
  background: var(--green);
  color: #fff;
}
.faq dd {
  position: relative;
  margin: 14px 0 0;
  padding-left: 42px;
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 2;
}
.faq dd::before {
  content: "A";
  background: var(--bg-lime);
  color: var(--green);
}

/* ---------- フォーム ---------- */
.section--entry { background: var(--bg-lime); }

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px 44px;
}
.form__row { margin-bottom: 28px; border: 0; padding: 0; }
.form__row > label,
.form__row > legend {
  display: block;
  margin-bottom: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  padding: 0;
}
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border-radius: 100px;
  vertical-align: 2px;
  line-height: 1.5;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: .3s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 147, 96, .12);
}
.form textarea { resize: vertical; line-height: 1.9; }

.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label {
  padding: 11px 22px;
  background: var(--bg-lime-lt);
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: .3s;
}
.radios label:hover { background: var(--bg-lime); }
.radios label:has(input:checked) {
  background: var(--bg-lime);
  border-color: var(--green);
  color: var(--green-dk);
  font-weight: 700;
}
.radios input { margin-right: 8px; accent-color: var(--green); }

.form__hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.8;
}

.form__row--check label {
  font-size: 14.5px;
  font-weight: 400;
  cursor: pointer;
}
.form__row--check input { margin-right: 8px; accent-color: var(--green); }

/* ボット対策用の隠しフィールド（画面外へ退避） */
.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 2;
}

/* ---------- フッター ---------- */
.footer {
  background: var(--bg-lime-lt);
  color: var(--text-mute);
  padding: 64px 0 28px;
  font-size: 13.5px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  padding-bottom: 40px;
}
.footer__logo {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
}
.footer__addr { margin: 0; line-height: 2; }

.footer__company {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 22px;
  margin: 0;
  line-height: 1.9;
}
.footer__company dt { color: var(--green); font-weight: 700; white-space: nowrap; }
.footer__company dd { margin: 0; color: var(--text); }
.footer__company a { color: var(--text); text-decoration: none; }
.footer__company a:hover { color: var(--green); }

.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: var(--text-mute); text-decoration: none; }
.footer__nav a:hover { color: var(--green); }

.footer__copy {
  margin: 0;
  padding-top: 24px;
  text-align: center;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 500;
  color: #A6A6A6;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* ---------- 追従CTA（スマホ） ---------- */
.floating-cta { display: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    overflow: hidden;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 17px 26px; border-bottom: 1px solid var(--bg-lime); font-size: 15px; }
  .nav__cta { border-radius: 0; text-align: center; box-shadow: none; }
  .nav__cta:hover { transform: none; }
  .nav__toggle { display: block; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .hero { padding: 64px 0 68px; }
  .hero::before { width: 260px; height: 260px; right: -90px; top: -90px; }
  .hero::after { width: 200px; height: 200px; left: -80px; bottom: -80px; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section--tight { padding: 56px 0; }

  .outline { border-spacing: 0 12px; }
  .outline th, .outline td { display: block; width: auto; }
  .outline th {
    padding: 14px 22px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .outline td {
    padding: 16px 22px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .flow__list li { flex-direction: column; gap: 2px; }

  .form { padding: 32px 22px; }
  .problems li { padding: 16px 20px 16px 54px; }
  .problems__answer { padding: 24px 22px; font-size: 16px; }

  .footer { padding-bottom: 100px; }
  .footer__inner { flex-direction: column; gap: 32px; }

  .floating-cta {
    display: block;
    position: fixed;
    left: 14px; right: 14px; bottom: 14px;
    z-index: 90;
    padding: 17px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 5px 16px rgba(0, 147, 96, .35);
  }
}
