@charset "UTF-8";
/* ============================================================
   バディエステート 大阪本社 浪速区 浪速西 — 特設ページ
   Design: 「色づく浪速西／Momiji Season」
   紅葉(もみじ)の赤・橙・黄が、地価の上昇とともに色づいていく。
   北区(黄昏の銀杏:金×黒褐色)とは別系統の 蘇芳×紅×藍 配色。
   ※ nav_footer.css の :root 変数と衝突しないよう --m- 接頭辞を使用
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@500;700;900&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
  --m-washi: #F7F0EC;
  --m-washi-deep: #EEE1DB;
  --m-line: rgba(70, 28, 36, .14);
  --m-ink: #2B1A22;
  --m-ink-soft: #6B5560;
  --m-suou: #7B1E2B;
  /* 蘇芳 */
  --m-crimson: #B5261E;
  /* 紅 */
  --m-persimmon: #E0702B;
  /* 柿 */
  --m-yamabuki: #EDBB3C;
  /* 山吹(チャート初期段階のみ) */
  --m-indigo: #232C4A;
  /* 藍 */
  --m-indigo-soft: #2F3A5E;
  --m-pale-text: #FBEFE9;

  --m-shadow: 0 18px 40px -20px rgba(70, 20, 30, .45);
  --m-leaf-r: 0 38px 0 38px;
  /* 葉形の角丸 */

  --m-display: "Zen Old Mincho", serif;
  --m-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --m-ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .001ms !important;
  }
}

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

ul,
ol {
  list-style: none;
}

img,
svg {
  max-width: 100%;
}

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

strong {
  font-weight: 700;
  color: var(--m-crimson);
}

body {
  font-family: var(--m-body);
  background: var(--m-washi);
  color: var(--m-ink);
  font-size: 1.5rem;
  line-height: 1.95;
  letter-spacing: .02em;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--m-persimmon);
  outline-offset: 3px;
}

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

.sec {
  padding: 92px 0;
}

@media (max-width: 767px) {
  .sec {
    padding: 60px 0;
  }

  .wrap {
    padding: 0 20px;
  }
}

/* 見出し：紅葉マーク + 明朝 */
.sec-title {
  font-family: var(--m-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 3.7vw, 3.4rem);
  line-height: 1.55;
  color: var(--m-ink);
  max-width: 28em;
  padding-left: 46px;
  position: relative;
}

.sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 32px;
  height: 32px;
  background: var(--m-crimson);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4 58 22 68 16 66 38 84 30 78 46 96 46 82 60 88 68 66 66 68 74 54 70 52 96H48L46 70 32 74 34 66 12 68 18 60 4 46 22 46 16 30 34 38 32 16 42 22Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4 58 22 68 16 66 38 84 30 78 46 96 46 82 60 88 68 66 66 68 74 54 70 52 96H48L46 70 32 74 34 66 12 68 18 60 4 46 22 46 16 30 34 38 32 16 42 22Z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: rotate(-14deg);
}

.sec-lead {
  margin-top: 20px;
  padding-left: 46px;
  max-width: 44em;
  color: var(--m-ink-soft);
  font-size: 1.5rem;
}

@media (max-width: 600px) {

  .sec-title,
  .sec-lead {
    padding-left: 0;
  }

  .sec-title::before {
    position: static;
    display: block;
    margin-bottom: 10px;
  }
}

/* ============ HERO ============ */
.hero-m {
  position: relative;
  overflow: hidden;
  background: linear-gradient(158deg, var(--m-suou) 0%, var(--m-crimson) 58%, #D9532A 100%);
  color: var(--m-pale-text);
  padding: 190px 0 0;
}

.hero-m-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 110px;
  position: relative;
  z-index: 2;
}

.hero-m-title {
  font-family: var(--m-display);
  font-weight: 900;
  font-size: clamp(3rem, 4.8vw, 4.9rem);
  line-height: 1.5;
}

.hero-m-sub {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 1.5rem;
  line-height: 2;
  color: rgba(251, 239, 233, .88);
}

.hero-m-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-m-tag {
  font-size: 1.3rem;
  font-weight: 700;
  padding: 7px 18px;
  border: 1px solid rgba(251, 239, 233, .5);
  border-radius: 0 16px 0 16px;
  background: rgba(43, 26, 34, .18);
}

.hero-m-cta {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--m-pale-text);
  color: var(--m-suou);
  font-weight: 700;
  font-size: 1.45rem;
  padding: 16px 34px;
  border-radius: 0 22px 0 22px;
  transition: transform .3s var(--m-ease), background .3s;
}

.hero-m-cta:hover {
  background: #fff;
  transform: translateY(-3px);
}

.hero-m-cta svg {
  width: 16px;
  height: 16px;
}

