/* ===================================
   CSS Variables (Design Tokens)
   =================================== */
:root {
  --primary: #5b448f;
  --primary-light: #8e71ca;
  --primary-pale: #F5F0FA;
  --accent: #8B7BAE;
  --aqua: #6B8B9A;
  --gradient-blue: #2D1B69;
  --gradient-purple: #5B3B7B;
  --gradient-pink: #AB4A7B;
  --navy: #1a1a2e;
  --gold: #C4A76C;
  --bg: #FDFCFA;
  --bg-warm: #F9F7F4;
  --white: #FFFFFF;
  --border: #E8E5ED;
  --text-primary: #1a1a1a;
  --text-secondary: #333333;
  --text-light: #555555;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Outfit", sans-serif;
  --font-sans-jp: "Noto Sans JP", sans-serif;

  /* 下層 page-header 背景画像（URL はこの変数群＋hero のみ変更） */
  --page-header-img-hero: url('../images/hero-bg.jpg');
  --page-header-img-profile: url('../images/profile/bg_profile.jpg');
  --page-header-img-access: url('../images/access/bg_access.jpg');
  --page-header-img-fee: url('../images/fee/bg_fee.jpg');
  --page-header-img-services: url('../images/services/bg_services.jpg');
  --page-header-img-about: url('../images/about/bg_about.jpg');
  --page-header-img-contact: url('../images/hero-bg.jpg');
  --page-header-img-privacy: url('../images/services/bg_services.jpg');

  /* ヘッダー内電話番号ブロック（明るめの紫） */
  --header-tel-bg: #cdb8f0;
}

/* ===================================
   Reset & Base
   =================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-serif);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}


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

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

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  border: none;
}

.btn:hover {
  opacity: 0.85;
}

.btn__icon {
  flex-shrink: 0;
  margin-right: 5px;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  font-size: 16px;
}

.btn--outline {
  background: var(--bg);
  color: var(--primary);
  padding: 14px 32px;
  font-size: 16px;
  border: 1px solid var(--border);
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  padding: 16px 36px;
  font-size: 19px;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  font-size: 17px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ===================================
   Section Header
   =================================== */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-header__label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 3px;
}

.section-header__title {
  font-size: 30px;
  font-weight: 500;
  color: var(--text-primary);
}

.section-header__desc {
  font-family: var(--font-sans-jp);
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.9;
}

.section-header__line {
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* ===================================
   Header
   =================================== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
}

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 10px 0 10px 20px;
}

.header__logo-meta {
  font-family: var(--font-sans-jp);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-light);
  padding-left: 19%;
}

.header__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}


.header__nav {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.header__contact {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  padding-right: 0;
}

.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  color: var(--primary);
  background: var(--header-tel-bg);
  padding: 10px 22px 8px;
  text-decoration: none;
}

.header__tel:hover {
  color: var(--primary);
  opacity: 0.92;
}

.header__tel-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header__tel-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.header__tel-number {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
}

.header__tel-hours {
  font-family: var(--font-sans-jp);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.header__nav-link {
  font-family: var(--font-sans-jp);
  font-size: 15px;
  color: var(--text-primary);
  padding: 0 16px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  white-space: nowrap;
}

.header__nav-link:hover {
  color: var(--primary);
}

.header__nav-phone {
  display: none;
}

.header__nav-cta {
  font-family: var(--font-sans-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--primary);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: none;
}

.header__nav-cta--mobile {
  display: none;
}

.header__nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===================================
   Hero
   =================================== */
.hero {
  position: relative;
  padding-bottom: 200px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--white) 0%, transparent 30%);
  z-index: 0;
  pointer-events: none;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 120px 0;
  height: 720px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: min(100%, 550px);
  margin-left: auto;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.55;
}

.hero__tagline-char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero__desc {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text-primary);
  line-height: 1.85;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
}

.hero__name {
  align-self: stretch;
  width: 100%;
  text-align: right;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
}

