

/* ===========================================
          CSS Variables
        =========================================== */
:root {
  --primary: #1a365d;
  --primary-dark: #0f2340;
  --secondary: #c9a962;
  --secondary-light: #d4b87a;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --background: #f8fafc;
  --background-alt: #f1f5f9;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.4;
}

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

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

ul {
  list-style: none;
}

.price,
.number {
  font-family: "Montserrat", sans-serif;
}

/* ===========================================
           Utility Classes
        =========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }
}

/* Responsive visibility */
.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title h2 {
    font-size: 2.25rem;
  }
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

.section-title p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--primary-dark);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-gold {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--secondary);
}

/* Animation Classes */
/* スマホサイズではフェードイン無効 */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

@media (min-width: 768px) {
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

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

/* ===========================================
           Header
        =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

/* ロゴ切り替え: 通常時は白ロゴ、scrolled時は黒ロゴ */
.header .logo-white {
  display: block;
}

.header .logo-black {
  display: none;
}

.header.scrolled .logo-white {
  display: none;
}

.header.scrolled .logo-black {
  display: block;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .nav-desktop a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
  }

  .header:not(.scrolled) .nav-desktop a {
    color: var(--white);
  }

  .nav-desktop a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
  }

  .nav-desktop a:hover::after {
    width: 100%;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: block;
  }

  .header-cta .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.header:not(.scrolled) .hamburger span {
  background: var(--white);
}

@media (min-width: 768px) {
  .header:not(.scrolled) .hamburger span {
    background: var(--primary);
  }
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  transition: var(--transition);
  padding: 60px 24px 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.mobile-menu-close::before {
  transform: rotate(45deg);
}

.mobile-menu-close::after {
  transform: rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--background-alt);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  padding: 12px 24px;
}

.mobile-menu-banner {
  display: block;
  margin-top: 14px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius);
  padding: 12px 16px;
  border: 2px solid var(--secondary);
  text-decoration: none;
}

.mobile-menu-banner-top {
  text-align: center;
  margin-bottom: 6px;
}

.mobile-menu-banner-top span {
  font-size: 0.65rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 50px;
}

.mobile-menu-banner-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 8px;
}

.mobile-menu-banner-main .price {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.mobile-menu-banner-main .yen {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 700;
}

.mobile-menu-banner-main .text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.mobile-menu-banner-bottom {
  display: none;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mobile-menu-banner-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mobile-menu-banner-bottom .badge {
  font-size: 0.6rem;
  color: var(--primary);
  background: var(--secondary);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.mobile-menu-banner-bottom .sub-text {
  font-size: 0.7rem;
  color: var(--white);
}

.mobile-menu-banner-btn {
  background: var(--white);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  text-align: center;
  line-height: 1.3;
  gap: 4px;
}

.mobile-menu-banner-btn::after {
  content: "›";
  font-size: 1rem;
}

/* ===========================================
           Hero Section
        =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 20px 80px;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
    padding: 0 20px;
  }

  .hero {
    min-height: 90vh;
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.hero-text h1 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 2.75rem;
  }
}

.hero-text h1 span {
  color: var(--secondary);
}

.hero-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero-text p {
    font-size: 1.1rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    align-items: flex-start;
  }
}

.hero-cta .btn {
  width: 100%;
  max-width: 280px;
}

@media (min-width: 768px) {
  .hero-cta .btn {
    width: auto;
  }
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-content: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .hero-price {
    justify-content: flex-start;
  }
}

.hero-price .label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-right: 8px;
}

@media (min-width: 768px) {
  .hero-price .label {
    font-size: 1.2rem;
    margin-right: 12px;
  }
}

.hero-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

@media (min-width: 768px) {
  .hero-price .price {
    font-size: 4rem;
  }
}

.hero-price .yen {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero-price .yen {
    font-size: 1.5rem;
  }
}

.hero-image {
  display: none;
}

@media (min-width: 768px) {
  .hero-image {
    display: block;
  }

  .hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
  }
}

/* ===========================================
           Concerns Section
        =========================================== */
.concerns {
  background: var(--background);
}

.concerns-grid {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .concerns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.concern-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.concern-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.concern-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.concern-item span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* ===========================================
           Features Section (5つの強み)
        =========================================== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

@media (min-width: 1024px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card:nth-child(2) {
    grid-column: span 2;
  }

  .feature-card:nth-child(2) .feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .feature-card:nth-child(2) .feature-content-left {
    grid-column: 1;
  }

  .feature-card:nth-child(2) .feature-details {
    grid-column: 2;
    margin-top: 0;
    align-self: start;
  }
}

.feature-content-left {
  position: relative;
}

.feature-content-left .feature-number {
  position: absolute;
  top: -64px;
  left: 0;
}

.feature-image {
  height: 180px;
  overflow: hidden;
}

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

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

.feature-content {
  padding: 24px;
  padding-top: 40px;
  position: relative;
}

.feature-number {
  position: absolute;
  top: -24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  border-radius: 50%;
}

.feature-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.feature-subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.feature-details {
  margin-top: 12px;
  padding: 12px;
  background: var(--background);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
}

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

.feature-details li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.feature-details li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.feature-details li:last-child {
  margin-bottom: 0;
}

/* ===========================================
           Pricing Section
        =========================================== */
.pricing {
  background: linear-gradient(180deg, var(--background) 0%, var(--white) 100%);
}

.trial-card {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--secondary);
}

.trial-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(201, 169, 98, 0.1) 0%,
    transparent 70%
  );
}

.trial-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.trial-card h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 24px;
  display: block;
}