/* 右：重なり合う落ち葉の溜まり */
.hero-m-pile {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-left: auto;
  width: 100%;
}

.hero-m-pile svg {
  position: absolute;
  width: 46%;
  height: 46%;
  filter: drop-shadow(0 12px 14px rgba(43, 10, 20, .28));
}

/* 右：重なり合う落ち葉の溜まり */
.hero-m-pile {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-left: auto;
  width: 100%;
}

.hero-m-pile svg {
  position: absolute;
  width: 46%;
  height: 46%;
  filter: drop-shadow(0 12px 14px rgba(43, 10, 20, .28));
}


.hero-m-pile .pile-house {
  left: 22%;
  top: 24%;
  width: 56%;
  height: 56%;
  z-index: 2;
}


@media (prefers-reduced-motion: no-preference) {
  .hero-m-pile .pile-house {
    animation: house-float 6s ease-in-out infinite;
  }

  @keyframes house-float {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-6px);
    }
  }
}

/* 降る落ち葉 */
.hero-m-fall {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.fall {
  position: absolute;
  top: -60px;
  width: 30px;
  height: 30px;
  opacity: 0;
  animation: fallLeaf 15s linear infinite;
}

@keyframes fallLeaf {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 0;
  }

  8% {
    opacity: .6;
  }

  50% {
    transform: translate(calc(var(--drift, 40px) * -1), 380px) rotate(170deg);
  }

  92% {
    opacity: .35;
  }

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

.hero-m-edge {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 64px;
  color: var(--m-washi);
  z-index: 3;
}

@media (max-width: 900px) {
  .hero-m {
    padding-top: 140px;
  }

  .hero-m-inner {
    grid-template-columns: 1fr;
    padding-bottom: 84px;
  }

  .hero-m-pile {
    max-width: 260px;
    margin: 0 auto;
    order: -1;
  }
}

/* ============ Breadcrumb ============ */
.crumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 1.2rem;
  color: var(--m-ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crumb a:hover {
  color: var(--m-crimson);
}

.crumb .cur {
  color: var(--m-ink);
  font-weight: 700;
}

/* ============ 色づく地価（主役） ============ */
.leafchart {
  margin-top: 48px;
  background: #fff;
  border-radius: var(--m-leaf-r);
  box-shadow: var(--m-shadow);
  padding: 46px 40px 34px;
  position: relative;
}

.leafchart-head {
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--m-suou);
}

.leafchart-head small {
  display: block;
  margin-top: 2px;
  font-family: var(--m-body);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--m-ink-soft);
}

.lc-row {
  position: relative;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 16px;
}

/* 枝（3つの葉をつなぐ線） */
.lc-row::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 118px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--m-line) 0 8px, transparent 8px 14px);
}

.lc-item {
  position: relative;
  text-align: center;
}

.lc-leaf {
  display: block;
  margin: 0 auto;
  width: calc(150px * var(--s));
  height: calc(150px * var(--s));
  color: var(--c);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 8px 8px rgba(80, 20, 30, .18));
  transition: color 1.1s var(--m-ease), transform 1s var(--m-ease);
}

.lc-1 {
  --c: var(--m-yamabuki);
  --s: .66;
}

.lc-2 {
  --c: var(--m-persimmon);
  --s: .82;
}

.lc-3 {
  --c: var(--m-crimson);
  --s: 1;
}

/* JS 有効時のみ「まだ色づいていない」初期状態を作る（JS無効でも内容は見える） */
.leafchart.is-ready:not(.in-view) .lc-leaf {
  color: #CFC3B3;
  transform: scale(.82) rotate(-8deg);
}

.leafchart.is-ready .lc-2 .lc-leaf {
  transition-delay: .35s;
}

.leafchart.is-ready .lc-3 .lc-leaf {
  transition-delay: .7s;
}

.lc-year {
  display: block;
  margin-top: 10px;
  font-size: 1.25rem;
  color: var(--m-ink-soft);
}

.lc-price {
  display: block;
  font-family: var(--m-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.2;
  color: var(--m-ink);
}

.lc-price small {
  font-family: var(--m-body);
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 3px;
}

.lc-yoy {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--m-crimson);
  background: rgba(181, 38, 30, .08);
  padding: 2px 12px;
  border-radius: 0 10px 0 10px;
}

.lc-yoy.none {
  color: var(--m-ink-soft);
  background: var(--m-washi-deep);
}

.lc-total {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--m-line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}

.lc-total b {
  font-family: var(--m-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--m-crimson);
}

.lc-total span {
  font-size: 1.3rem;
  color: var(--m-ink-soft);
}

.lc-facts {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 6px 24px;
  font-size: 1.2rem;
}

.lc-facts div {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--m-line);
  padding: 6px 0;
}

