/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


:root {
  /* Colors based on Miracle Learn logo - Clean blue palette */
  --primary: #0080FF;
  --primary-light: #00D9FF;
  --primary-gradient: linear-gradient(135deg, #00D9FF 0%, #0080FF 100%);
  --primary-foreground: #ffffff;
  --secondary: #f0f9ff;
  --secondary-foreground: #0080FF;
  --accent: #38a169;
  --accent-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f8fcff;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #00D9FF;
  --footer: #ffffff;
  --footer-gradient: #ffffff;
  --header-shadow: 0 2px 8px rgba(0, 128, 255, 0.08);
  --button-shadow: 0 4px 12px rgba(0, 128, 255, 0.15);

  /* Typography */
  --font-sans: "Noto Sans", sans-serif;
  --font-serif: "Noto Sans", sans-serif;
  --font-logo: "Oswald", sans-serif;

  /* Spacing */
  --container-max-width: 80%;
  --section-padding: 3rem 0;
}


body {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.6;
  color: var(--foreground);
  font-size: 16px;
  overflow-y: scroll;
  padding-top: 3rem;
}


section {
  padding: var(--section-padding);
}


.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}


/* Utility: Text Align Center */
.text-center {
  display: block;
  justify-content: center;
  text-align: center !important;
}


/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
}


h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  background-color: opacity(var(--accent-foreground), 0.5);
}


h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  text-align: center;
}


h2:before {
  position: absolute;
  bottom: -15px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: var(--border);
}


h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}


.bg-muted {
  margin: auto;
  background-color: var(--muted) !important;
  color: var(--foreground) !important;
}


.bg-card {
  background-color: var(--card) !important;
  color: var(--card-foreground) !important;
}


.mt-2 { margin-top: 0.5rem !important; }


.mt-3 { margin-top: 1rem !important; }


.mt-4 { margin-top: 1.5rem !important; }


.mt-5 { margin-top: 3rem !important; }


.mb-3 { margin-bottom: 1rem !important; }


.mb-4 { margin-bottom: 1.5rem !important; }


.fs-3 { font-size: 1.5rem !important; }


.fs-smaller { font-size: smaller !important; }


.fs-larger { font-size: larger !important; }


/* =============================
   Layout: Grid System
   ============================= */
.grid {
  display: grid;
  justify-content: center;
  gap: 1.5rem;
}


.grid-3 {
  grid-template-columns: repeat(3, minmax(220px, 24rem));
}


.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 18rem));
  gap: 1rem;
}


/* =============================
   Layout: LightBox
   ============================= */
.gallery {
  text-align: center;
}


.gallery__list {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}


.gallery__item {
  width: calc(95% / 2);
}


.gallery__item:not(:nth-child(-n+2)) {
  margin-top: 20px;
}


.gallery__item img {
  width: 100%;
  height: auto;
  transition: .4s;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0);
}


.gallery__item a {
  transition: .5s;
}


.gallery__item a:hover {
  filter: opacity(0.7);
}


.gallery__item a:hover img {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}


/* =============================
   Layout: Responsive YouTube
   ============================= */
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}


/* =============================
   Components: Cards & Images
   ============================= */
.card {
  border: 4px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  user-select: none;
}


.card-header {
  padding: .5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.card-content {
  padding: 0 1.5rem 1rem 1.5rem;
}


.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-inline: auto;
}


.course-img {
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
  margin-inline: auto;
  margin-bottom: 1rem;
}


.course-content {
  text-align: center;
}


.course-content a button {
  margin:1.5rem auto 0 auto;
}


.course-img {
  width: 200px;
}


.course-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  justify-content: center;
}


.course-scroll::-webkit-scrollbar {
  height: 8px;
  background: #f0f0f0;
}


.course-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
}


.course-scroll::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 4px;
}


.course-card {
  min-width: 320px;
  flex: 0 0 auto;
}


.course-card .card {
  transition: all 0.3s ease;
}


.course-card:hover .card, .course-card:focus .card {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 1.5px 4px rgba(0,0,0,0.10);
  z-index: 2;
}


/* Features */
.features .card-header {
  flex-direction: column;
  text-align: center;
}