.hero__name img,
.hero__name svg {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin-left: auto;
}

/* ===================================
   Hero Badges
   =================================== */
.hero__badges-area {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: -235px auto 0;
  padding: 0 120px 40px;
}

.hero__badges {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 10;
  justify-content: center;
  padding-bottom: 0;
  margin-top: 20px;
}

.hero__badge-wrapper {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  opacity: 0;
  transform: translateY(30px);
  animation: badgeFadeUp 0.6s ease forwards;
}

.hero__badge-wrapper:nth-child(1) {
  animation-delay: 0.2s;
}

.hero__badge-wrapper:nth-child(2) {
  animation-delay: 0.45s;
}

.hero__badge-wrapper:nth-child(3) {
  animation-delay: 0.7s;
}

.hero__badge-wrapper:nth-child(4) {
  animation-delay: 0.95s;
}

@keyframes badgeFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__badge {
  width: 170px;
  height: 190px;
  background: var(--primary-light);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 20px 10px;
  transition: transform 0.3s;
}

.hero__badge--circle {
  width: 180px;
  height: 180px;
  clip-path: circle(50% at 50% 50%);
  padding: 20px;
}

.hero__badge-wrapper:hover .hero__badge {
  transform: translateY(-5px);
}

.hero__badge-icon {
  margin-bottom: 12px;
}

.hero__badge-icon svg {
  width: 45px;
  height: 45px;
  display: block;
  color: inherit;
}

.hero__badge-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  font-family: var(--font-sans-jp);
}

.hero__badge-text .yellow {
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
}

/* ===================================
   Services Strip (独立セクション)
   =================================== */
.services-strip {
  position: relative;
  z-index: 3;
  background: var(--bg-light, #faf8f5);
  padding: 64px 0;
}

.services-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.services-strip__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(43, 32, 64, 0.08);
}

.services-strip__heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.services-strip__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 26px;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.services-strip__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
}

.services-strip__desc {
  font-family: var(--font-sans-jp);
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  flex: 1;
}

.hero__service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(43, 32, 64, 0.12);
  backdrop-filter: blur(10px);
}

.hero__service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__service-icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.hero__service-sub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.hero__service-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__service-title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
}

.hero__service-desc {
  font-family: var(--font-sans-jp);
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  flex: 1;
}

.hero__service-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-end;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__service-more:hover {
  transform: translateX(4px);
  opacity: 0.8;
}

.hero__service-more-icon {
  width: 56px;
  height: 12px;
  flex: none;
}

/* ===================================
   Services
   =================================== */
.services {
  background: var(--white);
}

.services__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 120px 120px;
}

.services__grid {
  display: flex;
  gap: 24px;
  width: 100%;
  justify-content: center;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  width: 270px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

a.service-card:hover {
  background: var(--primary-pale);
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(74, 59, 107, 0.35);
}

.service-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon {
  color: var(--primary);
}

.service-card__title {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

.service-card__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================
   About
   =================================== */
.about {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.about__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.about__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 120px;
}

.about__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 520px;
  text-align: center;
}

.about__desc {
  font-family: var(--font-sans-jp);
  font-size: 18px;
  color: var(--text-light);
  line-height: 2;
  text-align: left;
}

/* ===================================
   Reasons
   =================================== */
.reasons {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f6f0fb 32%, var(--primary-pale) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.reasons__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 80px 120px;
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
}

.reason-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.reason-card__num {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 42px;
  color: var(--accent);
  margin-top: -8px;
}

.reason-card__title {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-primary);
}

.reason-card__title-em {
  font-size: 1.4em;
  color: var(--primary);
  font-weight: 700;
}

.reason-card__desc {
  font-family: var(--font-sans-jp);
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.85;
  text-align: left;
  align-self: stretch;
}

/* ===================================
   CTA
   =================================== */
