/* ==========================================================================
   Anmmer Plus LP - Main Stylesheet
   BEM methodology | Mobile-first responsive design
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Primary palette */
  --color-yellow: #FFEB3B;
  --color-yellow-light: #FFF9C4;
  --color-yellow-pale: #FFFDE7;
  --color-pink: #F8BBD0;
  --color-pink-light: #FCE4EC;
  --color-pink-accent: #EC407A;
  --color-mint: #B2DFDB;
  --color-mint-light: #E0F2F1;
  --color-orange: #FF7043;
  --color-orange-light: #FFF3E0;
  --color-coral: #FF6B6B;

  /* CTA */
  --color-cta: #FF5722;
  --color-cta-hover: #E64A19;
  --color-cta-shadow: rgba(255, 87, 34, 0.3);

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-bg: #FAFAFA;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #E0E0E0;
  --color-dark: #2D2D2D;

  /* Plan colors */
  --plan-luxe: #FFD54F;
  --plan-premium: #FF8A65;
  --plan-standard: #F48FB1;
  --plan-light: #80CBC4;

  /* Typography */
  --font-primary: 'Noto Sans JP', 'Roboto', 'M PLUS 1', 'M PLUS 1p', sans-serif;
  --font-accent: 'Roboto', 'Noto Sans JP', 'M PLUS 1', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --section-padding-sm: 48px 0;
  --container-width: 1140px;
  --container-padding: 0 20px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-cta: 0 4px 16px var(--color-cta-shadow);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Header */
  --header-height: 72px;
}

/* --------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section--yellow {
  background: var(--color-yellow-pale);
}

.section--pink {
  background: var(--color-pink-light);
}

.section--gray {
  background: var(--color-bg);
}

.section--white {
  background: var(--color-white);
}

.section__title {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.6;
}

.section__label {
  display: inline-block;
  background: var(--color-yellow);
  padding: 4px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.highlight-text {
  background: linear-gradient(transparent 60%, var(--color-yellow) 60%);
  padding: 0 4px;
}

.handwritten {
  font-family: var(--font-accent);
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.btn--cta {
  background: var(--color-cta);
  color: var(--color-white);
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
}

.btn--cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--color-cta-shadow);
}

.btn--cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-25deg);
  animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
  0% { left: -60%; }
  100% { left: 160%; }
}

.btn--cta-large {
  font-size: 1.25rem;
  padding: 20px 48px;
}

.btn--outline {
  background: transparent;
  color: var(--color-cta);
  border: 2px solid var(--color-cta);
}

.btn--outline:hover {
  background: var(--color-cta);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-cta);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn__icon {
  font-size: 1.2em;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header__logo {
  height: 44px;
  width: auto;
}

.header__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.header__nav-link:hover {
  color: var(--color-cta);
}

.header__cta {
  font-size: 0.9rem;
  padding: 10px 24px;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.header__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile nav overlay */
.header__mobile-nav {
  display: none;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  background: var(--color-yellow-pale);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 2;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 60px 20px 100px;
  position: relative;
  z-index: 1;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-pink);
  color: var(--color-text);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero__badge-icon {
  font-size: 1rem;
}

.hero__title {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--color-text);
}

.hero__title-highlight {
  color: var(--color-cta);
  position: relative;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.hero__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating decorations */
.hero__deco {
  position: absolute;
  z-index: 0;
}

.hero__deco--circle1 {
  top: 20%;
  right: 5%;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  background: var(--color-pink);
  opacity: 0.3;
  animation: float 4s ease-in-out infinite;
}

.hero__deco--circle2 {
  bottom: 30%;
  left: 3%;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--color-yellow);
  opacity: 0.5;
  animation: float 5s ease-in-out infinite reverse;
}

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

/* --------------------------------------------------------------------------
   6. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-cta), #FF8A65);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-banner__text {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   7. News Section
   -------------------------------------------------------------------------- */
.news {
  background: var(--color-yellow);
  padding: 16px 0;
}

