/* ==============================
  Base
============================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "游ゴシック体", "YuGothic", "メイリオ", sans-serif;
  line-height: 1.8;
  color: #222;
  background: #f7f5f2;
  padding-bottom: 90px; /* 追従CTAぶんの余白 */
}

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

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


/* ==============================
  Header
============================== */

header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 16px;
}

.header-logo {
  width: 100%;
}

.header-copy {
  width: 50%;
  max-width: 100%;
  height: auto;
  margin: auto;
}


/* ==============================
  Main Visual
============================== */

.main-visual img {
  width: 960px;
  max-width: 100%;
  margin: auto;
}

.linecta-visual,
.IGcta-visual {
  padding: 1rem;
}


/* ==============================
  YouTube
============================== */

.youtube-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

.youtube-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}


/* ==============================
  Clinic / Access
============================== */

.visual-section {
  position: relative;
  overflow: hidden;
  width: min(100%, 941px);
  margin: 0 auto;
  background: #fff;
}

.visual-section > img {
  width: 100%;
}

.clinic-map-mask {
  position: absolute;
  left: 5%;
  top: 21.5%;
  width: 90%;
  height: 36%;
  border-radius: 22px;
  box-shadow: 0 6px 28px rgba(197, 89, 116, 0.08);
}

.clinic-map-embed {
  position: absolute;
  left: 8.1%;
  top: 25%;
  width: 84%;
  height: 30%;
  overflow: hidden;
  border: 1px solid rgba(197, 89, 116, 0.18);
  border-radius: 10px;
  background: #fff;
}

.clinic-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ==============================
  Floating CTA
============================== */

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(247, 245, 242, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.floating-cta-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
}

.floating-cta .btn-primary {
  padding: 0.5rem;
}

.btn-primary {
  width: 50%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}


/* ==============================
  Float Animation
============================== */

.header-logo img,
.btn-primary,
.linecta-visual img,
.IGcta-visual img {
  animation: floatCta 2.4s ease-in-out infinite;
}

.header-logo img:hover,
.btn-primary:hover,
.linecta-visual img:hover,
.IGcta-visual img:hover {
  opacity: 0.95;
}

@keyframes floatCta {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  }

  50% {
    transform: translateY(-6px);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
  }

  100% {
    transform: translateY(0);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  }
}


/* ==============================
  Footer
============================== */

footer {
  background: #111;
  color: #ccc;
  padding: 24px 0 36px;
  font-size: 11px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}


/* ==============================
  Responsive
============================== */

@media screen and (max-width: 768px) {
  .header-copy {
    width: 100%;
  }

  .btn-primary {
    width: 100%;
  }
}