/* ==========================================================
   朝日地所 — 共通スタイル
   ========================================================== */
:root {
  /* ロゴの青 (#0c77e8) を基準にしたパレット */
  --navy: #0b2545;
  --navy-2: #133a6b;
  --brand-logo: #0c77e8;
  --brand: #0b6bd3;      /* ボタン・価格など。白文字とのコントラスト 5:1 以上 */
  --brand-2: #8ec0f4;    /* 濃色背景上のアクセント (ロゴの淡い青) */
  --brand-ink: #0a5bb5;  /* 淡色背景上の文字 */
  --brand-soft: #e7f1fd;
  --alert: #d6453d;      /* 臨時休業・必須など */
  --alert-soft: #fdecea;
  --cream: #f5f8fc;
  --paper: #ffffff;
  --ink: #16202e;
  --muted: #5a6678;
  --line: #dde5ef;
  --green: #2f9e6a;
  --green-soft: #e3f5ec;
  --amber: #c98a12;
  --amber-soft: #fbf1db;
  --grey-soft: #eef0f3;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .25);
  --shadow-sm: 0 2px 10px -4px rgba(11, 37, 69, .18);
  --header-h: 72px;
  --max: 1200px;

  --ff: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Sans', sans-serif;
  --ff-head: 'Shippori Mincho', 'Noto Serif JP', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--brand-logo); outline-offset: 2px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: #fff; /* 白背景のロゴGIFと揃えるため不透明 */
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { height: 46px; width: auto; }
@media (max-width: 520px) { .brand__logo { height: 36px; } }
/* GIFの白背景を活かし、濃色フッターでは白いプレートに載せる */
.brand--footer { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 10px; }
.brand--footer .brand__logo { height: 42px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .nav__tel {
  margin-left: 8px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; gap: 6px;
}
.nav .nav__tel:hover { background: var(--navy-2); color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s;
}
.nav-toggle::before { top: 15px; } .nav-toggle span { top: 21px; } .nav-toggle::after { top: 27px; }
.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s; box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .25s ease, opacity .25s ease; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .nav__tel { margin: 12px 0 0; justify-content: center; border-radius: 999px; border: 0; }
}

/* ---------- Notice bar ---------- */
.notice { background: var(--navy); color: #fff; font-size: .85rem; }
.notice .container { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.notice .open-status { font-size: .82rem; }
.notice__link { margin-left: auto; color: var(--brand-2); text-decoration: none; font-weight: 700; white-space: nowrap; font-size: .8rem; }
.notice__link:hover { text-decoration: underline; }
@media (max-width: 520px) { .notice .open-status { font-size: .74rem; } .notice__link { display: none; } }
.notice__tag { background: var(--brand); padding: 1px 10px; border-radius: 999px; font-weight: 700; font-size: .75rem; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px var(--brand); }
.btn--primary:hover { background: var(--brand-ink); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(142, 192, 244, .35), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(12, 119, 232, .45), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--brand) 140%);
}
.hero__inner { padding: 96px 0 120px; max-width: 720px; }
.hero__eyebrow { letter-spacing: .3em; font-size: .8rem; color: var(--brand-2); font-weight: 700; }
.hero h1 { font-family: var(--ff-head); font-size: clamp(2rem, 5vw, 3.4rem); margin: 12px 0 16px; letter-spacing: .04em; }
.hero p { font-size: 1.05rem; opacity: .92; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 40px; }
.hero__stat b { display: block; font-family: var(--ff-head); font-size: 2rem; color: #fff; }
.hero__stat span { font-size: .8rem; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--white { background: var(--paper); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section__eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .25em; font-size: .75rem; }
.section__title { font-family: var(--ff-head); font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 4px 0 0; }
.section__lead { color: var(--muted); margin: 8px 0 0; max-width: 640px; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: end; padding: 28px; isolation: isolate;
  box-shadow: var(--shadow);
}
.cat { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--brand) 130%); }
.cat__art {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%); z-index: -1;
  font-family: Arial, Helvetica, sans-serif; font-weight: 900; font-size: 160px; line-height: 1; color: rgba(255,255,255,.12);
  transition: transform .5s, color .5s;
}
.cat:hover .cat__art { transform: translateY(-50%) scale(1.08); color: rgba(255,255,255,.2); }
.cat__label { font-size: .75rem; letter-spacing: .25em; color: var(--brand-2); font-weight: 700; }
.cat h3 { font-family: var(--ff-head); font-size: 1.8rem; margin: 4px 0; }
.cat p { margin: 0; opacity: .85; font-size: .9rem; }
.cat__count { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 4px 12px; border-radius: 999px; font-size: .8rem; }
@media (max-width: 640px) { .cats { grid-template-columns: 1fr; } }

