/* ===============================
   CSS カスタムプロパティ（変数）
   =============================== */
:root {
  --color-primary:      #db7499;
  --color-primary-dark: #b52b5d;
  --color-blue:         #0054ac;
  --color-yellow:       #f7df5c;
  --color-text:         #333333;
  --color-sub:          #6a6a6a;
  --color-border:       #e0e0e0;
  --color-bg-gray:      #f4f4f4;
  --color-bg-pink:      #fdf0f4;
  --color-bg-blue:      #e5f0fc;
  --color-bg-cream:     #fcf7e8;
  --color-footer:       #464646;
  --color-white:        #ffffff;

  --font-body:    "Noto Sans JP", sans-serif;
  --font-heading: "Noto Serif JP", serif;

  --container-max:        1120px;
  --header-height:        70px;
  --section-padding:      80px;
  --section-padding-sp:   56px;
  --radius:               16px;
  --radius-sm:            10px;
  --shadow:               0 3px 12px rgba(0, 0, 0, 0.10);
  --shadow-hover:         0 6px 24px rgba(219, 116, 153, 0.22);
  --transition:           0.3s ease;
}

/* ===============================
   リセット・ベース
   =============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: opacity var(--transition);
}

@media (hover: hover) {
  a:hover { opacity: 0.75; }
}

ul { list-style: none; }

strong { color: var(--color-primary-dark); }

.pc-only { display: inline; }

@media screen and (max-width: 767.98px) {
  .pc-only { display: none; }
}

/* ===============================
   コンテナ
   =============================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (max-width: 767.98px) {
  .container { padding: 0 20px; }
}

/* ===============================
   セクション共通
   =============================== */
.section {
  padding: var(--section-padding) 0;
}

@media screen and (max-width: 767.98px) {
  .section { padding: var(--section-padding-sp) 0; }
}

.section--gray  { background-color: var(--color-bg-gray); }
.section--pink  { background-color: var(--color-bg-pink); }
.section--blue  { background-color: var(--color-bg-blue); }
.section--cream { background-color: var(--color-bg-cream); }
.section--cv    { background-color: var(--color-yellow); }

.section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.section__title--left { text-align: left; }
.section__title--dark { color: var(--color-text); }

@media screen and (max-width: 767.98px) {
  .section__title { font-size: 1.5rem; }
}

.section__lead {
  text-align: center;
  color: var(--color-sub);
  margin-bottom: 48px;
  line-height: 1.9;
}

.section__lead--dark { color: #555; }

/* ===============================
   フェードインアニメーション
   =============================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   ボタン
   =============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
  line-height: 1.4;
}

@media screen and (max-width: 767.98px) {
  .btn { font-size: 1rem; padding: 14px 24px; }
}

.btn--primary {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--cv {
  color: var(--color-text);
  background-color: var(--color-yellow);
  border-color: var(--color-yellow);
  font-size: 1.25rem;
  flex-direction: row;
  gap: 8px;
}

.btn--outline-white {
  color: var(--color-white);
  background-color: transparent;
  border-color: var(--color-white);
}

.btn--dark {
  color: var(--color-white);
  background-color: #444444;
  border-color: #444444;
}

.btn__note {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.75;
}

@media (hover: hover) {
  .btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
}

/* ===============================
   ヘッダー
   =============================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.header__logo a {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.header__nav-list {
  display: flex;
  align-items: center;
}

.header__nav-list li + li {
  padding-left: 18px;
  margin-left: 18px;
  border-left: 1px solid var(--color-border);
}

.header__nav-list a {
  font-size: 0.8125rem;
  color: var(--color-blue);
  white-space: nowrap;
  font-weight: 500;
}

.header__nav-cta {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  border-left: none !important;
  margin-left: 8px !important;
  padding-left: 14px !important;
}

/* ハンバーガーボタン */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-blue);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__hamburger.is-opened span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.header__hamburger.is-opened span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.is-opened span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* SP ナビゲーション */
@media screen and (max-width: 767.98px) {
  .header__hamburger { display: flex; }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    transition: right 0.4s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .header__nav.is-opened { right: 0; }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 40px;
  }

  .header__nav-list li + li {
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .header__nav-list a {
    display: block;
    padding: 16px 8px;
    font-size: 1rem;
  }

  .header__nav-cta {
    display: block;
    margin-top: 16px;
    text-align: center;
    border-radius: var(--radius) !important;
    padding: 16px !important;
    margin-left: 0 !important;
    border-top: none !important;
  }
}

/* ===============================
   ヒーロー
   =============================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media screen and (max-width: 767.98px) {
  .hero { min-height: 420px; }
}

/* スライダー本体 */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 各スライド：重ねて配置 */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

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

/* アクティブになった瞬間にケン・バーンズ効果 */
.hero__slide.is-active img {
  animation: zoomOut 7s ease-out forwards;
}

@keyframes zoomOut {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

/* ドットインジケーター */
.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero__dot.is-active {
  background-color: #ffffff;
  transform: scale(1.25);
}

@media (hover: hover) {
  .hero__dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(181, 43, 93, 0.58) 0%,
    rgba(0, 84, 172, 0.32) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 48px;
  animation: heroFadeIn 1s ease 0.2s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 767.98px) {
  .hero__title { font-size: 1.875rem; }
}

.hero__desc {
  color: rgba(255, 255, 255, 0.93);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 2;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===============================
   ご挨拶・プロフィール
   =============================== */
.about__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

@media screen and (max-width: 767.98px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about__photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary);
  margin: 0 auto 16px;
}

.about__name {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.5;
}

.about__name span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-sub);
  margin-top: 4px;
}

.about__greeting {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  line-height: 1.6;
}

