/* 基本変数の更新 - より洗練された配色とサイズ感 */
:root {
  --primary: #C25F69;
  --primary-light: #D3939B;
  --primary-dark: #A8505A;
  --primary-bg: rgba(194, 95, 105, 0.08);
  --text: #333333;
  --text-light: #666666;
  --light-gray: #f9f9f9;
  --medium-gray: #e8e8e8;
  --white: #ffffff;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-size-base: 1rem;
  --line-height-base: 1.7;
  --container-padding: 24px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
}

/* リセットと基本設定 - 改善版 */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

body {
  line-height: var(--line-height-base);
  color: var(--text);
  background-color: var(--white);
  font-size: var(--font-size-base);
  font-weight: 400;
  overflow-wrap: break-word;
  word-break: normal;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* SP用の改行 */
.sp-only {
  display: none;
}

/* アニメーション定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ヘッダー - 改善版 */
header {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--medium-gray);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: auto;
  max-height: 32px;
  max-width: 160px;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

/* メインビジュアル - 改善版 */
.main-visual {
  background-color: var(--white);
  padding: 140px 0 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
  animation: fadeIn 1.2s ease;
}

.main-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  z-index: 1;
}

.main-visual-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.main-visual-logo {
  width: 280px;
  height: auto;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease forwards;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-visual-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.main-visual-logo:hover {
  transform: scale(1.05);
}

.main-visual h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
  line-height: 1.3;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.main-visual p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: keep-all;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

/* セクション共通スタイル - 改善版 */
section {
  padding: 90px 0;
  border-bottom: 1px solid var(--medium-gray);
  width: 100%;
  overflow: hidden;
}

section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.section-intro {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 70px;
  color: var(--text-light);
  font-size: 1.1rem;
  overflow-wrap: break-word;
  word-break: keep-all;
  width: 100%;
}

.section-intro p {
  margin-bottom: 24px;
  width: 100%;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.section-intro p:nth-child(1) {
  animation-delay: 0.1s;
}

.section-intro p:nth-child(2) {
  animation-delay: 0.2s;
}

.section-intro p:nth-child(3) {
  animation-delay: 0.3s;
}

/* コンセプト - 改善版 */
.concept {
  background-color: var(--white);
}

.concept-image {
  margin-top: 40px;
  text-align: center;
}

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

.concept-image img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ターゲット - 改善版 */
.target {
  background-color: var(--light-gray);
  padding: 100px 0;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

.target-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.target-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 95, 105, 0.15);
}

.target-card:nth-child(1) {
  animation-delay: 0.3s;
}

.target-card:nth-child(2) {
  animation-delay: 0.6s;
}

.target-card:nth-child(3) {
  animation-delay: 0.9s;
}

/* 画像表示のためのスタイル - 改善版 */
.target-card-image {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  transition: var(--transition);
}

/* アイコン画像のスタイル */
.target-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.target-card:hover .target-card-image img {
  transform: scale(1.08);
}

.target-card h3 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.target-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* サービス一覧 - 改善版 */
.services {
  background-color: var(--white);
  padding-bottom: 110px;
}

.service-highlight {
  margin-bottom: 60px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  animation: fadeInUp 0.8s ease;
}

.service-highlight:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 95, 105, 0.15);
}

.service-highlight-content {
  flex: 1;
  width: 100%;
}

.service-highlight-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

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

.service-highlight-image {
  width: 200px;
  height: 200px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

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

.service-highlight:hover .service-highlight-image {
  transform: scale(1.05);
}

/* オフ会写真スライダー - 改善版 */
.offkai-photo-gallery {
  margin: 40px 0 60px;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.photo-slider {
  display: flex;
  width: calc(240px * 12);
  animation: slider-loop 10s linear infinite;
}

.photo-slider img {
  width: 240px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  border-right: 2px solid white;
}

.photo-slider img:hover {
  transform: scale(1.05);
  z-index: 5;
}

/* 無限ループアニメーション */
@keyframes slider-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
  margin: 0 auto;
  grid-auto-flow: row;
}

.service-card {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 36px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }
.services-grid .service-card:nth-child(7) { animation-delay: 0.7s; }
.services-grid .service-card:nth-child(8) { animation-delay: 0.8s; }
.services-grid .service-card:nth-child(9) { animation-delay: 0.9s; }
.services-grid .service-card:nth-child(10) { animation-delay: 1s; }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 95, 105, 0.15);
}