@media (min-width: 768px) {
  .trial-card h3 {
    font-size: 2.2rem;
  }
}

.trial-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .trial-price {
    gap: 8px;
  }
}

.trial-price .original {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

@media (min-width: 768px) {
  .trial-price .original {
    font-size: 1.65rem;
  }
}

.trial-price .current {
  font-family: "Montserrat", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary);
}

@media (min-width: 768px) {
  .trial-price .current {
    font-size: 4.5rem;
  }
}

.trial-price .yen {
  font-size: 1.2rem;
  color: var(--secondary);
}

@media (min-width: 768px) {
  .trial-price .yen {
    font-size: 1.875rem;
  }
}

.trial-price .tax {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .trial-price .tax {
    font-size: 1.2rem;
  }
}

.trial-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.trial-features span {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.trial-description {
  text-align: left;
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.trial-description p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.trial-flow {
  max-width: 900px;
  margin: 0 auto 30px;
  padding: 24px;
  border: 1px solid rgba(201, 169, 98, 0.5);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.15);
}

.trial-flow-title {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 16px;
  font-weight: 600;
}

.trial-flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.trial-flow-step {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-flow-arrow {
  color: var(--secondary);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .trial-flow-steps {
    flex-direction: column;
    gap: 4px;
  }

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

.courses-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--secondary);
  display: flex;
  flex-direction: column;
}

.course-image {
  height: 160px;
  overflow: hidden;
}

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

.course-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-content h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
  min-height: 2.5em;
}

.course-content p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.course-price {
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.1),
    rgba(201, 169, 98, 0.05)
  );
  border: 1px dashed var(--secondary);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: auto;
  text-align: center;
}

.course-price .original {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.course-price .price-arrow {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin: 4px 0;
}

.course-price .label {
  font-size: 0.7rem;
  color: var(--white);
  background: var(--primary);
  padding: 2px 8px;
  border-radius: 50px;
  margin-right: 4px;
}

.course-price .amount {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.course-price .yen {
  font-size: 0.85rem;
  color: var(--primary);
}

/* Course Arrow Indicator */
.course-arrow-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  position: relative;
}

.course-arrow-indicator .arrow-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.course-arrow-indicator .arrow-icon {
  color: var(--secondary);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  transform: scaleX(3);
}

/* Free Counseling Card */
.free-counseling {
  margin-top: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--secondary);
}

.free-counseling-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 20px 30px;
  text-align: center;
}

.free-counseling-header h4 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.free-counseling-header h4 .highlight {
  color: var(--secondary);
  font-weight: 700;
}

