/* ============================================================
   株式会社ききエンタープライズ コーポレートサイト
   素の HTML / CSS（ビルド工程なし）。色・余白はここで調整。
   事業：不動産の賃貸（自社物件）・管理のみ（売買/仲介/免許番号は不掲載）
   ============================================================ */

:root {
  --navy: #16294d;
  --navy-d: #0f1d38;
  --accent: #27457e;
  --ink: #1f2733;
  --muted: #5b6573;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --max: 1080px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; width: 100%; }

/* ===== ヘッダー ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 19px; color: var(--navy); letter-spacing: .02em; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 4px 0; transition: color .15s; }
.nav a:hover { color: var(--navy); }
.navtoggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.navtoggle span { width: 24px; height: 2px; background: var(--navy); display: block; }

/* ===== ヒーロー ===== */
.hero { background: linear-gradient(160deg, var(--navy), var(--navy-d)); color: #fff; position: relative; overflow: hidden; }
.hero-in { position: relative; z-index: 1; padding: 56px 24px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero-sub { font-size: 13px; letter-spacing: .3em; color: #9fb3d6; font-weight: 700; margin-bottom: 22px; }
.hero-title { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: clamp(28px, 5vw, 46px); line-height: 1.5; letter-spacing: .02em; margin-bottom: 26px; }
.hero-lead { font-size: 16px; line-height: 2; color: #dbe3f0; max-width: 620px; }
.hero-img img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); display: block; }

/* ===== セクション共通 ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.sec-en { font-size: 13px; letter-spacing: .28em; color: var(--accent); font-weight: 700; text-align: center; margin-bottom: 10px; }
.sec-title { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: clamp(24px, 4vw, 34px); color: var(--navy); text-align: center; margin-bottom: 48px; letter-spacing: .04em; }

/* ===== 事業内容（カード） ===== */
.cards { display: grid; gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 36px 32px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(22, 41, 77, .08); transform: translateY(-3px); }
.card h3 { font-family: "Noto Serif JP", serif; font-size: 21px; color: var(--navy); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); display: inline-block; }
.card p { font-size: 15px; color: var(--muted); }

/* ===== 事業内容（リード＋3特徴・1カラム）===== */
.svc-offer { text-align: center; }
.svc-offer-name { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 22px; color: var(--navy); display: inline-block; padding-bottom: 10px; margin-bottom: 20px; border-bottom: 2px solid var(--navy); letter-spacing: .04em; }
.svc-lead { max-width: 760px; margin: 0 auto 56px; font-size: 16px; line-height: 2.1; color: var(--muted); text-align: center; }
.svc-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.svc-feat { text-align: center; padding: 0 8px; }
.svc-ic { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; background: rgba(39, 69, 126, .07); display: flex; align-items: center; justify-content: center; }
.svc-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 1.5; }
.svc-feat h4 { font-family: "Noto Serif JP", serif; font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.svc-feat p { font-size: 14px; color: var(--muted); line-height: 1.9; }

/* ===== 物件管理 ===== */
.management { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.management .sec-en, .management .sec-title { text-align: left; }
.management .sec-title { margin-bottom: 24px; }
.management-tx p { font-size: 15.5px; color: var(--muted); line-height: 2; }
.management-imgs { display: grid; gap: 14px; }
.management-imgs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 24px rgba(22, 41, 77, .10); }
.tel-img { height: 20px; width: auto; display: block; margin-top: 3px; }

/* ===== 会社概要（テーブル） ===== */
.company-table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; border-top: 1px solid var(--line); }
.company-table th, .company-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.company-table th { width: 160px; background: #fff; color: var(--navy); font-weight: 700; text-align: center; }

/* ===== フッター ===== */
.footer { background: var(--navy-d); color: #cdd6e4; padding: 52px 0 36px; text-align: center; }
.footer-brand { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 12px; }
.footer-addr { font-size: 13px; margin-bottom: 6px; color: #9fb3d6; }
.footer-copy { font-size: 12px; color: #6b7d9e; margin-top: 22px; }

/* ===== お問い合わせフォーム ===== */
.container-narrow { max-width: 680px; }
/* honeypot：画面外へ追い出して非表示（display:none だと一部 bot が無視するため） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { text-align: left; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.field .req { font-size: 11px; color: #fff; background: var(--accent); padding: 2px 7px; border-radius: 4px; margin-left: 6px; font-weight: 700; vertical-align: 2px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; font-family: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(39, 69, 126, .12); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); margin: 8px 0 24px; }
.consent input { margin-top: 5px; flex: none; }
.consent a { color: var(--accent); text-decoration: underline; }
.submit { display: block; width: 100%; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; padding: 16px; border: 0; border-radius: 8px; cursor: pointer; transition: background .2s; }
.submit:hover { background: var(--accent); }

/* ===== 個人情報の取扱い（フォーム内・同意チェックの下） ===== */
.privacy-note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 24px; text-align: left; }
.privacy-note-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.privacy-note-body { font-size: 12.5px; color: var(--muted); line-height: 1.85; }

/* ============================================================
   1セクション1ページ（フルスクリーン）— PC のみ
   モバイルは縦に積む通常スクロール（フルスクリーン強制はしない）
   ============================================================ */
@media (min-width: 821px) {
  html { scroll-snap-type: y proximity; }
  .panel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-top: var(--header-h);   /* sticky ヘッダー分を確保 */
  }
  .panel.section { padding-top: calc(var(--header-h) + 24px); padding-bottom: 24px; }
}

/* ===== レスポンシブ（モバイル） ===== */
@media (max-width: 820px) {
  .navtoggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 6px 0; display: none;
  }
  body.navopen .nav { display: flex; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .cards-2 { grid-template-columns: 1fr; }
  .svc-feats { grid-template-columns: 1fr; gap: 40px; }
  .management { grid-template-columns: 1fr; }
  .management-img { min-height: 200px; }
  .company-table th { width: 104px; padding: 14px 12px; }
  .company-table td { padding: 14px 12px; }
  .hero-in { padding: 72px 24px 80px; grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
}
