:root {
  --primary-color: #D4AF37;
  --text-color: #333;
  --bg-color: #ffffff;
  --card-bg: #fcfcfc;
  --border-radius: 12px;
  --spacing: 20px;
  --gradient: linear-gradient(135deg, #D4AF37 0%, #F2D675 100%);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --content-width: 1200px;
  --section-spacing: 100px;
}

* {
  margin: 0;
  box-sizing: border-box;
}

/* レイアウト：フッターが常に画面下部に来るように */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

body {
  font-family: 'Playfair Display', serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* ヘッダー */
header {
  background: url('https://platinum.biz/assets/background_2.jpg') center/cover;
  height: 50vh;
  min-height: 300px;
  max-height: 500px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000;
  -webkit-perspective: 1000;
  flex-shrink: 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* Font Awesomeアイコンの右側の隙間 */
i { margin-right: 8px; }

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  backdrop-filter: blur(1px);
}

.hero-text {
  position: relative;
  z-index: 1;
  padding: 0 var(--spacing);
  animation: fadeIn 1s ease-out;
}

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

.hero-text h1 {
  font-size: 3em;
  margin: 0;
  color: #FFD700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  display: block;
  font-size: 0.4em;
  margin-top: 1em;
  color: #ffffff;
  font-weight: normal;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* メインコンテンツ */
main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* 共通のセクションスタイル */
section {
  margin: var(--section-spacing) auto;
}

/* 最初のセクションの余白を調整 */
main > section:first-child {
  margin-top: 60px;
}

section.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

section.animate.visible {
  opacity: 1;
  transform: translateY(0);
}


h2 {
    color: var(--primary-color);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
  }

  h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient);
  }


/* 特定のセクションスタイル */
.faq-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
  opacity: 1 !important;
  transform: none !important;
}

/* .faq-section h2,
.gallery-section h2 {
  color: var(--primary-color);
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 600;
}

.faq-section h2::after,
.gallery-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
} */

/* FAQ固有のスタイル */
.faq-container {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 1000;
  color: var(--primary-color);
  transition: var(--transition);
}


.faq-question::after {
  content: "▼";
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-color);
  opacity: 0;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
  opacity: 1;
}

/* ギャラリー固有のスタイル */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}


.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  aspect-ratio: 16/9;
  background: var(--card-bg);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