.lc-facts dt {
  color: var(--m-ink-soft);
  flex: none;
}

.lc-facts dd {
  font-weight: 700;
}

.lc-note {
  margin-top: 14px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--m-ink-soft);
}

.lc-note a,
.refs a {
  color: var(--m-crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .leafchart {
    padding: 34px 20px 26px;
  }

  .lc-row {
    gap: 6px;
  }

  .lc-leaf {
    width: calc(96px * var(--s));
    height: calc(96px * var(--s));
  }

  .lc-row::before {
    bottom: 104px;
  }

  .lc-yoy {
    font-size: 1.05rem;
    padding: 2px 8px;
  }
}

/* ============ 浪速西の近況 ============ */
.news {
  background: var(--m-washi-deep);
}

.news-list {
  margin-top: 44px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--m-line);
}

.news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--m-line);
}

.news-kanji {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--m-display);
  font-weight: 900;
  font-size: 3.2rem;
  color: var(--m-pale-text);
  background: var(--m-crimson);
  border-radius: 0 28px 0 28px;
}

.news-item:nth-child(2) .news-kanji {
  background: var(--m-persimmon);
}

.news-item:nth-child(3) .news-kanji {
  background: var(--m-indigo);
}

.news-title {
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.6;
}

.news-text {
  margin-top: 8px;
  max-width: 54em;
  font-size: 1.4rem;
  color: var(--m-ink-soft);
}

.news-src {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.news-src a {
  color: var(--m-crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-close {
  margin-top: 36px;
  padding: 26px 30px;
  background: var(--m-indigo);
  color: var(--m-pale-text);
  border-radius: var(--m-leaf-r);
  font-family: var(--m-display);
  font-size: 1.7rem;
  line-height: 1.9;
}

@media (max-width: 600px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-kanji {
    width: 60px;
    height: 60px;
    font-size: 2.6rem;
  }
}

/* ============ 3つのお悩み（空き家／空き地／底地） ============ */
.trio {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trio-panel {
  background: #fff;
  border-radius: var(--m-leaf-r);
  padding: 34px 28px 30px;
  box-shadow: var(--m-shadow);
  border-top: 5px solid var(--c);
}

.trio-panel:nth-child(1) {
  --c: var(--m-crimson);
}

.trio-panel:nth-child(2) {
  --c: var(--m-persimmon);
}

.trio-panel:nth-child(3) {
  --c: var(--m-indigo);
}

.trio-name {
  font-family: var(--m-display);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--c);
}

.trio-catch {
  margin-top: 4px;
  font-size: 1.25rem;
  color: var(--m-ink-soft);
}

.trio-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.trio-list li {
  position: relative;
  padding-left: 18px;
  font-size: 1.3rem;
  line-height: 1.75;
}

.trio-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  background: var(--c);
  border-radius: 0 4px 0 4px;
}

.trio-answer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--m-line);
  font-size: 1.3rem;
  line-height: 1.85;
}

.trio-answer b {
  display: block;
  font-family: var(--m-display);
  color: var(--c);
  font-size: 1.4rem;
  margin-bottom: 2px;
}

@media (max-width: 960px) {
  .trio {
    grid-template-columns: 1fr;
  }
}

/* 豆知識ボックス */
.tips {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tip {
  background: var(--m-washi-deep);
  border-left: 4px solid var(--m-persimmon);
  padding: 18px 22px;
  font-size: 1.3rem;
  line-height: 1.85;
  border-radius: 0 14px 0 14px;
}

.tip b {
  display: block;
  font-family: var(--m-display);
  font-size: 1.45rem;
  color: var(--m-suou);
}

@media (max-width: 760px) {
  .tips {
    grid-template-columns: 1fr;
  }
}

/* ============ 流れ ============ */
.flow {
  background: var(--m-indigo);
  color: var(--m-pale-text);
  position: relative;
  overflow: hidden;
}

.flow .sec-title {
  color: var(--m-pale-text);
}

.flow .sec-title::before {
  background: var(--m-persimmon);
}

.flow-steps {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: st;
  position: relative;
}

.flow-steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(251, 239, 233, .25);
}

.flow-step {
  position: relative;
  counter-increment: st;
}

.flow-step::before {
  content: counter(st);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--m-crimson);
  border-radius: 0 20px 0 20px;
  font-family: var(--m-display);
  font-weight: 900;
  font-size: 2.2rem;
}

.flow-step:nth-child(2)::before {
  background: #C94A24;
}

.flow-step:nth-child(3)::before {
  background: var(--m-persimmon);
}

.flow-step:nth-child(4)::before {
  background: #E39A33;
}

.flow-title {
  margin-top: 18px;
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 1.8rem;
}

.flow-desc {
  margin-top: 8px;
  font-size: 1.28rem;
  line-height: 1.85;
  color: rgba(251, 239, 233, .78);
}

