/* ============================================
   あおぞらカウンター（住宅会社紹介サービス）
   ご提案用デモサイト 共通スタイル
   ============================================ */

:root {
  --brand-sky: #2f8fd6;
  --brand-sky-dark: #1f6aa8;
  --brand-sky-light: #eaf4fc;
  --brand-orange: #f5943a;
  --brand-orange-dark: #e07a1e;
  --bg-cream: #f7f9fb;
  --bg-white: #ffffff;
  --text-main: #253238;
  --text-sub: #6d7c85;
  --border-soft: #e2e9ee;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- demo notice bar ---------- */
.demo-notice {
  background: #17324a;
  color: #d9ecfb;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: .02em;
}
.demo-notice strong { color: #ffb066; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  color: var(--brand-sky-dark);
  letter-spacing: .02em;
}
.logo .mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-sky), var(--brand-sky-dark));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo .mark svg { width: 19px; height: 19px; }
.logo span { font-size: 10.5px; display: block; font-weight: 400; color: var(--text-sub); letter-spacing: .1em; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  font-size: 14.5px;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--brand-sky); color: var(--brand-sky-dark); }
.nav-cta {
  background: var(--brand-orange);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 24px;
  font-weight: 700;
  font-size: 13.5px !important;
}
.nav-cta:hover { background: var(--brand-orange-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--brand-sky-dark); display: block; }

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
    border-top: 1px solid var(--border-soft);
    z-index: 50;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--border-soft); }
  .main-nav a.active { border-color: var(--border-soft); background: var(--brand-sky-light); }
  .nav-cta { text-align: center; margin: 12px 24px; display: block; }
  .nav-toggle { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,40,55,.15) 0%, rgba(15,35,50,.62) 100%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 44px;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  color: #fff; z-index: 2;
}
.hero-copy .tag {
  display: inline-block; background: rgba(255,255,255,.16); backdrop-filter: blur(2px);
  padding: 5px 14px; border-radius: 20px; font-size: 12.5px; letter-spacing: .05em; margin-bottom: 14px;
}
.hero-copy h1 { font-size: 36px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-copy .sub { font-size: 15px; color: #e4eef5; max-width: 560px; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 28px; font-weight: 700; font-size: 14.5px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--brand-orange); color: #fff; box-shadow: 0 10px 24px rgba(224,122,30,.35); }
.btn-primary:hover { background: var(--brand-orange-dark); transform: translateY(-1px); }
.btn-outline { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.22); }

@media (max-width: 700px) {
  .hero { height: 620px; }
  .hero-copy h1 { font-size: 26px; }
}

/* ---------- stat bar ---------- */
.stat-bar {
  background: var(--brand-sky-dark);
  color: #fff;
}
.stat-bar .wrap { display: flex; justify-content: space-around; flex-wrap: wrap; padding: 26px 24px; gap: 16px; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 30px; font-weight: 700; color: #ffd9a8; }
.stat-item .num small { font-size: 15px; margin-left: 2px; font-weight: 400; }
.stat-item .label { font-size: 12.5px; color: #cfe6f7; margin-top: 4px; letter-spacing: .03em; }

/* ---------- section headers ---------- */
.section-title { text-align: center; margin-bottom: 44px; }
.section-title .en { font-size: 12.5px; color: var(--brand-sky); letter-spacing: .18em; font-weight: 700; margin-bottom: 8px; }
.section-title h2 { font-size: 27px; font-weight: 700; }
.section-title p { color: var(--text-sub); font-size: 14.5px; margin-top: 10px; }

.section-title-inline { margin-bottom: 24px; }
.section-title-inline h3 { font-size: 22px; font-weight: 700; }
.section-title-inline p { font-size: 11.5px; color: var(--brand-sky); letter-spacing: .14em; font-weight: 700; margin-top: 4px; }

.block { padding: 76px 0; }
.block.alt { background: var(--bg-cream); }
.lead-text { color: var(--text-sub); font-size: 15px; max-width: 680px; margin: 0 auto 36px; text-align: center; }

/* ---------- icon feature cards ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.feature-card {
  background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 14px;
  padding: 30px 22px; text-align: center; box-shadow: 0 4px 18px rgba(31,106,168,.05);
}
.feature-card .icon {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--brand-sky-light); display: flex; align-items: center; justify-content: center;
}
.feature-card .icon svg { width: 30px; height: 30px; stroke: var(--brand-sky-dark); }
.feature-card .name { font-weight: 700; font-size: 15.5px; margin-bottom: 8px; }
.feature-card .desc { font-size: 13px; color: var(--text-sub); line-height: 1.75; }

@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- flow steps ---------- */
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-step { text-align: center; padding: 0 16px; position: relative; }
.flow-step .num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--brand-sky);
  color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; position: relative; z-index: 2; box-shadow: 0 0 0 6px #fff;
}
.flow-step .icon { width: 46px; height: 46px; margin: 0 auto 14px; }
.flow-step .icon svg { width: 100%; height: 100%; stroke: var(--brand-sky-dark); }
.flow-step .name { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.flow-step .desc { font-size: 12.5px; color: var(--text-sub); }
.flow-list::before {
  content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--border-soft); z-index: 1;
}
@media (max-width: 800px) {
  .flow-list { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .flow-list::before { display: none; }
}

/* ---------- card grid (service) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-card {
  display: block; border-radius: 14px; overflow: hidden; background: var(--bg-white);
  border: 1px solid var(--border-soft); box-shadow: 0 4px 18px rgba(31,106,168,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,106,168,.12); }
.info-card .thumb { height: 180px; overflow: hidden; }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.info-card .body { padding: 20px 22px 24px; }
.info-card .tag-sm { display: inline-block; background: var(--brand-sky-light); color: var(--brand-sky-dark); font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.info-card .name { font-weight: 700; font-size: 16.5px; margin-bottom: 8px; }
.info-card .desc { font-size: 13.3px; color: var(--text-sub); }

@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- case grid ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case-card { background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(31,106,168,.05); }
.case-card .thumb { height: 240px; overflow: hidden; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-card .body { padding: 24px 26px; }
.case-card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.case-card .meta span { font-size: 11px; background: var(--bg-cream); color: var(--text-sub); padding: 4px 10px; border-radius: 10px; }
.case-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.case-card p { font-size: 13.3px; color: var(--text-sub); }
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- voice cards ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice-card { background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 14px; padding: 26px 24px; }
.voice-card .stars { color: var(--brand-orange); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.voice-card .quote { font-size: 13.6px; color: var(--text-main); line-height: 1.85; margin-bottom: 18px; }
.voice-card .who { display: flex; align-items: center; gap: 12px; }
.voice-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.voice-card .who .name { font-size: 13px; font-weight: 700; }
.voice-card .who .area { font-size: 11.5px; color: var(--text-sub); }
@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; } }

/* ---------- promise (6 points) ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.promise-card { text-align: center; padding: 10px 12px; }
.promise-card .num-badge {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand-orange); color: #fff;
  font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.promise-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; }
.promise-card p { font-size: 13px; color: var(--text-sub); }
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-sky-dark), var(--brand-sky));
  color: #fff; text-align: center; padding: 66px 24px;
}
.cta-band h2 { font-size: 25px; font-weight: 700; margin-bottom: 12px; }
.cta-band p { font-size: 14px; color: #dceefb; margin-bottom: 30px; }
.cta-band .hero-btns { justify-content: center; }

/* ---------- page banner (inner pages) ---------- */
.page-banner {
  background: var(--brand-sky-light); text-align: center; padding: 54px 24px 46px; position: relative;
}
.page-banner .en { font-size: 12px; color: var(--brand-sky); letter-spacing: .18em; font-weight: 700; margin-bottom: 10px; }
.page-banner h1 { font-size: 27px; font-weight: 700; }
.breadcrumb { font-size: 12px; color: var(--text-sub); margin-top: 14px; }
.breadcrumb a { color: var(--brand-sky-dark); }

/* ---------- form ---------- */
.form-wrap { max-width: 640px; margin: 0 auto; background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 16px; padding: 40px; box-shadow: 0 6px 26px rgba(31,106,168,.06); }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.form-row label .req { color: var(--brand-orange); font-size: 11px; margin-left: 6px; font-weight: 700; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row select, .form-row textarea {
  width: 100%; border: 1.5px solid var(--border-soft); border-radius: 8px; padding: 12px 14px;
  font-size: 14px; font-family: inherit; color: var(--text-main); background: var(--bg-cream);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.checkbox-group label { display: flex; align-items: center; gap: 7px; font-weight: 400; font-size: 13.5px; }
.checkbox-group input { width: 16px; height: 16px; }
.form-submit {
  width: 100%; background: var(--brand-orange); color: #fff; border: none; border-radius: 28px;
  padding: 15px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 6px;
}
.form-submit:hover { background: var(--brand-orange-dark); }
.form-note { font-size: 11.5px; color: var(--text-sub); text-align: center; margin-top: 14px; }

.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; align-items: center; }
.contact-info-grid img { border-radius: 14px; height: 280px; width: 100%; object-fit: cover; }
.contact-info-box .tel { font-size: 26px; font-weight: 700; color: var(--brand-sky-dark); margin: 10px 0; }
.contact-info-box .hours { font-size: 13px; color: var(--text-sub); margin-bottom: 18px; }
@media (max-width: 800px) { .contact-info-grid { grid-template-columns: 1fr; } .contact-info-grid img { height: 200px; } }

/* ---------- footer ---------- */
.site-footer { background: #172a36; color: #b9c9d2; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-logo { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.footer-grid .desc { font-size: 12.5px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 13.5px; margin-bottom: 16px; }
.footer-col a, .footer-col li { display: block; font-size: 12.5px; margin-bottom: 10px; color: #b9c9d2; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; text-align: center; font-size: 11.5px; color: #7f92a0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- misc ---------- */
.tokushu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.tokushu-item { display: flex; gap: 16px; padding: 20px; background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 12px; }
.tokushu-item .n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-sky-light); color: var(--brand-sky-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tokushu-item h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.tokushu-item p { font-size: 12.8px; color: var(--text-sub); }
@media (max-width: 700px) { .tokushu-grid { grid-template-columns: 1fr; } }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 20px 4px; }
.faq-item .q { font-weight: 700; font-size: 14.5px; display: flex; gap: 12px; }
.faq-item .q .qm { color: var(--brand-orange); }
.faq-item .a { font-size: 13.5px; color: var(--text-sub); margin-top: 10px; padding-left: 26px; }

.area-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.area-tags span { font-size: 12.5px; background: var(--bg-white); border: 1px solid var(--border-soft); padding: 7px 16px; border-radius: 18px; color: var(--text-sub); }
