/* =========================================
   スポーツマッサージ for Students
   style.css
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Poppins:wght@700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:   #FF6B9D;   /* ビビッドピンク */
  --secondary: #4ECDC4;   /* ミントグリーン */
  --accent:    #FFE66D;   /* イエロー */
  --dark:      #2D3436;
  --gray:      #636e72;
  --light-bg:  #FFF5F8;
  --white:     #FFFFFF;
  --radius:    16px;
  --shadow:    0 8px 32px rgba(255,107,157,0.15);
  --font-main: 'Noto Sans JP', sans-serif;
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Section共通 --- */
section { padding: 80px 24px; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title span {
  display: inline-block;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
}
.section-title h2 em {
  font-style: normal;
  color: var(--primary);
}

/* =========================================
   HEADER
   ========================================= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), #FF9BC7);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: white;
}
.header-logo .logo-text {
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
}
.header-logo .logo-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.05em;
}
header nav { display: flex; gap: 24px; align-items: center; }
header nav a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray);
  transition: color 0.2s;
}
header nav a:hover { color: var(--primary); }
.header-cta {
  background: linear-gradient(135deg, var(--primary), #FF9BC7);
  color: white !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(255,107,157,0.4);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,107,157,0.5) !important;
  color: white !important;
}

/* =========================================
   HERO
   ========================================= */
#hero {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  background:
    linear-gradient(135deg, rgba(255,107,157,0.88) 0%, rgba(78,205,196,0.75) 100%),
    url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1400&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.25);
  border: 1.5px solid rgba(255,255,255,0.6);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}
.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
  margin-bottom: 16px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  font-weight: 500;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.btn-outline {
  background: rgba(255,255,255,0.2);
  border: 2px solid white;
  color: white;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.35); transform: translateY(-3px); }
.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  animation: bounce 1.8s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 2px;
  height: 30px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =========================================
   FEATURES (アピールポイント)
   ========================================= */
#features {
  background: var(--light-bg);
  padding: 60px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-icon {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.feature-icon.pink  { background: #FFE8F0; }
.feature-icon.mint  { background: #E0FAF8; }
.feature-icon.yellow{ background: #FFF8D6; }
.feature-icon.purple{ background: #F0EAFF; }
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--dark);
}
.feature-card p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}

/* =========================================
   ABOUT
   ========================================= */
#about {
  background: white;
}
.about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFD6E7, #A8EDEA);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  line-height: 1.4;
}
.about-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.4;
}
.about-text h2 em { font-style: normal; color: var(--primary); }
.about-text p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  background: var(--light-bg);
  color: var(--primary);
  border: 1.5px solid #FFB3CE;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* =========================================
   COURSES
   ========================================= */
#courses {
  background: linear-gradient(180deg, var(--light-bg) 0%, white 100%);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.course-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(255,107,157,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(255,107,157,0.22);
}
.course-card.popular::before {
  content: '🌟 人気No.1';
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
}
.course-header {
  padding: 32px 28px 24px;
  text-align: center;
}
.course-header.pink-bg {
  background: linear-gradient(135deg, #FF6B9D, #FF9BC7);
}
.course-header.teal-bg {
  background: linear-gradient(135deg, #4ECDC4, #7BDFDA);
}
.course-emoji { font-size: 2.8rem; margin-bottom: 10px; }
.course-header h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: white;
  margin-bottom: 4px;
}
.course-header .course-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.course-body { padding: 24px 28px 32px; }
.course-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  justify-content: center;
}
.course-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
}
.course-price-unit { font-size: 0.85rem; color: var(--gray); font-weight: 500; }
.course-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--light-bg);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.course-list { margin-bottom: 24px; }
.course-list li {
  font-size: 0.85rem;
  color: var(--gray);
  padding: 6px 0;
  border-bottom: 1px dashed #f0e0e8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-list li:last-child { border-bottom: none; }
.course-list li::before { content: '✓'; color: var(--secondary); font-weight: 900; }
.btn-course {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), #FF9BC7);
  color: white;
  padding: 13px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(255,107,157,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-course:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,157,0.5); }

/* =========================================
   STAFF
   ========================================= */
#staff {
  background: white;
}
.staff-inner {
  max-width: 700px;
  margin: 0 auto;
  background: var(--light-bg);
  border-radius: 28px;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
}
.staff-avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD6E7, #A8EDEA);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  flex-shrink: 0;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(255,107,157,0.2);
}
.staff-name {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.staff-title {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.staff-title::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--primary); }
.staff-bio {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 16px;
}
.staff-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-badge {
  background: white;
  border: 1.5px solid #FFB3CE;
  color: var(--dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  display: flex; align-items: center; gap: 4px;
}
.cert-badge::before { content: '🏅'; }

/* =========================================
   BOOKING (LINE予約)
   ========================================= */
#booking {
  background: linear-gradient(135deg, #FF6B9D 0%, #4ECDC4 100%);
  padding: 80px 24px;
  text-align: center;
}
#booking .section-title span { color: var(--accent); }
#booking .section-title h2 { color: white; }
#booking .section-title h2 em { color: var(--accent); }
.booking-desc {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 40px;
  font-weight: 500;
}
.booking-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 28px;
  padding: 40px 48px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  gap: 20px;
}
.qr-wrap {
  width: 200px; height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--light-bg);
}
.qr-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.booking-label {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.booking-step {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  max-width: 80px;
  text-align: center;
}
.step-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), #FF9BC7);
  color: white;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-arrow { color: var(--primary); font-size: 1.2rem; }
.booking-note {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.78rem;
  color: var(--gray);
  text-align: left;
  width: 100%;
}
.booking-note p { margin-bottom: 4px; }
.booking-note p:last-child { margin-bottom: 0; }
.booking-note strong { color: var(--primary); }

/* =========================================
   FAQ
   ========================================= */
#faq {
  background: var(--light-bg);
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(255,107,157,0.08);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  user-select: none;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--light-bg); }
.faq-q .q-mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--primary), #FF9BC7);
  color: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
}
.faq-q .arrow {
  margin-left: auto;
  color: var(--primary);
  transition: transform 0.3s;
  font-size: 0.9rem;
}
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 20px 18px 62px;
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.8;
  border-top: 1px solid #f5e6ec;
}
.faq-item.open .faq-a { display: block; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
  text-align: center;
}
.footer-logo { margin-bottom: 24px; }
.footer-logo .logo-text { color: white; font-size: 1.1rem; font-weight: 900; }
.footer-logo .logo-text small { color: rgba(255,255,255,0.5); font-size: 0.7rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--primary); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* =========================================
   LINE FLOAT BUTTON
   ========================================= */
.line-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: float-in 0.6s ease 1s both;
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.line-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: #06C755;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(6,199,85,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.line-float a::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(6,199,85,0.4);
  animation: pulse-line 2s infinite;
}
@keyframes pulse-line {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.line-float a:hover { transform: scale(1.1); box-shadow: 0 10px 28px rgba(6,199,85,0.55); }
.line-float a svg {
  width: 30px; height: 30px;
  fill: white;
  position: relative;
  z-index: 1;
}
.line-float-label {
  background: var(--dark);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  section { padding: 60px 16px; }
  header nav { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-badge { right: 8px; bottom: -12px; }
  .staff-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }
  .staff-avatar { margin: 0 auto; }
  .staff-title { justify-content: center; }
  .staff-certs { justify-content: center; }
  .booking-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; justify-content: center; }
  .courses-grid { grid-template-columns: 1fr; }
}