.cta {
  background: linear-gradient(135deg, #2d1b69 0%, #4f397f 34%, var(--primary) 62%, #8e71ca 100%);
  width: 100%;
}

.cta__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 80px 120px;
}

.cta__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  margin-bottom: -16px;
}

.cta__tag-icon {
  flex-shrink: 0;
  color: var(--white);
}

.cta__title {
  font-size: 30px;
  font-weight: 500;
  color: var(--white);
  text-align: center;
}

.cta__title-br {
  display: none;
}

.cta__desc {
  font-family: var(--font-sans-jp);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.95;
  text-align: center;
  max-width: 500px;
}

@media (min-width: 768px) {
  .cta__desc {
    /* 「お電話・お問い合わせフォーム・オンライン相談のいずれでも」が1行に収まる幅 */
    max-width: min(46em, calc(100vw - 240px));
  }
}

.cta__btns {
  display: flex;
  gap: 20px;
}

.cta__btns .btn {
  font-family: var(--font-sans-jp);
  font-weight: 500;
  border-radius: 0;
  padding: 12px 22px;
  font-size: 15px;
  box-shadow: 0 14px 30px rgba(24, 14, 45, 0.18);
}

.cta__btns .btn--primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 30px rgba(24, 14, 45, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cta__btns .btn[href^="tel:"] {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.cta__btns .btn--outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(6px);
}

.cta__hours {
  font-family: var(--font-sans-jp);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

/* ===================================
   Access
   =================================== */
.access {
  background: var(--white);
}

.access__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px 120px;
}

.access__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.access__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.access__row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans-jp);
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

.access__row-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.access__row-icon--solid {
  display: block;
  height: auto;
}

.access__map img {
  width: 500px;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--navy);
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px 120px 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
}

.footer__logo {
  display: flex;
  flex-direction: column;
}

.footer__logo-img {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
}

.footer__nav {
  display: flex;
  gap: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.footer__col-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.53);
  transition: color 0.2s;
}

.footer__col-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.33);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.33);
  transition: color 0.2s;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Subpage Layouts
   =================================== */
.page-header {
  background-color: var(--primary-pale);
  padding: 64px 120px 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header--hero-bg {
  position: relative;
  background-color: transparent;
  background-image: none;
  padding: 82px 120px 78px;
  overflow: hidden;
}

.page-header--hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--page-header-img-hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header--hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
}

.page-header--hero-bg .page-header__textbox {
  position: relative;
  z-index: 2;
}

.page-header--hero-bg .page-header__label {
  color: var(--accent);
}

.page-header--hero-bg .page-header__title {
  color: var(--text-primary);
}

.page-header--hero-bg .page-header__desc {
  color: var(--text-secondary);
}

.page-header--profile-bg {
  position: relative;
  background-color: transparent;
  background-image: none;
  padding: 82px 120px 78px;
  overflow: hidden;
}

.page-header--profile-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header--profile-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
}

.page-header--profile-bg .page-header__textbox {
  position: relative;
  z-index: 2;
}

.page-header--profile-bg .page-header__label {
  color: var(--accent);
}

.page-header--profile-bg .page-header__title {
  color: var(--text-primary);
}

.page-header--profile-bg .page-header__subtitle {
  color: var(--text-secondary);
}

.page-header--profile-bg .page-header__desc {
  color: var(--text-secondary);
}

.page-header--about-bg {
  position: relative;
  background-color: transparent;
  background-image: none;
  padding: 82px 120px 78px;
  overflow: hidden;
}

.page-header--about-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header--about-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.24);
}

.page-header--about-bg .page-header__textbox {
  position: relative;
  z-index: 2;
}

.page-header--about-bg .page-header__label {
  color: var(--accent);
}

.page-header--about-bg .page-header__title {
  color: var(--text-primary);
}

.page-header--about-bg .page-header__subtitle,
.page-header--about-bg .page-header__desc {
  color: var(--text-secondary);
}

/* ===================================
   Page header — 背景画像の割り当て（URL 自体はファイル先頭の :root を編集）
   HTML: page-header に page-header--ph-* を付与
   =================================== */
