/* ==========================================================================
   Mimmy Adventure LP Stylesheet
   ========================================================================== */

/* 1. Design System & CSS Variables */
:root {
  /* Colors */
  --primary-color: #22324b;     /* Mimmy Royal Blue */
  --primary-light: #e8f1f5;     /* Light Blue Background */
  --primary-dark: #16466d;
  --accent-orange: #ff8c00;     /* Orange for Buttons and CTA */
  --accent-orange-hover: #e07b00;
  --accent-gold: #aa8e5e;
  --accent-green: #38b000;
  
  --text-dark: #333333;
  --text-muted: #666666;
  --text-light: #888888;
  --text-white: #ffffff;
  
  --bg-white: #ffffff;
  --bg-light: #f9f9f9;
  --bg-footer: #1e293b;
  
  /* Fonts */
  --font-en: 'Outfit', 'Inter', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  
  /* Layout */
  --container-max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --box-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ja);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.03em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00bbf9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pc-only { display: block; }
.sp-only { display: none; }

/* 3. Typography & Section Headers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary-color);
  margin-bottom: 24px;
  position: relative;
  font-weight: 900;
}
.section-title::before {
  background-color: var(--accent-gold); /* 線の色 */
  border-radius: 5px; /* 線の両端を丸く */
  bottom: -10px; /* 線の位置 */
  content: "";
  height: 2px; /* 線の高さ */
  left: 50%; /* 線の中央寄せ */
  position: absolute;
  transform: translateX(-50%); /* 線の中央寄せ */
  width: 50px; /* 線の長さ */
}


.section-subtitle {
  margin: 60px auto;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: 48px;
}

/* 4. Button Styles */
.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-gold);
  background-color: var(--bg-white);
  border: 3px solid var(--accent-gold);
  border-radius: 50px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
}

.btn-primary-outline:hover {
  background-color: var(--accent-gold);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

.btn-floating-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--accent-gold) 0%, #4f3a2a 100%);
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(77, 59, 39, 0.4);
  animation: pulse 2s infinite;
}

.btn-floating-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(151, 118, 77, 0.6);
}

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

/* 5. Header Styles */
.site-header {
  position: absolute;        /* 背景画像の上に重ねる */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px 24px;
}

/* ロゴ画像 */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

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

.logo-accent {
  font-family: var(--font-en);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-pink);
  font-weight: 800;
}

.logo-main {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.logo-main::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  margin-left: 2px;
}

.logo-sub {
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

.header-nav .btn-nav {
  padding: 10px 24px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50px;
  font-size: 0.9rem;
}

.header-nav .btn-nav:hover {
  background-color: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* 6. Hero Section */
.hero-section {
  padding: 140px 0 80px; /* 上部にヘッダー分のスペースを確保 */
  background-image: url('https://mimmy-static-files.s3.ap-northeast-1.amazonaws.com/lp_202609/mimmytop.jpg');
  background-size: cover;
  background-position: center bottom;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  max-width:1920px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0; /* ページ最上部から開始 */
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 10;
  padding: 40px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary-color);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* タイトルとサブテキストの間のスペース（1文字分） */
.hero-spacer {
  height: 4em;
}

.hero-subtext {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

.hero-intro-text {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.hero-intro-text p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.8;
}

/* 7. Adventure Examples Section */
.adventures-section {
  padding: 60px 0;
  background-color: var(--bg-white);
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --login-offset-y: 0px;
  min-width: 104px;
  padding: 7px 18px;
  border: 1.5px solid var(--primary-dark);
  border-radius: 999px;
  color: var(--primary-dark);
  background-color: rgba(0, 47, 176, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 8px rgba(0, 26, 176, 0.08);
  transform: translateY(var(--login-offset-y));
}

.header-login-button {
  flex-shrink: 0;
  --login-offset-y: -8px;
}

.hero-login-button-area {
  display: none;
  max-width: var(--container-max-width);
  margin: -120px auto 12px;
  padding: 0 24px;
  padding-left: 64px;
  position: relative;
  z-index: 20;
}

.login-button:hover {
  color: var(--text-white);
  background-color: var(--primary-dark);
  transform: translateY(calc(var(--login-offset-y) - 1px));
  box-shadow: 0 6px 14px rgba(0, 26, 176, 0.16);
}

@media (min-width: 1400px) {
  .header-login-button {
    display: none;
  }

  .hero-login-button-area {
    display: block;
  }
}

.adventures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adventure-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.adventure-img-placeholder {
  width: 100%;
  aspect-ratio: 8/5;
  position: relative;
  overflow: hidden;
}

.adventure-body {
  padding: 14px 16px 2px;
}

.adventure-card-title {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
}
.adventure-card-title-sub {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 400;
  padding-top:0.4rem;
  color: var(--primary-color);
}

.upcoming-events-section {
  padding: 20px 0 60px;
  background-color: var(--bg-white);
}

.upcoming-events-section .section-title {
  margin-bottom: 36px;
  text-align: center;
}

.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
  gap: 24px;
}

.upcoming-event-card {
  width: 100%;
}

.upcoming-event-link {
  display: block;
  color: var(--primary-color);
}

.upcoming-event-image {
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--box-shadow-sm);
}

.upcoming-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.upcoming-event-link:hover .upcoming-event-image img {
  transform: scale(1.04);
}

.upcoming-event-title {
  margin-top: 14px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.upcoming-events-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

/* 8. Mimmy Adventureの特徴 Section */
.features-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.features-section .section-title {
  text-center: center;
  display: block;
  text-align: center;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-white);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: rotateY(180deg);
}

.icon-svg {
  width: 48px;
  height: 48px;
}

.feature-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--primary-color);
  line-height: 1.6;
  text-align: left;
}

