/* ============================================================
   AKICHI Theme v2.0 - main.css
   カラーパレット:
     ネイビー:    #0f2d52
     ブルー:      #1a6fc4
     ライトブルー:#e8f0fa
     ホワイト:    #ffffff
     グレー:      #f7f8fa
     テキスト:    #1a1e2e
     ミュート:    #6b7280
     ボーダー:    #dde3ed
     グリーン:    #16a34a  (成功・承認)
     レッド:      #dc2626  (エラー)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: #ffffff;
  color: #1a1e2e;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

:root {
  --navy:      #0f2d52;
  --blue:      #1a6fc4;
  --blue-dark: #155fa0;
  --blue-light:#e8f0fa;
  --white:     #ffffff;
  --gray:      #f7f8fa;
  --gray2:     #eef0f5;
  --text:      #1a1e2e;
  --muted:     #6b7280;
  --border:    #dde3ed;
  --green:     #16a34a;
  --red:       #dc2626;
  --header-h:  60px;
}

/* ---- ヘッダー ---- */
.akichi-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .3s;
}
.akichi-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.akichi-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.akichi-header__logo {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: .06em;
  font-weight: 400;
}
.akichi-header__logo span { color: var(--blue); }
.akichi-header__nav { display: flex; align-items: center; gap: 4px; }
.akichi-header__nav-link {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 4px;
  transition: all .15s;
  font-weight: 500;
}
.akichi-header__nav-link:hover { color: var(--blue); background: var(--blue-light); }
.akichi-header__nav-link--accent { color: var(--blue); font-weight: 700; }
.akichi-header__btn {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background .15s;
  margin-left: 8px;
}
.akichi-header__btn:hover { background: var(--blue-dark); }

.akichi-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.akichi-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); transition: all .3s; }
.akichi-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.akichi-hamburger.is-open span:nth-child(2) { opacity: 0; }
.akichi-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- ページラップ ---- */
.akichi-page-wrap { padding-top: var(--header-h); }

/* ---- コンテナ ---- */
.akichi-container       { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.akichi-container--wide { max-width: 1240px; }
.akichi-container--narrow { max-width: 680px; }
.akichi-container--center { text-align: center; }

/* ---- セクション ---- */
.akichi-section { padding: 80px 24px; }
.akichi-section--navy  { background: var(--navy); color: var(--white); }
.akichi-section--blue  { background: var(--blue); color: var(--white); }
.akichi-section--light { background: var(--gray); }
.akichi-section--white { background: var(--white); }
.akichi-section--center { text-align: center; }

.akichi-label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.akichi-section--navy  .akichi-label-tag,
.akichi-section--blue  .akichi-label-tag { background: rgba(255,255,255,.15); color: #fff; }

.akichi-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
}
.akichi-section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 48px;
}
.akichi-section--navy .akichi-section-desc,
.akichi-section--blue .akichi-section-desc { color: rgba(255,255,255,.75); }