.gallery-caption h3 {
  margin: 0;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.9;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 2000;
  cursor: pointer;
  opacity: 0;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.modal.show {
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 1;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  object-fit: contain;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-close {
  opacity: 1;
  transform: scale(1);
}

.cta {
  text-align: center;
  background: var(--gradient);
  color: white;
  padding: 60px 40px;
  border-radius: var(--border-radius);
  /* margin: var(--section-spacing) auto; */
  position: relative;
  overflow: hidden;
  max-width: var(--content-width);
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.cta h2 {
  color: white;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.cta h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: white;
  z-index: 2;
}

.cta p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta a {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 25px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.cta a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: var(--text-color);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-label {
  font-weight: bold;
  margin-right: 10px;
  color: var(--primary-color);
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: #B38F2A;
  text-decoration: underline;
}

/* フッター */
footer {
  background-color: #000;
  padding: 40px 0;
  text-align: center;
  margin-top: 0;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 0.9em;
  color: white;
}

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

.footer-links small a {
  color: #666;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

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

/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* インデックスページ固有のスタイル */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto;  
}

.feature {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

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

.feature h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.feature p {
  font-size: 1.1em;
  line-height: 1.6;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto;  
}

.news-item {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}


.news-item h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.news-item p {
  font-size: 1.1em;
  line-height: 1.6;
}


.news-item .btn-news {
  display: block;
  margin: 0 auto;
  width: fit-content;
}



.news-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.news-item p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1em;
}

.btn-news {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-size: 1em;
  text-align: center;
}

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

.info-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.info-item {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.info-item h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.info-item p {
  font-size: 1.1em;
  line-height: 1.6;
}

.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

.pricing-item {
  flex: 1 1 400px;
  background-color: var(--card-bg);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-item h3 {
  font-size: 1.3em;
  margin-bottom: 20px;
}

.pricing-item p {
  font-size: 1.1em;
  line-height: 1.6;
}

.price {
  font-size: 1.3em !important;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 25px 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.orig-price {
  font-size: 0.7em;
  color: #888;
  text-decoration: line-through;
  white-space: nowrap;
}

.new-price {
  font-size: 1em;
  font-weight: bold;
  color: var(--primary-color);
  white-space: nowrap;
}

.price-arrow i {
  color: var(--primary-color);
  font-size: 1.2em;
  margin: 0 4px;
  vertical-align: middle;
  flex-shrink: 0;
}

.badge-opening1 {
  display: inline-block;
  padding: 6px 15px;
  background: var(--gradient);
  color: white;
  border-radius: 20px;
  font-size: 0.7em;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.badge-opening2 {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.7em;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--primary-color);
  background-color: white;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto;  
}

.member-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

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

.avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  margin: 0 auto 20px;
  display: block;
  box-shadow: var(--shadow-md);
}

.name {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.timeline {
  list-style: none;
  margin: 25px 0 25px;
  border-left: 3px solid var(--primary-color);
  padding-left: 15px;
}

.timeline li {
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 10px;
  margin-bottom: 8px;
  font-size: 0.95em;
}

.timeline .year {
  font-weight: bold;
  color: var(--primary-color);
}

.message {
  font-style: italic;
  color: #555;
  position: relative;
  padding: 0px 10px 10px 10px;
  margin: 0px 0px;
  background: var(--card-bg);

}

.message::before {
  content: "";
  font-size: 2.5em;
  color: var(--primary-color);
  position: absolute;
  left: 10px;
  top: 0;
  opacity: 0.3;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  justify-content: left;
}

.badge {
  display: inline-block;
  padding: 6px 15px;
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  background-color: white;
  color: var(--primary-color);
  font-size: 0.9em;
  line-height: 1.2;
  white-space: nowrap;
  transition: var(--transition);
}

.badge:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.faq-card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

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

.faq-card h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.2em;
  margin-bottom: 15px;
}

/* アコーディオン機能のスタイル */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.show {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  background: #f8f8f8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
  transition: background-color 0.3s ease;
}

.accordion-toggle:hover {
  background: #f0f0f0;
}

.accordion-toggle i {
  transition: transform 0.3s ease;
}

.accordion-toggle.active i {
  transform: rotate(180deg);
}

/* メンバーカードのボタンスタイル */
.member-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.member-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.2rem;
  background: #ffeec2;
  color: #7a5c00;
  text-decoration: none;
  border-radius: 30px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(.4,1.5,.5,1);
  border: none;
  margin: 0 4px;
  box-shadow: 0 2px 8px rgba(212,175,55,0.10);
  gap: 0.7em;
}
.member-btn i {
  margin-right: 0.5em;
  font-size: 1.2em;
}
.coaching-btn {
  background: #ffeec2;
  color: #7a5c00;
  border: 2px solid #ffeec2;
}
.coaching-btn:hover {
  background: #fff6d6;
  color: #b38f2a;
  box-shadow: 0 4px 16px rgba(212,175,55,0.18);
}
.work-btn {
  background: #d2eaff;
  color: #22577a;
  border: 2px solid #d2eaff;
}
.work-btn:hover {
  background: #e6f4ff;
  color: #168aad;
  box-shadow: 0 4px 16px rgba(34,87,122,0.13);
}

/* メンバーWebサイトリンク */
.member-websites {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.website-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9em;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.1);
  transition: var(--transition);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.website-link:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.website-link i {
  margin-right: 6px;
  font-size: 0.8em;
}

/* 割引プログラム */
.discount-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.discount-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.discount-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.discount-icon {
  text-align: center;
  margin-bottom: 20px;
}

.discount-icon i {
  font-size: 3em;
  color: var(--primary-color);
  margin: 0;
}

.freee-logo {
  max-width: 70px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.discount-content h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 20px;
}

.discount-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: left;
}

/* 紹介キャンペーン */

.referral-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.referral-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.referral-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.referral-icon {
  text-align: center;
  margin-bottom: 20px;
}

.referral-icon i {
  font-size: 3em;
  color: var(--primary-color);
  margin: 0;
}

.referral-content h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 20px;
}

.referral-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: left;
}

.referral-example {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.referral-example p {
  margin-bottom: 10px;
  text-align: left;
}

.referral-example .highlight {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2em;
}

/* 紹介特典テーブル */
.referral-table-container {
  margin-top: 20px;
}

.referral-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.referral-table thead {
  background: var(--primary-color);
  color: white;
}

.referral-table th {
  padding: 15px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1em;
}

.referral-table td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1em;
}

.referral-table tbody tr:last-child td {
  border-bottom: none;
}

.referral-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.referral-target {
  font-weight: 600;
  color: var(--primary-color);
}

.referral-benefit {
  font-weight: 600;
  color: #2c5530;
}

.referral-period {
  color: #666;
  font-size: 0.95em;
}

.referral-note {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}

.referral-note p {
  margin: 0;
  font-size: 0.95em;
  color: #856404;
}

.referral-note i {
  color: #ffc107;
  margin-right: 8px;
}

/* h3タイトルのアイコン */
h3 i {
  margin-right: 8px;
  color: var(--primary-color);
  font-size: 0.9em;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  width: 30px;
  height: 30px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}



small a {
  color: #999;
  text-decoration: none;
}

.corporate-info {
  display: grid;
  grid-template-columns: 1fr !important;
  max-width: var(--content-width);
  margin: 0 auto;  
}

.corporate-table {

  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;

}

.corporate-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.corporate-table th,
.corporate-table td {
  text-align: left;
  vertical-align: top;
  padding-top: 1em;
  padding-bottom: 1em;
}

.showcase-product-container {
  max-width: 950px;
  margin: 0 auto;
}

.showcase-product {
  /* max-width: var(--content-width); */
  width: 100%;

  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  margin-bottom: 20px;
}

/* 動画コンテナ */
.video-container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing);
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.video-item {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
  
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  section {
    margin: 55px auto;
  }
  
  html {
    font-size: 14px;
  }

  header {
    height: 40vh;
    min-height: 300px;
    max-height: 500px;
    position: relative;
    z-index: 1;
  }

  main {
    padding: 0 15px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  section h2 {
    font-size: 1.7rem;
  }

  .hero-text h1 {
    font-size: 2.2em;
  }

  .hero-subtitle {
    font-size: 0.5em;
    margin-top: 0.8em;
  }

  .features {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .feature {
    padding: 2rem;
  }


  .corporate-info {
    padding: 0;
  }

  .news-item {
    padding: 2rem;
  }

  .info-item {
    padding: 2rem;
  }
  .pricing-item {
    padding: 2rem;
  }
  .member-card {
    padding: 2rem;
  }
  .feature h3 {
    font-size: 1.2rem;
  }
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .faq-container {
    gap: 1rem;
  }

  .faq-item {
    padding: 0.1rem;
  }

  .contact-list {
    /* grid-template-columns: 1fr !important; */
    gap: 2rem;
  }
  .pricing {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .gallery-section,
  .faq-section {
    padding: 0;
  }
  
  .gallery-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }  

  .corporate-table {
    padding: 2rem;
  }

  .referral-table th,
  .referral-table td {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  .referral-table th {
    font-size: 1em;
  }

  .referral-note {
    padding: 12px 15px;
  }

  .referral-note p {
    font-size: 0.9em;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: fixed;
    top: 20px;
    right: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .hamburger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }

  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background-color: var(--primary-color);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background-color: var(--primary-color);
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-20px);
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    width: 90%;
    max-width: 300px;
    padding: 18px 24px;
    margin: 8px 0;
    text-align: center;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    opacity: 0;
    animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .nav.active a {
    opacity: 1;
  }

  .nav a:nth-child(1) { animation-delay: 0.1s; }
  .nav a:nth-child(2) { animation-delay: 0.2s; }
  .nav a:nth-child(3) { animation-delay: 0.3s; }
  .nav a:nth-child(4) { animation-delay: 0.4s; }
  .nav a:nth-child(5) { animation-delay: 0.5s; }

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

  .nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
  }

  .nav a:hover::before {
    left: 100%;
  }

  .nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
    color: var(--primary-color);
  }

  .nav a i {
    margin-right: 12px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
  }

  .nav a:hover i {
    transform: scale(1.1);
  }

  .hamburger.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
  }

  .hamburger.active span {
    background-color: var(--primary-color);
  }

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

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .strategy-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    margin: 0;
    box-sizing: border-box;
  }
  .strategy-item {
    width: 100%;
    max-width: 100% !important;
    padding: 0;
    margin: 0;
    min-width: auto;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
  }
  .strategy-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    box-sizing: border-box;
    max-width: 100%;
  }

  
  .calendar-container {
    margin: 0 10px;
  }
  
  .calendar-header {
    padding: 15px;
  }
  
  .calendar-header h3 {
    font-size: 1em;
  }
  
  .calendar-day {
    padding: 6px;
    min-height: 50px;
    font-size: 0.9em;
  }
  
  .calendar-legend {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .legend-item {
    font-size: 0.8em;
  }

  /* 動画コンテナのモバイル対応 */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-item {
    min-width: auto;
    max-width: 100%;
  }

}


