@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #FAF8F5; /* Warm soft off-white */
  --bg-card: rgba(255, 255, 255, 0.85);
  --border-color: #F0EAE1; /* Soft warm gray/beige */
  --border-hover: #EADBC8; /* Gentle beige */
  
  --text-main: #4A3E3D; /* Warm cocoa/dark coffee */
  --text-muted: #8A7A79; /* Muted mocha gray */
  
  --primary-pink: #B5838D; /* Elegant Dusty Rose Pink */
  --primary-glow: rgba(181, 131, 141, 0.2);
  --pink-gradient: linear-gradient(135deg, #B5838D 0%, #D6A2A8 50%, #9E8A93 100%);
  
  --purple-accent: #9E8A93; /* Slate Lavender/Mauve */
  --purple-glow: rgba(158, 138, 147, 0.2);
  --purple-gradient: linear-gradient(135deg, #9E8A93 0%, #B5838D 100%);
  
  --accent-coral: #E29578; /* Soft Coral/Apricot */
  --card-back-bg: #EADBC8; /* Gentle beige for unrevealed card back */
  
  --font-en: 'Outfit', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-jp);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

/* Background light dreamy gradient blobs with brand colors */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(181, 131, 141, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(158, 138, 147, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(240, 234, 225, 0.5) 0%, transparent 80%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--primary-pink) 0.5px, transparent 0.5px), 
    radial-gradient(var(--primary-pink) 0.5px, var(--bg-color) 0.5px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.04;
  z-index: -1;
}

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

/* Global Header */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 2rem;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(74, 62, 61, 0.02);
}

/* Coming Soon Wrapper */
.coming-soon-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 7rem; /* 10remから縮小 */
  margin-bottom: -3rem; /* -5remから変更し、間隔をさらに微調整 */
  position: relative;
  z-index: 10;
}

/* Coming Soon Box */
.coming-soon-box {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #C84B51 0%, #E26D72 50%, #9C383C 100%);
  color: #ffffff;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(200, 75, 81, 0.25);
  animation: float 4s ease-in-out infinite;
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo-icon {
  font-size: 1.2rem;
  color: var(--primary-pink);
  text-shadow: 0 0 10px var(--primary-glow);
}

.header-brand-text {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--pink-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.header-btn {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  background: var(--pink-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition-smooth);
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181, 131, 141, 0.4);
}

/* Sections */
section {
  padding: 2rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  font-family: var(--font-jp);
  color: var(--text-main);
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--pink-gradient);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  min-height: 70vh; /* 100vhから縮小して縦の間延びを解消 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 4rem; /* 10remから大幅に縮小 */
  padding-bottom: 1rem; /* 下部マージンを1remへ縮小 */
}

.hero-content {
  flex: 1.1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: rgba(181, 131, 141, 0.08);
  border: 1px solid rgba(181, 131, 141, 0.2);
  color: var(--primary-pink);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.8rem; /* 3.5remから少し小さく調整 */
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-title span {
  background: var(--pink-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.btn-primary {
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  background: var(--pink-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(181, 131, 141, 0.5);
}

.btn-secondary {
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-pink);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(74, 62, 61, 0.02);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(181, 131, 141, 0.02);
  border-color: var(--primary-pink);
  transform: translateY(-3px);
}

.hero-media {
  flex: 0.9;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  border-radius: 36px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.hero-media-wrapper:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: none;
}

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

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 62, 61, 0.02);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(181, 131, 141, 0.04), transparent 70%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-pink);
  box-shadow: 0 20px 40px rgba(74, 62, 61, 0.06), 0 0 20px rgba(181, 131, 141, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(181, 131, 141, 0.06);
  border: 1px solid rgba(181, 131, 141, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  font-size: 1.75rem;
  color: var(--primary-pink);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--pink-gradient);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--primary-glow);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.feature-details {
  list-style: none;
  text-align: left;
  margin: 1.25rem 0;
  padding-left: 0.5rem;
}

.feature-details li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  position: relative;
  padding-left: 1.2rem;
}

.feature-details li::before {
  content: "✦";
  color: var(--primary-pink);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
}

.feature-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

/* Card Showcase Section */
.card-showcase {
  background: linear-gradient(180deg, transparent, rgba(181, 131, 141, 0.02) 50%, transparent);
}

.showcase-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

.showcase-info {
  flex: 1;
}

.showcase-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.showcase-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.showcase-cards {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  perspective: 1000px;
}

.showcase-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.card-type-label {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-pink);
  background: rgba(181, 131, 141, 0.06);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(181, 131, 141, 0.15);
  letter-spacing: 0.05em;
  text-align: center;
}

.tarot-card-container {
  width: 200px;
  height: 320px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.tarot-card-container:hover {
  transform: rotateY(180deg) translateZ(10px);
}

.tarot-card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(74, 62, 61, 0.05);
}

.tarot-card-back {
  background-color: var(--card-back-bg);
  background-image: url('images/card-back.jpg');
  background-size: cover;
  background-position: center;
  border-color: rgba(181, 131, 141, 0.15);
}

.tarot-card-front {
  background: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 2px solid var(--primary-pink);
  box-shadow: 0 15px 35px rgba(181, 131, 141, 0.1);
}

.card-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-pink);
  text-align: center;
}

.card-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--accent-coral);
}