.page-header--profile-bg.page-header--ph-profile::before {
  background-image: var(--page-header-img-profile);
}

.page-header--profile-bg.page-header--ph-access::before {
  background-image: var(--page-header-img-access);
}

.page-header--profile-bg.page-header--ph-fee::before {
  background-image: var(--page-header-img-fee);
}

.page-header--profile-bg.page-header--ph-services::before {
  background-image: var(--page-header-img-services);
}

.page-header--about-bg.page-header--ph-about::before {
  background-image: var(--page-header-img-about);
}

.page-header--profile-bg.page-header--ph-contact::before {
  background-image: var(--page-header-img-contact);
}

.page-header--profile-bg.page-header--ph-privacy::before {
  background-image: var(--page-header-img-privacy);
}

.page-header--hero-bg .page-header__textbox,
.page-header--profile-bg .page-header__textbox,
.page-header--about-bg .page-header__textbox {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: fit-content;
  max-width: min(100%, 880px);
  margin-left: auto;
  margin-right: auto;
  padding: 22px 36px 26px;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
}

.page-header__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 4px;
}

.page-header__title {
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.72), 0 3px 14px rgba(255, 255, 255, 0.56);
}

.page-header--profile-bg .page-header__textbox .page-header__title,
.page-header--about-bg .page-header__textbox .page-header__title,
.page-header--hero-bg .page-header__textbox .page-header__title {
  text-shadow: none;
}

.page-header__subtitle {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 12px 0 0;
  text-align: center;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.86), 0 0 10px rgba(255, 255, 255, 0.66), 0 2px 10px rgba(255, 255, 255, 0.44);
}

.page-header--profile-bg .page-header__textbox .page-header__subtitle,
.page-header--about-bg .page-header__textbox .page-header__subtitle,
.page-header--hero-bg .page-header__textbox .page-header__subtitle {
  text-shadow: none;
}

.page-header__desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
}

.page-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 40px;
  background: var(--white);
  min-height: 50vh;
}

.page-content--about {
  max-width: 800px;
}

.page-content--policy .policy-updated {
  font-family: var(--font-sans-jp);
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.page-content--policy .policy-list {
  margin: 0 0 24px;
  padding-left: 1.35em;
  font-family: var(--font-sans-jp);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.page-content--policy .policy-list li {
  margin-bottom: 0.35em;
}

.page-content--policy .policy-list li:last-child {
  margin-bottom: 0;
}

.page-content p:empty {
  display: none;
}

.page-content--contact {
  max-width: 720px;
}

.page-content--contact .contact-lead {
  font-family: var(--font-sans-jp);
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-form__field--checkbox {
  margin-top: 8px;
}

.contact-form__label {
  font-family: var(--font-sans-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.contact-form__req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border-radius: 4px;
  vertical-align: 0.1em;
}

.contact-form__control {
  width: 100%;
  font-family: var(--font-sans-jp);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__control::placeholder {
  color: var(--text-light);
  opacity: 0.85;
}

.contact-form__control:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

.contact-form__control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 68, 143, 0.18);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355448f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans-jp);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  cursor: pointer;
}

.contact-form__checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}

.contact-form__link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form__link:hover {
  color: var(--primary-light);
}

.contact-form__actions {
  margin-top: 12px;
  padding-top: 8px;
}

.contact-form__submit {
  min-width: 200px;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans-jp);
}

.page-content--services {
  max-width: 1200px;
  padding: 48px 80px 88px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.page-content--access {
  max-width: 1200px;
  padding: 80px 80px;
}

.access-overview {
  max-width: 680px;
  margin: 0 auto 64px;
}

.access-main-heading {
  font-size: 26px;
}

.access-sub-heading {
  font-size: 17px;
}

.access-container {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.access-info {
  flex: 1;
}

.office-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 48px;
}

.office-table th,
.office-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans-jp);
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}

