@charset "UTF-8";
/* ============================================================
   バディエステート 東京支店 港区三田 — 特設ページ
   Design: 「桜便り／sakura-dayori」 — 東京タワーと三田の春
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700&family=EB+Garamond:ital@1&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* --- palette: 都心の春（上品なくすみカラー） --- */
  --paper: #FAF6F4;
  /* 磁器のような白 */
  --paper-deep: #F1E3E2;
  /* 淡い紅を含んだ紙 */
  --paper-line: rgba(58, 32, 42, .13);
  --ink: #2B2130;
  /* 深い墨紫 */
  --ink-soft: #6B5A66;
  /* やわらかい墨紫 */
  --sakura: #B85C74;
  /* 桜鼠に近い、落ち着いた紅 */
  --sakura-deep: #7D3B52;
  /* 深紅紫 */
  --gold: #B08A4E;
  /* シャンパンゴールド */
  --gold-deep: #8C6B37;
  --sage: #63715A;
  /* 若葉色（差し色） */
  --dusk: #241A2E;
  /* 宵闇の紫（濃色面） */
  --dusk-deep: #180F20;
  --cream-text: #FBF3EF;

  --shadow-soft: 0 18px 40px -22px rgba(36, 20, 30, .38);
  --shadow-card: 0 10px 30px -14px rgba(36, 20, 30, .24);

  --font-display: "Shippori Mincho", serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "EB Garamond", serif;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body,
h1,
h2,
h3,
p,
ul,
ol,
li,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

strong {
  font-weight: 700;
  color: var(--sakura-deep);
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: .03em;
  font-size: 1.55rem;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 8% 4%, rgba(184, 92, 116, .05), transparent 40%),
    radial-gradient(circle at 92% 30%, rgba(176, 138, 78, .06), transparent 45%);
}

html {
  font-size: 62.5%;
}

@media screen and (min-width: 768px) {
  html {
    font-size: 60%;
  }
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 62.5%;
  }
}

.en {
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: .12em;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

@media screen and (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .wrap {
    padding: 0 22px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--sakura-deep);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--sakura);
}

.section-head {
  max-width: 720px;
  margin: 0 0 44px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  color: var(--sakura-deep);
  margin-top: 14px;
  line-height: 1.5;
}

.lead {
  font-size: 1.6rem;
  color: var(--ink-soft);
  line-height: 2;
  margin-top: 16px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}

.reveal-stagger.in-view>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in-view>*:nth-child(1) {
  transition-delay: .04s;
}

.reveal-stagger.in-view>*:nth-child(2) {
  transition-delay: .14s;
}

.reveal-stagger.in-view>*:nth-child(3) {
  transition-delay: .24s;
}

.reveal-stagger.in-view>*:nth-child(4) {
  transition-delay: .34s;
}

.reveal-stagger.in-view>*:nth-child(5) {
  transition-delay: .44s;
}

/* ---------- Content block: alternating text / image layout ---------- */
.content-block {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 60px;
  opacity: 0;
  transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft);
}

.content-block.from-left {
  flex-direction: row;
  transform: translateX(-72px);
}

.content-block.from-right {
  flex-direction: row-reverse;
  transform: translateX(72px);
}

.content-block.in-view {
  opacity: 1;
  transform: translateX(0);
}

.content-block-text {
  flex: 2 1 0;
  min-width: 0;
}

.content-block-text>*:first-child {
  margin-top: 0;
}

.content-block-image {
  flex: 1 1 0;
  min-width: 0;
}

.content-block-image .support-illust {
  box-shadow: var(--shadow-card);
}

.image-placeholder {
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--paper);
  border: 1.5px dashed var(--sakura);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 10px;
}

.image-placeholder img {
  border: 1.5px dashed var(--sakura);
  border-radius: var(--radius-lg);
}

@media screen and (max-width: 860px) {
  .content-block {
    flex-direction: column !important;
    gap: 26px;
    transform: translateY(30px) !important;
  }

  .content-block.in-view {
    transform: translateY(0) !important;
  }

  .content-block-image {
    width: 100%;
    order: 2;
  }

  .content-block-text {
    order: 1;
  }

  .image-placeholder {
    min-height: 160px;
  }
}

