/* 請求上手PLUS専用スタイル */
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-button-primary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #0f4c81;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-button-primary:hover {
  background: rgba(15, 76, 129, 0.95);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(15, 76, 129, 0.3);
}

.hero-button-secondary {
  background: rgba(15, 76, 129, 0.9);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-button-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #0f4c81;
  border-color: #0f4c81;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.feature-card-fixed {
}

.resource-card-fixed {
}

.rounded-button {
  border-radius: 4px;
}

/* Cookie Consent Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* Carousel Indicators */
.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6 !important;
}

.carousel-indicator.active {
  opacity: 1 !important;
  background-color: #0f4c81;
}

.carousel-indicator:hover {
  opacity: 0.8 !important;
}

/* Tooltip Styles */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 1000;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

.tooltip-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Disabled link styling */
.link-disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.link-disabled:hover {
  text-decoration: none !important;
  background-color: inherit !important;
  color: inherit !important;
}

/* Smooth scroll offset for fixed header */
html {
  scroll-behavior: smooth;
}

/* Add padding-top to sections to account for fixed header */
section[id] {
  scroll-margin-top: 100px;
}

/* Adjust for different screen sizes */
@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}

/* Carousel custom styles */
.carousel-item-custom {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item-custom.active {
  display: block;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* FAQ Q&A Alignment - Simple approach */
.faq-question,
.faq-answer {
  /* Basic FAQ styling without ::before pseudo-elements */
}

/* New FAQ Section Styles */
#faq-section .faq-summary {
  list-style: none; /* デフォルトのマーカーを非表示にする */
  outline: none;
}

#faq-section .faq-summary::-webkit-details-marker {
  display: none; /* Chrome/Safari のデフォルトマーカーを非表示 */
}

#faq-section details[open] .faq-summary {
  /* 開いている状態のサマリーのスタイル */
  background-color: #f0f8ff; /* 薄いブルーなど、開いていることを示す色 */
}

#faq-section .faq-content {
  padding-left: 1rem; /* サマリーと内容のインデントを合わせる */
  border-top: 1px solid #e0e0e0; /* 内容の上に区切り線 */
  margin-top: 0.5rem;
  /* Add these for transition */
  max-height: 0; /* Initially collapsed */
  overflow: hidden;
  transition:
    max-height 0.5s ease-out,
    opacity 0.5s ease-out,
    padding 0.5s ease-out; /* 0.3sから0.5sに変更 */
  opacity: 0; /* Initially invisible */
}

#faq-section .faq-content p {
  margin-bottom: 0; /* TailwindCSSのデフォルトマージンをリセット */
}

#faq-section details[open] .faq-content {
  max-height: 500px; /* Sufficiently large to show content */
  opacity: 1; /* Fully visible */
  padding-top: 1rem; /* Adjust padding for open state */
  padding-bottom: 1rem; /* Adjust padding for open state */
}

/* Background image for flow section */
.flow-background {
  background-image: url("/static/images/seikyu_plus/about-image.png");
  opacity: 0.05;
}

/* Add a plus/minus icon for summary */
#faq-section .faq-summary {
  position: relative;
  padding-right: 2.5rem; /* アイコン分のスペースを確保 */
}

#faq-section .faq-summary::after {
  content: "\2b"; /* プラス記号 */
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease-in-out;
}

#faq-section details[open] .faq-summary::after {
  content: "\2212"; /* マイナス記号 */
  transform: translateY(-50%) rotate(0deg); /* 開いたときに回転させない */
}

/* CTA Section Background */
.about-section-bg {
  background-image: url("/static/images/seikyu_plus/about-image.png");
  background-attachment: fixed;
}