.office-table th {
  width: 140px;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
  padding-right: 24px;
  border-bottom-color: var(--primary);
}

.office-table td {
  color: var(--text-secondary);
  padding-left: 24px;
}

.office-table tbody tr:first-child th,
.office-table tbody tr:first-child td {
  padding-top: 0;
}

.access-map {
  flex: 1.4;
}

.access-map img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-content h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  border-bottom: 2px solid var(--primary-pale);
  padding-bottom: 12px;
  margin-top: 48px;
  margin-bottom: 24px;
}

.page-content p {
  font-family: var(--font-sans-jp);
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.page-content__lead {
  font-family: var(--font-sans-jp);
  font-size: 19px;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 120px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-intro {
  margin-bottom: 64px;
}

.about-intro__title {
  font-size: 36px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-intro__lead {
  font-family: var(--font-sans-jp);
  font-size: 20px;
  line-height: 2;
  color: var(--text-secondary);
  margin: 0;
}

.about-greeting__closing {
  margin-bottom: 12px;
}

.about-greeting__signature {
  text-align: right;
  margin-top: 0;
  margin-bottom: 24px;
}

/* Service Section (with image) */
.service-section {
  margin-bottom: 0;
}

/* Service Section - Full Width */
.service-section--full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 0;
}

.service-section__full-wrap {
  position: relative;
  min-height: 480px;
  padding: 80px 80px 96px 72px;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-section__full-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to right,
      rgba(253, 252, 250, 0.96) 0%,
      rgba(253, 252, 250, 0.85) 38%,
      rgba(253, 252, 250, 0.4) 58%,
      rgba(253, 252, 250, 0.1) 100%);
}

/* セクション下端をページの白余白へなじませる */
.service-section__full-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(160px, 32%);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    var(--white) 100%
  );
}

.service-section--full:nth-child(even) .service-section__full-wrap::before {
  background: linear-gradient(to left,
      rgba(253, 252, 250, 0.96) 0%,
      rgba(253, 252, 250, 0.85) 38%,
      rgba(253, 252, 250, 0.4) 58%,
      rgba(253, 252, 250, 0.1) 100%);
}

#real-estate.service-section--full .service-section__full-wrap {
  background-image: url('../images/services/real-estate.jpg');
}

#commercial.service-section--full .service-section__full-wrap {
  background-image: url('../images/services/commercial.jpg');
}

#inheritance.service-section--full .service-section__full-wrap {
  background-image: url('../images/services/inheritance.jpg');
}

#guardianship.service-section--full .service-section__full-wrap {
  background-image: url('../images/services/guardianship.jpg');
}

.service-section__full-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 680px;
  padding: 0;
  background: transparent;
}

.service-section--full:nth-child(even) .service-section__full-body {
  margin-left: auto;
}

.service-section__full-body .service-section__title {
  font-size: 32px;
  margin-bottom: 32px;
}

.service-section__full-body .service-section__subhead {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.45;
  margin: 36px 0 14px;
}

.service-section__full-body .service-section__subhead:first-of-type {
  margin-top: 0;
}

.service-section__full-body p {
  font-family: var(--font-sans-jp);
  font-size: 17px;
  line-height: 2.05;
}

.service-section__cases-title {
  margin: 24px 0 8px;
  padding: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  font-weight: 700;
}

.service-section__cases {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.service-section__cases li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.4em;
}

.service-section__cases li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.service-section__cases li:last-child {
  margin-bottom: 0;
}

.service-section:last-of-type {
  margin-bottom: 0;
}

.service-section--full:last-of-type .service-section__full-wrap::after {
  height: min(200px, 38%);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40%,
    var(--white) 88%,
    var(--white) 100%
  );
}

.service-section__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.service-section--reverse .service-section__inner {
  flex-direction: row-reverse;
}

.service-section__image {
  flex: 0 0 48%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--primary-pale);
}