.about__text p + p { margin-top: 14px; }

.about__info {
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 8px;
}

.about__info li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  align-items: baseline;
}

.about__info li span {
  font-weight: 700;
  color: var(--color-primary-dark);
  min-width: 80px;
  flex-shrink: 0;
}

/* ===============================
   サービスカード
   =============================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media screen and (max-width: 767.98px) {
  .cards { grid-template-columns: 1fr; }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

@media (hover: hover) {
  .card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
  }
}

.card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body { padding: 20px 24px 28px; }

.card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-sub);
  line-height: 1.75;
}

/* ===============================
   医療保険セクション
   =============================== */
.insurance__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media screen and (max-width: 767.98px) {
  .insurance__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.insurance__text .section__title--left { margin-bottom: 20px; }

.insurance__text p { margin-top: 12px; }
.insurance__text p:first-of-type { margin-top: 0; }

.insurance__note {
  font-size: 0.8125rem;
  color: var(--color-sub);
  margin-top: 20px;
  margin-bottom: 28px;
}

.insurance__image img {
  border-radius: var(--radius);
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* ===============================
   料金テーブル
   =============================== */
.price-table {
  overflow-x: auto;
  margin-bottom: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  min-width: 540px;
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  vertical-align: middle;
}

.price-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background-color: #fdf9fb; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.badge--ok {
  background-color: var(--color-bg-blue);
  color: var(--color-blue);
}

.price__note {
  font-size: 0.8125rem;
  color: var(--color-sub);
  text-align: center;
  margin-top: 8px;
}

/* ===============================
   ご利用の流れ
   =============================== */
.flow {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
}

@media screen and (max-width: 767.98px) {
  .flow {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

.flow__item {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.flow__arrow {
  display: flex;
  align-items: center;
  padding-top: 72px;
  color: var(--color-primary);
  font-size: 1.375rem;
  flex-shrink: 0;
  opacity: 0.7;
}

@media screen and (max-width: 767.98px) {
  .flow__arrow {
    transform: rotate(90deg);
    padding-top: 0;
    justify-content: center;
    font-size: 1rem;
  }
}

.flow__step {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-sub);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.flow__step span {
  display: block;
  font-size: 2.25rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.flow__icon-wrap img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--color-primary);
}

.flow__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.flow__text {
  font-size: 0.875rem;
  color: var(--color-sub);
  line-height: 1.75;
}

.flow__cta { text-align: center; }

/* ===============================
   お客様の声
   =============================== */
.voice__category {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 40px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
}

.voice__category:first-of-type { margin-top: 8px; }

.voice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

.voice-cards--2col { grid-template-columns: repeat(2, 1fr); }

@media screen and (max-width: 767.98px) {
  .voice-cards,
  .voice-cards--2col { grid-template-columns: 1fr; }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .voice-cards { grid-template-columns: repeat(2, 1fr); }
}

.voice-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
}

.voice-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.voice-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
}

.voice-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-primary-dark);
}

.voice-card__info {
  font-size: 0.8125rem;
  color: var(--color-sub);
  margin-top: 2px;
}

.voice-card__text {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* ===============================
   よくある質問（FAQ）
   =============================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item:first-child { border-top: 1px solid var(--color-border); }

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  gap: 16px;
  transition: color var(--transition);
  line-height: 1.6;
}

@media (hover: hover) {
  .faq__question:hover { color: var(--color-primary); }
}

.faq__icon {
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
  display: block;
  width: 24px;
  text-align: center;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.28s ease-out;
}

.faq__answer-inner p {
  padding: 4px 8px 20px;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.85;
}

/* ===============================
   お問い合わせ（CV セクション）
   =============================== */
.section--cv { text-align: center; }

.section--cv .section__lead {
  margin-bottom: 24px;
  color: #555;
}

.contact__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: 32px;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: opacity var(--transition);
}

@media (hover: hover) {
  .contact__tel:hover { opacity: 0.75; }
}

@media screen and (max-width: 767.98px) {
  .contact__tel { font-size: 1.875rem; }
}

.contact__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.contact__area {
  font-size: 0.9375rem;
  color: #555;
}

/* ===============================
   アクセス・地図
   =============================== */
.access__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media screen and (max-width: 767.98px) {
  .access__inner { grid-template-columns: 1fr; gap: 32px; }
}

.access__map-placeholder {
  background-color: var(--color-bg-gray);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-sub);
}

.access__map-placeholder p { font-size: 1rem; font-weight: 500; }
.access__map-note { font-size: 0.8125rem !important; font-weight: 400 !important; }

.access__map iframe {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  border: 0;
  display: block;
}

.access__table {
  width: 100%;
  border-collapse: collapse;
}

.access__table th,
.access__table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  vertical-align: top;
  line-height: 1.7;
}

.access__table th {
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
  width: 96px;
  background-color: var(--color-bg-pink);
}

.access__table a { color: var(--color-blue); }

/* ===============================
   フッター
   =============================== */
.footer {
  background-color: var(--color-footer);
  color: var(--color-white);
  padding: 56px 0 32px;
}

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

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer__nav li + li {
  padding-left: 14px;
  margin-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

@media screen and (max-width: 767.98px) {
  .footer__top { flex-direction: column; gap: 20px; }

  .footer__nav ul { flex-direction: column; gap: 0; }

  .footer__nav li + li {
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__nav a { display: block; padding: 10px 0; }
}

.footer__info {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer__info a { color: rgba(255, 255, 255, 0.8); }

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===============================
   ページトップへ戻るボタン
   =============================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(219, 116, 153, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) {
  .back-to-top:hover {
    opacity: 0.85;
    transform: translateY(-4px);
  }
}

@media screen and (max-width: 767.98px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