.free-counseling-header .sub-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.free-counseling-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 30px;
  align-items: center;
}

@media (max-width: 768px) {
  .free-counseling-body {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.free-counseling-image {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .free-counseling-image {
    margin: 0 auto;
  }
}

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

.free-counseling-content h5 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.free-counseling-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.free-counseling-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .free-counseling-meta {
    justify-content: center;
  }
}

.free-counseling-meta span {
  color: var(--text-light);
}

.free-counseling-meta span strong {
  color: var(--primary);
}

/* ===========================================
           Promise Section (3つの約束)
        =========================================== */
.promise {
  background: var(--primary);
  color: var(--white);
}

.promise .section-title h2 {
  color: var(--white);
}

.promise .section-title h2::after {
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

.promise-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .promise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise-item {
  text-align: left;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promise-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promise-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.promise-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--white);
  text-align: center;
}

.promise-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.promise-note {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ===========================================
           Flow Section (体験の流れ)
        =========================================== */
.flow {
  background: var(--background);
}

.flow-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 100%;
  background: var(--secondary);
}

@media (min-width: 768px) {
  .flow-timeline::before {
    left: 30px;
  }
}

.flow-item {
  position: relative;
  padding-left: 70px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .flow-item {
    padding-left: 80px;
    padding-bottom: 50px;
  }
}

.flow-item:last-child {
  padding-bottom: 0;
}

.flow-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  z-index: 1;
}

@media (min-width: 768px) {
  .flow-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

.flow-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .flow-content h3 {
    font-size: 1.25rem;
  }
}

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

.flow-point {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(201, 169, 98, 0.1);
  border-left: 3px solid var(--secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.flow-point-label {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-point p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ===========================================
           Before/After Section
        =========================================== */
.beforeafter {
  background: var(--white);
}

.ba-grid {
  display: grid;
  gap: 30px;
  justify-content: center;
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(3, 370px);
  }
}

.ba-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 370px;
  margin: 0 auto;
}

.ba-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ba-content {
  padding: 20px;
}

.ba-content h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.ba-content p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.ba-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: var(--background);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===========================================
           Products Section
        =========================================== */
/* Dr.Recella Section */
.drrecella {
  background: var(--background);
}

.drrecella-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.drrecella-logo img {
  max-width: 250px;
}

/* Promise Block - 添付画像完璧再現 */
.drrecella-promise {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  margin-bottom: 50px;
}

.drrecella-promise h4 {
  font-size: 1.3rem;
  color: #888;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 400;
}

.drrecella-promise h4::before,
.drrecella-promise h4::after {
  content: "―";
  color: var(--secondary);
  margin: 0 12px;
}

.drrecella-promise .promise-desc {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 40px;
  line-height: 1.8;
}

.drrecella-circles-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.drrecella-circles-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .drrecella-circles-row {
    gap: 10px;
  }
}

.drrecella-circles-row:last-child {
  margin-bottom: 0;
}

.drrecella-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #f5f3f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 10px;
}

@media (max-width: 480px) {
  .drrecella-circle {
    width: 100px;
    height: 100px;
  }
}

.drrecella-circle .num {
  position: absolute;
  top: -12px;
  left: 15px;
  font-size: 1.8rem;
  font-weight: 300;
  color: #d5d0c8;
  font-style: normal;
  z-index: 2;
}

@media (max-width: 480px) {
  .drrecella-circle .num {
    top: -8px;
    left: 10px;
    font-size: 1.4rem;
  }
}

.drrecella-circle .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  z-index: 1;
}

@media (max-width: 480px) {
  .drrecella-circle .icon {
    width: 70px;
    height: 70px;
  }
}

.drrecella-circle .icon::before,
.drrecella-circle .icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 8px;
  background: #fff;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .drrecella-circle .icon::before,
  .drrecella-circle .icon::after {
    width: 50px;
    height: 5px;
  }
}

.drrecella-circle .icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drrecella-circle .icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drrecella-circle .text {
  font-size: 0.8rem;
  color: var(--primary);
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .drrecella-circle .text {
    font-size: 0.65rem;
    line-height: 1.3;
  }
}