@media (max-width: 900px) {
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 0;
  }

  .flow-steps::before {
    top: 0;
    bottom: 0;
    left: 25px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
  }

  .flow-step>* {
    grid-column: 2;
  }

  .flow-step::before {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .flow-title {
    margin-top: 0;
  }
}

/* ============ 対応不動産 ============ */
.types {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.type-chip {
  display: inline-flex;
  flex-direction: column;
  min-width: 190px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 0 20px 0 20px;
  transition: border-color .3s, transform .3s var(--m-ease);
}

.type-chip:hover {
  border-color: var(--m-crimson);
  transform: translateY(-3px);
}

.type-chip b {
  font-family: var(--m-display);
  font-size: 1.6rem;
  color: var(--m-suou);
}

.type-chip span {
  font-size: 1.2rem;
  color: var(--m-ink-soft);
  line-height: 1.7;
}

.area-chips {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 1.3rem;
}

.area-chips strong {
  color: var(--m-suou);
}

.area-chips a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.area-chips a:hover {
  color: var(--m-crimson);
}

/* ============ 問い合わせ + 拠点情報（branch.js が id を埋める） ============ */
.contact {
  padding: 0 0 92px;
}

.contact-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  padding: 52px 48px;
  border-radius: var(--m-leaf-r);
  background: linear-gradient(150deg, var(--m-suou), var(--m-crimson));
  color: var(--m-pale-text);
  box-shadow: var(--m-shadow);
}

.contact-box::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 300px;
  height: 300px;
  opacity: .1;
  background: var(--m-pale-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4 58 22 68 16 66 38 84 30 78 46 96 46 82 60 88 68 66 66 68 74 54 70 52 96H48L46 70 32 74 34 66 12 68 18 60 4 46 22 46 16 30 34 38 32 16 42 22Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4 58 22 68 16 66 38 84 30 78 46 96 46 82 60 88 68 66 66 68 74 54 70 52 96H48L46 70 32 74 34 66 12 68 18 60 4 46 22 46 16 30 34 38 32 16 42 22Z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: rotate(18deg);
  pointer-events: none;
}

.contact-box>* {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: var(--m-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 3.2vw, 3rem);
  line-height: 1.6;
}

.contact-text {
  margin-top: 14px;
  font-size: 1.4rem;
  color: rgba(251, 239, 233, .88);
  max-width: 40em;
}

.contact-btns {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-main,
.btn-sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 15px 30px;
  border-radius: 0 20px 0 20px;
  transition: transform .3s var(--m-ease), background .3s;
  margin-bottom: 5px;
  margin-top: 5px;
}

.btn-main {
  background: var(--m-pale-text);
  color: var(--m-suou);
}

.btn-main:hover {
  background: #fff;
  transform: translateY(-3px);
}

.btn-sub {
  border: 1px solid rgba(251, 239, 233, .6);
}

.btn-sub:hover {
  background: rgba(251, 239, 233, .12);
  transform: translateY(-3px);
}

.btn-main svg {
  width: 15px;
  height: 15px;
}

.branch-card {
  background: var(--m-ink);
  border-radius: 0 28px 0 28px;
  padding: 30px 28px;
  align-self: start;
}

.branch-badge {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--m-pale-text);
  border: 1px solid rgba(251, 239, 233, .4);
  border-radius: 0 12px 0 12px;
  padding: 2px 14px;
  margin-bottom: 10px;
}

.branch-badge:empty {
  display: none;
}

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

.branch-address {
  margin-top: 8px;
  font-size: 1.25rem;
  line-height: 1.75;
  color: rgba(251, 239, 233, .8);
}

.branch-tel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(251, 239, 233, .15);
}

.branch-tel small {
  display: block;
  font-size: 1.05rem;
  color: rgba(251, 239, 233, .6);
}

.branch-tel a {
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 2rem;
}

.branch-maplink {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.2rem;
  color: #F6B88A;
  border-bottom: 1px solid rgba(246, 184, 138, .5);
}

.branch-mapimg {
  display: block;
  margin-top: 14px;
  width: 100%;
  border-radius: 0 16px 0 16px;
}

.branch-mapimg[src=""],
.branch-mapimg:not([src]) {
  display: none;
}

@media (max-width: 900px) {
  .contact-box {
    grid-template-columns: 1fr;
    padding: 38px 24px;
    gap: 30px;
  }
}

/* ============ 参考資料 ============ */
.refs {
  padding: 0 0 70px;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--m-ink-soft);
}

.refs h2 {
  font-family: var(--m-display);
  font-size: 1.5rem;
  color: var(--m-ink);
  margin-bottom: 6px;
}

.refs li {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.refs li::before {
  content: "※ ";
}