/* リセットとベース設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e33e39;
  --primary-dark: #c62d28;
  --primary-light: #ff6b66;
  --secondary-color: #333333;
  --text-color: #333333;
  --light-text: #666666;
  --lighter-text: #999999;
  --background-color: #ffffff;
  --light-background: #f8f8f8;
  --border-color: #eeeeee;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success-color: #4caf50;
  --font-family: "Noto Sans JP", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

section {
  padding: 80px 0;
}

/* ボタンスタイル */
.btn-primary,
.btn-secondary,
.btn-contact {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.btn-contact {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 20px;
  font-size: 0.9rem;
}

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

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px var(--shadow-color);
  z-index: 1000;
  padding: 15px 0;
}

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.logo-image {
  max-height: 40px;
  width: auto;
}

/* ヘッダーCTAボタン */
.header-cta {
  padding: 8px 20px;
  font-size: 0.9rem;
  margin-left: 15px;
  white-space: nowrap;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* ヒーローセクション - 全画面表示 */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
  color: white;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  margin-top: 80px;
}

/* hero-contentの文字サイズを小さくする */
.hero-content h2 {
  font-size: 2rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: 500;
}

/* START FITNESSとは？セクション */
.about {
  background-color: var(--background-color);
  text-align: center;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 30px;
}

/* 特徴セクション */
.features {
  background-color: var(--light-background);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--background-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--light-text);
}

/* メリットセクション */
.benefits {
  background-color: var(--background-color);
}

.benefits-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.benefits-content {
  flex: 1;
}

.benefits-image {
  flex: 1;
  text-align: center;
}

.benefits-list li {
  margin-bottom: 30px;
}

.benefits-list h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
}

.benefits-list h3::before {
  content: "✓";
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
}

.benefits-list p {
  color: var(--light-text);
  padding-left: 18px;
}