/* Doctor Block */
.drrecella-doctor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .drrecella-doctor {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
  }
}

.drrecella-doctor-image {
  flex-shrink: 0;
  width: 180px;
}

@media (min-width: 768px) {
  .drrecella-doctor-image {
    width: 250px;
  }
}

.drrecella-doctor-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.drrecella-doctor-info {
  max-width: 500px;
  text-align: center;
}

@media (min-width: 768px) {
  .drrecella-doctor-info {
    text-align: left;
  }
}

.drrecella-doctor-info .title {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .drrecella-doctor-info .title {
    font-size: 1rem;
  }
}

.drrecella-doctor-info .name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .drrecella-doctor-info .name {
    font-size: 2rem;
    margin-bottom: 24px;
  }
}

.drrecella-doctor-info .career {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.drrecella-doctor-info .career li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .drrecella-doctor-info .career li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
  }
}

.drrecella-doctor-info .career li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

/* Note Block */
.drrecella-note {
  padding: 20px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-lg);
  text-align: center;
}

@media (min-width: 768px) {
  .drrecella-note {
    padding: 30px;
  }
}

.drrecella-note p {
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .drrecella-note p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

.drrecella-note .highlight {
  color: var(--secondary);
  font-weight: 700;
}

/* Japan Trim Section */
.japantrim {
  background: var(--white);
}

.japantrim-intro {
  text-align: center;
  margin-bottom: 50px;
}

.japantrim-intro p {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
}

.japantrim-intro .highlight {
  color: var(--primary);
  font-weight: 700;
}

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

@media (min-width: 768px) {
  .japantrim-main {
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
  }
}

.japantrim-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.japantrim-image img {
  width: 100%;
  height: auto;
  display: block;
}

.japantrim-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.japantrim-feature {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid var(--secondary);
}

.japantrim-feature h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.japantrim-feature h4 .icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.japantrim-feature h4 .icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary);
}

.japantrim-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

.japantrim-certification {
  padding: 30px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-lg);
  text-align: center;
}

.japantrim-certification h4 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.japantrim-certification h4 svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
}

.japantrim-certification p {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.8;
}

.products {
  background: var(--background);
}

.products-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .product-card {
    flex-direction: row;
  }
}

.product-image {
  flex: 0 0 200px;
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .product-image img {
    height: 100%;
  }
}

.product-content {
  padding: 24px;
  flex: 1;
}

.product-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.product-cert {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--background-alt);
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===========================================
           FAQ Section
        =========================================== */
.faq {
  background: var(--white);
}

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

.faq-item {
  border-bottom: 1px solid var(--background-alt);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: var(--transition);
}

.faq-icon::before {
  width: 2px;
  height: 16px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 16px;
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

/* ===========================================
           Access Section
        =========================================== */
.access {
  background: var(--background);
  transform: none !important;
}

.access-grid {
  display: grid;
  gap: 40px;
  transform: none !important;
  opacity: 1 !important;
  will-change: auto !important;
  filter: none !important;
}

.access-grid > .access-map,
.access-grid > .access-info {
  transform: none !important;
  will-change: auto !important;
}

@media (min-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.access-map {
  background: var(--white);
  overflow: visible;
  box-shadow: var(--shadow);
}

.access-map #map {
  width: 100%;
  height: 630px;
  position: relative;
}

/* Google Maps内部の画像（タイル・マーカー等）にグローバルimgリセットが適用されないようにする */
.access-map #map img {
  max-width: none;
  height: auto;
  display: inline;
}

.access-map > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .access-map > img {
    height: 100%;
    min-height: 400px;
  }
}

.access-info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.access-info h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--secondary);
}

.access-detail {
  margin-bottom: 20px;
}

.access-detail:last-child {
  margin-bottom: 0;
}

.access-detail dt {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.access-detail dd {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

/* SNS Links */
.sns-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

.sns-link:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.sns-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.sns-link:hover .sns-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
  .sns-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sns-link {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
           Final CTA Section
        =========================================== */
.final-cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 80px 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 100px 20px;
  }
}

.final-cta h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .final-cta h2 {
    font-size: 2rem;
  }
}

