/* アトリエラクタス — 下層ページ共通 */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 56vh;
  min-height: 460px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  background: #1a1a1a;
}
.page-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.78);
}
.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.66) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 72px;
}
.crumb {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.crumb a:hover { color: var(--white); }
.crumb em { font-style: normal; color: var(--white); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.page-hero h1 .en {
  display: block;
  font-style: italic;
  font-size: 0.36em;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-hero-lede {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.8;
}

.nav-menu a.is-current::after { transform: scaleX(1); }

/* ===== APPEAL BAND (360°) ===== */
.appeal-band {
  background: var(--black);
  color: var(--white);
  padding: 56px 48px;
}
.appeal-band-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.appeal-360 {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.appeal-360 .deg {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.appeal-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.appeal-copy p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.appeal-band .vr-chip {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.appeal-band .vr-chip::before {
  content: '';
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

/* ===== FOR SALE GRID ===== */
.fs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.fs-grid .prop-card { flex: none; }
.prop-kind {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  z-index: 2;
  background: var(--white);
  color: var(--black);
}
.prop-kind.buy { background: var(--black); color: var(--white); border: 1px solid rgba(255,255,255,0.4); }

/* ===== SOLD ===== */
.sold-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.sold-card .prop-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250,250,249,0.45);
  z-index: 1;
}
.sold-card .ph-img { filter: saturate(0.15) contrast(1.02); }
.sold-seal {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  border: 1px solid var(--fg);
  background: rgba(250,250,249,0.92);
  color: var(--fg);
  padding: 14px 28px;
  text-align: center;
}
.sold-seal .en {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  margin-bottom: 4px;
  color: var(--muted);
}
.sold-seal .jp {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.3em;
}

/* ===== WORRY CARDS (management / purchase intro) ===== */
.worry-head {
  text-align: center;
  margin-bottom: 64px;
}
.worry-head .eyebrow { display: block; margin-bottom: 20px; }
.worry-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.worry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.worry-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 48px 44px;
}
.worry-card .wc-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.worry-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  line-height: 1.4;
}
.worry-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.worry-card li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}
.worry-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--fg);
}

/* ===== REASONS (4up) ===== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.reason {
  padding: 48px 32px 56px;
  border-right: 1px solid var(--line);
}
.reason:last-child { border-right: none; }
.reason-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: block;
  margin-bottom: 40px;
}
.reason-icon {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.reason-icon svg { width: 36px; height: 36px; stroke: var(--fg); fill: none; stroke-width: 1.2; }
.reason-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.reason h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.03em;
  line-height: 1.45;
  margin-bottom: 18px;
}
.reason p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

/* ===== PLANS ===== */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.is-featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.plan-flag {
  position: absolute;
  top: -14px;
  left: 48px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  padding: 6px 12px;
}
.plan-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.plan.is-featured .plan-en { color: rgba(255,255,255,0.6); }
.plan h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin-bottom: 12px;
}
.plan-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.8;
}
.plan.is-featured .plan-sub { color: rgba(255,255,255,0.7); }
.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 40px;
  flex: 1;
}
.plan.is-featured .plan-list { border-top-color: rgba(255,255,255,0.2); }
.plan-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.plan.is-featured .plan-list li { border-bottom-color: rgba(255,255,255,0.2); }
.plan-list .k { color: var(--muted); letter-spacing: 0.04em; }
.plan.is-featured .plan-list .k { color: rgba(255,255,255,0.6); }
.plan-list .v { font-family: var(--serif); font-size: 16px; letter-spacing: 0.03em; text-align: right; }
.plan-cta {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  display: inline-flex;
  gap: 12px;
  transition: gap .25s;
}
.plan-cta:hover { gap: 18px; }