/* ---------- Scroll progress petal (signature element, desktop) ---------- */
.progress-rail {
  position: fixed;
  top: 12%;
  right: 22px;
  height: 76%;
  width: 26px;
  display: none;
  z-index: 40;
  pointer-events: none;
}

@media screen and (min-width: 1200px) {
  .progress-rail {
    display: block;
  }
}

.progress-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--paper-line) 8%, var(--paper-line) 92%, transparent);
  transform: translateX(-50%);
}

.progress-leaf {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 20px;
  height: 20px;
  color: var(--sakura);
  filter: drop-shadow(0 3px 6px rgba(125, 59, 82, .35));
  transition: top .12s linear;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 120px;
  background-image: url(/pic/03acch_tokyo-minato_header-bg.webp);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.hero-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-leaf {
  position: absolute;
  top: -8%;
  width: 26px;
  height: 26px;
  color: var(--cream-text);
  opacity: .6;
  animation: leafFall 13s linear infinite;
}

.hero-leaf.l2 {
  color: var(--gold);
  opacity: .5;
}

.hero-leaf.l3 {
  color: var(--paper);
  opacity: .42;
}

@keyframes leafFall {
  0% {
    transform: translate(0, -10vh) rotate(0deg);
    opacity: 0;
  }

  8% {
    opacity: .6;
  }

  92% {
    opacity: .3;
  }

  100% {
    transform: translate(var(--drift, 60px), 110vh) rotate(340deg);
    opacity: 0;
  }
}

/* Tokyo Tower + skyline silhouette — signature visual, grounded in the actual Shiba/Mita streetscape */
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  max-height: 118px;
  color: var(--paper);
  opacity: .92;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
  margin: 0 auto;
  text-align: left;
}

.hero .eyebrow {
  color: var(--cream-text);
}

.hero .eyebrow::before {
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cream-text);
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.45;
  margin-top: 20px;
  text-shadow: 0 10px 30px rgba(24, 15, 32, .4);
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.6rem;
  color: var(--cream-text);
  letter-spacing: .08em;
}

.hero-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(251, 243, 239, .75);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.2rem;
}

.hero-scrollcue span {
  width: 1px;
  height: 34px;
  background: currentColor;
  overflow: hidden;
  position: relative;
}

.hero-scrollcue span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream-text);
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% {
    top: -100%;
  }

  60% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    min-height: 45vh;
    padding: 150px 0 76px;
  }

  .hero-skyline {
    max-height: 68px;
  }

  .hero-scrollcue {
    bottom: 22px;
  }

  .hero-sub {
    max-width: 88%;
  }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 1.25rem;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a:hover {
  color: var(--sakura-deep);
}

.breadcrumb .sep {
  opacity: .5;
}

.breadcrumb .current {
  color: var(--sakura-deep);
}

/* ---------- Branch card ---------- */
.branch-card {
  max-width: 1120px;
  margin: 26px auto 0;
  padding: 0 24px;
}

.branch-card-inner {
  position: relative;
  overflow: hidden;
  background: var(--dusk);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.branch-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(184, 92, 116, .5), transparent 55%);
  opacity: .8;
}

.branch-icon {
  position: relative;
  width: 74px;
  height: 74px;
  color: var(--sakura);
  flex: none;
}

@media screen and (max-width: 640px) {
  .branch-card-inner {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 32px 26px;
  }

  .branch-icon {
    width: 54px;
    height: 54px;
  }
}

.branch-body {
  position: relative;
  color: var(--cream-text);
}

.branch-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: .18em;
  font-size: 1.2rem;
  color: var(--gold);
  border: 1px solid rgba(251, 243, 239, .4);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 10px;
}

.branch-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
}

.branch-address {
  margin-top: 8px;
  font-size: 1.35rem;
  color: rgba(251, 243, 239, .82);
}

.branch-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}

.branch-tel a {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--cream-text);
}

.branch-tel small {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(251, 243, 239, .6);
  letter-spacing: .1em;
}

.branch-maplink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(176, 138, 78, .5);
  padding-bottom: 2px;
  transition: opacity .3s;
}

.branch-maplink:hover {
  opacity: .7;
}

/* ---------- Quick nav (table of contents) — new, for SEO & UX ---------- */
.quicknav {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 0 24px;
}

.quicknav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.quicknav-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--sakura-deep);
  font-weight: 700;
  margin-right: 4px;
}