.card-name {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.25rem;
}

/* Pricing Section */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: 0 10px 30px rgba(74, 62, 61, 0.02);
}

.pricing-card.premium {
  border: 2px solid var(--primary-pink);
  box-shadow: 0 20px 45px rgba(181, 131, 141, 0.08);
}

.pricing-card.premium::after {
  content: "RECOMMENDED";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(74, 62, 61, 0.06);
}

.pricing-card.premium:hover {
  box-shadow: 0 25px 50px rgba(181, 131, 141, 0.12);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card.premium .plan-name {
  color: var(--primary-pink);
}

.plan-price {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1;
  color: var(--text-main);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 3rem;
}

.plan-features li {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-features li::before {
  content: "✦";
  color: var(--accent-coral);
  font-weight: bold;
}

.plan-btn {
  width: 100%;
  padding: 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--primary-pink);
  transition: var(--transition-smooth);
}

.pricing-card.premium .plan-btn {
  background: var(--pink-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.plan-btn:hover {
  background: rgba(181, 131, 141, 0.04);
  border-color: var(--primary-pink);
}

.pricing-card.premium .plan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181, 131, 141, 0.4);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(74, 62, 61, 0.01);
}

.faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(181, 131, 141, 0.05);
}

.faq-question {
  color: var(--text-main);
  padding: 1.5rem 2rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-question::before {
  content: "Q.";
  color: var(--primary-pink);
  font-size: 1.25rem;
  font-weight: 900;
}

.faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  gap: 0.75rem;
}

.faq-answer::before {
  content: "A.";
  color: var(--accent-coral);
  font-size: 1.25rem;
  font-weight: 900;
}

.faq-answer p {
  margin: 0;
}

/* Legal Pages Styling */
.legal-container {
  padding-top: 10rem;
  max-width: 900px;
  margin: 0 auto 5rem;
}

.legal-header-block {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header-block h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--pink-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.legal-header-block p {
  color: var(--text-muted);
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 4rem 3rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(74, 62, 61, 0.03);
}

.legal-content h3 {
  font-size: 1.35rem;
  color: var(--primary-pink);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(181, 131, 141, 0.12);
  padding-bottom: 0.5rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content ol, .legal-content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.legal-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.legal-content dl {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.legal-content dt {
  font-weight: 700;
  color: var(--primary-pink);
  border-right: 1px solid rgba(181, 131, 141, 0.12);
}

.legal-content dd {
  color: var(--text-muted);
  padding-left: 1rem;
}

.legal-footer-info {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(181, 131, 141, 0.12);
}

.legal-content a {
  color: var(--primary-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s, opacity 0.2s;
}

.legal-content a:hover {
  opacity: 0.75;
}

/* Global Footer */
.global-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.01);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(181, 131, 141, 0.08);
  padding-top: 2rem;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* Responsive Web Layout */
@media (max-width: 968px) {
  .coming-soon-wrapper {
    padding-top: 6rem; /* 8remから縮小 */
    margin-bottom: -2rem; /* さらに微調整 */
  }
  
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: 3rem; /* 5remから縮小 */
    padding-bottom: 2rem; /* 縮小 */
    gap: 3rem;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .showcase-container {
    flex-direction: column;
    text-align: center;
  }
  
  .showcase-cards {
    margin-top: 3rem;
  }
  
  .legal-content dl {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .legal-content dt {
    border-right: none;
    border-bottom: 1px solid rgba(181, 131, 141, 0.12);
    padding-bottom: 0.25rem;
  }
  
  .legal-content dd {
    padding-left: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  /* Base Padding Adjustment */
  section {
    padding: 2rem 1.25rem 3rem; /* 左右余白を1.25remに縮小 */
  }

  .global-header {
    padding: 0.6rem 1.25rem;
  }
  
  .header-logo-icon {
    font-size: 1rem;
  }

  .header-brand-text {
    font-size: 0.9rem;
  }
  
  .header-nav {
    display: none;
  }
  
  /* Coming Soon & Hero Section */
  .coming-soon-wrapper {
    padding-top: 4rem; /* ヘッダーが低くなったため5remから4remに調整 */
    margin-bottom: -1rem; /* 隙間を詰める */
  }

  .coming-soon-box {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem; /* バッジ文字サイズを縮小 */
  }

  .hero-title {
    font-size: 1.8rem; /* タイトル文字サイズを最適化 */
    line-height: 1.4;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-img {
    max-width: 80%; /* スマホで画像が大きくなりすぎないように制御 */
    margin: 0 auto;
  }

  /* Features Grid & Card */
  .features-grid {
    grid-template-columns: 1fr; /* スマホでは完全に1列表示に */
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.25rem; /* 内側余白をコンパクトに */
    border-radius: 20px;
  }

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

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

  /* Legal Pages Styling */
  .legal-container {
    padding: 6rem 1.25rem 3rem; /* 規約ページ全体のパディングをスマホ最適化 */
    margin-bottom: 2rem;
  }

  .legal-header-block {
    margin-bottom: 2.5rem;
  }

  .legal-header-block h1 {
    font-size: 1.8rem;
  }
  
  .legal-content {
    padding: 2rem 1.25rem; /* 規約カードの内側余白をスマホ最適化 */
    border-radius: 20px;
  }

  /* Footer Adjustment */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