/* 9. Video Section */
.video-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.video-section-bg {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.video-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.video-text-col {
  flex: 1;
  max-width: 500px;
}


.video-section-title {
  font-family: 'Noto Serif JP', serif;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.video-section-desc {
  font-family: 'Noto Serif JP', serif;
  display: inline-block;
  font-size: 1.05rem;
  color: var(--primary-color);
  line-height: 1.8;
}

.video-play-col {
  flex: 1.2;
  display: flex;
  justify-content: center;
}
.video-play-col video{
  width:100%;
}

.video-trigger {
  width: 100%;
  max-width: 540px;
}

/* 10. Directly Meet Guides Section */
.guides-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.guides-section .section-title {
  margin-bottom: 16px;
}

.guides-section .section-subtitle {
  margin: 60px auto;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.4;
}

.carousel-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
}

.guides-carousel-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  padding: 10px 0;
}

.guides-carousel-track {
  display: flex;
  width: 100%;
  gap: 24px;
}

.carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  box-sizing: border-box;
  padding: 10px 5px;
}

/* Control Buttons */
.carousel-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow-md);
  z-index: 10;
  transition: var(--transition-smooth);
}

.carousel-control-btn:hover {
  background-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-btn.prev {
  left: 0;
}

.carousel-control-btn.next {
  right: 0;
}

.arrow-icon {
  width: 28px;
  height: 28px;
}

/* Dots Navigation */
.carousel-dots-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot:hover {
  background-color: var(--primary-color);
}

.carousel-dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.2);
}

.mucchu-people-section {
  padding: 60px 0 80px;
  background-color: var(--bg-white);
  text-align: center;
}

.mucchu-people-section .section-title {
  margin-bottom: 36px;
}

.mucchu-people-description {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.mucchu-people-link {
  color: var(--accent-gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.mucchu-people-link:hover {
  opacity: 0.75;
}

.guide-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px 24px;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-lg);
  border-color: rgba(32, 96, 149, 0.15);
}

.guide-avatar-wrapper {
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
}

.guide-avatar-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.guide-card:hover .guide-avatar-svg {
  transform: scale(1.05);
}

.guide-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-ruby {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  background-color: var(--bg-light);
  padding: 4px 12px;
  border-radius: 50px;
}

.flag-icon {
  font-size: 1.1rem;
}

.guide-country {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-color);
}

.guide-intro {
  font-size: 0.9rem;
  color: var(--primary-color);
  line-height: 1.5;
}

/* 11. Teachers & Characters Section */
.teachers-section {
  padding: 80px 0;
  background-color: #f7fafc;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.char-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 24px 12px;
  text-align: center;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.char-card:hover {
  transform: scale(1.05);
  box-shadow: var(--box-shadow-md);
}

.char-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--text-white);
  box-shadow: var(--box-shadow-sm);
}