.quicknav a {
  font-size: 1.25rem;
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--paper-line);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.quicknav a:hover,
.quicknav a:focus-visible {
  background: var(--sakura);
  color: var(--cream-text);
  border-color: var(--sakura);
}

@media screen and (max-width: 640px) {
  .quicknav-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .quicknav-inner::-webkit-scrollbar {
    display: none;
  }

  .quicknav-label {
    display: none;
  }
}

/* ---------- Market stats ---------- */
.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin: 34px 0 6px;
}

.stat-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(184, 92, 116, .16), transparent 70%);
}

.stat-label {
  font-size: 1.3rem;
  color: var(--ink-soft);
  letter-spacing: .06em;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--sakura-deep);
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  margin-top: 6px;
  line-height: 1;
}

.stat-value small {
  font-size: 40%;
  font-weight: 600;
  margin-left: 2px;
}

.stat-note {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.refer {
  margin-top: 14px;
  font-size: 8px;
  color: var(--ink-soft);
}

.refer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--sakura-deep);
}

.refer a:hover {
  color: var(--sakura);
}

/* ---------- Sub headings inside prose ---------- */
.case-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sakura-deep);
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-top: 56px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-subtitle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sakura);
  flex: none;
}

.case-subtitle-note {
  margin-top: 8px;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.prose p {
  margin-top: 18px;
  font-size: 1.5rem;
  line-height: 2;
  color: var(--ink);
}

.prose p.lead {
  font-size: 1.6rem;
}

/* ---------- Insight list ---------- */
.insight-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.insight-list li {
  position: relative;
  padding: 14px 20px 14px 52px;
  background: var(--paper-deep);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  color: var(--ink);
}

.insight-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--sage);
  clip-path: path('M8 0C8 5 3 6 1 9C-1 12 1 16 8 16C15 16 17 12 15 9C13 6 8 5 8 0Z');
}

/* ---------- Blockquote highlight ---------- */
.insight-highlight {
  position: relative;
  margin-top: 30px;
  padding: 30px 32px 30px 40px;
  background: var(--dusk);
  color: var(--cream-text);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.85;
}

.insight-highlight::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 12px;
  font-size: 5rem;
  color: var(--sakura);
  font-family: var(--font-display);
  line-height: 1;
  opacity: .7;
}

/* ---------- Feature chip list ---------- */
.area-feature-list {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.25rem;
  letter-spacing: .02em;
  background: var(--paper);
  border: 1px solid var(--sakura);
  color: var(--sakura-deep);
  border-radius: 999px;
  padding: 9px 18px 9px 18px;
  transition: background .3s ease, color .3s ease;
}

.area-feature-chip strong {
  color: var(--sakura-deep);
  font-weight: 700;
}

.area-feature-chip:hover {
  background: var(--sakura);
  color: var(--cream-text);
}

.area-feature-chip:hover strong {
  color: var(--cream-text);
}

/* Related-area chips link out to sibling ward pages — plain <a> variant */
a.area-feature-chip {
  cursor: pointer;
}

/* ---------- CTA banner ---------- */
.area-cta {
  margin-top: 46px;
  padding: 34px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--sakura) 0%, var(--sakura-deep) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.area-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .32) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .22;
}

.area-cta-text {
  position: relative;
  color: var(--cream-text);
  font-size: 1.5rem;
  font-weight: 600;
}

.area-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  background: var(--cream-text);
  color: var(--sakura-deep);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform .35s var(--ease-soft), box-shadow .35s ease;
  box-shadow: 0 12px 24px -10px rgba(24, 15, 32, .5);
}

.area-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(24, 15, 32, .6);
}

.area-cta-btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- FAQ accordion (native <details>, no JS required) ---------- */
.faq-section {
  background: var(--paper);
}

.faq-list {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--paper-deep);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--sakura);
  color: var(--cream-text);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.4rem;
}

.faq-item summary .faq-caret {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--sakura-deep);
  transition: transform .35s var(--ease-soft);
}

.faq-item[open] summary .faq-caret {
  transform: rotate(135deg);
}

.faq-answer {
  padding: 0 26px 24px 72px;
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--sakura-deep);
  outline-offset: -2px;
}

/* ---------- Related areas ---------- */
.areas-section .lead {
  max-width: 640px;
}