/* 利用規約・プライバシーポリシー用スタイル */
.terms-content,
.privacy-content {
  text-align: left;
  line-height: 1.8;
}

.terms-content h3,
.privacy-content h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  border-left: 4px solid var(--primary-color);
  padding-left: 1em;
}

.terms-content p,
.privacy-content p {
  margin-bottom: 1em;
}

.terms-content ul,
.privacy-content ul {
  margin: 1em 0;
  padding-left: 2em;
}

.terms-content li,
.privacy-content li {
  margin-bottom: 0.5em;
}

.terms-date,
.privacy-date {
  text-align: right;
  font-weight: bold;
  margin-top: 3em;
  color: var(--primary-color);
}

.map-container {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/8; /* お好みで比率を調整 */
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.concept-movie-section {
  text-align: center;
  margin: 40px auto 30px auto;
}
.concept-movie {
  width: 100%;
  max-width: 500px;
  height: auto;
  /* aspect-ratio: 9/16; */
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  margin: 0 auto;
  background: #000;
  display: block;
}

/* ミッションセクション */
.mission-container {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--spacing);
}

.mission-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.contact-heading {
  /* color: #888; */
  font-size: 1.2em;
  /* font-weight: 500; */
  text-align: center;
  margin-bottom: 1.2em;
  letter-spacing: 0.05em;
}