/* ===== STRENGTHS (3up, purchase) ===== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.strength {
  padding: 56px 40px 64px;
  border-right: 1px solid var(--line);
}
.strength:last-child { border-right: none; }

/* ===== FLOW STEPS ===== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.flow-step {
  padding: 48px 36px 56px;
  border-left: 1px solid var(--line);
  position: relative;
}
.flow-step:last-child { border-right: 1px solid var(--line); }
.flow-num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  color: var(--line-strong);
  margin-bottom: 32px;
  font-style: italic;
}
.flow-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.flow-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.flow-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.flow-step .flow-arrow {
  position: absolute;
  top: 60px;
  right: -12px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--muted);
  background: var(--bg);
  padding: 2px 4px;
}
.flow-step:last-child .flow-arrow { display: none; }

/* ===== SECTION VARIANTS ===== */
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark .section-head { border-bottom-color: rgba(255,255,255,0.15); }
.section-dark .section-title .jp { color: rgba(255,255,255,0.6); }
.section-tint { background: #f3f3f1; }
.section-full { max-width: none; }
.section-full > .section-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.cta-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ===== CONTACT METHOD CARDS (contact page) ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.contact-card {
  padding: 56px 56px 64px;
  border-right: 1px solid var(--line);
}
.contact-card:last-child { border-right: none; }
.contact-card .reason-icon { margin-bottom: 32px; }
.contact-card .reason-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.contact-card .cc-main {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.contact-card .cc-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.contact-card a.cc-link {
  display: inline-flex;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 6px;
  gap: 10px;
  transition: gap .25s;
}
.contact-card a.cc-link:hover { gap: 16px; }

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cf-field label .req {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  background: var(--fg);
  color: var(--white);
  padding: 2px 6px;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 14px 16px;
  width: 100%;
  transition: border-color .2s;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--fg);
}
.cf-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
.cf-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.cf-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--fg);
  flex-shrink: 0;
}
.cf-consent a { text-decoration: underline; color: var(--fg); }
.cf-submit {
  align-self: flex-start;
}
.cf-submit .btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cf-submit .btn:disabled:hover { background: var(--black); color: var(--white); }

.cf-done {
  text-align: center;
  padding: 96px 24px;
  border: 1px solid var(--line);
  background: var(--white);
}
.cf-done .cf-done-mark {
  width: 64px;
  height: 64px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.cf-done .cf-done-mark svg { width: 28px; height: 28px; stroke: var(--fg); fill: none; stroke-width: 1.4; }
.cf-done .cf-done-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cf-done h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.cf-done p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 440px;
  margin: 0 auto;
}

/* ===== MAP PLACEHOLDER ===== */
.map-block {
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(45deg, #eeeeec 0, #eeeeec 2px, #f6f6f4 2px, #f6f6f4 14px);
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-block .map-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  background: rgba(250,250,249,0.9);
  border: 1px solid var(--line-strong);
  padding: 12px 20px;
  text-align: center;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { border-right: none; border-bottom: 1px solid var(--line); padding: 36px 0; }
  .contact-card:last-child { border-bottom: none; }
  .cf-row { grid-template-columns: 1fr; gap: 20px; }
  .cf-done { padding: 64px 20px; }
  .cf-done h3 { font-size: 26px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .page-hero { min-height: 380px; height: 48vh; }
  .page-hero-content { padding: 0 20px 48px; }
  .appeal-band { padding: 40px 20px; }
  .appeal-band .vr-chip { margin-left: 0; }
  .fs-grid { grid-template-columns: 1fr; }
  .sold-grid { grid-template-columns: 1fr; }
  .worry-grid { grid-template-columns: 1fr; }
  .worry-card { padding: 36px 28px; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason { border-right: none; border-bottom: 1px solid var(--line); padding: 36px 0; }
  .reason:last-child { border-bottom: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 44px 28px; }
  .plan-flag { left: 28px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength { border-right: none; border-bottom: 1px solid var(--line); padding: 36px 0; }
  .strength:last-child { border-bottom: none; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-step { border-left: none; border-top: 1px solid var(--line); padding: 36px 0; }
  .flow-step:last-child { border-right: none; border-bottom: 1px solid var(--line); }
  .flow-step .flow-arrow { display: none; }
  .cta-h { font-size: 36px; }
}