.service-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-section__body {
  flex: 1;
}

.service-section__title {
  font-size: 26px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
  line-height: 1.4;
}

.service-section__body p {
  font-family: var(--font-sans-jp);
  font-size: 17px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.page-content__cta {
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.page-content__cta p {
  font-family: var(--font-sans-jp);
  margin-bottom: 32px;
  font-size: 17px;
}

/* ===================================
   Profile Page
   =================================== */
.page-content--profile {
  --profile-max: 960px;
  --profile-pad-x: 80px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 120px;
  overflow-x: clip;
  box-sizing: border-box;
}

.page-content--profile h3 {
  margin-top: 0;
}

.profile-intro-bleed {
  background: var(--bg-warm);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 56px 0;
  margin-bottom: 80px;
  box-sizing: border-box;
}

.profile-intro-bleed__inner {
  max-width: var(--profile-max);
  margin: 0 auto;
  padding: 0 var(--profile-pad-x);
  box-sizing: border-box;
}

.profile-intro {
  margin: 0;
}

.profile-intro__text {
  font-size: 20px;
  line-height: 2.05;
  color: var(--text-primary);
}

.profile-career {
  max-width: var(--profile-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--profile-pad-x);
  box-sizing: border-box;
}

.profile-career__title {
  font-size: 24px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-pale);
}

.profile-career__blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-block {
  padding: 22px 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(43, 32, 64, 0.06);
}

.profile-block__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-pale);
}

.profile-block__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-block__body p {
  font-family: var(--font-sans-jp);
  font-size: 17px;
  line-height: 2.15;
  letter-spacing: 0.02em;
  color: #3f3a49;
  margin: 0;
}

.profile-registry {
  max-width: var(--profile-max);
  margin-left: auto;
  margin-right: auto;
  margin-top: 64px;
  padding: 0 var(--profile-pad-x);
  box-sizing: border-box;
}

.profile-registry__body {
  padding: 0;
  margin: 0;
}

.profile-registry__body p {
  font-family: var(--font-sans-jp);
  font-size: 17px;
  line-height: 2.15;
  letter-spacing: 0.02em;
  color: #3f3a49;
  margin: 0;
}

.profile-registry__body p+p {
  margin-top: 10px;
}