.service-card-image {
  width: 120px;
  height: 120px;
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.service-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

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

.service-card-content {
  flex: 1;
  width: 100%;
}

.service-card-content h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.service-card-content p {
  color: var(--text-light);
  line-height: 1.7;
}

.coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
  transition: var(--transition);
}

.service-card:hover .coming-soon-badge {
  transform: translate(-50%, -50%) scale(1.05);
}

/* 会費プラン - 改善版 */
.section-intro--plan {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-intro--plan p {
  margin-bottom: 1em;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.pricing {
  background-color: var(--light-gray);
  padding: 100px 0;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  width: 100%;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  flex: 1;
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.pricing-card:nth-child(1) {
  animation-delay: 0.3s;
}

.pricing-card:nth-child(2) {
  animation-delay: 0.6s;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 95, 105, 0.15);
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.price {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 24px 0;
  color: var(--primary);
}

.price-note {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* 入会の流れ - 改善版 */
.steps {
  background-color: var(--white);
}

.steps-container {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.steps-heading {
  text-align: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-dark);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.step {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-bottom: 24px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 95, 105, 0.15);
}

.step:nth-child(1) {
  animation-delay: 0.2s;
}

.step:nth-child(2) {
  animation-delay: 0.4s;
}

.step:nth-child(3) {
  animation-delay: 0.6s;
}

.step:nth-child(4) {
  animation-delay: 0.8s;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(194, 95, 105, 0.3);
  transition: var(--transition);
}

.step:hover .step-number {
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  width: 100%;
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.step-content p {
  color: var(--text-light);
  line-height: 1.7;
}

/* FAQ - 改善版 */
.faq {
  background-color: var(--white);
  padding: 100px 0 120px;
}

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

.faq-item {
  border-bottom: 1px solid var(--medium-gray);
  padding: 28px 0;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }

.faq-question {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  position: relative;
  transition: var(--transition);
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.faq-question:hover {
  color: var(--primary);
}

/* 折りたたみ状態の+マーク */
.faq-question:after {
  content: "+";
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

/* 開いた状態の-マーク */
.faq-question.active:after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 0;
  color: var(--text-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  line-height: 1.8;
}

/* 開いた状態の回答スタイル */
.faq-item.open .faq-answer {
  max-height: 500px;
  margin-top: 18px;
}

/* メッセージ - 改善版 */
.about-message {
  background-color: #f8f5f2;
  padding: 100px 0;
}

.about-message .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.about-message h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.2rem;
}

.section-intro {
  text-align: left;
  max-width: 740px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.section-intro p {
  margin-bottom: 1.5em;
  line-height: 1.9;
  text-align: justify;
  word-break: break-word;
  overflow-wrap: break-word;
}

.section-intro strong {
  display: block;
  margin: 2.5em 0 1em;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.9;
  word-break: break-word;
  overflow-wrap: break-word;
}

.section-intro .message-signature {
  text-align: right;
  margin-top: 3em;
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
}

/* CTA - 改善版 */
.cta {
  background-color: var(--white);
  text-align: center;
  padding: 100px 0 120px;
}

.cta h2 {
  margin-bottom: 40px;
}

.cta p {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 1.1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.cta p:nth-child(2) {
  animation-delay: 0.1s;
}

.cta p:nth-child(3) {
  animation-delay: 0.2s;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 18px 70px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  margin-top: 20px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(194, 95, 105, 0.3);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(194, 95, 105, 0.4);
}

/* フッター - 改善版 */
footer {
  background-color: var(--light-gray);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer img {
  height: 80px;
  margin-bottom: 15px;
  transition: var(--transition);
}

footer img:hover {
  transform: scale(1.05);
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ——— パートナー・ロゴスライダー調整 ——— */
.partner-logos {
  overflow: hidden; /* 既に設定済み */
}

/* ロゴ並び（横幅を中身に合わせる） */
.logo-track {
  display: inline-flex;     /* flex → inline-flex に */
  width: max-content;       /* 中身の幅に自動追従 */
  animation: auto-scroll 5s linear infinite;
}

/* ロゴ画像のサイズ調整 */
.logo-track img {
  height: 200px;             /* ← ここで好きな高さに */
  flex-shrink: 0;
  filter: grayscale(20%);
  transition: var(--transition);
}

/* スクロール用キー・フレーム */
@keyframes auto-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);  /* ← -50% から -100% に変更 */
  }
}

/* 無限ループアニメーション */
@keyframes auto-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 会員の楽しみ方セクション - 改善版 */
.benefits {
  background-color: var(--primary-bg);
  padding: 100px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 60px;
}

.benefit-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-card:nth-child(1) { animation-delay: 0.2s; }
.benefit-card:nth-child(2) { animation-delay: 0.4s; }
.benefit-card:nth-child(3) { animation-delay: 0.6s; }
.benefit-card:nth-child(4) { animation-delay: 0.8s; }

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 95, 105, 0.15);
}

.benefit-icon {
  width: 150px;
  height: auto;
  background-color: var(--primary-bg);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.benefit-icon img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon img {
  transform: scale(1.08);
}

.benefit-content {
  flex: 1;
}

.benefit-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

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

/* レスポンシブ調整 - 改善版 */
@media (max-width: 1080px) {
  .container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }
  
  .main-visual p {
    font-size: 1rem;
    line-height: 1.7;
    white-space: normal;
  }
  
  .sp-only {
    display: inline;
  }
  
  .main-visual {
    padding: 120px 0 60px;
    width: 100%;
  }
  
  .main-visual-content {
    width: 100%;
  }
  
  .main-visual h1 {
    font-size: 1.9rem;
  }
  
  section {
    padding: 70px 0;
    width: 100%;
  }
  
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 50px;
  }
  
  .section-intro {
    width: 100%;
    padding: 30px;
    font-size: 0.95rem;
  }
  
  .section-intro p {
    line-height: 1.7;
  }
  
  .target-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .target-card {
    padding: 30px 24px;
  }
  
  .target-card-image {
    width: 140px;
    height: 140px;
  }
  
  .service-highlight {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 20px;
  }

  .service-highlight-image {
    margin: 0 auto 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  
  .service-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }
  
  .service-card-image {
    margin: 0 auto 20px;
  }
  
  .service-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  
  .service-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .pricing-card {
    width: 100%;
    padding: 36px 30px;
  }
  
  .message-box {
    padding: 30px;
  }
  
  .message-box p {
    font-size: var(--font-size-base);
    line-height: 1.6;
  }

  .target h2 {
    font-size: 1.5rem;
    margin-bottom: 35px;
    line-height: 1.4;
    text-align: center;
  }

  .target-card h3 {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 12px;
  }

  .target-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    padding: 0 10px;
  }
  
  .step {
    padding: 24px 20px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .benefit-card {
    padding: 30px 24px;
  }
  
  .photo-slider img {
    height: 180px;
  }
  
  .offkai-photo-gallery {
    margin: 30px 0 40px;
  }

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

  /* 横スワイプ式カルーセルに切り替え */
  .services-grid {
    display: flex;                     /* Flexbox で横並び */
    overflow-x: auto;                  /* 横スクロールを許可 */
    -webkit-overflow-scrolling: touch; /* 滑らかな慣性スクロール */
    scroll-snap-type: x mandatory;     /* スナップさせる */
    gap: 16px;                         /* カード間の隙間 */
    padding: 0 16px;                   /* 左右の余白 */
  }

  /* スクロールバーを非表示 */
  .services-grid::-webkit-scrollbar {
    display: none;
  }

  /* 各カードの幅とスナップ位置 */
  .services-grid .service-card {
    flex: 0 0 80%;                     /* 横幅を画面幅の80%に */
    min-width: 260px;                  /* 下限幅を設定 */
    scroll-snap-align: start;          /* スナップの開始位置 */
  }

  .carousel-dots {
  text-align: center;
  margin-top: 8px;
  }

  .carousel-dots button {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    border: none;
    background: var(--medium-gray);
  }
  .carousel-dots button.active {
    background: var(--primary);
  }

  /* サービス一覧カルーセル用スタイル */
.services-carousel { 
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-btn {
  display: none;
}

.carousel-dots {
  display: none;
}

/* モバイル用のカルーセルレイアウト */
@media (max-width: 768px) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px;
    grid-template-columns: none; /* グリッド設定をクリア */
  }
  
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  
  .services-grid .service-card {
    flex: 0 0 75%;
    min-width: 260px;
    scroll-snap-align: start;
  }
  
  /* カルーセルボタンを表示 */
  .carousel-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-btn.prev {
    left: 8px;
  }
  
  .carousel-btn.next {
    right: 8px;
  }
  
  /* ドットナビゲーションを表示 */
  .carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    gap: 8px;
  }
  
  .carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e8e8e8;
  margin: 0 4px;
  padding: 0;
  border: none;
  font-size: 0; /* テキストを非表示にする */
  line-height: 0;
  text-indent: -9999px; /* テキストを画面外に押し出す */
  overflow: hidden; /* テキストをオーバーフロー非表示に */
}
  
  .carousel-dots button.active {
    background: var(--primary);
  }
}

.partner-logos {
    height: 120px;        /* 高さを80pxに設定 */
    overflow: hidden;    /* はみ出た部分を隠す */
  }
  
  .partner-logos .logo-track img {
    height: 60px;        /* 画像の高さを60pxに設定 */
  }
}
  
@media (max-width: 480px) {
  :root {
    --font-size-base: 0.9rem;
    --container-padding: 16px;
  }
  
  .main-visual-logo {
    width: 200px;
    margin-bottom: 40px;
  }
  
  .main-visual h1 {
    font-size: 1.8rem;
  }
  
  .main-visual p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  
  section h2 {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }
  
  .section-intro {
    padding: 24px 20px;
    font-size: 0.9rem;
  }
  
  .service-highlight {
    padding: 24px 20px;
  }
  
  .service-highlight-image {
    width: 160px;
    height: 160px;
  }
  
  .service-card {
    padding: 24px 20px;
  }
  
  .service-card-image {
    width: 100px;
    height: 100px;
  }
  
  .pricing-card {
    padding: 30px 24px;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 16px 40px;
    font-size: 1rem;
  }
  
  .photo-slider img {
    height: 150px;
    width: 200px;
  }
  
  .partner-logos {
    padding: 15px 0;
  }
  
  .logo-track {
    gap: 25px;
    padding: 10px 0;
  }
  
  .logo-track img {
    height: 50px;
  }
  
  .benefit-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  
  .benefit-icon {
    margin: 0 auto 20px;
    width: 120px;
  }
}

/* ページ内アニメーション効果のための追加スタイル */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* スクロール時のヘッダー透明度変更 */
.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* ページトップへ戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--primary-dark);
}