/* ---------- Property cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--grey-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .status { position: absolute; top: 12px; left: 12px; }
.card__kind { position: absolute; top: 12px; right: 12px; background: rgba(11, 37, 69,.85); color: #fff; font-size: .72rem; padding: 3px 10px; border-radius: 999px; }
.card__photos { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 6px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-weight: 700; font-size: 1.05rem; margin: 0; }
.card__addr { color: var(--muted); font-size: .82rem; margin: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-size: .75rem; background: var(--grey-soft); color: var(--navy); padding: 2px 10px; border-radius: 999px; }
.card__price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.price { font-family: var(--ff-head); font-weight: 800; color: var(--brand); font-size: 1.5rem; }
.price small { font-size: .8rem; color: var(--muted); font-family: var(--ff); font-weight: 400; }

/* parking card without photo */
.card--parking .card__media { aspect-ratio: 3 / 1.6; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--available { background: var(--green-soft); color: var(--green); }
.status--contact { background: var(--amber-soft); color: var(--amber); }
.status--full { background: var(--grey-soft); color: var(--muted); }

/* ---------- Filters (list pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 48px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, var(--brand-2), var(--brand) 60%, transparent 61%); opacity: .25; }
.page-hero h1 { font-family: var(--ff-head); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0; }
.page-hero p { margin: 0; opacity: .8; }
.breadcrumbs { font-size: .8rem; opacity: .75; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs--dark { color: var(--muted); opacity: 1; margin-bottom: 16px; }

.filters {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end;
  margin-top: -28px; position: relative; z-index: 2; margin-bottom: 28px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: .75rem; color: var(--muted); font-weight: 700; }
.field select, .field input {
  appearance: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; font-size: .9rem; background: #fff;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: .9rem; gap: 12px; flex-wrap: wrap; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line); }

/* ---------- Company / contact blocks ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow-sm); }
.dl { display: grid; grid-template-columns: 140px 1fr; margin: 0; }
.dl dt, .dl dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.dl dt { color: var(--muted); font-size: .85rem; font-weight: 700; }
.dl dd { font-size: .95rem; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; } .dl dt { border: 0; padding-bottom: 0; } .dl dd { padding-top: 2px; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 22px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline b { font-family: var(--ff-head); color: var(--navy); display: block; }
.timeline span { color: var(--muted); font-size: .92rem; }

.cta {
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius);
  padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.cta::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: var(--brand); opacity: .35; filter: blur(10px); }
.cta h2 { font-family: var(--ff-head); margin: 0 0 4px; }
.cta p { margin: 0; opacity: .85; }
.cta__tel { font-family: var(--ff-head); font-size: 2rem; font-weight: 800; color: #fff; text-decoration: none; display: block; position: relative; z-index: 1; }
.cta__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; position: relative; z-index: 1; }
.cta__actions small { opacity: .75; }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; padding: 28px; } .cta__actions { align-items: flex-start; } }

/* お問い合わせ方法 */
.contact-property { background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 20px; }
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .methods { grid-template-columns: minmax(0, 1fr); } }
.method { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.method h2 { font-size: 1rem; margin: 0; color: var(--muted); }
.method small { color: var(--muted); font-size: .8rem; }
.method .btn { margin-top: auto; }
.method__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; }
.method__main { font-family: var(--ff-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); text-decoration: none; line-height: 1.3; word-break: break-all; }
.method__main--sm { font-family: var(--ff); font-size: 1rem; font-weight: 700; }
a.method__main:hover { color: var(--brand); }
.mail-row { display: grid; gap: 2px; width: 100%; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mail-row__label { font-size: .75rem; font-weight: 700; color: var(--brand-ink); }
.mail-row__addr { font-weight: 700; font-size: 1.15rem; color: var(--navy); word-break: break-all; }
.mail-row__addr:hover { color: var(--brand); }
.method--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.method--dark h2, .method--dark small { color: #cfd6e3; }
.method--dark .method__icon { background: rgba(255,255,255,.12); color: #fff; }
.method--dark .method__main { color: #fff; font-size: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfd6e3; padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .9rem; margin-top: 16px; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .78rem; color: #8b97ad; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky contact bar */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 10px; font-size: .9rem; }
  body.has-mobile-bar { padding-bottom: 72px; }
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.grid > .empty { grid-column: 1 / -1; }
/* JavaScript 実行前に表示される物件リスト (検索エンジン向け) */
.static-list { grid-column: 1 / -1; margin: 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; font-size: .9rem; }
