:root {
  --color-navy: #17324d;
  --color-navy-dark: #0e2438;
  --color-blue-soft: #eaf1f6;
  --color-gold: #a98547;
  --color-gold-text: #89682f;
  --color-beige: #f5f0e7;
  --color-text: #202d36;
  --color-muted: #53616c;
  --color-border: #d8e0e6;
  --color-white: #fff;
  --color-akane: #a84a4a;
  --color-akane-dark: #8f3d3d;
  --color-ivory: #faf7f2;
  --shadow-soft: 0 0.75rem 2rem rgba(14, 36, 56, 0.09);
}

html { scroll-behavior: smooth; }
body {
  color: var(--color-text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
}
a { color: #174f7a; text-underline-offset: 0.2em; }
a:hover { color: var(--color-navy-dark); }
:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 5px #17324d; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .65rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }
.text-navy { color: var(--color-navy) !important; }
.text-gold { color: var(--color-gold) !important; }
.bg-soft { background: var(--color-blue-soft); }
.bg-beige { background: var(--color-beige); }
.mobile-line-break { display: none; }
.section-space { padding: 4.5rem 0; }
.section-heading { margin-bottom: 2.25rem; text-align: center; }
.section-heading .eyebrow, .eyebrow { color: var(--color-gold-text); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-heading h2 { color: var(--color-navy); font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 700; }

/* ===== Header / navigation (common component) ===== */
.site-header { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--color-border); }
.utility-bar { background: var(--color-navy-dark); color: #fff; font-size: .88rem; }
.brand-mark { color: var(--color-navy); font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 700; letter-spacing: .04em; }
.brand-mark small { color: var(--color-muted); display: block; font-size: .66rem; font-weight: 500; letter-spacing: .08em; }
.navbar-nav .nav-link { color: var(--color-text); font-weight: 600; padding-inline: .8rem !important; }
.navbar-nav .nav-link.active { color: var(--color-navy); text-decoration: underline; text-decoration-color: var(--color-gold); text-decoration-thickness: 3px; text-underline-offset: .45rem; }
.no-js-nav { background: var(--color-blue-soft); border-bottom: 1px solid var(--color-border); display: none; }
.no-js-nav ul { list-style: none; margin: 0; padding: .75rem 0; }
.no-js-nav a { align-items: center; color: var(--color-navy); display: flex; font-weight: 700; min-height: 44px; text-decoration: none; }
.no-js-nav a:hover, .no-js-nav a:focus-visible { color: var(--color-navy-dark); text-decoration: underline; text-underline-offset: .2rem; }
.phone-link { color: #fff; font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.utility-bar .phone-link:hover,
.utility-bar .phone-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.btn-primary-custom { background: var(--color-navy); border: 2px solid var(--color-navy); color: #fff; font-weight: 700; padding: .72rem 1.35rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn-primary-custom:hover, .btn-primary-custom:focus, .btn-primary-custom.active { background: var(--color-navy-dark); border-color: var(--color-navy-dark); color: #fff; }
.btn-primary-custom:hover { background-color: #0e2438; border-color: #0e2438; color: #ffffff; transform: translateY(-2px); }
.btn-primary-custom:hover:not(:focus-visible) { box-shadow: 0 6px 16px rgba(14, 36, 56, .28); }
.btn-primary-custom.active[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--color-gold); }
.btn-primary-custom.active[aria-current="page"]:hover:not(:focus-visible) { box-shadow: inset 0 -3px 0 var(--color-gold), 0 6px 16px rgba(14, 36, 56, .28); }
.btn-primary-custom.active[aria-current="page"]:focus-visible { box-shadow: inset 0 -3px 0 var(--color-gold), 0 0 0 5px #17324d; }

/* ===== サイト共通ヘッダー ===== */
.site-header { border-bottom-color: #e8ddd0; box-shadow: 0 .35rem 1.2rem rgba(51,51,51,.055); }
.home-header-inner { gap: clamp(.75rem, 1.5vw, 1.5rem); padding: .25rem clamp(1.25rem, 3vw, 3rem); }
.home-navbar .brand-mark { color: #333; flex: 0 0 auto; line-height: 1.35; margin-right: 0; }
.home-navbar .brand-mark img { display: block; height: auto; max-width: 100%; width: 320px; }
.home-navbar .navbar-collapse { gap: clamp(1rem, 1.8vw, 2rem); }
.home-nav { flex: 1 1 auto; gap: clamp(.75rem, 1.3vw, 1.5rem); justify-content: center; margin-left: 0 !important; }
.home-nav .nav-link { align-items: center; color: #333; display: flex; flex-direction: column; font-size: .82rem; line-height: 1.3; min-width: 4.2rem; padding: .55rem .4rem !important; text-align: center; }
.home-nav .nav-link:hover,
.home-nav .nav-link:focus-visible { color: #a84a4a; }
.home-nav .nav-link.active { color: #a84a4a; text-decoration: none; }
.home-nav .nav-link.active::after { background: #a84a4a; content: ""; height: 2px; margin-top: .35rem; width: 1.5rem; }
.home-nav-en { color: #a84a4a; font-size: .62rem; font-weight: 700; letter-spacing: .14em; margin-bottom: .18rem; }
.home-mobile-only { display: none; }
.home-header-contact { align-items: flex-end; display: flex; flex: 0 0 auto; flex-direction: column; gap: .4rem; margin-left: 0; }
.home-header-hours { color: #655d58; font-size: .68rem; line-height: 1.3; white-space: nowrap; }
.home-header-actions { display: flex; gap: .5rem; }
.home-header-phone,
.home-header-inquiry { align-items: center; border-radius: .4rem; display: inline-flex; font-size: .9rem; font-weight: 700; justify-content: center; line-height: 1.4; min-height: 46px; padding: .58rem .8rem; text-decoration: none; white-space: nowrap; }
.home-header-phone { background: #a84a4a; border: 2px solid #a84a4a; color: #fff; }
.home-header-phone:hover,
.home-header-phone:focus { background: #8f3d3d; border-color: #8f3d3d; color: #fff; }
.home-header-inquiry { background: var(--color-navy); border: 2px solid var(--color-navy); color: #fff; }
.home-header-inquiry:hover,
.home-header-inquiry:focus { background: var(--color-navy-dark); border-color: var(--color-navy-dark); color: #fff; }
.home-header-phone:focus-visible,
.home-header-inquiry:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #a84a4a; outline: 0; }

@media (min-width: 1200px) {
  .home-nav { gap: clamp(.75rem, 1.3vw, 1.5rem); }
  .home-nav .nav-link { font-size: 1.03rem; min-width: 5.25rem; }
  .home-nav-en { font-size: .78rem; }
  .home-header-hours { font-size: .84rem; }
}

@media (max-width: 1199.98px) {
  .home-header-inner { gap: 1rem; padding: .2rem clamp(1rem, 3vw, 2rem); }
  .home-navbar .navbar-collapse { border-top: 1px solid #e8ddd0; margin-top: .8rem; padding: 1rem 0 .25rem; }
  .home-nav { align-items: stretch !important; gap: 0; }
  .home-nav > .nav-item { border-bottom: 1px solid rgba(232,221,208,.8); }
  .home-nav .nav-link { align-items: flex-start; color: #333; font-size: 1.03rem; font-weight: 700; justify-content: center; min-height: 56px; padding: .45rem .5rem !important; text-align: left; }
  .home-nav-en { color: #a84a4a; font-size: .78rem; letter-spacing: .14em; margin-bottom: .08rem; }
  .home-nav .nav-link.active { color: #a84a4a; }
  .home-nav .nav-link.active::after { display: none; }
  .home-mobile-only { display: block; }
  .home-header-contact { align-items: stretch; gap: .5rem; margin: .75rem 0 0; }
  .home-header-hours { color: #514b47; font-size: .84rem; padding-inline: .15rem; }
  .home-header-actions { flex-direction: column; }
  .home-header-phone, .home-header-inquiry { min-height: 48px; text-align: center; width: 100%; }
}
.btn-gold { background: var(--color-gold-text); border: 2px solid var(--color-gold-text); color: #fff; font-weight: 700; padding: .85rem 1.5rem; }
.btn-gold:hover, .btn-gold:focus { background: #654c26; border-color: #654c26; color: #fff; }
body:not(.home-page) .btn-gold, .home-page .cta-band .btn-gold { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
body:not(.home-page) .btn-gold:hover, .home-page .cta-band .btn-gold:hover { background-color: #654c26; border-color: #654c26; color: #ffffff; transform: translateY(-2px); }
body:not(.home-page) .btn-gold:hover:not(:focus-visible), .home-page .cta-band .btn-gold:hover:not(:focus-visible) { box-shadow: 0 6px 16px rgba(101, 76, 38, .30); }
.btn-primary-custom:active, body:not(.home-page) .btn-gold:active, .home-page .cta-band .btn-gold:active { transform: translateY(0); }


/* ===== Cards / content ===== */
.service-card, .feature-card, .blog-card { background: #fff; border: 1px solid var(--color-border); border-radius: .35rem; height: 100%; padding: 1.6rem; position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.service-card:hover, .blog-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.services-overview { background: #fff; }
.services-overview .eyebrow { color: var(--color-akane); }
.services-overview .section-heading h2,
.services-overview .service-card-body h3 { color: #333 !important; }
.services-overview .services-overview-description,
.services-overview .service-card-body p { color: #5c514d; }
.services-overview .services-overview-description { line-height: 1.8; margin-inline: auto; max-width: 34rem; text-align: left; text-wrap: pretty; }
.services-overview .service-card { border-color: rgba(168, 74, 74, .16); box-shadow: 0 .3rem 1rem rgba(51, 46, 44, .025); display: flex; flex-direction: column; overflow: hidden; padding: 0; text-align: left; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.services-overview .service-card:hover { border-color: rgba(168, 74, 74, .42); box-shadow: 0 .65rem 1.5rem rgba(51, 46, 44, .09); transform: translateY(-3px); }
.services-overview .service-card-image { display: block; height: auto; width: 100%; }
.services-overview .service-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.6rem; }
.services-overview .service-card-body h3 { margin-top: 0; }
.services-overview .service-card-body p { flex: 1; }
.services-overview .service-card-body a { color: var(--color-akane-dark); font-weight: 700; text-decoration-color: transparent; text-decoration-thickness: 1px; transition: color .2s ease, text-decoration-color .2s ease; }
.services-overview .service-card-body a:hover,
.services-overview .service-card-body a:focus-visible { color: #742f2f; text-decoration-color: currentColor; }
.services-overview .btn-primary-custom { background: #333; border-color: #333; color: #fff; }
.services-overview .btn-primary-custom:hover,
.services-overview .btn-primary-custom:focus { background: var(--color-akane); border-color: var(--color-akane); color: #fff; }
.services-overview .btn-primary-custom:hover { box-shadow: 0 6px 16px rgba(143, 61, 61, .24); }
.services-overview.services-reveal-ready .services-reveal-heading,
.services-overview.services-reveal-ready .services-reveal-card {
  opacity: 0;
  transform: translateY(18px);
}
.services-overview.services-reveal-ready .services-reveal-heading {
  transition: opacity .7s ease, transform .7s ease;
}
.services-overview.services-reveal-ready .services-reveal-card {
  transition: opacity .6s ease var(--services-reveal-delay, 0s), transform .6s ease var(--services-reveal-delay, 0s);
}
.services-overview.services-reveal-ready .services-reveal-heading.is-revealed,
.services-overview.services-reveal-ready .services-reveal-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.icon-tile { align-items: center; background: var(--color-beige); border-radius: 50%; color: var(--color-navy); display: inline-flex; font-size: 1.45rem; height: 3.5rem; justify-content: center; width: 3.5rem; }
.concern-list { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.concern-list li { align-items: center; background: #fff; border-left: 3px solid var(--color-gold); border-radius: .15rem; box-shadow: 0 .3rem 1rem rgba(14,36,56,.055); display: flex; font-weight: 600; gap: .9rem; padding: 1.05rem 1.15rem; }
.concern-icon { color: var(--color-akane-dark); flex: 0 0 1.7rem; height: 1.7rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; fill: none; width: 1.7rem; }
.flow-step { height: 100%; }
.flow-step-image { aspect-ratio: 4 / 3; border: 1px solid var(--color-border); border-radius: .35rem; display: block; height: 180px; margin-bottom: 1.25rem; object-fit: cover; width: 100%; }
.flow-number { align-items: center; background: var(--color-navy); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 2.8rem; font-weight: 700; height: 2.8rem; justify-content: center; }
.message-image { border-radius: .35rem; display: block; height: auto; width: 100%; }
.access-map-embed { display: block; height: clamp(320px, 52vw, 450px); width: 100%; }
.date-label { color: var(--color-muted); font-size: .9rem; }
.category-label { background: var(--color-blue-soft); color: var(--color-navy); font-size: .78rem; font-weight: 700; padding: .2rem .55rem; }

/* ===== Top page section palette ===== */
.home-page [aria-labelledby="concerns-title"],
.home-page [aria-labelledby="news-title"] { background: var(--color-blue-soft); }
.home-page [aria-labelledby="features-title"],
.home-page [aria-labelledby="message-title"],
.home-page [aria-labelledby="faq-link-title"] { background: #fff; }
.home-page [aria-labelledby="flow-title"],
.home-page [aria-labelledby="access-title"] { background: var(--color-ivory); }
.home-page [aria-labelledby="concerns-title"] .eyebrow,
.home-page [aria-labelledby="features-title"] .eyebrow,
.home-page [aria-labelledby="flow-title"] .eyebrow,
.home-page [aria-labelledby="message-title"] .eyebrow,
.home-page [aria-labelledby="news-title"] .eyebrow,
.home-page [aria-labelledby="faq-link-title"] .eyebrow,
.home-page [aria-labelledby="access-title"] .eyebrow { color: var(--color-akane); }
.home-page [aria-labelledby="concerns-title"] h2,
.home-page [aria-labelledby="features-title"] h2,
.home-page [aria-labelledby="features-title"] h3,
.home-page [aria-labelledby="flow-title"] h2,
.home-page [aria-labelledby="flow-title"] h3,
.home-page [aria-labelledby="message-title"] h2,
.home-page [aria-labelledby="news-title"] h2,
.home-page [aria-labelledby="news-title"] h3,
.home-page [aria-labelledby="faq-link-title"] h2,
.home-page [aria-labelledby="access-title"] h2 { color: #333 !important; }
.home-page [aria-labelledby="concerns-title"] .concern-list li { border-left-color: var(--color-akane); box-shadow: 0 .3rem 1rem rgba(51, 46, 44, .055); }
.home-page [aria-labelledby="features-title"] .feature-card,
.home-page [aria-labelledby="news-title"] .blog-card { border-color: rgba(168, 74, 74, .13); box-shadow: 0 .25rem .9rem rgba(51, 46, 44, .025); }
.home-page [aria-labelledby="features-title"] .icon-tile { background: rgba(168, 74, 74, .09); color: var(--color-akane-dark); }
.home-page [aria-labelledby="features-title"] .feature-card p { text-align: left; text-wrap: pretty; }
.home-page [aria-labelledby="flow-title"] .flow-number { background: var(--color-akane); }
.home-page [aria-labelledby="flow-title"] .flow-step-image { border-color: rgba(168, 74, 74, .16); }
.home-page [aria-labelledby="message-title"] a,
.home-page [aria-labelledby="news-title"] h3 a { color: var(--color-akane-dark); }
.home-page [aria-labelledby="message-title"] a:hover,
.home-page [aria-labelledby="news-title"] h3 a:hover { color: #742f2f; }
.home-page [aria-labelledby="news-title"] .category-label { background: #fff; color: #514b47; }
.home-page [aria-labelledby="news-title"] .btn-primary-custom,
.home-page [aria-labelledby="faq-link-title"] .btn-primary-custom,
.home-page [aria-labelledby="access-title"] .btn-primary-custom { background: #333; border-color: #333; color: #fff; }
.home-page [aria-labelledby="news-title"] .btn-primary-custom:hover,
.home-page [aria-labelledby="news-title"] .btn-primary-custom:focus,
.home-page [aria-labelledby="faq-link-title"] .btn-primary-custom:hover,
.home-page [aria-labelledby="faq-link-title"] .btn-primary-custom:focus,
.home-page [aria-labelledby="access-title"] .btn-primary-custom:hover,
.home-page [aria-labelledby="access-title"] .btn-primary-custom:focus { background: var(--color-akane); border-color: var(--color-akane); color: #fff; }
/* ===== お問い合わせCTA ===== */
.cta-band {
  background: var(--color-akane-dark);
  color: var(--color-ivory);
  overflow: hidden;
  position: relative;
}
.cta-band.section-space { padding: 3.25rem 0; }
.cta-band > .container {
  max-width: 62rem;
  position: relative;
}
.cta-band h2 {
  color: var(--color-ivory);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.cta-band h2 + p {
  color: #f3e8df;
  line-height: 1.9;
  margin-left: auto;
  margin-right: auto;
  max-width: 45rem;
  text-align: left;
  text-wrap: pretty;
}
.cta-band.access-cta h2 + p { text-align: center; }
.cta-band .d-flex {
  align-items: stretch;
}
.cta-band .btn,
.cta-band .phone-link {
  align-items: center;
  border-radius: .25rem;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  min-height: 54px;
  min-width: 15rem;
  padding: .8rem 1.5rem;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.cta-band .btn-gold {
  background: var(--color-ivory);
  border: 2px solid var(--color-ivory);
  color: var(--color-akane-dark);
}
.cta-band .btn-gold:hover {
  background: #fff;
  border-color: #fff;
  color: #7d3434;
}
.cta-band .btn-outline-light,
.cta-band .phone-link {
  background: transparent;
  border: 2px solid #f3e8df;
  color: var(--color-ivory);
}
.cta-band .btn-outline-light:hover,
.cta-band .phone-link:hover {
  background: var(--color-ivory);
  border-color: var(--color-ivory);
  color: var(--color-akane-dark);
}
.cta-band .btn:active,
.cta-band .phone-link:active {
  background: #eadbd2;
  border-color: #eadbd2;
  color: #742f2f;
}
.cta-band .btn:focus-visible,
.cta-band .phone-link:focus-visible {
  box-shadow: none;
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.cta-band .news-cta-phone-icon,
.cta-band .faq-cta-phone-icon {
  color: currentColor;
}
.cta-band .small {
  color: #eadbd2;
  letter-spacing: .02em;
}

/* ===== 下層ページ共通 / 事務所紹介 ===== */
.page-hero {
  background-color: #faf7f2;
  background-image: linear-gradient(rgba(250,247,242,.74), rgba(250,247,242,.74)), url("../images/common/page-header-bg.webp");
  background-position: center 48%;
  background-repeat: no-repeat;
  background-size: cover;
  color: #333;
  padding: 3rem 0;
}
.page-hero .eyebrow { color: #a84a4a; font-size: .8rem; letter-spacing: .16em; }
.page-hero h1, .page-hero-title { color: #333; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
.page-hero h1::after, .page-hero-title::after { background: #a84a4a; content: ""; display: block; height: 2px; margin: .75rem auto 0; width: 2.75rem; }
.page-hero p:last-child { color: #333; font-size: 1.05rem; font-weight: 500; margin-left: auto; margin-right: auto; max-width: 48rem; }
.breadcrumb-wrap { background: #faf7f2; border-bottom: 1px solid #e8ddd0; padding: .75rem 0; }
.breadcrumb { font-size: .9rem; }
.breadcrumb-wrap a { color: #a84a4a; font-weight: 600; }
.breadcrumb-wrap a:hover { color: #8f3d3d; }
.breadcrumb-item.active { color: #444; }
.breadcrumb-item + .breadcrumb-item::before { color: #9b9088; }
#message { background: #f4ebdd; }
#philosophy { background: #eaf3f9; }
#overview { background: #faf2e6; }
#message + #philosophy { padding-top: 2.25rem; }
.overview-list > div { border-bottom: 1px solid var(--color-border); display: grid; gap: 1rem; grid-template-columns: 9rem 1fr; padding: .8rem 0; }
.overview-list > div:first-child { border-top: 1px solid var(--color-border); }
.overview-list { font-size: 1.0625rem; line-height: 1.8; }
.overview-list dt { color: var(--color-navy); font-weight: 700; }
.overview-list dd { margin-bottom: 0; }
.office-policy-image { border-radius: .35rem; display: block; height: auto; margin: 0 0 2rem; width: 100%; }
@media (min-width: 576px) {
  .office-policy-image { height: 380px; object-fit: cover; object-position: center; }
}
.policy-card { border-top: 3px solid var(--color-gold); box-shadow: var(--shadow-soft); height: 100%; padding: 1.75rem; }
.policy-card h3 { color: var(--color-navy); font-size: 1.2rem; font-weight: 700; margin: .6rem 0; }
.policy-card p { font-size: 1.0625rem; line-height: 1.8; margin-bottom: 0; }
.policy-number { color: var(--color-gold-text); font-size: .85rem; font-weight: 700; letter-spacing: .12em; }
.about-access p { margin-left: auto; margin-right: auto; max-width: 42rem; }
.about-access h2 + p, .reading-copy { margin-left: auto; margin-right: auto; max-width: 45rem; text-align: left; text-wrap: pretty; }
#about-contact { background: var(--color-blue-soft); padding-bottom: 3.25rem; padding-top: 3.25rem; }
#about-contact .phone-link { font-size: 1.25rem; }
#about-contact .container > p:last-child { margin-top: 1.25rem !important; }

/* ===== 業務案内 ===== */
.service-anchor-nav ul { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) {
  .service-anchor-nav li:last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - .75rem) / 2); }
}
.service-anchor-nav a { align-items: center; background: #fff; border: 1px solid var(--color-border); display: flex; font-weight: 700; min-height: 3.5rem; padding: .75rem 1rem; text-decoration: none; }
.service-anchor-nav a::after { color: var(--color-gold); content: "↓"; margin-left: auto; padding-left: .75rem; }
.service-anchor-nav a:hover { border-color: var(--color-gold); }
.legal-note { background: var(--color-beige); border-left: 4px solid var(--color-gold); padding: 1.25rem 1.5rem; }
.legal-note h3 { color: var(--color-navy); font-size: 1.05rem; font-weight: 700; }
.legal-note p { margin-bottom: 0; }
.service-anchor-target { scroll-margin-top: 9rem; }
.service-detail-card { background: #fff; border: 1px solid var(--color-border); border-top: 3px solid var(--color-gold); height: 100%; padding: 1.6rem; }
.service-detail-card h3 { color: var(--color-navy); font-size: 1.3rem; font-weight: 700; line-height: 1.5; margin-bottom: .8rem; }
.service-detail-number { color: var(--color-gold-text); font-size: .82rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .35rem; }
.service-detail-card .service-detail-heading { align-items: center; display: flex; gap: .85rem; margin-bottom: .8rem; }
.service-detail-card .service-detail-icon { align-items: center; background: #e8f1eb; border-radius: 50%; color: #35634b; display: inline-flex; flex: 0 0 3rem; height: 3rem; justify-content: center; }
.service-detail-card .service-detail-icon svg { display: block; height: 1.75rem; width: 1.75rem; }
.service-detail-card .service-detail-label { min-width: 0; }
.service-detail-card .service-detail-heading h3 { margin-bottom: 0; overflow-wrap: anywhere; }
.service-detail-card::after { clear: both; content: ""; display: table; }
.service-detail-image { background: var(--color-beige); border-radius: .3rem; display: block; float: right; height: auto; margin: 0 0 1rem 1.25rem; object-fit: contain; width: 9rem; }
.service-detail-card dl { margin-bottom: 0; }
.service-detail-card dt { color: var(--color-navy); font-size: .9rem; margin-top: .75rem; }
.service-detail-card dd { margin-bottom: 0; }
.service-detail-card dd ul { margin-bottom: 0; padding-left: 1.25rem; }
.service-caution { background: var(--color-beige); border-radius: .2rem; font-size: .9rem; margin: 1rem 0 0; padding: .8rem; }
.service-process { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.service-process li { border: 1px solid var(--color-border); display: flex; gap: 1rem; padding: 1.25rem; }
.service-process li > span { align-items: center; background: var(--color-navy); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 2.5rem; font-weight: 700; height: 2.5rem; justify-content: center; }
.service-process h3 { color: var(--color-navy); font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
.service-process p { margin-bottom: 0; }
.service-flow-note { background: var(--color-blue-soft); margin: 1.5rem 0 0; padding: 1rem; text-align: center; }

/* ===== お問い合わせ ===== */
.contact-info-card { background: #fff; border: 1px solid var(--color-border); border-top: 3px solid var(--color-gold); height: 100%; padding: 1.6rem; }
.contact-info-card h3 { color: var(--color-navy); font-size: 1.3rem; font-weight: 700; }
.contact-info-icon { color: var(--color-gold); display: block; height: 2rem; margin: 0 auto .75rem; width: 2rem; }
.contact-phone { color: var(--color-navy); font-size: clamp(1.8rem, 5vw, 2.35rem); font-weight: 700; letter-spacing: .03em; text-decoration: none; }
.contact-guidance-box { background: #fff; border-left: 4px solid var(--color-gold); box-shadow: var(--shadow-soft); margin: 0 auto; max-width: 54rem; padding: 1.5rem; }
.contact-call-button { align-items: center; display: inline-flex; font-size: 1.1rem; justify-content: center; min-width: 12rem; }
.section-space.contact-method-section { padding-bottom: 2.75rem; }
.section-space.contact-fees-section { padding-top: 2.75rem; }
.contact-holiday-note, .contact-caution { line-height: 1.7; }
.contact-holiday-note { color: #4f5d67 !important; }
.contact-caution { background: var(--color-beige); border: 1px solid #dfd3bf; margin-left: auto; margin-right: auto; max-width: 54rem; padding: 1.5rem; }
.contact-caution h3 { color: var(--color-navy); font-size: 1.15rem; font-weight: 700; }
.contact-caution li + li { margin-top: .5rem; }

/* ===== よくある質問 ===== */
.faq-anchor-guide { color: var(--color-muted); font-size: .9rem; margin-bottom: 1rem; text-align: center; }
.faq-anchor-nav ul { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.faq-anchor-nav a { align-items: center; background: #fff; border: 1px solid var(--color-border); display: flex; font-weight: 700; min-height: 3.5rem; padding: .75rem 1rem; text-decoration: none; }
.faq-anchor-nav a::after { color: var(--color-gold); content: "↓"; margin-left: auto; padding-left: .75rem; }
.faq-anchor-nav a:hover, .faq-anchor-nav a:focus-visible { border-color: var(--color-gold); }
.faq-section { scroll-margin-top: 9rem; }
.faq-section + .faq-section { margin-top: 3rem; }
.faq-section-title { border-left: 4px solid var(--color-gold); color: var(--color-navy); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; padding-left: 1rem; }
.faq-accordion .accordion-item { border-color: var(--color-border); }
.faq-accordion .accordion-collapse.collapse:not(.show) { display: block; }
.faq-collapse-enhanced .faq-accordion .accordion-collapse.collapse:not(.show) { display: none; }
.faq-accordion .accordion-button { align-items: center; color: var(--color-navy); font-weight: 700; line-height: 1.6; min-height: 3.5rem; padding: 1rem 3.25rem 1rem 1.25rem; }
.faq-question-mark { align-items: center; background: var(--color-navy); border-radius: 50%; color: var(--color-white); display: inline-flex; flex: 0 0 2rem; font-size: .9rem; font-weight: 700; height: 2rem; justify-content: center; margin-right: .85rem; width: 2rem; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--color-blue-soft); box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--color-border); color: var(--color-navy-dark); }
.faq-accordion .accordion-button:focus { border-color: var(--color-gold); box-shadow: 0 0 0 .2rem rgba(169, 133, 71, .25); }
.faq-accordion .accordion-body { background: #fff; padding: 1.25rem; }
.faq-answer { align-items: flex-start; display: flex; gap: .85rem; }
.faq-answer-mark { align-items: center; border: 2px solid var(--color-gold); border-radius: 50%; color: var(--color-gold); display: inline-flex; flex: 0 0 2rem; font-size: .9rem; font-weight: 700; height: 2rem; justify-content: center; width: 2rem; }
.faq-note { background: var(--color-beige); border-left: 4px solid var(--color-gold); margin-top: 3rem; padding: 1.25rem 1.5rem; }
.faq-note h3 { color: var(--color-navy); font-size: 1.1rem; font-weight: 700; }
.faq-cta-phone { align-items: center; display: inline-flex; gap: .5rem; }
.faq-cta-phone-icon { color: var(--color-gold); flex: 0 0 auto; height: 1.25rem; width: 1.25rem; }

/* ===== お知らせ ===== */
.news-page-hero h1 { margin-bottom: 0; }
.news-intro .section-heading { margin-bottom: 1.75rem; }
.news-category-filter { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.news-category-button { background: var(--color-blue-soft); border: 1px solid var(--color-border); border-radius: .25rem; color: var(--color-navy); font-size: .88rem; font-weight: 700; min-height: 44px; padding: .45rem .8rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.news-category-button:hover, .news-category-button:focus-visible, .news-category-button.is-active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.news-category-button:focus-visible { outline: 3px solid rgba(23,50,77,.28); outline-offset: 2px; }
[data-news-item][hidden], [data-news-empty-state][hidden] { display: none !important; }
.news-list-title { color: var(--color-navy); font-size: 1.65rem; font-weight: 700; margin-bottom: 1.75rem; text-align: center; }
.news-card { background: #fff; border: 1px solid var(--color-border); border-top: 3px solid var(--color-gold); display: flex; flex-direction: column; height: 100%; padding: 1.5rem; transition: box-shadow .2s ease, transform .2s ease; }
.news-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.news-meta { align-items: center; display: flex; flex-wrap: wrap; gap: .55rem .75rem; margin-bottom: .9rem; }
.news-meta time { color: var(--color-muted); font-size: .9rem; }
.news-card h3 { color: var(--color-navy); font-size: 1.2rem; font-weight: 700; line-height: 1.6; margin-bottom: .75rem; overflow-wrap: break-word; }
.news-card h3 a { color: inherit; text-decoration-color: var(--color-gold); text-decoration-thickness: 1px; text-underline-offset: .2rem; }
.news-card h3 a:hover { color: var(--color-navy-dark); text-decoration-thickness: 2px; }
.news-card p { margin-bottom: 1rem; }
.blog-card-image-link, .news-card-image-link { aspect-ratio: 16 / 9; display: block; overflow: hidden; }
.blog-card-image, .news-card-image { display: block; height: 100%; object-fit: cover; width: 100%; }
.blog-card > p, .news-card > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-read-more { align-items: center; align-self: flex-start; color: var(--color-navy); display: inline-flex; font-weight: 700; gap: .45rem; margin-top: auto; min-height: 44px; text-underline-offset: .2rem; }
.news-read-more:hover { color: #806332; }
.category-office { background: var(--color-navy); color: #fff; }
.category-other { background: #eeeae2; color: #243d53; }
.news-pagination { margin-top: 3rem; }
.news-pagination .page-link { border-color: var(--color-border); color: var(--color-navy); min-width: 2.75rem; text-align: center; }
.news-pagination .page-item.active .page-link { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.news-pagination .page-item.disabled .page-link { background: #eef0f2; color: #687681; }
.news-demo-note { background: var(--color-beige); border-left: 4px solid var(--color-gold); font-size: .9rem; margin: 2.5rem auto 0; max-width: 54rem; padding: 1rem 1.25rem; }
.news-cta-phone { align-items: center; display: inline-flex; gap: .5rem; }
.news-cta-phone-icon { color: var(--color-gold); flex: 0 0 auto; height: 1.25rem; width: 1.25rem; }

/* ===== お知らせ詳細 ===== */
.news-detail > .container { max-width: 54rem; }
.news-detail-header { border-bottom: 1px solid var(--color-border); margin-bottom: 2rem; padding-bottom: 1.5rem; }
.news-detail-meta { align-items: center; display: flex; flex-wrap: wrap; gap: .55rem .75rem; margin-bottom: 1rem; }
.news-detail-meta time { color: var(--color-muted); font-size: .9rem; }
.news-detail-title { color: var(--color-navy); font-size: clamp(1.65rem, 4vw, 2.15rem); font-weight: 700; line-height: 1.5; margin: 0; overflow-wrap: break-word; }
.news-detail-body p { margin-bottom: 1.5rem; }
.news-detail-body h3 { color: var(--color-navy); font-size: 1.2rem; font-weight: 700; line-height: 1.5; }
.news-detail-schedule { background: var(--color-beige); border-left: 4px solid var(--color-gold); margin: 2rem 0; padding: 1.5rem; }
.news-detail-schedule h3 { margin-bottom: 1rem; }
.news-detail-schedule dl { margin: 0; }
.news-detail-schedule dl > div { border-top: 1px solid rgba(23,50,77,.16); display: grid; gap: 1rem; grid-template-columns: 9rem minmax(0, 1fr); padding: .85rem 0; }
.news-detail-schedule dl > div:last-child { padding-bottom: 0; }
.news-detail-schedule dt { color: var(--color-navy); font-weight: 700; }
.news-detail-schedule dd { margin: 0; overflow-wrap: break-word; }
.news-detail-contact { background: var(--color-blue-soft); margin-top: 2.25rem; padding: 1.5rem; }
.news-detail-contact h3 { margin-bottom: .65rem; }
.news-detail-contact p { margin-bottom: 1rem; }
.news-back-link { align-items: center; color: var(--color-navy); display: inline-flex; font-weight: 700; gap: .35rem; margin-top: 2.25rem; min-height: 44px; text-underline-offset: .2rem; }
.news-back-link:hover { color: #806332; }

/* ===== プライバシーポリシー ===== */
.privacy-content { line-height: 1.8; margin: 0 auto; max-width: 49rem; }
.privacy-intro { border-bottom: 1px solid var(--color-border); margin-bottom: 2.25rem; padding-bottom: 1.5rem; }
.privacy-section + .privacy-section { border-top: 1px solid var(--color-border); margin-top: 2rem; padding-top: 2rem; }
.privacy-section h3 { color: var(--color-navy); font-size: 1.25rem; font-weight: 700; line-height: 1.55; margin-bottom: .75rem; }
.privacy-section p { margin-bottom: 1rem; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-list { line-height: 1.8; margin-bottom: 0; padding-left: 1.5rem; }
.privacy-list li + li { margin-top: .4rem; }
.privacy-contact { background: var(--color-blue-soft); border-left: 4px solid var(--color-gold); font-style: normal; line-height: 1.9; margin: 0; padding: 1.25rem 1.5rem; }
.privacy-date { color: var(--color-muted); margin: 2.25rem 0 0; text-align: right; }

/* ===== サイトマップ ===== */
.sitemap-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 auto; max-width: 54rem; }
.sitemap-card { background: #fff; border: 1px solid var(--color-border); border-top: 3px solid var(--color-gold); padding: 1.5rem; }
.sitemap-card h3 { color: var(--color-navy); font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li + li { border-top: 1px solid var(--color-border); }
.sitemap-list a { align-items: center; color: var(--color-navy); display: flex; min-height: 44px; padding: .35rem 0; text-underline-offset: .2rem; }
.sitemap-list a::after { color: var(--color-gold); content: "→"; margin-left: auto; padding-left: .75rem; }

/* ===== Footer (common component) ===== */
.site-footer { background: #f7f2ea; border-top: 1px solid rgba(143, 61, 61, .18); color: #333333; font-size: 1rem; overflow: hidden; padding: 2.5rem 0 0; }
.site-footer .h5 { background: url("../images/logo/akane_horizontal_logo_fixed.png") -3px center / contain no-repeat; display: block; height: 76px; margin-bottom: 1rem; max-width: 280px; overflow: hidden; text-indent: -9999px; width: 100%; }
.site-footer .h5::after { content: none; }
.site-footer .fw-bold { align-items: center; color: #332e2c !important; display: flex; gap: .55rem; letter-spacing: .04em; }
.site-footer .fw-bold::before { background: var(--color-akane-dark); content: ""; height: 2px; width: 1.35rem; }
.site-footer a { color: #333333; text-decoration: none; transition: color .2s ease, text-decoration-color .2s ease; }
.site-footer a:hover { color: var(--color-akane-dark); text-decoration: underline; text-decoration-color: var(--color-akane-dark); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.site-footer a:focus-visible { color: var(--color-akane-dark); outline: 3px solid var(--color-akane-dark); outline-offset: 3px; box-shadow: 0 0 0 5px #fff; }
.site-footer hr { border-color: rgba(143, 61, 61, .16) !important; margin: 1.25rem 0 0; opacity: 1; }
.site-footer > .container > .small { background: #2f2a28; box-shadow: 0 0 0 100vmax #2f2a28; clip-path: inset(0 -100vmax); color: #d8cfca; padding: .85rem 0; }
.site-footer .footer-nav { list-style: none; padding: 0; }
.site-footer .footer-nav li { margin-bottom: .35rem; }
.demo-notice { background: #fff3cd; color: #4b3b08; font-weight: 700; padding: .65rem; text-align: center; }
.page-top-button {
  align-items: center;
  background: var(--color-navy);
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 6px 18px rgba(12, 38, 61, .32);
  color: var(--color-white);
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 20px;
  width: 48px;
  z-index: 1000;
}
.page-top-button[hidden] { display: none; }
.page-top-button:hover { background: var(--color-navy-dark); }
.page-top-button:active { box-shadow: 0 2px 6px rgba(12, 38, 61, .25); }
.page-top-button svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 24px;
}

@media (max-width: 991.98px) {
  .navbar-collapse { border-top: 1px solid var(--color-border); margin-top: .8rem; padding: 1rem 0; }
  .navbar-nav .nav-link { padding-block: .7rem; }
  .bootstrap-unavailable .navbar-toggler { display: none; }
  .bootstrap-unavailable #mainNav.collapse { display: block; }
  .no-js-nav { display: block; }
  .no-js-nav ul { display: grid; gap: 0 .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-top-button { bottom: 20px; right: 20px; }
  .section-space { padding: 3.5rem 0; }
  #message + #philosophy { padding-top: 1.5rem; }
  .service-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .home-page .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  /* ===== スマートフォン全体の余白・文字・タップ領域 ===== */
  body { font-size: 1.0625rem; line-height: 1.8; overflow-x: clip; }
  .mobile-line-break { display: block; }
  .container { --bs-gutter-x: 2.5rem; }
  .home-page .row.g-5 {
    --bs-gutter-x: 2.5rem;
  }
  .section-space { padding: 3rem 0; }
  #message + #philosophy { padding-top: 1rem; }
  .section-heading { margin-bottom: 1.75rem; }
  .section-heading .eyebrow, .eyebrow { letter-spacing: .12em; margin-bottom: .35rem !important; }
  .section-heading h2 { font-size: clamp(1.55rem, 7vw, 1.9rem); line-height: 1.45; text-wrap: balance; }
  .section-heading p { margin-left: auto; margin-right: auto; max-width: 34rem; }
  .cta-band h2 + p,
  [aria-labelledby="faq-link-title"] h2 + p,
  .about-access h2 + p { text-align: left; }
  .btn { align-items: center; display: inline-flex; justify-content: center; min-height: 48px; }

  /* ヘッダー：ロゴとメニューを窮屈にせず、リンクを押しやすくします。 */
  .home-page .navbar > .container { padding-bottom: .4rem !important; padding-top: .4rem !important; }
  .home-navbar .home-header-inner { column-gap: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
  .home-navbar .brand-mark { margin-right: 0; max-width: none; min-width: 0; }
  .home-navbar .brand-mark img { width: min(220px, 100%); }
  .navbar-toggler { min-height: 44px; min-width: 44px; padding: .45rem; }
  .home-navbar .navbar-toggler { justify-self: end; padding: .35rem; }
  .home-navbar .navbar-collapse { grid-column: 1 / -1; min-width: 0; width: 100%; }
  .no-js-nav ul { grid-template-columns: 1fr; }
  .navbar-nav .nav-link { align-items: center; display: flex; min-height: 48px; padding-inline: .5rem !important; }
  .navbar-nav .nav-link.active { text-underline-offset: .35rem; }
  .navbar-collapse .btn-primary-custom { margin-top: .5rem; width: 100%; }


  /* カード・リスト：余白と高さを揃えて読みやすくします。 */
  .service-card, .feature-card, .blog-card { padding: 1.25rem; }
  .services-overview .service-card { padding: 0; }
  .services-overview .service-card-body { padding: 1.25rem; }
  .services-overview .services-overview-description { line-height: 1.7; max-width: 20rem; text-align: left; text-wrap: pretty; }
  .service-card h3, .feature-card h3, .blog-card h3 { line-height: 1.55; margin-bottom: .65rem; }
  .service-card p, .feature-card p, .blog-card p { margin-bottom: .85rem; }
  .feature-card h3 + p { text-align: left; }
  .icon-tile { font-size: 1.2rem; height: 3rem; width: 3rem; }
  .concern-list { gap: .85rem; }
  .concern-list li { align-items: flex-start; line-height: 1.65; padding: .95rem 1rem; }
  .concern-icon { flex-basis: 1.55rem; height: 1.55rem; margin-top: .2rem; width: 1.55rem; }

  /* 相談の流れ：番号・見出し・説明の間隔を一定にします。 */
  [aria-labelledby="flow-title"] .row.g-4 { --bs-gutter-y: 0; }
  [aria-labelledby="flow-title"] .row.g-4 > div { border-bottom: 1px solid rgba(23, 50, 77, .16); padding-bottom: 1.25rem; padding-top: 1.25rem; }
  [aria-labelledby="flow-title"] .row.g-4 > div:first-child { padding-top: 0; }
  [aria-labelledby="flow-title"] .row.g-4 > div:last-child { border-bottom: 0; padding-bottom: 0; }
  [aria-labelledby="flow-title"] h3 { margin-bottom: .35rem; }
  [aria-labelledby="flow-title"] p { margin-bottom: 0; }
  .flow-number { flex-basis: 2.65rem; height: 2.65rem; width: 2.65rem; }

  /* 挨拶・ブログ・FAQ導線 */
  .blog-card .d-flex { margin-bottom: .8rem !important; }
  [aria-labelledby="faq-link-title"] p { margin-left: auto; margin-right: auto; max-width: 34rem; }
  [aria-labelledby="faq-link-title"] .btn { width: 100%; }

  /* アクセス：項目間の境界を設け、地図との余白を統一します。 */
  [aria-labelledby="access-title"] dl { margin-bottom: .75rem; }
  [aria-labelledby="access-title"] dt,
  [aria-labelledby="access-title"] dd { border-bottom: 1px solid rgba(23, 50, 77, .13); margin-bottom: 0; padding-bottom: .7rem; padding-top: .7rem; }
  [aria-labelledby="access-title"] dt { font-size: .94rem; }
  /* CTA：ボタンを縦に揃え、周囲に十分な余白を取ります。 */
  .cta-band.section-space { padding: 2.5rem 0; }
  .cta-band h2 { font-size: clamp(1.45rem, 6.5vw, 1.7rem); line-height: 1.5; text-wrap: balance; }
  .cta-band h2 + p { line-height: 1.8; }
  .cta-band .d-flex { gap: .75rem !important; margin-top: 1.5rem !important; }
  .cta-band .btn,
  .cta-band .phone-link { min-height: 52px; min-width: 0; width: 100%; }

  /* フッター：狭い2列を避け、リンクのタップ領域を確保します。 */
  .site-footer { padding: 2rem 0 0; }
  .site-footer .row.g-4 { --bs-gutter-y: 1.25rem; }
  .site-footer .col-6 { width: 100%; }
  .site-footer .h5 { background-position: -2px center; height: 60px; max-width: 220px; }
  .site-footer .fw-bold { gap: .5rem; }
  .site-footer .fw-bold::before { width: 1.1rem; }
  .site-footer p { margin-bottom: .75rem; }
  .site-footer .footer-nav { margin-bottom: 0; }
  .site-footer .footer-nav li { margin-bottom: 0; }
  .site-footer .footer-nav a { align-items: center; display: inline-flex; min-height: 44px; }
  .site-footer hr { margin-top: 1rem; }
  .site-footer > .container > .small { padding: .75rem 0; }
  .demo-notice { font-size: .88rem; line-height: 1.65; padding: .75rem 1.25rem; }
  .page-top-button {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    height: 44px;
    right: calc(20px + env(safe-area-inset-right, 0px));
    width: 44px;
  }
  .page-top-button svg { height: 20px; width: 20px; }

  /* 下層ページ・事務所紹介 */
  .page-hero { background-position: 62% center; padding: 2.25rem 0; }
  .page-hero .eyebrow { font-size: .75rem; }
  .page-hero h1, .page-hero-title { font-size: 1.85rem; }
  .page-hero h1::after, .page-hero-title::after { margin-top: .6rem; width: 2.4rem; }
  .page-hero p:last-child { font-size: 1rem; line-height: 1.75; text-wrap: balance; }
  .breadcrumb-wrap { padding: .65rem 0; }
  .overview-list > div { gap: .25rem; grid-template-columns: 1fr; padding: .75rem 0; }
  .overview-list { font-size: 1rem; }
  .policy-card { padding: 1.35rem; }
  .policy-card p { font-size: 1.0625rem; }
  .about-access .btn { width: 100%; }
  #about-contact { padding-bottom: 2.5rem; padding-top: 2.5rem; }
  #about-contact .container > p:last-child { margin-top: 1rem !important; }

  /* 業務案内 */
  .service-anchor-nav ul, .service-process { grid-template-columns: 1fr; }
  .service-anchor-nav a { min-height: 48px; padding: .7rem .9rem; }
  .legal-note { padding: 1rem; }
  .service-anchor-target { scroll-margin-top: 6rem; }
  .service-detail-card { padding: 1.25rem; }
  .service-detail-card h3 { font-size: 1.18rem; overflow-wrap: break-word; word-break: normal; }
  .service-detail-image { float: none; margin: 0 auto 1.25rem; max-width: 12rem; width: 52%; }
  .service-process { gap: .75rem; }
  .service-process li { padding: 1rem; }
  .service-price-guide .btn { width: 100%; }
  .service-flow-note { text-align: left; }

  /* お問い合わせ */
  .section-space.contact-method-section { padding-bottom: 2rem; }
  .section-space.contact-fees-section { padding-top: 2rem; }
  .contact-info-card, .contact-guidance-box, .contact-caution { padding: 1.25rem; }
  .contact-call-button { max-width: 100%; white-space: normal; width: 100%; }

  /* よくある質問 */
  .faq-anchor-guide { text-wrap: balance; }
  .faq-anchor-nav ul { grid-template-columns: 1fr; }
  .faq-anchor-nav a { min-height: 48px; padding: .7rem .9rem; }
  .faq-section { scroll-margin-top: 6rem; }
  .faq-section + .faq-section { margin-top: 2.5rem; }
  .faq-section-title { font-size: 1.22rem; line-height: 1.5; }
  .faq-accordion .accordion-button { min-height: 48px; padding: .9rem 3rem .9rem 1rem; }
  .faq-accordion .accordion-body { padding: 1rem; }
  .faq-question-mark, .faq-answer-mark { flex-basis: 1.8rem; height: 1.8rem; width: 1.8rem; }
  .faq-answer { gap: .7rem; }
  .faq-cta-phone { justify-content: center; max-width: 100%; }
  .faq-note { padding: 1rem; }

  /* お知らせ */
  .news-intro .section-heading { margin-bottom: 1.25rem; }
  .news-category-filter { gap: .5rem; }
  .news-category-button { flex: 0 1 calc(50% - .25rem); font-size: .82rem; min-width: 0; overflow-wrap: anywhere; padding: .4rem .6rem; }
  .news-category-button:first-child { flex-basis: 100%; }
  .news-list-title { font-size: 1.45rem; margin-bottom: 1.5rem; }
  .news-card { padding: 1.25rem; }
  .news-card h3 { font-size: 1.12rem; line-height: 1.55; text-wrap: pretty; }
  .blog-card h3 { text-wrap: balance; }
  .news-pagination { margin-top: 2.5rem; }
  .news-pagination .page-link { font-size: .9rem; min-width: 2.25rem; padding: .45rem .55rem; }
  .news-demo-note { padding: 1rem; }
  .news-cta-phone { justify-content: center; max-width: 100%; }

  /* お知らせ詳細 */
  .news-detail-header { margin-bottom: 1.5rem; padding-bottom: 1.25rem; }
  .news-detail-title { font-size: 1.55rem; }
  .news-detail-schedule, .news-detail-contact { padding: 1.25rem; }
  .news-detail-schedule dl > div { gap: .25rem; grid-template-columns: 1fr; }
  .news-detail-contact .btn { width: 100%; }

  /* プライバシーポリシー */
  .privacy-content { font-size: 1rem; }
  .privacy-intro { margin-bottom: 1.75rem; }
  .privacy-section + .privacy-section { margin-top: 1.75rem; padding-top: 1.75rem; }
  .privacy-section h3 { font-size: 1.12rem; overflow-wrap: break-word; }
  .privacy-contact { padding: 1rem; }
  .privacy-date { text-align: left; }

  /* サイトマップ */
  .sitemap-grid { grid-template-columns: 1fr; }
  .sitemap-card { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .services-overview.services-reveal-ready .services-reveal-heading,
  .services-overview.services-reveal-ready .services-reveal-card {
    opacity: 1;
    transform: none;
  }
}

/* ===== 404エラーページ ===== */
.error-page { align-items: center; background: var(--color-blue-soft); display: flex; min-height: 38rem; padding: 5rem 0; }
.error-content { margin: 0 auto; max-width: 52rem; text-align: center; }
.error-code { color: var(--color-gold); font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 700; letter-spacing: .04em; line-height: 1; margin: 0 0 1rem; }
.error-content h1 { color: var(--color-navy); font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
.error-message { margin: 0 auto; max-width: 42rem; }
.error-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.error-actions .btn { min-width: 13rem; }
.error-links { border-top: 1px solid var(--color-border); margin-top: 3rem; padding-top: 2rem; }
.error-links h2 { color: var(--color-navy); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.25rem; }
.error-links ul { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.error-link-card { align-items: center; background: #fff; border: 1px solid var(--color-border); color: var(--color-navy); display: flex; font-weight: 700; justify-content: center; min-height: 52px; padding: .65rem 1rem; text-decoration: none; }
.error-link-card:hover, .error-link-card:focus-visible { border-color: var(--color-gold); color: var(--color-navy-dark); text-decoration: underline; text-underline-offset: .2rem; }

@media (max-width: 575.98px) {
  .error-page { min-height: 0; padding: 3.5rem 0; }
  .error-code { font-size: 4.5rem; }
  .error-message br { display: none; }
  .error-actions { flex-direction: column; }
  .error-actions .btn { min-width: 0; width: 100%; }
  .error-links { margin-top: 2.5rem; }
  .error-links ul { grid-template-columns: 1fr; }
}

/* ===== 共通コンテンツ画像 ===== */
.content-photo {
  border: 1px solid var(--color-border);
  border-radius: .35rem;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.about-overview-image { height: auto; object-fit: contain; }