.news__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

.news__label {
  flex-shrink: 0;
  background: var(--color-text);
  color: var(--color-white);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.news__list {
  display: flex;
  gap: 32px;
  overflow: hidden;
  flex: 1;
}

.news__item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.9rem;
}

.news__date {
  color: var(--color-text-light);
  font-size: 0.8rem;
}

.news__link:hover {
  color: var(--color-cta);
}

/* --------------------------------------------------------------------------
   8. Concept Section
   -------------------------------------------------------------------------- */
.concept {
  padding: var(--section-padding);
}

.concept__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.concept__image {
  flex: 1;
  max-width: 480px;
}

.concept__image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  position: relative;
}

.concept__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept__image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 12px;
  text-align: center;
}

.concept__content {
  flex: 1;
}

.concept__title {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.concept__lead {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.concept__text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   9. Problems Section
   -------------------------------------------------------------------------- */
.problems {
  background: var(--color-yellow-pale);
  padding: var(--section-padding);
  position: relative;
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.problems__item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.problems__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background: var(--color-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.problems__item-title {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.problems__item-text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Solutions Section
   -------------------------------------------------------------------------- */
.solutions {
  padding: var(--section-padding);
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.solutions__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
  border-top: 4px solid var(--color-yellow);
}

.solutions__card:nth-child(2) {
  border-top-color: var(--color-pink);
}

.solutions__card:nth-child(3) {
  border-top-color: var(--color-mint);
}

.solutions__card:hover {
  transform: translateY(-4px);
}

.solutions__card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-circle);
  background: var(--color-yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.solutions__card:nth-child(2) .solutions__card-icon {
  background: var(--color-pink-light);
}

.solutions__card:nth-child(3) .solutions__card-icon {
  background: var(--color-mint-light);
}

.solutions__card-title {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.solutions__card-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Before/After */
.solutions__ba {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-yellow-pale);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.solutions__ba-item {
  flex: 1;
  text-align: center;
}

.solutions__ba-label {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.solutions__ba-label--before {
  background: var(--color-border);
  color: var(--color-text-light);
}

.solutions__ba-label--after {
  background: var(--color-pink);
  color: var(--color-white);
}

.solutions__ba-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.solutions__ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions__ba-arrow {
  font-size: 2rem;
  color: var(--color-cta);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. Services / Menu Section
   -------------------------------------------------------------------------- */
.services {
  background: var(--color-bg);
  padding: var(--section-padding);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.services__card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.services__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.services__card:hover .services__card-image img {
  transform: scale(1.05);
}

.services__card-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  text-align: center;
}

.services__card-body {
  padding: 20px;
}

.services__card-title {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.services__card-text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials {
  padding: var(--section-padding);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonials__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-base);
}

.testimonials__card:hover {
  transform: translateY(-4px);
}

.testimonials__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-circle);
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--color-yellow);
}

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

/* No image placeholder */
.testimonials__noimage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ece4;
  color: #b0a890;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.testimonials__noimage--lg {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-circle);
  font-size: 0.85rem;
}

.testimonials__name {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonials__meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.testimonials__stars {
  color: #FFC107;
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonials__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  text-align: left;
}

/* --------------------------------------------------------------------------
   13. Plans Section
   -------------------------------------------------------------------------- */
/* =========================================================================
   SUBSCRIPTION PLAN CARDS (sp-card)
   Accordion-style: Summary (always visible) + Detail (toggle)
   ========================================================================= */

/* --- Card wrapper --- */
.sp-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  margin-bottom: 32px;
  border: 1px solid #e8e4dc;
}

/* --- Summary: image left + overview right --- */
.sp-card__summary {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}

.sp-card__visual {
  position: relative;
  overflow: hidden;
  background: #f5f5f0;
  display: flex;
  align-items: center;
}

.sp-card__visual-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sp-card__visual-ribbon {
  position: absolute;
  top: 12px;
  right: -32px;
  background: var(--color-cta);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(35deg);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* --- Overview (right side of summary) --- */
.sp-card__overview {
  padding: 24px 28px;
}

.sp-card__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 3px;
  margin-bottom: 12px;
  color: #fff;
}
.sp-card__badge--red { background: #c62828; }
.sp-card__badge--green { background: #2e7d32; }

.sp-card__desc {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Price row: member label + price side-by-side */
.sp-card__price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sp-card__member-label {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.sp-card__member-label small {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.sp-card__member-label--luxe {
  border-color: #8b6914;
  color: #8b6914;
  background: linear-gradient(135deg, #fdf8ee, #f5edda);
}
.sp-card__member-label--premium {
  border-color: #c8a040;
  color: #8b6914;
  background: linear-gradient(135deg, #fdf8ee, #f5edda);
}
.sp-card__member-label--standard {
  border-color: #888;
  color: #555;
  background: linear-gradient(135deg, #f5f5f5, #eee);
}
.sp-card__member-label--light {
  border-color: #2e7d32;
  color: #2e7d32;
  background: linear-gradient(135deg, #f0f8f0, #e8f5e9);
}

.sp-card__price {
  font-family: var(--font-accent);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.sp-card__price small {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Bullet highlights */
.sp-card__highlights {
  margin: 0;
  padding: 0;
}
.sp-card__highlights li {
  font-size: 0.85rem;
  line-height: 1.7;
  padding-left: 1em;
  text-indent: -1em;
  color: var(--color-text);
}
.sp-card__highlights li::before {
  content: '・';
}

/* --- Toggle button (詳細を見る / 閉じる) --- */
.sp-card__toggle {
  display: block;
  width: 160px;
  margin: 16px auto 20px;
  padding: 8px 0;
  background: transparent;
  border: 1px solid #bbb;
  border-radius: 2px;
  font-size: 0.85rem;
  color: var(--color-text);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  letter-spacing: 0.06em;
}
.sp-card__toggle:hover {
  background: #f5f5f0;
  border-color: #888;
}

/* --- Detail (hidden by default, shown on toggle) --- */
.sp-card__detail {
  border-top: 1px solid #e8e4dc;
  padding: 0 28px 20px;
  animation: sp-slideDown .3s ease;
}

@keyframes sp-slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sections within detail */
.sp-card__section {
  padding: 20px 0;
  border-bottom: 1px solid #e8e4dc;
}
.sp-card__section:last-of-type {
  border-bottom: none;
}

.sp-card__section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #5c4a32;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c8a850;
  display: inline-block;
}
.sp-card__section-title small {
  font-size: 0.75rem;
  font-weight: 400;
  color: #b0a080;
  margin-left: 8px;
  letter-spacing: 0.06em;
}

/* Benefit grid (2 columns) */
.sp-card__benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  margin-bottom: 16px;
}
.sp-card__benefit-grid li {
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--color-text);
}
.sp-card__benefit-grid li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #c8a850;
  font-weight: 700;
}

/* Whitening row */
.sp-card__whitening-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px dotted #ddd;
}

.sp-card__whitening-badge {
  display: inline-block;
  background: #5c4a32;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
}

.sp-card__whitening-info {
  font-size: 0.8rem;
  color: var(--color-text);
}

/* Recommend grid (2 columns) */
.sp-card__recommend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}
.sp-card__recommend-grid li {
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--color-text);
}
.sp-card__recommend-grid li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #c8a850;
  font-weight: 700;
}

/* Menu options grid (3 columns) */
.sp-card__menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 16px;
}
.sp-card__menu-grid li {
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--color-text);
}
.sp-card__menu-grid li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #c8a850;
  font-weight: 700;
}

/* Close button at bottom of detail */
.sp-card__toggle--close {
  margin: 20px auto 8px;
}

/* CTA at bottom of section */
.sp-cta {
  text-align: center;
  margin-top: 12px;
}

.sp-cta__btn {
  min-width: 320px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   14. Detailed Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-detail {
  padding: var(--section-padding);
  background: var(--color-white);
}

.testimonials-detail__item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonials-detail__item:last-child {
  margin-bottom: 0;
}

.testimonials-detail__item:nth-child(even) {
  flex-direction: row-reverse;
}

.testimonials-detail__image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonials-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-detail__content {
  flex: 1;
}

.testimonials-detail__name {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonials-detail__meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.testimonials-detail__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 2;
}

/* --------------------------------------------------------------------------
   15. App / Reservation Section
   -------------------------------------------------------------------------- */
.app-section {
  background: linear-gradient(135deg, var(--color-yellow-pale), var(--color-pink-light));
  padding: var(--section-padding);
}

.app-section__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.app-section__content {
  flex: 1;
}

.app-section__title {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.app-section__text {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.app-section__image {
  flex: 1;
  max-width: 360px;
}

.app-section__image-wrapper {
  position: relative;
}

.app-section__image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   16. Contact Form Section
   -------------------------------------------------------------------------- */
.contact {
  padding: var(--section-padding);
  background: var(--color-white);
}

.contact__form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* CF7 styling overrides */
.contact__form-wrapper .wpcf7-form {
  font-family: var(--font-primary);
}

.contact__form-group {
  margin-bottom: 24px;
}

.contact__form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.contact__form-label .required {
  background: var(--color-cta);
  color: var(--color-white);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
}

.contact__form-wrapper input[type="text"],
.contact__form-wrapper input[type="email"],
.contact__form-wrapper input[type="tel"],
.contact__form-wrapper select,
.contact__form-wrapper textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: var(--color-white);
}

.contact__form-wrapper input:focus,
.contact__form-wrapper select:focus,
.contact__form-wrapper textarea:focus {
  outline: none;
  border-color: var(--color-cta);
}

.contact__form-wrapper textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__form-submit {
  text-align: center;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   17. FAQ Section
   -------------------------------------------------------------------------- */
.faq {
  background: var(--color-yellow-pale);
  padding: var(--section-padding);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition-fast);
}

.faq__question:hover {
  background: var(--color-yellow-pale);
}

.faq__question-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  background: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text);
}

.faq__question-text {
  flex: 1;
}

.faq__question-toggle {
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform var(--transition-base);
  color: var(--color-text-muted);
}

.faq__item.is-open .faq__question-toggle {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding: 0 24px 24px 72px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 56px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer__logo img {
  height: 100%;
  width: auto;
}

.footer__description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer__title {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-yellow);
}

.footer__info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-yellow);
  color: var(--color-text);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   19. Scroll-to-Top Button
   -------------------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: var(--color-cta);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   20. Mobile Fixed CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.mobile-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--color-cta);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   21. Animations
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   22. Responsive - Tablet (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 64px 0;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__inner {
    gap: 24px;
  }

  .solutions__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

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

  /* SP cards: visual column shrinks on tablet */
  .sp-card__summary {
    grid-template-columns: 240px 1fr;
  }

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

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

/* --------------------------------------------------------------------------
   23. Responsive - Mobile (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px 0;
    --header-height: 60px;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .section__subtitle {
    font-size: 0.9rem;
    margin-bottom: 32px;
  }

  /* Header mobile */
  .header__nav-list {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header__mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
  }

  .header__mobile-nav.is-open {
    display: block;
  }

  .header__mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .header__mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
  }

  .header__mobile-cta {
    margin-top: 24px;
    text-align: center;
  }

  .header__mobile-cta .btn {
    width: 100%;
  }

  /* Hero mobile */
  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px 80px;
  }

  .hero__image {
    max-width: 100%;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__cta-group {
    justify-content: center;
  }

  /* Concept mobile */
  .concept__inner {
    flex-direction: column;
  }

  .concept__image {
    max-width: 100%;
  }

  /* Problems mobile */
  .problems__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Solutions mobile */
  .solutions__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solutions__ba {
    flex-direction: column;
    gap: 16px;
  }

  .solutions__ba-arrow {
    transform: rotate(90deg);
  }

  /* Services mobile */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Testimonials mobile */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* SP cards: stack vertically on mobile */
  .sp-card__summary {
    grid-template-columns: 1fr;
  }

  .sp-card__overview {
    padding: 16px 18px;
  }

  .sp-card__visual-ribbon {
    top: 8px;
    right: -36px;
    font-size: 0.65rem;
    padding: 3px 38px;
  }

  .sp-card__price {
    font-size: 2rem;
  }

  .sp-card__detail {
    padding: 0 18px 16px;
  }

  .sp-card__benefit-grid,
  .sp-card__recommend-grid {
    grid-template-columns: 1fr;
  }

  .sp-card__menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sp-cta__btn {
    min-width: auto;
    width: 100%;
  }

  /* Detailed testimonials mobile */
  .testimonials-detail__item,
  .testimonials-detail__item:nth-child(even) {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonials-detail__image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-circle);
  }

  /* App section mobile */
  .app-section__inner {
    flex-direction: column;
    text-align: center;
  }

  .app-section__image {
    max-width: 240px;
    margin: 0 auto;
  }

  /* Contact mobile */
  .contact__form-wrapper {
    padding: 24px;
  }

  /* Footer mobile */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile CTA bar */
  .mobile-cta {
    display: block;
  }

  /* Add bottom padding for mobile CTA bar */
  .footer__bottom {
    padding-bottom: 80px;
  }

  /* Buttons mobile */
  .btn {
    font-size: 1rem;
    padding: 14px 32px;
  }

  .btn--cta-large {
    font-size: 1.1rem;
    padding: 16px 36px;
  }

  /* CTA banner mobile */
  .cta-banner__text {
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   24. Responsive - Small Mobile (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.5rem;
  }

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

  .sp-card {
    margin-bottom: 20px;
  }

  .sp-card__menu-grid {
    grid-template-columns: 1fr;
  }

  .sp-card__price-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .section__title {
    font-size: 1.3rem;
  }
}

/* --------------------------------------------------------------------------
   25. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .scroll-top,
  .mobile-cta,
  .cta-banner {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* --------------------------------------------------------------------------
   26. Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   HERO VARIANTS - Banner B / C
   ================================================================ */

/* --- Hero B: Split Screen (右半分フル画像) --- */
.hero--split {
  background: var(--color-white);
  min-height: 580px;
}

.hero--split::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 2;
}

