/* トップ：クリニック風 Liberte */

/* ----- Hero ----- */
.home-hero {
  position: relative;
  padding: 40px 0 56px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--color-mint-soft) 0%, var(--color-bg) 45%, #eef6f3 100%);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("../images/decor-grid.svg");
  background-size: 420px;
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.home-hero__aside {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 22px 18px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(197, 221, 212, 0.85);
}

.home-hero__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.home-hero__logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--color-primary-light), var(--color-primary));
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.home-hero__logo-name {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.04em;
}

.home-hero__logo-en {
  margin: 2px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--color-primary-deep);
  letter-spacing: 0.08em;
}

.home-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.home-icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 86px;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--color-heading);
  background: var(--color-mint-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.home-icon-tile:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.home-icon-tile__ic {
  display: flex;
  color: var(--color-primary);
}

.home-icon-tile__tx {
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.home-hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.home-btn--reserve {
  background: var(--color-primary-light);
  color: #fff;
}

.home-btn--reserve:hover {
  background: var(--color-primary);
  color: #fff;
}

.home-btn--tel {
  background: var(--color-accent-dark);
  color: #fff;
}

.home-btn--tel:hover {
  filter: brightness(1.06);
  color: #fff;
}

.home-btn--solid {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 32px;
  font-size: 0.92rem;
}

.home-btn--solid:hover {
  background: var(--color-primary-deep);
  color: #fff;
}

.home-btn--block {
  width: 100%;
  box-sizing: border-box;
}

.home-hero__hours {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 0.72rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.home-hero__hours-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--color-heading);
  font-size: 0.75rem;
}

.home-hero__hours-tel {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.home-hero__hours-tel a {
  color: var(--color-heading);
  text-decoration: none;
}

.home-hero__hours-note {
  margin: 6px 0 0;
  font-size: 0.68rem;
}

.home-hero__visual-col {
  min-width: 0;
}

.home-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.home-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 700;
  line-height: 1.38;
  color: var(--color-heading);
  letter-spacing: 0.02em;
}

.home-hero__title-line {
  display: block;
}

.home-hero__lead {
  margin: 0 0 24px;
  max-width: 36em;
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--color-text);
}

.home-hero__photo-wrap {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 16px 16px;
  max-width: 640px;
}

.home-hero__blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.home-hero__blob--y {
  width: 38%;
  height: 42%;
  top: -8%;
  right: -2%;
  background: radial-gradient(circle, rgba(255, 220, 160, 0.45) 0%, transparent 70%);
}

.home-hero__blob--b {
  width: 32%;
  height: 36%;
  bottom: 6%;
  left: -2%;
  background: radial-gradient(circle, rgba(180, 210, 230, 0.4) 0%, transparent 72%);
}

.home-hero__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(26, 58, 58, 0.14);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.home-hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.home-hero__sub-cta {
  margin: 0;
}

.home-link-pill {
  display: inline-flex;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  text-decoration: none;
}

.home-link-pill:hover {
  background: var(--color-mint-soft);
  text-decoration: none;
}

/* Hero animation */
.home-hero--animate .home-hero__aside,
.home-hero--animate .home-hero__visual-col {
  opacity: 0;
  animation: homeIn 0.85s var(--ease-out) forwards;
}

.home-hero--animate .home-hero__visual-col {
  animation-delay: 0.12s;
}

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

@media (prefers-reduced-motion: reduce) {
  .home-hero--animate .home-hero__aside,
  .home-hero--animate .home-hero__visual-col {
    animation: none;
    opacity: 1;
  }
}

/* News strip */
.home-news-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(26, 58, 58, 0.04);
}

.home-news-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 0;
  font-size: 0.92rem;
}

.home-news-strip__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-primary-light);
}

.home-news-strip__date {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.home-news-strip__link {
  font-weight: 600;
  color: var(--color-heading);
  text-decoration: none;
}

.home-news-strip__link:hover {
  text-decoration: underline;
}

.home-news-strip__placeholder {
  color: var(--color-muted);
}

/* Concept */
.home-concept {
  position: relative;
  padding: 88px 0 100px;
  background: var(--color-cream);
}

.home-concept__slant {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--color-bg);
  clip-path: polygon(0 0, 100% 0, 100% 2px, 0 100%);
  opacity: 0.9;
}

.home-concept__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.home-concept__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, var(--color-mint-soft));
  border: 3px solid var(--color-primary-light);
  box-shadow: var(--shadow-card);
}

.home-concept__title {
  margin: 12px 0 24px;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  color: var(--color-heading);
  font-weight: 700;
}

.home-concept__text {
  text-align: left;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text);
}

.home-concept__text p {
  margin: 0 0 1.2em;
}

.home-concept__text p:last-child {
  margin-bottom: 0;
}

/* Trust */
.section--mint {
  background: linear-gradient(180deg, var(--color-mint-soft) 0%, #f0f7f4 100%);
}

.home-trust-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 52rem;
}

.home-trust-card {
  margin: 0;
  padding: 20px 22px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* Features / services */
.home-features {
  position: relative;
  padding: 96px 0 100px;
  margin-top: -20px;
}

.home-features__bg {
  position: absolute;
  inset: 0;
  background: var(--color-section-tint);
  clip-path: polygon(0 52px, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.home-features__content {
  position: relative;
  z-index: 1;
}

.home-features__more {
  margin: 36px 0 0;
  text-align: center;
}

/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card--link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.service-card--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26, 58, 58, 0.12);
  text-decoration: none;
}

.service-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-card--link:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 18px 20px 22px;
  background: var(--color-surface);
}

.service-card-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 6px;
}

.service-card-label--accent-sage {
  color: var(--color-primary);
}

.service-card-label--accent-warm {
  color: #8a7a62;
}

.service-card-label--accent-forest {
  color: var(--color-primary-deep);
}

.service-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.45;
}

/* CTA band */
.home-cta {
  padding: 64px 0;
}

.section--cta-band {
  background: linear-gradient(165deg, #dfece8 0%, var(--color-mint-soft) 50%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
}

.home-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.home-cta__title {
  margin: 8px 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--color-heading);
}

.home-cta__lead {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.85;
  max-width: 36em;
}

.home-cta__panel {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.home-cta__tel-label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
}

.home-cta__tel {
  margin: 0 0 18px;
  font-size: 1.65rem;
  font-weight: 700;
}

.home-cta__tel a {
  color: var(--color-heading);
  text-decoration: none;
}

.home-cta__tel a:hover {
  text-decoration: underline;
}

.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

  .home-hero__aside {
    max-width: 400px;
    margin: 0 auto;
  }

  .home-trust-grid {
    grid-template-columns: 1fr;
  }

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

  .home-cta__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards {
    grid-template-columns: 1fr;
  }
}