.profile-cta {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.profile-cta p {
  margin-bottom: 24px;
  font-size: 17px;
  color: var(--text-primary);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
  .about__bg {
    background-attachment: scroll;
  }

  .page-header--hero-bg,
  .page-header--profile-bg,
  .page-header--about-bg {
    padding: 80px 40px 80px;
  }

  .page-header--hero-bg .page-header__textbox,
  .page-header--profile-bg .page-header__textbox,
  .page-header--about-bg .page-header__textbox {
    padding: 18px 28px 22px;
  }

  .header__logo {
    padding: 10px 0 10px 20px;
  }

  .header__logo-meta {
    font-size: 10px;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 200;
  }

  .header__contact {
    display: none;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__nav-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    margin-top: 8px;
    text-decoration: none;
  }

  .header__nav-phone .header__tel-number {
    font-size: 24px;
  }

  .header__nav-phone .header__tel-hours {
    font-size: 11px;
    text-align: center;
  }

  .header__nav-phone .header__tel-icon {
    width: 20px;
    height: 20px;
  }

  .header__nav .header__nav-cta {
    padding: 14px 28px;
  }

  .header__nav-cta--mobile {
    display: inline-flex;
  }

  .header__hamburger {
    display: flex;
    z-index: 300;
    align-self: center;
    margin-left: auto;
    margin-right: 20px;
    margin-top: 0;
  }

  .header__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__inner {
    padding: 0 40px;
    height: auto;
    min-height: 500px;
  }

  .hero__badges-area {
    margin-top: 32px;
    padding: 0 40px 32px;
  }

  .services-strip {
    padding: 40px 0;
  }

  .services-strip__inner {
    padding: 0 40px;
    gap: 16px;
  }

  .hero__badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 0 24px;
    transform: none;
  }

  .hero__text {
    width: 100%;
  }

  .hero__tagline {
    font-size: 40px;
  }

  .hero__desc {
    font-size: 18px;
  }

  .hero__name {
    font-size: 20px;
  }

  .services__inner,
  .reasons__inner,
  .cta__inner {
    padding: 60px 40px;
  }

  .services__grid {
    flex-wrap: wrap;
  }

  .service-card {
    width: calc(50% - 12px);
  }

  .page-content--services {
    padding: 40px 40px 72px;
    gap: 44px;
  }

  .page-content__lead {
    margin-bottom: 96px;
  }

  .service-section {
    margin-bottom: 0;
  }

  .service-section--full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .service-section__inner {
    flex-direction: column;
    gap: 48px;
  }

  .service-section--reverse .service-section__inner {
    flex-direction: column;
  }

  .service-section__image {
    flex: none;
    width: 100%;
  }

  .service-section__full-wrap {
    min-height: 360px;
    padding: 48px 40px 64px;
  }

  .service-section__full-wrap::before,
  .service-section--full:nth-child(even) .service-section__full-wrap::before {
    background: linear-gradient(to bottom,
        rgba(253, 252, 250, 0.96) 0%,
        rgba(253, 252, 250, 0.9) 40%,
        rgba(253, 252, 250, 0.65) 100%);
  }

  .service-section__full-wrap::after {
    height: min(120px, 36%);
  }

  .service-section--full:last-of-type .service-section__full-wrap::after {
    height: min(140px, 40%);
  }

  .service-section__full-body {
    max-width: none;
    margin-left: 0;
  }

  .service-section--full:nth-child(even) .service-section__full-body {
    margin-left: 0;
  }

  .service-section__full-body .service-section__title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .service-section__full-body .service-section__subhead {
    font-size: 20px;
    margin: 28px 0 12px;
  }

  .service-section__title {
    font-size: 24px;
  }

  .about__inner {
    justify-content: center;
    padding: 60px 40px;
    min-height: 360px;
  }

  .about__text {
    width: 100%;
  }

  .access__inner {
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
  }

  .access__map img {
    width: 100%;
    height: 260px;
  }

  .reasons__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer__inner {
    padding: 40px;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .services-strip__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .page-header--hero-bg,
  .page-header--profile-bg,
  .page-header--about-bg {
    padding: 64px 24px 64px;
  }

  .page-header--hero-bg .page-header__textbox,
  .page-header--profile-bg .page-header__textbox,
  .page-header--about-bg .page-header__textbox {
    padding: 16px 20px 20px;
    border-radius: 10px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .page-header__subtitle {
    font-size: 17px;
  }

  .header__logo {
    padding: 14px 0 14px 20px;
  }

  .header__logo-meta {
    padding-left: 46px;
  }

  .header__logo-img {
    height: 36px;
  }

  .hero {
    min-height: 100vh;
    height: auto;
    padding-bottom: 64px;
  }

  .hero__inner {
    padding: 40px 20px 0;
    height: auto;
    min-height: unset;
  }

  .br-pc {
    display: none;
  }

  .reason-card__title-em {
    display: block;
    font-size: 24px;
  }

  .hero__text {
    gap: 16px;
  }

  .hero__tagline {
    font-size: 25px;
  }

  .hero__desc {
    font-size: 15px;
  }

  .hero__name {
    font-size: 18px;
  }

  .hero__badges-area {
    margin-top: 24px;
    padding: 0 20px 28px;
  }

  .services-strip__inner {
    padding: 0 20px;
  }

  .hero__badge {
    width: 120px;
    height: 135px;
    padding: 12px 8px;
  }

  .hero__badge--circle {
    width: 130px;
    height: 130px;
  }

  .hero__badge-icon {
    margin-bottom: 6px;
  }

  .hero__badge-icon svg {
    width: 24px;
    height: 24px;
  }

  .hero__badge-text {
    font-size: 12px;
  }

  .hero__badge-text .yellow {
    font-size: 14px;
  }

  .hero__service-card {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .hero__service-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 24px;
  }

  .hero__service-icon {
    width: 22px;
    height: 22px;
  }

  .hero__service-heading {
    gap: 12px;
  }

  .hero__service-sub {
    font-size: 13px;
  }

  .hero__service-title {
    font-size: 22px;
  }

  .hero__service-desc {
    font-size: 14px;
  }

  .hero__service-more {
    gap: 10px;
    font-size: 12px;
  }

  .hero__service-more-icon {
    width: 50px;
  }

  .services__inner,
  .reasons__inner,
  .cta__inner {
    padding: 48px 20px;
  }

  .cta__title-br {
    display: block;
  }

  .services__grid {
    flex-direction: column;
  }

  .service-card {
    width: 100%;
  }

  .page-content--services {
    padding: 32px 24px 64px;
    gap: 36px;
  }

  .page-content__lead {
    margin-bottom: 72px;
  }

  .service-section {
    margin-bottom: 0;
  }

  .service-section--full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .service-section__inner {
    gap: 36px;
  }

  .service-section__title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .service-section__body p {
    font-size: 16px;
  }

@media (max-width: 1024px) {
  .page-content--access {
    padding: 60px 40px;
  }
  .access-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .access-container {
    flex-direction: column;
  }
  .access-map {
    width: 100%;
  }
  .office-table th,
  .office-table td {
    display: block;
    width: 100%;
  }
  .office-table td {
    padding-left: 0;
    padding-top: 4px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .office-table th {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .office-table tr {
    display: block;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .office-table tbody tr:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}

  .page-content__cta {
    margin-top: 64px;
    padding-top: 48px;
  }

  .page-content--profile {
    --profile-pad-x: 24px;
    padding: 0 0 80px;
  }

  .profile-intro__text {
    font-size: 18px;
  }

  .about-intro__title {
    font-size: 26px;
  }

  .about-intro__lead {
    font-size: 18px;
  }

  .profile-career__title {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .profile-career__blocks {
    gap: 20px;
  }

  .profile-block {
    padding: 20px 24px 24px;
    border-radius: 16px;
  }

  .profile-block__title {
    font-size: 20px;
  }

  .profile-block__body p {
    font-size: 16px;
    line-height: 1.95;
  }

  .profile-registry {
    margin-top: 48px;
  }

  .profile-registry__body p {
    font-size: 16px;
    line-height: 1.95;
  }

  .profile-cta {
    margin-top: 64px;
    padding-top: 48px;
  }

  .service-section__full-wrap {
    min-height: 320px;
    padding: 40px 24px 56px;
  }

  .service-section__full-wrap::after {
    height: min(100px, 40%);
  }

  .service-section--full:last-of-type .service-section__full-wrap::after {
    height: min(116px, 44%);
  }

  .service-section__full-body {
    padding: 0;
  }

  .service-section__full-body .service-section__title {
    font-size: 24px;
  }

  .service-section__full-body .service-section__subhead {
    font-size: 19px;
    margin: 24px 0 10px;
  }

  .service-section__cases {
    margin-top: 20px;
    font-size: 14px;
  }

  .profile-intro-bleed {
    padding: 48px 0;
    margin-bottom: 64px;
  }

  .about__inner {
    padding: 48px 20px;
    min-height: 320px;
  }

  .access__inner {
    padding: 48px 20px;
  }

  .reasons__grid {
    grid-template-columns: 1fr;
  }

  .reason-card__desc {
    font-size: 17px;
  }

  .cta__btns {
    flex-direction: column;
    width: 100%;
  }

  .cta__btns .btn {
    justify-content: center;
  }

  .footer__inner {
    padding: 32px 20px 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
  }

  .section-header__title {
    font-size: 24px;
  }
}