.benefits-note {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(227, 62, 57, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  text-align: center;
  font-weight: 500;
}

/* 効果事例セクション */
.case-studies {
  background-color: var(--light-background);
  padding: 80px 0;
}

.case-study-notion {
  text-align: right;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.case-study-card {
  background-color: var(--background-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

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

.case-study-header h3 {
  font-size: 1.5rem;
  margin: 0;
}

.case-study-content {
  padding: 30px;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.case-study-result,
.case-study-profit {
  flex: 1;
}

.result-number,
.profit-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1;
}

.result-unit,
.profit-unit {
  font-size: 1.5rem;
}

.case-study-content p {
  color: var(--light-text);
  font-size: 1.1rem;
}

/* 統計セクション */
.stats {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 掲載の流れセクション */
.process {
  background-color: var(--background-color);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 15px;
}

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

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.step p {
  color: var(--light-text);
}

/* 料金プランセクション */
.pricing {
  background-color: var(--light-background);
}

.pricing-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--light-text);
  font-size: 1.1rem;
}

/* 料金テーブル */
.pricing-table {
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.pricing-row {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-header {
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
}

.pricing-cell {
  flex: 1;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pricing-value {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* キャンペーンバナー */
.campaign-banner {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  margin-top: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.campaign-banner::before {
  content: "CAMPAIGN";
  position: absolute;
  top: 10px;
  right: -30px;
  background-color: white;
  color: var(--primary-color);
  padding: 5px 40px;
  font-weight: 700;
  transform: rotate(45deg);
  font-size: 0.8rem;
}

.campaign-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.campaign-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.campaign-content .btn-primary {
  background-color: white;
  color: var(--primary-color);
}

.campaign-content .btn-primary:hover {
  background-color: var(--light-background);
}

/* お客様の声セクション */
.testimonials {
  background-color: var(--background-color);
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
  max-width: 500px;
  width: 100%;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--light-text);
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.testimonial-author p {
  color: var(--lighter-text);
  font-size: 0.9rem;
}

/* よくある質問セクション */
.faq {
  background-color: var(--light-background);
}

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

.faq-item {
  background-color: white;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  position: relative;
  padding-left: 25px;
}

.faq-item h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.faq-item p {
  color: var(--light-text);
  padding-left: 25px;
  position: relative;
}

.faq-item p::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-color);
  font-weight: 700;
}

/* CTA セクション */
.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary-color);
  font-size: 1.2rem;
  padding: 15px 40px;
}

.cta .btn-primary:hover {
  background-color: var(--light-background);
  color: var(--primary-color);
}


/* お問い合わせフォーム */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary-color);
}

.form-required {
  background-color: #f9d8d7;
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 8px;
}

.form-input,
.form-input:focus {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  font-size: 15px;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary-color);
}

.form-input::placeholder {
  color: #999999;
  opacity: 0.8;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-radio-item label {
  font-size: 16px;
  font-weight: 400;
  color: var(--secondary-color);
}

.form-radio-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #868687;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.form-radio-item input[type="radio"]:checked {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.form-radio-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
  transform: translate(-50%, -50%);
}

.form-privacy {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

.form-privacy a {
  color: var(--primary-color);
  text-decoration: underline;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.form-submit .btn-primary {
  width: 100%;
  max-width: 720px;
  padding: 14px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 12px;
}

.form-error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
}

.form-note {
  color: #333;
  font-size: 0.9em;
  margin-top: 5px;
}

.input-error {
  border-color: var(--primary-color) !important;
}

/* サンクスページ */
.thanks-page {
    padding: 120px 0;
    text-align: center;
    min-height: calc(100vh - 250px); /* ヘッダーとフッターの高さを考慮 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content .section-title {
    font-size: 2.2rem;
}

.thanks-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* フッター */
footer {
  background-color: #333333;
  color: white;
  padding: 60px 0 20px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
}

.footer-logo p {
  opacity: 1;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.footer-logo a {
  color: inherit;
  text-decoration: none;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links-column {
  flex: 1;
  min-width: 150px;
}

.footer-links-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links-column ul li {
  margin-bottom: 10px;
}

.footer-links-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.social-icon {
  font-size: 1.2rem;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }

  .step {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    margin-left: auto;
    margin-right: 15px;
  }

  nav {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 10px var(--shadow-color);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  nav.active {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .about-description {
    font-size: 1.3rem;
  }

  .benefits-wrapper {
    flex-direction: column;
  }

  .benefits-content {
    order: 2;
  }

  .benefits-image {
    order: 1;
    margin-bottom: 30px;
  }

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

  .pricing-cell {
    padding: 15px;
  }

  .campaign-content h3 {
    font-size: 1.8rem;
  }

  .campaign-content p {
    font-size: 1.3rem;
  }
}

/* モバイル表示時のhero-contentをさらに小さく */
@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

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

  .hero .container {
    padding: 0 10px;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .about-description {
    font-size: 0.8rem;
  }

  .feature-card {
    padding: 12px;
  }

  .features-grid {
    gap: 12px;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .feature-card p {
    font-size: 0.8rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }

  .benefits-wrapper {
    gap: 12px;
  }

  .benefits-list h3 {
    font-size: 1rem;
  }

  .benefits-list p {
    font-size: 0.8rem;
  }

  .step h3 {
    font-size: 1.2rem;
  }

  .step p {
    font-size: 0.8rem;
  }

  .case-study-header h3 {
    font-size: 1.2rem;
  }

  .case-study-content p {
    font-size: 0.8rem;
  }

  .case-study-notion {
    font-size: 0.6rem;
    text-align: center;
  }


  .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    margin: 0 auto 12px;
  }

  .result-number,
  .profit-number {
    font-size: 2rem;
  }

  .result-unit,
  .profit-unit {
    font-size: 1rem;
  }

  .pricing-description {
    font-size: 0.8rem;
  }

  .pricing-cell {
    font-size: 0.8rem;
  }

  .pricing-value {
    font-size: 1rem;
  }

  .campaign-content h3 {
    font-size: 1.2rem;
  }

  .campaign-content p {
    font-size: 1rem;
  }

  .faq-item h3 {
    font-size: 1rem;
  }

  .faq-item p {
    font-size: 1rem;
  }

  .cta h2 {
    font-size: 1.2rem;
  }

  .cta p {
    font-size: 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 0.8rem;
    padding: 10px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links-column h3 {
    font-size: 1.2rem;
  }

  .footer-links-column ul li a {
    font-size: 0.8rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  .header-cta {
    padding: 6px 15px;
    font-size: 0.8rem;
  }
}

/* 数値入力欄のスピンボタンを非表示 */
input[type="number"].form-input {
    width: 150px;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    text-align: right;
}

/* Chromeなどのブラウザ用 */
input[type="number"].form-input::-webkit-outer-spin-button,
input[type="number"].form-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* プレースホルダーを右寄せ */
input[type="number"].form-input::placeholder {
    text-align: right;
}