.char-svg {
  width: 100%;
  height: 100%;
}

.item-sheep { background-color: #e9ecef; }
.item-raccoon { background-color: #e2eafc; }
.item-rabbit-w { background-color: #fefae0; }
.item-rabbit-g { background-color: #eae2b7; }
.item-rabbit-p { background-color: #fcd5ce; }

.char-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
}

.char-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.teacher-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

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

.teacher-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--text-white);
  box-shadow: var(--box-shadow-sm);
}

.teacher-svg {
  width: 100%;
  height: 100%;
}

.teacher-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* 12. CEO Message Section */
.ceo-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.ceo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: 40px;
}

.ceo-text {
  flex: 1.2;
}

.ceo-paragraph {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

.ceo-signature {
  font-family: 'Noto Serif JP', serif;
  margin-top: 36px;
  border-left: 4px solid var(--accent-gold);
  padding-left: 20px;
}

.company-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}

.ceo-name {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-top: 4px;
}

.name-bold {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-left: 6px;
}

.ceo-image-col {
  flex: 0.8;
  position: relative;
  display: flex;
  justify-content: center;
}

.ceo-img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-lg);
  z-index: 2;
  position: relative;
}

.ceo-deco-dots {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--accent-gold) 2px, transparent 2px);
  background-size: 16px 16px;
  z-index: 1;
  opacity: 0.3;
}

/* 13. Voices (Testimonials) Section */
.voices-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.voices-section .section-title {
  margin-bottom: 16px;
}

.voices-section .section-subtitle {
  margin-bottom: 60px;
}

.voices-grid {
  margin-top:3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.voice-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

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

.voice-foot{
  font-weight: 400;
}

/* 全体を囲むラッパー */
.voice-card-wrapper {
  display: flex;
  align-items: center; /* 縦方向の中央寄せ */
  position: relative; /* 重なりの基準点 */
  max-width: 900px; /* 全体の最大幅（調整可能） */
  margin: 0 auto; /* 中央寄せ */
}

/* 写真コンテナ（独立した丸） */
.photo-container {
  position: relative;
  z-index: 2; /* テキストコンテナの前面に配置 */
  flex-shrink: 0; /* 縮まないようにする */
  width: 120px; /* 写真のサイズ（調整可能） */
  height: 120px;
  border-radius: 50%; /* 完全な円形 */
  background-color:var(--bg-light); /* 元の背景色 */
  border: 10px solid var(--bg-light); /* フチ */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 立体感を出す影 */
  overflow: hidden; /* 画像を円形に切り取る */
  margin-right: -40px; /* テキストコンテナと重ねるための負の余白（調整可能） */
  transform: translateY(-10px);
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像の縦横比を保ったまま枠を埋める */
}

/* テキストコンテナ（独立したカプセル型） */
.text-container {
  position: relative;
  z-index: 1; /* 写真コンテナの背面に配置 */
  flex-grow: 1; /* 残りの幅を埋める */
  background-color:var(--bg-light); /* 元の背景色 */
  border-radius: 999px; /* カプセル型 */
  padding: 36px 50px 36px 60px; /* 余白（左側を多めに） */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 影 */
  border: 6px solid var(--bg-light); /* テキスト部分にも白いフチを追加して統一感を出す */
}

.text-container p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-color);
}

@media screen and (min-width: 769px) {
  .voices-grid {
    row-gap: 56px;
  }

  .photo-container {
    transform: translate(-12px, -26px);
  }
}

/* =========================================
   スマートフォン向けの表示調整
   ========================================= */
@media screen and (max-width: 768px) {
  .voice-card-wrapper {
    flex-direction: column; /* 縦並びにする */
    text-align: center; /* テキストを中央寄せ */
  }
  .photo-container {
    margin-right: 0;
    margin-bottom: -40px; /* 縦並び時の重ね方 */
    z-index: 2;
    width: 120px; /* スマホ時は少し小さく */
    height: 120px;
    transform: translateY(-8px);
  }
  .text-container {
    margin-left: 0;
    padding: 66px 30px 36px 30px; /* 余白（上側を多めに） */
    border-radius: 40px; /* 縦並び時はカプセル型を緩やかに */
    z-index: 1;
  }
}