.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  max-width: 100%;
  padding: 0;
  margin: 0;
  gap: 0;
  align-items: stretch;
}

.hero--split .hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 120px;
  background: linear-gradient(135deg, #fffde7 0%, #fff9c4 40%, #ffffff 100%);
  min-width: 0;
}

.hero--split .hero__image {
  max-width: none;
  overflow: hidden;
  position: relative;
  flex: none;
}

.hero--split .hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 580px;
}

.hero__price-badge {
  display: inline-block;
  background: var(--color-cta);
  color: var(--color-white);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero__price-badge strong {
  font-size: 1.25em;
}

/* --- Hero C: POP Yellow (イエロー背景強調) --- */
.hero--pop {
  background: var(--color-primary);
}

.hero--pop .hero__badge {
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-text);
  border: 1.5px solid rgba(0,0,0,0.15);
}

.hero--pop .hero__title-highlight {
  color: var(--color-cta);
}

.hero__pop-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__pop-point {
  background: var(--color-white);
  color: var(--color-text);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.hero--pop .hero__image-wrapper {
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
}

/* --- Responsive for Variants --- */
@media (max-width: 768px) {
  .hero--split .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero--split .hero__content {
    padding: 60px 24px 60px;
    order: 1;
  }

  .hero--split .hero__image {
    order: 0;
    height: 260px;
  }

  .hero--split .hero__image img {
    min-height: 260px;
  }

  .hero__pop-points {
    gap: 8px;
  }

  .hero__pop-point {
    font-size: 0.82rem;
    padding: 6px 14px;
  }
}
