/* ============================================
   QuickPlusGym LP - Style
   ============================================ */

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

:root {
  --primary: #1a73e8;
  --primary-dark: #1558b0;
  --accent: #ff6b35;
  --accent-dark: #e55a2b;
  --dark: #1a1a2e;
  --gray-900: #212529;
  --gray-700: #495057;
  --gray-500: #6c757d;
  --gray-300: #dee2e6;
  --gray-100: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--gray-900);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255,107,53,0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.5);
  opacity: 1;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.15rem;
}

.btn-full {
  width: 100%;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
  opacity: 1;
}

.header-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--accent-dark);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 120px 20px 80px;
  background: linear-gradient(rgba(26,26,46,0.7), rgba(15,52,96,0.8)), url('images/hero.png') center center / cover no-repeat;
  color: var(--white);
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-sub {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

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

.hero-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.9;
}

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

.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 16px 32px;
  margin-bottom: 32px;
}

.price-label {
  font-size: 1rem;
  opacity: 0.9;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.price-yen {
  font-size: 1.2rem;
}

.price-yen small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.hero-note {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- Section Common --- */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-sub {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* --- Problems --- */
.problems {
  padding: 80px 20px;
  background: var(--gray-100);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.problem-item {
  text-align: center;
  background: var(--white);
  padding: 32px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.problem-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.solution-arrow {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 32px 0 16px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.solution-text {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* --- Features --- */
.features {
  padding: 80px 20px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.feature-card h3 strong {
  color: var(--primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* --- Price Section --- */
.price-section {
  padding: 80px 20px;
  background: var(--gray-100);
}

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

.price-card-header {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 20px;
}

.price-card-header h3 {
  font-size: 1.3rem;
}

.price-card-body {
  padding: 32px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.price-item {
  text-align: center;
}

.price-item-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.price-item-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
}

.price-item-amount small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-500);
}

.price-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-500);
}

.price-examples {
  border-top: 1px solid var(--gray-300);
  padding-top: 24px;
  margin-bottom: 24px;
}

.price-examples h4 {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gray-700);
}

.price-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.price-example {
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  position: relative;
}

.price-example.popular {
  border-color: var(--accent);
  background: #fff5f0;
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.price-example .freq {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.price-example .total {
  font-size: 0.95rem;
}

.price-example .total strong {
  font-size: 1.2rem;
  color: var(--dark);
}

/* Price Compare */
.price-compare {
  border-top: 1px solid var(--gray-300);
  padding-top: 24px;
}

.price-compare h4 {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gray-700);
}

.compare-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-name {
  font-size: 0.8rem;
  width: 120px;
  flex-shrink: 0;
  text-align: right;
  color: var(--gray-700);
}

.compare-item .bar {
  height: 32px;
  background: var(--gray-300);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  min-width: 80px;
}

.compare-item .bar span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
}

.compare-item.ours .bar {
  background: var(--accent);
}

.compare-item.ours .bar span {
  color: var(--white);
}

.compare-item.ours .compare-name {
  font-weight: 700;
  color: var(--accent);
}

.price-card-footer {
  background: var(--gray-100);
  padding: 24px 32px;
  text-align: center;
}

.price-card-footer p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

/* --- Recommend --- */
.recommend {
  padding: 80px 20px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.recommend-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}

.recommend-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.recommend-item p {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* --- Voice --- */
.voice {
  padding: 80px 20px;
  background: var(--gray-100);
}

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

.voice-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.voice-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.voice-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.voice-name span {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.voice-stars {
  color: #ffc107;
  font-size: 0.85rem;
}

.voice-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.voice-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- Flow --- */
.flow {
  padding: 80px 20px;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.flow-step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 12px;
}

.flow-step h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.82rem;
  color: var(--gray-700);
}

.flow-arrow {
  color: var(--gray-300);
  font-size: 1.2rem;
  margin-top: 14px;
}

/* --- FAQ --- */
.faq {
  padding: 80px 20px;
  background: var(--gray-100);
}

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

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

.faq-item summary {
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.faq-item summary::before {
  content: "Q";
  background: var(--primary);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 18px 64px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* --- Access --- */
.access {
  padding: 80px 20px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.access-table {
  width: 100%;
  border-collapse: collapse;
}

.access-table th,
.access-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--gray-300);
  font-size: 0.9rem;
  vertical-align: top;
}

.access-table th {
  width: 100px;
  color: var(--gray-500);
  font-weight: 500;
}

.access-table a {
  font-weight: 700;
  font-size: 1.1rem;
}

.access-map iframe {
  border-radius: var(--radius);
}

/* --- Contact --- */
.contact {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--white);
}

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

.contact .section-sub {
  color: rgba(255,255,255,0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.required {
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  padding: 1px 8px;
  border-radius: 3px;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
}

.contact-alt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-phone {
  text-align: center;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
}

.contact-phone p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.phone-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white) !important;
  margin: 8px 0;
  letter-spacing: 1px;
}

.phone-hours {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 20px 100px;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

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

.copyright {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* --- Fixed CTA (mobile) --- */
.fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  padding: 8px;
  gap: 8px;
}

.fixed-cta a {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.fixed-cta-phone {
  background: var(--white);
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.fixed-cta-reserve {
  background: var(--accent);
  color: var(--white) !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav, .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile nav */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .nav.open + .header-cta {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-price {
    padding: 12px 24px;
  }

  .price-amount {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-example-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

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

  .flow-step {
    max-width: 100%;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }

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

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

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .fixed-cta {
    display: flex;
  }

  .footer {
    padding-bottom: 80px;
  }

  .compare-name {
    width: 80px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

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

  .price-row {
    flex-direction: column;
  }

  .price-plus {
    transform: rotate(90deg);
  }
}

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

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