/* スマートフォン向け調整 */
@media (max-width: 380px) {
  .main-visual h1 {
    font-size: 1.6rem;
  }
  
  .target-card-image {
    width: 120px;
    height: 120px;
  }
  
  .service-highlight-image {
    width: 140px;
    height: 140px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* PCで非表示にする */
.carousel-dots,
.carousel-btn {
  display: none;
}

/* モバイルでのみ表示 */
@media (max-width: 768px) {
  .carousel-dots,
  .carousel-btn {
    display: block;
  }
  
  .carousel-dots {
    display: flex;
    justify-content: center;
  }
}

/* コンセプト画像のボックス削除 */
.concept-image img { 
  border-radius: 0 !important; 
  box-shadow: none !important; 
} 

.concept-image { 
  background: transparent !important; 
  padding: 0 !important; 
}

/* ステップセクションの余白調整 */

.steps-heading { 
  margin-bottom: 16px; 
}

/* ジモパス加盟店スライダーのシームレス化＆サイズ調整 */
.logo-track { 
  display: inline-flex; 
  width: max-content; 
} 

@keyframes auto-scroll { 
  to { 
    transform: translateX(-100%); 
  } 
} 

.logo-track img { 
  height: 80px !important; 
  max-width: none !important; 
  width: auto !important; 
} 

.partner-logos { 
  width: 100% !important; 
  max-width: none !important; 
}

/* サービスカルーセル設定 */
.services-carousel {
  position: relative;
  width: 100%;
}

/* PCで非表示にする */
.carousel-dots,
.carousel-btn {
  display: none;
}

/* カルーセルドットのスタイル */
.carousel-dots {
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e8e8e8;
  border: none;
  padding: 0;
  cursor: pointer;
}

.carousel-dots button.active {
  background-color: #C25F69;
}

/* モバイルでのみ表示 */
@media (max-width: 768px) {
  /* パートナーロゴの高さ調整 */
  .partner-logos {
    height: 100px;
    overflow: hidden;
  }
  
  .partner-logos .logo-track img {
    height: 60px !important;
  }

  /* カルーセル用グリッドの変更 */
  .services-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px;
    grid-template-columns: none;
  }
  
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  
  .services-grid .service-card {
    flex: 0 0 80%;
    min-width: 260px;
    scroll-snap-align: start;
  }
  
  /* カルーセルナビゲーション表示 */
  .carousel-dots {
    display: flex !important;
  }
  
  .carousel-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-btn.prev {
    left: 8px;
  }
  
  .carousel-btn.next {
    right: 8px;
  }
}

/* コンセプト画像のボックス削除 */
.concept-image img { 
  border-radius: 0 !important; 
  box-shadow: none !important; 
} 

.concept-image { 
  background: transparent !important; 
  padding: 0 !important; 
}

/* ステップセクションの余白調整 */
.steps { 
  padding: 0; 
} 

.steps-heading { 
  margin-bottom: 16px; 
}

/* ジモパス加盟店スライダーのシームレス化＆サイズ調整 */
.logo-track { 
  display: inline-flex; 
  width: max-content; 
} 

@keyframes auto-scroll { 
  to { 
    transform: translateX(-100%); 
  } 
} 

.logo-track img { 
  height: 80px !important; 
  max-width: none !important; 
  width: auto !important; 
} 

.partner-logos { 
  width: 100% !important; 
  max-width: none !important; 
}

/* サービスカルーセル設定 */
.services-carousel {
  position: relative;
  width: 100%;
}

/* PCで非表示にする */
.carousel-dots,
.carousel-btn {
  display: none;
}

/* カルーセルドットのスタイル */
.carousel-dots {
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e8e8e8;
  border: none;
  padding: 0;
  cursor: pointer;
}

.carousel-dots button.active {
  background-color: #C25F69;
}

/* モバイルでのみ表示 */
@media (max-width: 768px) {
  /* パートナーロゴの高さ調整 */
  .partner-logos {
    height: 100px;
    overflow: hidden;
  }
  
  .partner-logos .logo-track img {
    height: 60px !important;
  }

  /* カルーセル用グリッドの変更 */
  .services-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 16px;
    grid-template-columns: none;
  }
  
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  
  .services-grid .service-card {
    flex: 0 0 80%;
    min-width: 260px;
    scroll-snap-align: start;
  }
  
  /* カルーセルナビゲーション表示 */
  .carousel-dots {
    display: flex !important;
  }
  
  .carousel-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-btn.prev {
    left: 8px;
  }
  
  .carousel-btn.next {
    right: 8px;
  }
}

/* #demographic-section start */

.demographic-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.demographic-section h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
}

.chart-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.chart-container canvas {
  max-width: 320px;
  width: 100%;
  height: auto;
}