/**
 * Main stylesheet for MAMA LINK Theme
 */

:root {
  --primary-color: #ec4899;
  --secondary-color: #db2777;
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-800: #9d174d;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --green-500: #10b981;
  --white: #ffffff;
  --logo-color: #ec4899;
}

/* Base Styles */
body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.5;
}

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid var(--gray-200);
  background-color: var(--white);
}

.header-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--logo-color);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 0.375rem;
  cursor: pointer;
}

.menu-toggle i {
  font-size: 1.25rem;
  color: #333;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.main-navigation {
  display: none;
}

.main-navigation.active {
  display: block;
  position: absolute;
  top: 4rem;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem;
  z-index: 30;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    position: static;
    width: auto;
    border: none;
    padding: 0;
  }
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .main-navigation ul {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.main-navigation li {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .main-navigation li {
    margin-bottom: 0;
  }
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  display: block;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .main-navigation a {
    padding: 0;
  }
}

.main-navigation a:hover {
  color: var(--primary-color);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-buttons .btn-outline {
  display: none;
}

@media (min-width: 768px) {
  .header-buttons .btn-outline {
    display: flex;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
   box-sizing: border-box;
}

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

.btn-outline {
  background-color: transparent;
  color: #333;
  border: 1px solid var(--gray-200);
}

.btn-outline:hover {
  background-color: var(--gray-100);
}

.btn-lg {
  height: 3rem;
  font-size: 1.125rem;
	box-sizing: border-box;
}

/* Hero Section */
.hero {
  width: 100%;
  padding: 3rem 0;
  background: linear-gradient(to bottom, var(--pink-50), var(--white));
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0;
  }
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--secondary-color);
  margin: 0;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  max-width: 600px;
  color: var(--gray-500);
  margin: 0;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 400px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  border-radius: 0.5rem;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

/* Section Styles */
.section {
  width: 100%;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-pink {
  background-color: var(--pink-50);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  background-color: var(--pink-100);
  color: var(--pink-800);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 0.5rem 0;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  max-width: 900px;
  color: var(--gray-500);
  margin: 0.5rem 0;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.25rem;
  }
}

/* About Section */
.about-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.about-item h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0;
}

.about-item p {
  color: var(--gray-500);
  margin: 0;
}

/* Features Section */
.features-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.feature-card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  background-color: var(--white);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 3rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.feature-description {
  color: var(--gray-500);
  margin: 0;
}

/* Plans Section */
.plans-header {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--primary-color);
}

.plans-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .plans-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .plans-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.plan-card.popular {
  border-color: var(--primary-color);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.plan-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.plan-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
}

.plan-description {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0.25rem 0;
}

.plan-price {
  font-size: 1.875rem;
  font-weight: bold;
  margin: 0.5rem 0 0;
}

.plan-price span {
  font-size: 0.875rem;
  font-weight: normal;
}

.plan-content {
  padding: 1.5rem;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.plan-feature svg,
.plan-feature i {
  width: 1rem;
  height: 1rem;
  color: var(--green-500);
}

.plan-feature p {
  font-size: 0.875rem;
  margin: 0;
}

.plan-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* Campaign Section */
.campaign-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .campaign-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.campaign-card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  background-color: var(--white);
}

.campaign-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0 0 1rem;
}

.price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--pink-100);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.original-price {
  font-size: 1.125rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

.campaign-price {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.discount {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.countdown {
  margin-top: 1.5rem;
}

.countdown-label {
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.countdown-boxes {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.countdown-box {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem;
  border-radius: 0.375rem;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-box span {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Registration Section */
.registration-buttons {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .registration-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Footer Styles */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--gray-200);
  background-color: var(--gray-50);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-section {
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0.5rem 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--primary-color);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--gray-500);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* WordPress Core Styles */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