.strategy-products {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2.5rem 0 2rem 0;
  flex-wrap: wrap;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  row-gap: 3rem;
}
.strategy-item {
  flex: 1 1 480px;
  max-width: calc(50% - 1rem);
  /* background: #fff; */
  /* border-radius: 16px; */
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.06); */
  padding: 0 1.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 350px;
  cursor: pointer;
}


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

.strategy-item:hover img {
  transform: scale(1.05);
}

.strategy-item .member-btn {
  width: 100%;
  box-sizing: border-box;
  margin-top: 1em;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  padding-left: 0;
  padding-right: 0;
}

/* 1枚の画像が表示される場合の中央寄せ */
.strategy-item:only-child {
  margin-left: auto;
  margin-right: auto;
}

/* カレンダーコンポーネント */
.calendar-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--gradient);
  color: white;
}

.calendar-nav {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.calendar-header h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.calendar-weekdays div {
  padding: 12px;
  text-align: center;
  font-weight: 600;
  color: #6c757d;
  font-size: 0.9em;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 300px;
}

.calendar-day {
  padding: 8px;
  text-align: center;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.calendar-day:hover {
  background: #f8f9fa;
}

.calendar-day.other-month {
  color: #d1d5db !important;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  cursor: default !important;
  pointer-events: none !important;
}

.calendar-day.business-day-full {
  background: #d4edda;
  color: #2d5a2d;
  font-weight: 600;
}

.calendar-day.business-day-short {
  background: #e8f5e8;  
  color: #155724;
  font-weight: 600;
}

.calendar-day.closed-day {
  background: #f8d7da;
  color: #721c24;
  font-weight: 600;
}

.calendar-day .event-title {
  font-size: 0.8em;
  font-weight: 600;
  color: #856404;
  margin-bottom: 2px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-day .date-number {
  font-size: 0.9em;
  font-weight: 600;
}

/* イベントアイコンを削除 */

/* カスタムポップアップ */
.calendar-popup {
  position: absolute;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-width: 270px;
  font-size: 0.9em;
  line-height: 1.4;
  color: var(--text-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.calendar-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.calendar-popup::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--primary-color);
}

.calendar-popup::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

/* 参加申込みボタンを削除 */

.calendar-day {
  position: relative;
}

.calendar-day.today {
  border: 2px solid var(--primary-color);
  font-weight: bold;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: inline-block;
}

.legend-color.business-day-full {
  background: #d4edda;
  border: 1px solid #2d5a2d;
}

.legend-color.business-day-short {
  background: #e8f5e8;
  border: 1px solid #155724;
}

.legend-color.closed-day {
  background: #f8d7da;
  border: 1px solid #721c24;
}