@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=Poppins:wght@600;700;800&display=swap');

/* ==========================================================
   Le Créer / 橿原美容学校 トップページ トップページ用スタイル
   ========================================================== */

:root {
  --pink: #ff3d9a;
  --purple: #7b2ff7;
  --orange: #ffb800;
  --blue: #00c2ff;
  --dark: #241b3a;
  --bg: #fff9fc;
  --card-bg: #ffffff;
  --grad-main: linear-gradient(135deg, var(--pink), var(--purple));
  --grad-sub: linear-gradient(135deg, var(--orange), var(--pink));
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 12px 30px rgba(123, 47, 247, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Maru Gothic", "Poppins", sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--pink);
  background: rgba(255, 61, 154, 0.1);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}

.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 61, 154, 0.35);
}

.btn-outline {
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn:hover { transform: translateY(-3px) scale(1.03); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: rgba(255, 249, 252, 0.85);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(123, 47, 247, 0.12);
}

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

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
}
.logo span.sub {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--dark);
  opacity: 0.6;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul { display: flex; gap: 24px; }
.main-nav a {
  font-weight: 700;
  font-size: 14.5px;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-main);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 10px 22px; font-size: 13.5px; }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-main);
  border: none;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: #fff;
  transition: all 0.25s ease;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px; height: 100vh;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  padding: 100px 32px 40px;
  transition: right 0.35s ease;
  z-index: 999;
}
.mobile-nav.is-open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav a { font-weight: 700; font-size: 17px; }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(36, 27, 58, 0.4);
  z-index: 998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease;
  z-index: 1;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,27,58,0.35) 0%, rgba(36,27,58,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  max-width: 720px;
  padding: 0 24px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-text { font-size: 16px; margin-bottom: 32px; opacity: 0.92; max-width: 480px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer;
  transition: all 0.25s ease;
}
.hero-dots button.is-active { background: #fff; width: 26px; border-radius: 6px; }

.scroll-hint {
  position: absolute;
  right: 28px; bottom: 32px;
  z-index: 6;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.6);
  animation: scrollLine 1.8s infinite;
}
@keyframes scrollLine { 0%{ transform: scaleY(0); opacity:0;} 40%{transform: scaleY(1); opacity:1;} 100%{transform: scaleY(0); opacity:0; transform-origin: bottom;} }

/* ---------------- Ticker ---------------- */
.ticker {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}
.ticker-track {
  display: inline-flex;
  gap: 60px;
  animation: tickerScroll 22s linear infinite;
}
.ticker-track span { font-weight: 700; font-size: 14px; }
.ticker-track span::before { content: "✦"; color: var(--orange); margin-right: 14px; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Reveal animation ---------------- */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible {
  opacity: 1; transform: none;
}

/* ---------------- About ---------------- */
.about {
  padding: 110px 0 80px;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-copy p { font-size: 15.5px; margin-bottom: 28px; opacity: 0.85; }
.about-features { display: grid; gap: 16px; }
.feature-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.feature-card .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
}
.feature-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.feature-card p { font-size: 13.5px; opacity: 0.7; margin: 0; }

.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  z-index: -1;
  animation: floatBlob 7s ease-in-out infinite;
}
.blob-1 { width: 160px; height: 160px; background: var(--orange); opacity: 0.35; top: -30px; right: -30px; }
.blob-2 { width: 120px; height: 120px; background: var(--blue); opacity: 0.3; bottom: -20px; left: -20px; animation-delay: 1.5s; }
@keyframes floatBlob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* ---------------- Courses ---------------- */
.courses { padding: 80px 0; background: #fff; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head p { font-size: 15px; opacity: 0.75; margin-top: 10px; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(123,47,247,0.22); }
.course-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.course-card:hover .thumb img { transform: scale(1.08); }
.course-card .body { padding: 20px 20px 24px; }
.course-card .tag { font-size: 11.5px; font-weight: 800; color: var(--pink); letter-spacing: 0.06em; }
.course-card h3 { font-size: 18px; margin: 8px 0 10px; }
.course-card p { font-size: 13px; opacity: 0.7; margin-bottom: 16px; }
.course-card .more { font-size: 13px; font-weight: 800; color: var(--purple); display: inline-flex; align-items: center; gap: 4px; }

/* ---------------- Gallery slider ---------------- */
.gallery { padding: 90px 0; overflow: hidden; }
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 34px; flex-wrap: wrap; gap: 16px;
}
.gallery-arrows { display: flex; gap: 10px; }
.gallery-arrows button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--purple); background: #fff;
  color: var(--purple); font-size: 18px; cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-arrows button:hover { background: var(--grad-main); color: #fff; border-color: transparent; }

.gallery-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  scroll-snap-align: start;
  flex: 0 0 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 340px; object-fit: cover; }
.gallery-item .badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.9);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: var(--purple);
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  margin: 20px auto 90px;
  max-width: 1160px;
  border-radius: var(--radius-lg);
  background: var(--grad-main);
  padding: 60px 40px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; margin-bottom: 14px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; }
.cta-banner .btn-primary { background: #fff; color: var(--purple); box-shadow: none; }
.cta-banner::before, .cta-banner::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.cta-banner::before { width: 200px; height: 200px; top: -80px; left: -60px; }
.cta-banner::after { width: 160px; height: 160px; bottom: -70px; right: -40px; }

/* ---------------- Access ---------------- */
.access { padding: 0 0 100px; }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.access-info {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.access-info dl { margin-top: 18px; }
.access-info dt { font-size: 12.5px; font-weight: 800; color: var(--pink); margin-top: 16px; }
.access-info dd { font-size: 15px; margin-top: 4px; }
.access-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--dark); color: #fff; padding: 60px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 10px; }
.footer-grid p { font-size: 13.5px; opacity: 0.65; }
.footer-col h4 { font-size: 14px; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; opacity: 0.75; }
.footer-col a:hover { opacity: 1; }
.footer-sns { display: flex; gap: 10px; margin-top: 16px; }
.footer-sns a {
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 12.5px; font-weight: 700;
}
.footer-bottom {
  padding-top: 22px;
  font-size: 12px; opacity: 0.5;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------------- Mobile sticky CTA ---------------- */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: #fff;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13.5px;
}
.mobile-cta-bar a.primary { background: var(--grad-main); color: #fff; }
.mobile-cta-bar a.outline { border: 2px solid var(--purple); color: var(--purple); }

/* ---------------- Construction page ---------------- */
.construction-wrap {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  position: relative;
  overflow: hidden;
}
.construction-badge {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2em;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #fff;
  margin-bottom: 26px;
}
.construction-wrap h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 900; margin-bottom: 18px; }
.construction-wrap p { max-width: 480px; opacity: 0.75; margin-bottom: 34px; }
.construction-shape {
  position: absolute; border-radius: 50%;
  animation: floatBlob 6s ease-in-out infinite;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .main-nav ul, .header-cta { display: none; }
  .hamburger { display: block; }
  .about-grid, .access-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 32px; }
  .gallery-item { flex: 0 0 240px; }
}