.feature-label {
  display: flex;
  height: 4rem;
  align-items: center;
  margin-top: .5rem;
  gap: 1rem;
}


.feature-item {
  background-color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  padding: .5rem;
  border-radius: 0.5rem;
  border: 4px solid var(--border);
}


.feature-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  padding: .5rem 1rem .5rem 1rem;
}


.feature-intro-title {
  margin-bottom: 0;
  text-align: left;
}


.feature-intro-title-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1rem;
  justify-content: center;
}


.feature-intro-title-row .check-icon {
  flex-shrink: 0;
  width: 2em;
  height: 2em;
  color: var(--accent);
}


.feature-intro {
  margin-bottom: 2rem;
  padding: 1.5rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  max-width: 75rem;
}


.feature-intro-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: center;
  font-weight: 500;
}


.feature-intro-text {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-family: var(--font-serif);
  color: var(--foreground);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}


.btn-primary {
  font-size: 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 4px solid var(--primary);
}


.btn-primary::after {
  content: "";
  margin: auto;
  margin-left: 0.5rem;
  margin-top: auto;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--primary-foreground);
  border-right: 3px solid var(--primary-foreground);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}


.btn-primary:hover {
  background: var(--primary-foreground);
    transform: translateY(-2px);
    color: var(--primary);
    border: 4px solid var(--primary);
}


.btn-primary:hover::after {
  content: "";
  border-top: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
}


.btn-secondary {
  font-size: 1.2rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.3rem 1rem;
}


.btn-secondary::before {
  content: "";
  margin: auto;
  margin-right: 0.5rem;
  top: 0;
  bottom: 0;
  left: 2px;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--secondary-foreground);
  border-right: 3px solid var(--secondary-foreground);
  transform: rotate(45deg);
}


.btn-secondary:hover {
  background-color: var(--muted);
  transform: translateY(-2px);
}


/* Icons */
.check-icon,
.feature-icon,
.users-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}


.feature-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}


/* Hero Section - Modern gradient overlay design */
.hero {
  position: relative;
  background: url('../img/lp/head.jpg') center/cover no-repeat;
  color: var(--card-foreground);
  padding-top: 5rem;
  padding-bottom: 3rem;
  text-align: center;
  overflow: hidden;
}


.hero-content {
  max-width: 64rem;
  margin: 0 auto;
}


.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}


.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  opacity: 0.8;
}


.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}


.hero-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Hero overlay - Seamless gradient transition from header */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      rgba(248, 252, 255, 0.95) 0%,
      rgba(240, 249, 255, 0.85) 15%,
      rgba(225, 245, 255, 0.70) 35%,
      rgba(204, 238, 255, 0.50) 60%,
      rgba(255, 255, 255, 0.35) 100%
    );
  z-index: 0;
}


/* Subtle top gradient for seamless header transition */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(248, 252, 255, 0.98) 0%,
    rgba(248, 252, 255, 0.7) 50%,
    transparent 100%
  );
  z-index: 0;
}


.hero .container, .hero-content, .hero h1, .hero p, .hero button {
  position: relative;
  z-index: 1;
}


/* Book Series Section */
.book-series {
  background: white;
  padding: 4rem 0;
  text-align: center;
}


.book-series-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 3rem;
  line-height: 1.5;
}


.book-series-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}


.book-item {
  flex: 0 0 auto;
  max-width: 280px;
  transition: all 0.3s ease;
  position: relative;
}


.book-item:nth-child(1) {
  transform: rotate(-12deg) translateY(10px);
  z-index: 1;
}


.book-item:nth-child(2) {
  transform: rotate(0deg) translateY(-15px);
  z-index: 3;
  margin: 0 -20px;
}


.book-item:nth-child(3) {
  transform: rotate(12deg) translateY(10px);
  z-index: 2;
}


.book-item:hover {
  transform: scale(1.1) rotate(0deg) translateY(-20px) !important;
  z-index: 10 !important;
}


.book-cover {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow:
    0 4px 12px rgba(0, 128, 255, 0.15),
    0 2px 4px rgba(0, 128, 255, 0.1);
  transition: all 0.3s ease;
}


.book-item:hover .book-cover {
  box-shadow:
    0 12px 24px rgba(0, 128, 255, 0.25),
    0 6px 12px rgba(0, 128, 255, 0.15);
}