/* 14. Records (Tracks) Section */
.records-section {
  position: relative;
  overflow: hidden;
}

.records-bg-image {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 90px 0;
  position: relative;
}

.records-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.records-container {
  position: relative;
  z-index: 10;
}

.records-container .section-title {
  margin-bottom: 50px;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.record-card {
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  color: var(--primary-color);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
  transition: var(--transition-smooth);
}

.record-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.records-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.records-case-card {
  padding: 36px 32px;
  text-align: center;
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  box-shadow: 0 12px 28px rgba(31, 38, 135, 0.25);
}

.records-case-title {
  margin-bottom: 12px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.records-case-card p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  font-weight: 500;
}

.records-case-card a {
  display: inline-block;
  padding: 8px 18px;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.record-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.record-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.record-list li {
  font-size: 0.95rem;
  line-height: 1.2;
  position: relative;
  padding-left: 20px;
}

.record-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

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

.record-logo img{
  margin-top: 12px;
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width:120px;
  color: var(--text-dark);
  box-shadow: var(--box-shadow-sm);
  font-family: var(--font-en);
}


/* 16. FAQ (アコーディオン) Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq-container {
  max-width: 800px;
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: var(--box-shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 24px 30px;
  text-align: left;
  position: relative;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-q-icon {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-right: 16px;
}

.faq-question-text {
  flex-grow: 1;
  padding-right: 20px;
  line-height: 1.4;
}

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

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

.faq-toggle-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-toggle-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.is-open .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.is-open .faq-toggle-icon::before {
  transform: rotate(180deg);
  background-color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 30px 30px 30px;
  display: flex;
  align-items: flex-start;
}

.faq-a-icon {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-right: 18px;
  line-height: 1;
}

.faq-answer-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 17. Upcoming Adventures (Instagram) Section */
.upcoming-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.instagram-wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.insta-logo-box {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: var(--text-white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(214, 36, 159, 0.3);
  transition: var(--transition-smooth);
}

.insta-logo-box:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(214, 36, 159, 0.5);
}

.insta-svg {
  width: 44px;
  height: 44px;
}

/* 18. Footer & Sticky CTA */
.site-footer {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding: 60px 0 120px; /* space for floating CTA */
  font-size: 0.9rem;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-info {
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 40px;
}

.footer-company-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-info p {
  margin-bottom: 8px;
  opacity: 0.8;
}

.footer-info a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.footer-notes {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-bottom: 30px;
  opacity: 0.7;
}

.footer-notes p {
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.footer-links {
  margin-top: 16px;
}

.footer-links a {
  color: var(--text-white);
  text-decoration: underline;
}

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

.copyright {
  text-align: center;
  opacity: 0.5;
  font-size: 0.8rem;
  margin-top: 40px;
}

/* Floating Sticky CTA Footer */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  z-index: 900;
  padding: 16px 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(100%);
  opacity: 0;
}

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

.floating-cta-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.floating-cta-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-white);
}

/* 19. Scroll trigger animations (JS supported) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.hero-fade-in {
  transition-duration: 2.2s;
}

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

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.active {
  opacity: 1;
}


/* ==========================================================================
   21. Responsive Design Media Queries (Mobile First approach logic)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .adventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .characters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
   .adventure-img-placeholder{
   aspect-ratio:8/5;
  }
}

@media (max-width: 768px) {
  /* Common layout fixes */
  .pc-only { display: none; }
  .sp-only { display: block; }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  
  /* Header mobile styling */
  .logo-img {
    height: 40px; /* スマホでは少し小さく */
  }
  
  .header-container {
    padding: 16px 16px;
  }
  
  /* Hero section mobile */
  .hero-section {
    padding: 110px 0 50px; /* ヘッダー分の高さを确保 */
    background-image: url('https://mimmy-static-files.s3.ap-northeast-1.amazonaws.com/lp_202609/mimmytop.jpg');
    background-size: cover;
    background-position: 70% bottom;
    text-align: center;
    min-height: auto;
    display: block;
  }
  
  .hero-container {
    padding: 0 16px;
    justify-content: left;
  }
  
  .hero-content {
    max-width: 50%;
  padding: 12px 0;
  color: var(--primary-color);
  }
  
  .hero-title {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: left;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.8);
  }

  .hero-spacer {
    height: 1.1em;
  }

  .hero-subtext {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align:left;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.95), 0 0 10px rgba(255, 255, 255, 0.8);
  }

  .login-button {
    min-width: 86px;
    padding: 5px 14px;
    font-size: 0.8rem;
  }

 .message{
  font-size:0.9rem;
 }
  
  /* Adventure card mobile */
  .adventures-section {
    padding: 10px 0;
  }
  
  .adventures-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .upcoming-event-title {
    font-size: 0.9rem;
  }
  
  .adventure-img-placeholder{
   aspect-ratio:8/5;
  }
  .adventure-body {
    padding: 14px 8px 12px;
  }
  
  .adventure-card-title {
    font-size: 1rem;
  }
  
  /* Features mobile */
  .features-section {
    padding: 50px 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .feature-item {
    padding: 24px 16px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }
  
  .icon-svg {
    width: 50px;
    height: 50px;
  }
  
  .feature-title {
    font-weight: 600;
    font-size: 0.95rem;
  }
  
  .feature-desc {
    font-size: 0.8rem;
  }
  
  /* Video section mobile */
  .video-section {
    padding: 50px 0;
  }
  
  .video-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .video-section-title {
    font-size: 1.5rem;
  }
  
  .video-section-desc {
    font-size: 0.9rem;
  }
  
  
  /* Guides Section mobile */
  .guides-section {
    padding: 50px 0;
  }
  
  .carousel-outer-wrapper {
    padding: 0 32px;
  }
  
  .carousel-control-btn {
    width: 36px;
    height: 36px;
  }
  
  .arrow-icon {
    width: 20px;
    height: 20px;
  }
  
  .guides-carousel-track {
    gap: 0;
  }
  
  .carousel-slide {
    flex: 0 0 100%;
  }
  
  .guide-card {
    padding: 30px 16px;
  }
  
  /* CEO Message Section mobile */
  .ceo-section {
    padding: 50px 0;
  }
  
  .ceo-container {
    flex-direction: column;
    gap: 30px;
    text-align: left;
  }
  
  .ceo-text {
    order: 1;
  }
  
  .ceo-image-col {
    order: 2;
    width: 100%;
  }
  
  .ceo-paragraph {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .ceo-signature {
    border: none;
    padding-top: 6px;
    text-align: right;
  }
  
  /* Voices Section mobile */
  .voices-section {
    padding: 50px 0;
  }
  
  .voices-grid {
    grid-template-columns: 1fr; /* Vertical layout on mobile */
    gap: 20px;
  }
  
  .voice-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 24px 20px;
  }
  .voice-card-wrapper .text-container{
        text-align: left;
  }
  
  /* Records Section mobile */
  .records-bg-image {
    padding: 50px 0;
  }
  
  .records-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .records-case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .record-card {
    padding: 30px 20px;
    align-items: center;
  }
  .record-list{
    padding:6px 12px;
  }
  
  /* How to use mobile */
  .how-to-use-section {
    padding: 50px 0;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .steps-grid::before {
    display: none; /* hide horizontal step bar on mobile */
  }
  
  .step-card {
    padding: 10px;
  }
  
  /* FAQ mobile */
  .faq-section {
    padding: 50px 0;
  }
  
  .faq-question {
    padding: 20px 24px;
    font-size: 0.95rem;
  }
  
  .faq-q-icon {
    font-size: 1.25rem;
    margin-right: 12px;
  }
  
  .faq-answer-inner {
    padding: 0 24px 24px 24px;
  }
  
  .faq-a-icon {
    font-size: 1.25rem;
    margin-right: 12px;
  }
  
  .faq-answer-text {
    font-size: 0.85rem;
  }
  
  /* Upcoming mobile */
  .upcoming-section {
    padding: 50px 0;
  }
  
  .instagram-wrapper {
    margin-top: 30px;
  }
  
  .btn-primary-outline {
    font-size: 0.95rem;
    padding: 12px 28px;
  }
  
  /* Footer mobile & CTA */
  .site-footer {
    padding: 40px 0 100px;
  }
  
  .floating-cta-inner {
    justify-content: center;
  }
  
  .btn-floating-cta {
    font-size: 1.05rem;
    padding: 12px 30px;
    width: 100%;
    max-width: 320px;
  }
}