.final-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

.cta-buttons .btn {
  width: 100%;
  max-width: 280px;
}

@media (min-width: 768px) {
  .cta-buttons .btn {
    width: auto;
  }
}

.btn-line {
  background: #06c755;
  color: var(--white);
  border: 2px solid #06c755;
}

.btn-line:hover {
  background: var(--white);
  color: #06c755;
}

.btn-tel {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.btn-tel:hover {
  background: var(--primary);
  color: var(--white);
}

.cta-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===========================================
           Footer
        =========================================== */
.footer {
  background: var(--primary-dark);
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

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

.footer-links a:hover {
  color: var(--secondary);
}

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

/* ===========================================
           Fixed Mobile CTA
        =========================================== */
.mobile-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 998;
  display: flex;
  gap: 12px;
}

@media (min-width: 1024px) {
  .mobile-fixed-cta {
    display: none;
  }
}

.mobile-fixed-cta .btn {
  flex: 1;
  padding: 14px 16px;
  font-size: 0.9rem;
}

/* Add padding to body for fixed CTA */
@media (max-width: 1023px) {
  body {
    padding-bottom: 80px;
  }
}

/* ===========================================
           Scroll to Top Button
        =========================================== */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 997;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .scroll-top {
    bottom: 30px;
  }
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

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

.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* ===========================================
           Floating Banner
        =========================================== */
.floating-banner {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 996;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

@media (min-width: 1024px) {
  .floating-banner {
    bottom: 120px;
  }
}

.floating-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-banner-link {
  display: block;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(26, 54, 93, 0.4);
  max-width: 320px;
  position: relative;
  overflow: visible;
  border: 2px solid var(--secondary);
}

.floating-banner-top {
  text-align: center;
  margin-bottom: 8px;
}

.floating-banner-top span {
  font-size: 0.75rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 50px;
}

.floating-banner-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}

.floating-banner-main .price {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.floating-banner-main .yen {
  font-size: 1.2rem;
  color: var(--secondary);
  font-weight: 700;
}

.floating-banner-main .text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.floating-banner-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.floating-banner-bottom .badge {
  font-size: 0.65rem;
  color: var(--primary);
  background: var(--secondary);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.floating-banner-bottom .sub-text {
  font-size: 0.8rem;
  color: var(--white);
}

.floating-banner-btn {
  background: #06c755;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.floating-banner-btn::after {
  content: "›";
  font-size: 1rem;
}

.floating-banner-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.floating-banner-close:hover {
  background: var(--primary);
  color: var(--white);
}

/* スマホではバナー非表示（フローティングCTAがあるため） */
@media (max-width: 1023px) {
  .floating-banner {
    display: none;
  }
}

/* ===========================================
   Subpage Common
   =========================================== */
.subpage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 0 !important;
}

.subpage .footer {
  margin-top: auto;
}

/* ===========================================
   Company Page
   =========================================== */
.company-page {
  padding-top: 120px;
  flex: 1;
}

.company-page h1 {
  font-size: 2rem;
  margin-bottom: 0;
}

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

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  background: var(--gray-50);
  color: var(--primary);
  font-weight: 700;
  width: 30%;
  vertical-align: top;
}

.company-table td {
  color: var(--text);
}

.company-table td a {
  color: var(--accent);
  font-weight: 700;
}

.company-table td a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .company-page {
    padding-top: 100px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .company-table th {
    padding-bottom: 8px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 0;
  }
}

/* ===========================================
   Staff Page
   =========================================== */
.staff-page {
  padding-top: 120px;
  flex: 1;
}

.staff-page h1 {
  font-size: 2rem;
  margin-bottom: 0;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.staff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.staff-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

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

.staff-info {
  padding: 20px;
  text-align: center;
}

.staff-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.staff-name-kana {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

.staff-role {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.staff-message {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .staff-page {
    padding-top: 100px;
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .staff-info {
    padding: 16px;
  }

  .staff-name {
    font-size: 1.1rem;
  }

  .staff-role {
    font-size: 0.75rem;
  }

  .staff-message {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .staff-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}