/* ---- ヒーロー ---- */
.akichi-hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 24px 80px;
  position: relative;
  overflow: hidden;
}
.akichi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,111,196,.3) 0%, transparent 60%);
  pointer-events: none;
}
.akichi-hero--sub { padding: 64px 24px; }
.akichi-hero__inner { max-width: 1040px; margin: 0 auto; position: relative; }
.akichi-hero__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(26,111,196,.2);
  border: 1px solid rgba(26,111,196,.4);
  padding: 4px 14px;
  margin-bottom: 24px;
}
.akichi-hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 20px;
}
.akichi-hero__em { color: var(--blue); font-style: normal; }
.akichi-hero__desc {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  max-width: 540px;
  margin-bottom: 40px;
}
.akichi-hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.akichi-hero__stat { border-left: 3px solid var(--blue); padding-left: 16px; }
.akichi-hero__stat-num { font-family: 'DM Serif Display', serif; font-size: 36px; color: var(--white); display: block; }
.akichi-hero__stat-label { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }
.akichi-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- ボタン ---- */
.akichi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  transition: all .15s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: .02em;
}
.akichi-btn--primary   { background: var(--blue); color: var(--white); }
.akichi-btn--primary:hover { background: var(--blue-dark); }
.akichi-btn--navy      { background: var(--navy); color: var(--white); }
.akichi-btn--navy:hover { background: #0a1f3a; }
.akichi-btn--outline   { border: 2px solid var(--border); color: var(--text); background: transparent; }
.akichi-btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.akichi-btn--outline-white { border: 2px solid rgba(255,255,255,.5); color: var(--white); background: transparent; }
.akichi-btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.akichi-btn--ghost     { background: transparent; color: var(--text); }
.akichi-btn--ghost:hover { background: var(--gray); }
.akichi-btn--danger    { background: var(--red); color: var(--white); }
.akichi-btn--danger:hover { background: #b91c1c; }
.akichi-btn--success   { background: var(--green); color: var(--white); }
.akichi-btn--full      { width: 100%; }
.akichi-btn--lg        { padding: 16px 40px; font-size: 15px; }
.akichi-btn--sm        { padding: 6px 16px; font-size: 12px; }
.akichi-btn:disabled   { opacity: .5; cursor: not-allowed; }

/* ---- カード系 ---- */
.akichi-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.akichi-card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.akichi-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.akichi-feature-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); border-color: var(--blue); }
.akichi-feature-card__head { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.akichi-feature-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.akichi-feature-card--navy { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.akichi-feature-card--navy:hover { border-color: var(--blue); }
.akichi-feature-card--navy .akichi-feature-card__head { color: var(--white); }
.akichi-feature-card--navy p { color: rgba(255,255,255,.65); }

/* ---- 料金カード ---- */
.akichi-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.akichi-plan-card {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  background: var(--white);
  position: relative;
}
.akichi-plan-card--featured {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(26,111,196,.15);
}
.akichi-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.akichi-plan-name  { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.akichi-plan-price { font-family: 'DM Serif Display', serif; font-size: 48px; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.akichi-plan-price span { font-size: 18px; font-weight: 400; }
.akichi-plan-period { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.akichi-plan-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.akichi-plan-features li { font-size: 13px; color: var(--text); padding-left: 20px; position: relative; line-height: 1.6; }
.akichi-plan-features li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.akichi-plan-note  { font-size: 11px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---- ユーザー種別カード ---- */
.akichi-user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.akichi-user-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  background: var(--white);
  transition: box-shadow .2s, border-color .2s;
}
.akichi-user-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(26,111,196,.1); }
.akichi-user-card__title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.akichi-user-card__desc  { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.akichi-user-card__link  { font-size: 13px; color: var(--blue); font-weight: 700; }
.akichi-user-card__link:hover { text-decoration: underline; }

/* ---- フロー ---- */
.akichi-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.akichi-flow::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}
.akichi-flow__step { text-align: center; padding: 0 16px; position: relative; }
.akichi-flow__num {
  width: 48px; height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  margin: 0 auto 16px;
  position: relative; z-index: 1;
}
.akichi-flow__title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.akichi-flow__desc  { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ---- 事例カード ---- */
.akichi-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.akichi-case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.akichi-case-card__img {
  height: 160px;
  background: var(--gray2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
}
.akichi-case-card__img img { width: 100%; height: 100%; object-fit: cover; }
.akichi-case-card__body { padding: 16px; }
.akichi-case-card__tag  { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin-bottom: 6px; }
.akichi-case-card__title { font-size: 14px; font-weight: 700; color: var(--navy); }
.akichi-case-card__badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  background: var(--green);
  color: var(--white);
  border-radius: 2px;
  margin-top: 8px;
}

/* ---- CTA バナー ---- */
.akichi-cta-banner {
  background: var(--blue);
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}
.akichi-cta-banner h2 { font-family: 'DM Serif Display', serif; font-size: 32px; font-weight: 400; margin-bottom: 12px; }
.akichi-cta-banner p  { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.akichi-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- FAQ ---- */
.akichi-faq { margin-top: 40px; }
.akichi-faq__item { border-bottom: 1px solid var(--border); }
.akichi-faq__item:first-child { border-top: 1px solid var(--border); }
.akichi-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  gap: 16px;
  cursor: pointer;
  background: none; border: none;
}
.akichi-faq__icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .3s; }
.akichi-faq__q[aria-expanded="true"] .akichi-faq__icon { transform: rotate(45deg); }
.akichi-faq__a { padding: 0 0 18px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---- ダッシュボード ---- */
.akichi-dashboard { padding: 8px 0; }
.akichi-dashboard__header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.akichi-dashboard__title { font-family: 'DM Serif Display', serif; font-size: 30px; font-weight: 400; color: var(--navy); }
.akichi-dashboard__sub   { font-size: 13px; color: var(--muted); margin-top: 4px; }
.akichi-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 40px; }
.akichi-kpi-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.akichi-kpi-card__label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.akichi-kpi-card__num   { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--navy); }
.akichi-kpi-card--blue  { background: var(--blue); border-color: var(--blue); }
.akichi-kpi-card--blue .akichi-kpi-card__label { color: rgba(255,255,255,.7); }
.akichi-kpi-card--blue .akichi-kpi-card__num   { color: var(--white); }

/* ---- セクション内（ダッシュボード） ---- */
.akichi-section__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 20px; }
.akichi-section__title { font-size: 15px; font-weight: 700; color: var(--navy); }
.akichi-link { font-size: 13px; color: var(--blue); font-weight: 700; }
.akichi-link:hover { text-decoration: underline; }

/* ---- 物件行 ---- */
.akichi-prop-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.akichi-prop-row { display: flex; align-items: center; gap: 16px; background: var(--white); padding: 16px; flex-wrap: wrap; }
.akichi-prop-row:hover { background: var(--gray); }
.akichi-prop-row__thumb { width: 64px; height: 64px; background: var(--gray2); flex-shrink: 0; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.akichi-prop-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.akichi-prop-row__info { flex: 1; min-width: 0; }
.akichi-prop-row__type  { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.akichi-prop-row__title { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.akichi-prop-row__meta  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.akichi-prop-row__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

/* ---- ステータスバッジ ---- */
.akichi-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.akichi-status--publish { background: #dcfce7; color: #166534; }
.akichi-status--pending { background: #fef9c3; color: #854d0e; }
.akichi-status--private { background: var(--gray2); color: var(--muted); }
.akichi-status--draft   { background: var(--gray2); color: var(--muted); }
.akichi-status--open    { background: #dbeafe; color: #1e40af; }
.akichi-status--closed  { background: var(--gray2); color: var(--muted); }

/* ---- 問い合わせ行 ---- */
.akichi-inq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.akichi-inq-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); padding: 16px 20px; transition: background .15s; text-decoration: none; color: inherit; }
.akichi-inq-row:hover { background: var(--gray); }
.akichi-inq-row__prop  { font-size: 14px; font-weight: 700; color: var(--navy); }
.akichi-inq-row__from  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.akichi-inq-row__date  { font-size: 11px; color: var(--muted); }

/* ---- フォーム ---- */
.akichi-form-wrap { max-width: 480px; margin: 0 auto; }
.akichi-form-wrap--wide { max-width: 760px; }
.akichi-form-header { margin-bottom: 32px; }
.akichi-form-title { font-family: 'DM Serif Display', serif; font-size: 30px; font-weight: 400; color: var(--navy); margin-bottom: 8px; }
.akichi-form-desc  { font-size: 13px; color: var(--muted); line-height: 1.8; }
.akichi-form { display: flex; flex-direction: column; gap: 20px; }
.akichi-form-group { display: flex; flex-direction: column; gap: 6px; }
.akichi-form-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.akichi-form-section { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 8px; }
.akichi-form-section-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.akichi-label    { font-size: 12px; font-weight: 700; color: var(--text); }
.akichi-required { color: var(--red); margin-left: 2px; }
.akichi-input {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.akichi-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,196,.12); }
.akichi-textarea { min-height: 160px; resize: vertical; }
.akichi-form-footer { font-size: 13px; color: var(--muted); text-align: center; margin-top: 16px; }
.akichi-form-footer a { color: var(--blue); font-weight: 700; }
.akichi-form-note { font-size: 11px; color: var(--muted); }

/* ユーザー種別選択 */
.akichi-role-select { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.akichi-role-option input { display: none; }
.akichi-role-card { display: block; border: 1.5px solid var(--border); border-radius: 6px; padding: 14px 12px; text-align: center; cursor: pointer; transition: all .15s; }
.akichi-role-card:hover { border-color: var(--blue); }
.akichi-role-card strong { display: block; font-size: 13px; margin-bottom: 4px; color: var(--navy); }
.akichi-role-card small  { font-size: 11px; color: var(--muted); }
.akichi-role-option input:checked + .akichi-role-card { border-color: var(--blue); background: var(--blue-light); }
.akichi-role-option input:checked + .akichi-role-card strong { color: var(--blue); }

/* チェックボックス */
.akichi-checkbox-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.akichi-checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; border: 1.5px solid var(--border); border-radius: 6px; padding: 7px 14px; transition: all .15s; }
.akichi-checkbox-label:hover { border-color: var(--blue); }

/* 画像アップロード */
.akichi-image-upload { display: flex; flex-direction: column; gap: 12px; }
.akichi-image-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.akichi-img-thumb-wrap { position: relative; }
.akichi-img-thumb { width: 80px; height: 80px; object-fit: cover; border: 1px solid var(--border); border-radius: 4px; }
.akichi-img-remove { position: absolute; top: -6px; right: -6px; background: var(--red); color: var(--white); width: 20px; height: 20px; font-size: 11px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; border-radius: 50%; }

/* メッセージ */
.akichi-form-message { font-size: 13px; padding: 10px 14px; border-radius: 6px; }
.akichi-msg--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.akichi-msg--success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.akichi-msg-box--success { background: var(--green); color: var(--white); padding: 20px 24px; border-radius: 8px; }

/* ---- 申請中ボックス ---- */
.akichi-pending-box { text-align: center; padding: 48px 24px; border: 2px solid var(--green); background: #f0fdf4; border-radius: 12px; }
.akichi-pending-box__icon { width: 56px; height: 56px; background: var(--green); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 16px; }
.akichi-pending-box__title { font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 400; margin-bottom: 12px; color: var(--navy); }
.akichi-pending-box__desc  { font-size: 14px; color: var(--muted); line-height: 1.9; }

/* ---- 物件詳細 ---- */
.akichi-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.akichi-breadcrumb a { color: var(--blue); }
.akichi-prop-gallery__main { background: var(--gray2); max-height: 480px; overflow: hidden; border-radius: 8px; }
.akichi-prop-gallery__main img { width: 100%; height: 100%; object-fit: cover; max-height: 480px; }
.akichi-prop-gallery__no-image { height: 280px; display: flex; align-items: center; justify-content: center; background: var(--gray2); font-size: 14px; color: var(--muted); border-radius: 8px; }
.akichi-prop-gallery__thumbs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.akichi-prop-gallery__thumb { width: 80px; height: 60px; object-fit: cover; cursor: pointer; opacity: .65; border: 2px solid transparent; border-radius: 4px; transition: all .15s; }
.akichi-prop-gallery__thumb.is-active,.akichi-prop-gallery__thumb:hover { opacity: 1; border-color: var(--blue); }

.akichi-prop-detail__body { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0 80px; align-items: start; }
.akichi-prop-detail__meta { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.akichi-prop-detail__title { font-family: 'DM Serif Display', serif; font-size: 30px; font-weight: 400; color: var(--navy); margin-bottom: 24px; }
.akichi-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 32px; }
.akichi-spec-item { background: var(--gray); border-radius: 8px; padding: 16px; }
.akichi-spec-item__label { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.akichi-spec-item__val   { font-size: 18px; font-weight: 700; color: var(--navy); }
.akichi-prop-detail__section { margin-bottom: 28px; }
.akichi-prop-detail__section-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.akichi-prop-detail__desc { font-size: 14px; line-height: 1.9; }
.akichi-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.akichi-tag-chip { font-size: 12px; border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; background: var(--gray); color: var(--text); }
.akichi-login-gate { background: var(--blue-light); border: 1px solid rgba(26,111,196,.2); border-radius: 8px; padding: 16px 20px; font-size: 13px; color: var(--navy); }
.akichi-login-gate a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.akichi-prop-sidebar-box { background: var(--navy); color: var(--white); padding: 28px; border-radius: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.akichi-prop-sidebar-box__title { font-family: 'DM Serif Display', serif; font-size: 18px; font-weight: 400; margin-bottom: 6px; }
.akichi-prop-sidebar-box__price { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--white); margin-bottom: 20px; }

/* ---- スレッド ---- */
.akichi-thread-wrap { max-width: 760px; margin: 0 auto; }
.akichi-thread-header { margin-bottom: 24px; }
.akichi-thread-title { font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 400; color: var(--navy); margin: 8px 0 12px; }
.akichi-messages { display: flex; flex-direction: column; gap: 16px; min-height: 200px; }
.akichi-message { display: flex; }
.akichi-message--me    { justify-content: flex-end; }
.akichi-message--other { justify-content: flex-start; }
.akichi-message__bubble { max-width: 72%; padding: 14px 18px; border-radius: 12px; }
.akichi-message--me    .akichi-message__bubble { background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.akichi-message--other .akichi-message__bubble { background: var(--gray); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.akichi-message__sender { font-size: 11px; opacity: .7; margin-bottom: 6px; }
.akichi-message__body  { font-size: 14px; line-height: 1.7; }
.akichi-reply-form { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 20px; }
.akichi-reply-input-wrap { display: flex; gap: 10px; align-items: flex-end; }
.akichi-reply-input-wrap .akichi-input { flex: 1; }

/* ---- シミュレーター ---- */
.akichi-simulator-wrap  { max-width: 680px; margin: 0 auto; }
.akichi-sim-result      { margin-top: 48px; }
.akichi-sim-summary     { background: var(--navy); color: var(--white); padding: 28px; border-radius: 12px; margin-bottom: 24px; }
.akichi-sim-headline    { font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 400; }
.akichi-sim-big         { color: var(--blue); }
.akichi-sim-cards       { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.akichi-sim-card        { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; position: relative; }
.akichi-sim-card--featured { border-color: var(--blue); box-shadow: 0 4px 16px rgba(26,111,196,.15); }
.akichi-sim-badge       { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--blue); color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 12px; border-radius: 20px; white-space: nowrap; }
.akichi-sim-card__label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.akichi-sim-card__val   { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--green); }
.akichi-sim-card--neg .akichi-sim-card__val { color: var(--red); }
.akichi-sim-card__note  { font-size: 11px; color: var(--muted); margin-top: 8px; }
.akichi-sim-chart-wrap  { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 24px; margin-bottom: 20px; }
.akichi-sim-chart-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.akichi-sim-disclaimer  { font-size: 12px; color: var(--muted); background: var(--gray); border: 1px solid var(--border); border-radius: 6px; padding: 12px 16px; margin-bottom: 20px; }

/* ---- 物件カード ---- */
.akichi-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.akichi-card { display: block; border: 1px solid var(--border); border-radius: 10px; background: var(--white); color: inherit; text-decoration: none; transition: box-shadow .2s, border-color .2s; overflow: hidden; }
.akichi-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: var(--blue); }
.akichi-card__image { position: relative; height: 180px; background: var(--gray2); overflow: hidden; }
.akichi-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.akichi-card:hover .akichi-card__image img { transform: scale(1.04); }
.akichi-card__no-image { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 14px; color: var(--muted); }
.akichi-card__type-badge { position: absolute; top: 10px; left: 10px; background: var(--navy); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.akichi-card__body  { padding: 16px; }
.akichi-card__asking { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.akichi-card__title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.akichi-card__meta  { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.akichi-card__price { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--blue); }

/* ---- 検索フォーム ---- */
.akichi-search-form { background: var(--navy); padding: 28px; border-radius: 8px; margin-bottom: 8px; }
.akichi-search-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.akichi-search-grid .akichi-input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--white); flex: 1; min-width: 120px; border-radius: 4px; }
.akichi-search-grid .akichi-input option { background: var(--navy); }
.akichi-search-grid .akichi-input::placeholder { color: rgba(255,255,255,.4); }
.akichi-search-grid .akichi-input:focus { border-color: var(--blue); box-shadow: none; }
.akichi-search-range { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 200px; }
.akichi-search-range span { color: rgba(255,255,255,.5); font-size: 12px; white-space: nowrap; }
.akichi-search-count { font-size: 12px; color: var(--muted); margin: 16px 0 4px; font-weight: 700; }

/* ---- ページヘッダー ---- */
.akichi-page-header { padding: 48px 24px; }
.akichi-page-header--navy { background: var(--navy); color: var(--white); }
.akichi-page-header--navy .akichi-label-tag { background: rgba(255,255,255,.15); color: var(--white); }
.akichi-page-title { font-family: 'DM Serif Display', serif; font-size: 36px; font-weight: 400; margin-top: 8px; }
.akichi-page-center { display: flex; align-items: center; min-height: calc(100vh - var(--header-h)); }

/* ---- マイページナビ ---- */
.akichi-mypage-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.akichi-mypage-nav__item { flex: 1; min-width: 140px; padding: 12px 16px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 700; text-align: center; transition: all .15s; color: var(--text); }
.akichi-mypage-nav__item:hover { border-color: var(--blue); color: var(--blue); }
.akichi-mypage-nav__item--logout { color: var(--muted); }

/* ---- テキスト系 ---- */
.akichi-empty { font-size: 14px; color: var(--muted); padding: 48px 0; text-align: center; }
.akichi-empty-state { text-align: center; padding: 60px 20px; }
.akichi-accent-text { color: var(--blue); }
.akichi-text-muted  { color: var(--muted); }

/* ---- プロズ ---- */
.akichi-prose h1 { font-family: 'DM Serif Display', serif; font-size: 32px; font-weight: 400; color: var(--navy); margin-bottom: 16px; }
.akichi-prose h2 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.akichi-prose h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 20px 0 8px; }
.akichi-prose p  { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }
.akichi-prose a  { color: var(--blue); text-decoration: underline; }
.akichi-prose ul,.akichi-prose ol { padding-left: 20px; margin-bottom: 16px; }
.akichi-prose li { font-size: 14px; color: var(--muted); line-height: 1.8; }
.akichi-prose table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 13px; }
.akichi-prose th,.akichi-prose td { border: 1px solid var(--border); padding: 10px 14px; }
.akichi-prose th { background: var(--gray); font-weight: 700; color: var(--navy); }

/* ---- アニメーション ---- */
.akichi-fade-in { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.akichi-fade-in.is-visible { opacity: 1; transform: none; }

/* ---- フッター ---- */
.akichi-footer { background: var(--navy); color: rgba(255,255,255,.8); margin-top: 80px; }
.akichi-footer__inner { max-width: 1200px; margin: 0 auto; padding: 60px 24px; display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 40px; }
.akichi-footer__logo { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--white); margin-bottom: 12px; }
.akichi-footer__logo span { color: var(--blue); }
.akichi-footer__tagline { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.8; }
.akichi-footer__heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.akichi-footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.akichi-footer__links a { font-size: 13px; color: rgba(255,255,255,.7); transition: color .15s; }
.akichi-footer__links a:hover { color: var(--white); }
.akichi-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 24px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.akichi-footer__copy,.akichi-footer__note { font-size: 12px; color: rgba(255,255,255,.35); }

/* ---- focus ---- */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---- 問い合わせフォーム（サイドバー内） ---- */
.akichi-inquiry-form-wrap .akichi-input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--white); }
.akichi-inquiry-form-wrap .akichi-input:focus { border-color: var(--blue); box-shadow: none; }
.akichi-inquiry-form-wrap .akichi-input::placeholder { color: rgba(255,255,255,.4); }
.akichi-inquiry-form-wrap .akichi-label { color: rgba(255,255,255,.7); }
.akichi-inquiry-form-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 16px; }

/* ===============================
   レスポンシブ
   =============================== */
@media (max-width: 960px) {
  .akichi-prop-detail__body { grid-template-columns: 1fr; }
  .akichi-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .akichi-header__nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 16px; gap: 4px; border-top: 1px solid var(--border); box-shadow: 0 8px 20px rgba(0,0,0,.1); z-index: 999; }
  .akichi-header__nav.is-open { display: flex; }
  .akichi-hamburger { display: flex; }
  .akichi-hero { padding: 64px 20px; }
  .akichi-hero__stats { gap: 20px; }
  .akichi-hero__cta { flex-direction: column; }
  .akichi-flow::before { display: none; }
  .akichi-flow { grid-template-columns: 1fr; gap: 24px; }
  .akichi-footer__inner { grid-template-columns: 1fr; }
  .akichi-plan-grid { grid-template-columns: 1fr; }
  .akichi-kpi-grid { grid-template-columns: 1fr 1fr; }
  .akichi-cta-btns { flex-direction: column; align-items: stretch; }
  .akichi-reply-input-wrap { flex-direction: column; }
  .akichi-sim-cards { grid-template-columns: 1fr; }
}

/* ---- 統計行（社会課題セクション） ---- */
.akichi-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.akichi-stat-item__num {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.akichi-stat-item__num span { font-size: 22px; color: var(--blue); margin-left: 4px; }
.akichi-stat-item__label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--blue); display: inline-block; }
.akichi-stat-item__note  { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 10px; }