.book-series-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  color: var(--foreground);
  margin: 0 auto;
  max-width: 800px;
}


.highlight-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1em;
}


/* Testimonials Section */

.testimonial {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}


.quote {
  margin-bottom: 0.75rem;
}


.author {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}


/* Pricing Section */
.pricing-content {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}


.pricing-card .card-header {
  flex-direction: column;
  text-align: center;
}


.price {
  text-align: center;
  margin: auto;
  border: 4px solid var(--border);
  border-radius: 5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: baseline;
  justify-content: center;
  transition: all 0.3s ease;
  flex-wrap: wrap;
}


.price:hover {
  border-color: 4px solid var(--primary);
  background-color: var(--primary-foreground);
  color: var(--primary);
}


.price-link {
  display: block;
  text-decoration: none;
  color: inherit;
}


.price-amount {
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
}


.price-period {
  font-size: 1rem;
  margin-bottom: 1rem;
}


/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 50rem;
  margin: 0 auto;
}


.faq-item .card-header {
  flex-direction: column;
  align-items: flex-start;
}


/* Header - Clean and modern design */
.simple-header {
  width: 100%;
  background: #ffffff;
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 128, 255, 0.08);
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
}


.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}


.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.header-logo-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}


.header-logo-img {
  height: 42px;
  width: auto;
  display: block;
}


.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.header-nav-btn {
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.header-nav-btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}


.header-nav-btn--outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--button-shadow);
  transform: translateY(-2px);
}


.header-nav-btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid var(--primary);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 128, 255, 0.2);
}


.header-nav-btn--primary:hover {
  background: #0070e0;
  border-color: #0070e0;
  box-shadow: 0 4px 12px rgba(0, 128, 255, 0.3);
  transform: translateY(-2px);
}


/* Footer - Clean and modern design matching header */
.footer {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid rgba(0, 217, 255, 0.15);
}


.footer-gradient-wrapper {
  background: #ffffff;
  padding: 3rem 0 1.5rem;
  position: relative;
}


.footer-gradient-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: transparent;
}


.footer-content {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 0 1.5rem;
}


.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}


.footer-subheading {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  font-weight: 500;
}


.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  align-items: center;
}


.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f8fcff;
  border: 2px solid rgba(0, 217, 255, 0.2);
  box-shadow: 0 2px 6px rgba(0, 128, 255, 0.08);
  transition: all 0.3s ease;
}


.social-icon-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 128, 255, 0.15);
  background: #ffffff;
  border-color: var(--primary);
}


.social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}


.footer-links-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


.footer-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  display: inline-block;
}


.footer-link:hover {
  color: var(--primary);
  background: rgba(0, 128, 255, 0.06);
}


.footer-notice {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}


.footer-notice p {
  margin: 0.25rem 0;
}


.footer-bottom {
  max-width: 64rem;
  margin: 2rem auto 0;
  padding: 2rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}


.footer-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}


.footer-logo-link {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.footer-logo-link:hover {
  transform: scale(1.03);
  opacity: 0.85;
}


.footer-logo {
  max-width: 200px;
  height: auto;
}


.footer-company-info {
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 1.7;
}


.footer-company-info p {
  margin: 0.25rem 0;
}


.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}


.footer-copyright p {
  margin: 0;
}


/* =============================
   タイトルデザイン
   ============================= */

.custom-title-wrapper {
  font-family: Arial, sans-serif;
  margin-bottom: 2rem;
}


.custom-title-layout {
  align-items: baseline;
  justify-content: center;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}


.custom-text-large {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  color: #000;
  background: transparent;
  z-index: 2;
  position: relative;
}


.sp_br {
  display: none;
}


/* レスポンシブ対応 */
@media (max-width: 1710px) {
  .custom-title-layout {
    align-items: center;
    min-width: auto;
  }


.custom-text-large {
    font-size: clamp(2.5rem, 5vw, 3rem);
  }


}

/* =============================
   Responsive Design (Mobile)
   ============================= */
@media (max-width: 768px) {
  body {
    padding-top: 6rem;
    font-size: 14px;
  }


.container {
    padding: 0.5rem 1rem;
    max-width: 100vw;
  }


h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }


h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }


h3 {
    font-size: 1.25rem;
  }


.hero {
    padding: 2rem 0;
    background-position: center top;
    background-size: cover;
    margin-top: 0;
  }


.hero-content {
    padding: 0 0.5rem;
  }


.hero-subtitle, .hero-description {
    font-size: 1rem;
    margin-bottom: 1rem;
  }


.hero-flex {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }


.hero-action {
    align-items: stretch;
  }


.card-img {
    display: none;
  }


.grid, .grid-2, .grid-3, .grid-4 {
    display: block;
    gap: 0;
  }


.card {
    margin: 0.5em auto;
    max-width: 90%;
  }


.feature-intro-text {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  }


.gallery__item {
    flex: 1 1 100%;
    max-width: 100%;
  }


.gallery__list {
    gap: 1rem;
  }


.course-content a button {
    margin:1rem auto;
    font-size: 1.5rem;
  }


.course-scroll {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 0.5rem;
    overflow-x: visible;
  }


.course-card {
    min-width: 0;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto auto;
  }


.course-img {
    width: 30%;
    max-width: 320px;
    height: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }


.features, .curriculum, .testimonials, .pricing, .faq {
    padding: 2rem 0.5rem;
  }


.feature-label {
    margin:0;
  }


.feature-item {
    width: 90%;
    padding: 0.5rem;
    margin: 1rem auto;
    flex-direction: row;
    align-items: center;
  }


.feature-intro-title {
    font-size: 1.5rem;
  }


.feature-intro-desc {
    font-size: 14px;
  }


.quote {
  font-size: 14px;
  }


.price {
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.5rem;
    padding: 1rem 0.5rem;
    border-radius: .5rem;
  }


.price-amount {
    font-size: 2rem;
  }


.price-period {
    font-size: 1rem;
    margin-bottom: 0;
  }


.btn, .btn-primary, .btn-secondary {
    padding: 0.5rem 1rem;
    min-width: 0;
    box-sizing: border-box;
  }


.faq-item h3 {
    margin-left: 1.3em;
    text-indent: -1.3em;
  }


.footer-content {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
    text-align: center;
  }


.logo img {
    max-width: 180px;
    height: auto;
  }


.social-buttons {
    display: block;
    gap: 0.5rem;
    align-items: center;
  }


.header-logo-img {
    height: 36px;
  }


.header-nav {
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: center;
    width: 100%;
  }


.header-nav-btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex: 1;
    max-width: 120px;
  }


.header-container {
    padding: 0.5rem 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }


.header-logo-link {
    width: 100%;
    justify-content: center;
  }


.footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }


.footer-gradient-wrapper {
    padding: 2rem 0 1rem;
  }


.footer-section {
    padding: 0;
  }


.footer-heading {
    font-size: 1.1rem;
  }


.social-icon-link {
    width: 44px;
    height: 44px;
  }


.social-icon {
    width: 24px;
    height: 24px;
  }


.footer-bottom {
    padding: 1.5rem 1rem 0.75rem;
    gap: 1rem;
  }


.footer-logo {
    max-width: 160px;
  }


.footer-company-info {
    font-size: 0.8rem;
  }


.footer-notice {
    font-size: 0.8rem;
  }


.book-series {
    padding: 2.5rem 0;
  }


.book-series-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }


.book-series-images {
    gap: 0rem;
    padding: 1.5rem 0;
    flex-wrap: nowrap;
    justify-content: center;
  }


.book-item {
    max-width: 110px;
    min-width: 110px;
  }


.book-item:nth-child(1) {
    transform: rotate(-12deg) translateY(8px);
    margin-right: -20px;
  }


.book-item:nth-child(2) {
    transform: rotate(0deg) translateY(-12px);
    margin: 0 -20px;
    z-index: 2;
  }


.book-item:nth-child(3) {
    transform: rotate(12deg) translateY(8px);
    margin-left: -20px;
  }


.book-item:hover {
    transform: scale(1.05) rotate(0deg) translateY(-10px) !important;
  }


.book-series-description {
    font-size: 1rem;
    padding: 0 1rem;
  }


.sp_br {
    display: block;
  }

}