:root {
  --color-bg: #fcfaf6;
  --color-surface: #ffffff;
  --color-surface-alt: #f3ede4;
  --color-text: #2a2522;
  --color-muted: #6f655e;
  --color-border: #ded4ca;
  --color-accent: #6b3f8a;
  --color-accent-dark: #4a2d5c;
  --color-accent-soft: #f0e8f7;
  --color-accent-light: #9b6cbf;
  --shadow-soft: 0 18px 40px rgba(74, 45, 92, 0.10);
  --shadow-card: 0 4px 24px rgba(74, 45, 92, 0.08);
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --container: 1120px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p, h1, h2, h3 {
  margin-top: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(74, 45, 92, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(74, 45, 92, 0.98);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: 72px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo__img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-m);
}

.global-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
  position: relative;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.global-nav a:hover {
  color: #fff;
}

.global-nav a:hover::after,
.global-nav a.is-active::after {
  transform: scaleX(1);
}

.global-nav a.is-active {
  color: #fff;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 190;
  background: var(--color-accent-dark);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__list {
  padding: var(--space-m) var(--space-s);
}

.mobile-menu__list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__list a {
  display: block;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu__list a:hover {
  color: #fff;
  padding-left: 24px;
}

/* ===== BUTTON ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  border: 2px solid var(--color-accent);
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.button--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.button--small {
  min-width: auto;
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 45, 92, 0.85) 0%, rgba(107, 63, 138, 0.65) 60%, rgba(74, 45, 92, 0.5) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--space-l);
  align-items: center;
  padding: var(--space-2xl) 0;
}

.hero__content {
  color: #fff;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-s);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: var(--space-m);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.hero__lead {
  margin-bottom: var(--space-l);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-2xl) 0;
}

.section-heading {
  margin-bottom: var(--space-l);
}

.section-heading--center {
  text-align: center;
}

.section-heading__label {
  display: inline-block;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-heading__title {
  margin-bottom: var(--space-xs);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.3;
  font-weight: 800;
}

.section-heading__sub {
  display: block;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.section-heading__desc {
  margin-top: var(--space-s);
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ===== ABOUT ===== */
.about {
  background: var(--color-surface);
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__text p + p {
  margin-top: var(--space-s);
}

.about__text strong {
  color: var(--color-accent);
}

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
  flex: 0 0 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.carousel__btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }

.carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* ===== BUSINESS ===== */
.business {
  background: linear-gradient(180deg, var(--color-bg) 0%, #f0e8f7 100%);
}

.business__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-xl);
  align-items: start;
}

.business__text p + p {
  margin-top: var(--space-s);
}

.business__lead {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-m) !important;
}

.business__image {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}

.business__image img {
  width: 100%;
  height: auto;
  display: block;
}

.business__quote {
  margin-top: var(--space-l);
  padding: var(--space-l);
  border-left: 4px solid var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
}

.business__quote p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 0;
}

.business__quote p + p {
  margin-top: var(--space-xs);
}

.business__quote-sub {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: var(--color-muted) !important;
  margin-top: var(--space-s) !important;
}

/* ===== SERVICE ===== */
.services {
  background: var(--color-surface);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-m);
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.service-card__image {
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__content {
  padding: 24px 28px 32px;
}

.service-card__number {
  display: inline-block;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card__title {
  margin-bottom: var(--space-xs);
  font-size: 1.15rem;
  font-weight: 700;
}

.service-card__text {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== HOPE ===== */
.hope {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #6b3f8a 60%, #3d1f52 100%);
  color: #fff;
}

.hope .section-heading__label {
  color: rgba(255, 255, 255, 0.65);
}

.hope .section-heading__title {
  color: #fff;
}

.hope__body {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: var(--space-xl);
  align-items: start;
}

.hope__message p + p {
  margin-top: var(--space-s);
}

.hope__lead {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: var(--space-m) !important;
}

/* ===== PROFILE CARD ===== */
.profile-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-m);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.profile-card__photo {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.profile-card__info {
  padding: var(--space-l);
}

.profile-card__name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}

.profile-card__role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-m);
  letter-spacing: 0.04em;
}

.profile-card__bio {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
  margin-bottom: 0;
}

.profile-card__bio + .profile-card__bio {
  margin-top: var(--space-s);
}

/* ===== REVIEW ===== */
.review {
  background: var(--color-bg);
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-m);
}

.review-card {
  padding: var(--space-l);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin-bottom: var(--space-m);
}

.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-accent-soft);
}

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

.review-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--color-text);
}

.review-card__meta {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.review-card__text {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.85;
  margin-bottom: 0;
}

/* ===== ACCESS ===== */
.access {
  background: var(--color-surface);
}

.access__body {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.access__item {
  text-align: center;
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-bg);
  min-width: 280px;
  max-width: 360px;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.access__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.access__icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-m);
  color: var(--color-accent);
}

.access__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.access__link {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  word-break: break-all;
  margin-bottom: var(--space-xs);
  transition: color 0.2s ease;
}

.access__link:hover {
  color: var(--color-accent);
}

.access__note {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: var(--space-l) 0 var(--space-m);
  color: var(--color-muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-l);
  padding-top: var(--space-l);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.site-footer__text {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s) var(--space-m);
  align-items: center;
}

.site-footer__copyright {
  margin: var(--space-l) 0 0;
  text-align: center;
  font-size: 0.82rem;
}

.site-footer__logo-img {
  height: 52px;
  width: auto;
  margin-bottom: var(--space-s);
}

.site-footer--dark {
  background: var(--color-accent-dark);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer--dark .site-footer__inner {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.site-footer--dark .site-footer__text {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer--dark .site-footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.site-footer--dark .site-footer__nav a:hover {
  color: #fff;
}

.site-footer--dark .site-footer__copyright {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.fade-up--delay {
  --delay: 0.18s;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .business__grid {
    grid-template-columns: 1fr;
  }

  .business__image {
    position: static;
    max-width: 480px;
  }

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

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-xl) 0;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__image {
    max-width: 280px;
  }

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

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

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

  .global-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.75;
  }

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

  .access__body {
    flex-direction: column;
    align-items: center;
  }

  .access__item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero__scroll-hint {
    display: none;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: var(--space-l);
  }
}
