/* ======================================== */
/* スライダー */
/* ======================================== */
.slide-section {
  display: flex;
  gap: 24px;
}

.slide-box {
  background-color: #fff;
  display: grid;
  width: 330px;
  height: 700px;
}

.slider {
  display: flex;
  flex-direction: column-reverse;
  background-color: #efefef;
  overflow: hidden;
  gap: 16px;
}

.slider-list {
  display: flex;
  flex-direction: column-reverse;
  margin: 0;
  padding: 0;
  align-items: center;
  animation: slideShow 20s infinite linear;
  list-style: none;
  gap: 16px;
}

.slider-list-reverse {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  align-items: center;
  animation: re-slideShow 20s infinite linear;
  list-style: none;
  gap: 16px;
}

.slider-item {
  width: 400px;
  height: 300px;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 0.5rem;
}



@keyframes slideShow {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes re-slideShow {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0%);
  }
}

@media screen and (max-width: 1440px) {
  .hero-content {
    flex-direction: column;
    gap: 40px;
  }

  .slide-box {
    max-width: 330px;
    width: 100%;
    height: 400px;
  }

  .hero-actions {
    justify-content: center;
  }
}



/* ======================================== */
/* スライダー自作 */
/* ======================================== */
.wrapper {
  overflow: hidden;
  width: 100%;
}

.slider__inner img,
.reverse__inner img {
  width: 120px;
  max-width: none;
}

.slider-box,
.reverse-slider-box {
  display: flex;
}

.slider__inner,
.reverse__inner {
  display: flex;
}

.slider__inner:first-child {
  animation: loop 120s linear infinite;
}

.slider__inner:nth-child(2) {
  animation: loop2 120s -40s linear infinite;
}

.slider__inner:nth-child(3) {
  animation: loop3 120s -80s linear infinite;
}

@keyframes loop {
  0% {
    transform: translateX(200%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-200%);
  }
}

@keyframes loop3 {
  0% {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-300%);
  }
}

/* 左から右 */
.reverse__inner:first-child {
  animation: loop4 120s linear infinite;
}

.reverse__inner:nth-child(2) {
  animation: loop5 120s -40s linear infinite;
}

.reverse__inner:last-child {
  animation: loop6 120s -80s linear infinite;
}

@keyframes loop4 {
  0% {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(200%);
  }
}

@keyframes loop5 {
  0% {
    transform: translateX(-200%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes loop6 {
  0% {
    transform: translateX(-300%);
  }

  to {
    transform: translateX(0%);
  }
}

@media screen and (max-width: 520px) {

  .slider__inner img,
  .reverse__inner img {
    width: 80px;
  }
}

.bitai p {
  text-align: end;
  padding: 8px 16px;
}

/* ヒーローセクション */

.hero,
.pricing,
.faq {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  /* height: 100vh; */
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero {
  /* background: linear-gradient(
    90deg,
    rgba(152, 149, 248, 1) 0%,
    rgba(242, 169, 224, 1) 51%,
    rgba(224, 102, 112, 1) 100%
  ); */
  min-height: 900px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero-text {
  flex: 1;
  /* padding-right: 80px; */
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 32px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-description {
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 32px;
  text-shadow: 0px 3px 4px rgba(255, 255, 255, 0.4);
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-images {
  flex: 1;
  display: flex;
  gap: 16px;
  height: 900px;
  position: relative;
  overflow: hidden;
}

/* ------------------------------------------------- */
/* 動画 */
/* ------------------------------------------------- */
.features iframe {
  width: 960px;
  height: 540px;

}

@media screen and (max-width: 1024px) {
  .features iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ------------------------------------------------- */
/* 媒体一覧 */
/* ------------------------------------------------- */
.slider-section h2 {
  text-align: end;
  font-size: 1rem;
  padding-right: 16px;
}

/* ロゴセクション */
/* .logo-section {
  background: linear-gradient(
    90deg,
    rgba(152, 149, 248, 1) 0%,
    rgba(242, 169, 224, 1) 51%,
    rgba(224, 102, 112, 1) 100%
  );
  padding: 80px 0;
  text-align: center;
}

.logo-section .section-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 32px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-item {
  width: 200px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
} */

/* サービス詳細セクション */
.services {
  background: #ffffff;
  padding: 112px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  background: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #000000;
}

.service-description {
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

.service-image {
  grid-column: 2;
  grid-row: 1 / 4;
}

.service-img {
  aspect-ratio: 2 / 2;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.services-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.services-actions a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3ewm;
}

/* 料金プランセクション */
.back-title {
  border: 1px solid #ad27fa;
  color: #ad27fa;
}

.back-gray {
  background: #f7f8f9;
}

.pricing {
  padding: 116px 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 80px;
}

.pricing-header .section-title {
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing-header .section-description {
  color: #000000;
}

.pricing-table {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

/* モバイル用カードレイアウト */
.pricing-cards {
  display: none;
  gap: 24px;
  flex-direction: column;
}

.pricing-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.card-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ad27fa;
}

.card-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
}

.price-period {
  font-size: 14px;
  color: #666;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card .feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-label {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.feature-value {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.feature-value.check {
  color: #28a745;
  font-weight: bold;
  font-size: 16px;
}

.table-header {
  display: grid;
  grid-template-columns: 283px 1fr 1fr 1fr 1fr;
  background: #ffffff;
  gap: 16px;
}

.table-row {
  display: grid;
  grid-template-columns: 283px 1fr 1fr 1fr 1fr;
  /* border-bottom: 1px solid #e9ecef; */
  gap: 16px;
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.5;
  font-weight: bold;
  color: #ad27fa;
}

.table-cell span {
  font-size: 0.8rem;
}

.table-cell:first-child {
  justify-content: flex-start;
  font-weight: 600;
  font-size: 13px;
  color: #333;
}

.header-cell {
  font-weight: 700;
  font-size: 20px;
  /* color: #fff; */
}

.price {
  font-weight: 700;
  font-size: 24px;
  color: #000000;
}

.check {
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
  width: 16px;
  height: 16px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .pricing-table {
    padding: 12px;
  }

  .table-header,
  .table-row {
    grid-template-columns: 200px 1fr 1fr 1fr 1fr;
    gap: 12px;
  }

  .table-cell {
    padding: 12px 16px;
    font-size: 14px;
  }

  .table-cell:first-child {
    font-size: 12px;
  }

  .header-cell {
    font-size: 18px;
  }

  .price {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .pricing {
    padding: 80px 0;
  }

  .pricing-header {
    margin-bottom: 60px;
  }

  /* デスクトップ用テーブルを非表示 */
  .desktop-table {
    display: none;
  }

  /* モバイル用カードを表示 */
  .mobile-cards {
    display: flex;
  }

  .pricing-card {
    padding: 20px;
  }

  .card-title {
    font-size: 22px;
  }

  .price-amount {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .pricing {
    padding: 60px 0;
  }

  .pricing-header {
    margin-bottom: 40px;
  }

  .pricing-card {
    padding: 16px;
  }

  .card-title {
    font-size: 20px;
  }

  .price-amount {
    font-size: 24px;
  }

  .feature-item {
    padding: 10px 0;
  }

  .feature-label,
  .feature-value {
    font-size: 13px;
  }
}

/* FAQセクション */
.faq {
  background: #fff;
  padding: 112px 0;
}

.faq-content {
  display: flex;
  gap: 16px;
}

.faq-header {
  flex: 1;
}

.faq-header .section-title {
  color: #eeeeee;
  /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
  text-align: left;
  margin-bottom: 32px;
}

.faq-header .section-description {
  text-align: left;
  margin-bottom: 32px;
}

/* .faq-header .btn {
  border: 2px solid #ffffff;
} */
.faq-header .btn a {
  color: #fff;
  text-decoration: none;
}

.faq-list {
  flex: 1;
  background: #ffffff;
  /* border-radius: 8px; */
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #000000;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0c0ff;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.question-text {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
  padding-left: 20px;
}

.question-text::before {
  position: absolute;
  content: "Q";
  font-size: 1.5rem;
  top: -5px;
  left: 0px;
  color: #ad27fa;
  transition: all 0.3s ease;
}

.faq-question:hover .question-text::before {
  transform: scale(1.1);
  color: #8a1fa8;
}

.arrow-icon {
  width: 32px;
  height: 32px;
  color: #000000;
  transition: transform 0.3s ease;
}

.faq-question.active .arrow-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.active {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

/* FAQリスト */
.faq-list dl {
  margin: 0;
}

.faq-list dl>div {
  margin-bottom: 8px;
  border-bottom: 1px solid #aeaeae;
}

.faq-list dt {
  padding: 16px;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: all 0.5s;
}

.faq-list dt:hover {
  background: #ad27fa;
  transition: all 0.5s;
  color: #fff;
}

.faq-list dt:hover::before {
  color: #fff;
  transition: all 0.5s;
}

.faq-list div.appear dt {
  background: #ad27fa;
  color: #fff;
}

.faq-list dt::before {
  content: "Q. ";
  color: #ad27fa;
}

.faq-list dl>div.appear dt::before {
  color: #fff;
}

.faq-list dt::after {
  content: "＋";
  position: absolute;
  top: 16px;
  right: 16px;
  transition: transform 0.3s;
}

.faq-list dl>div.appear dt::after {
  transform: rotate(45deg);
}

.faq-list dd {
  margin: 0;
  padding: 16px;
  display: none;
}

.faq-list dd::before {
  content: "A. ";
  color: #e73c7e;
}

.faq-list dl>div.appear dd {
  display: block;
  animation: 0.5s fadeIn;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@media screen and (max-width: 1440px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-image {
    max-width: 600px;
    max-height: 600px;
    margin: 0 auto;
    grid-column: 1;
    grid-row: auto;
  }
}

@media screen and (max-width: 900px) {
  .faq-content {
    flex-direction: column;
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

@media screen and (max-width: 520px) {
  .hero-title {
    font-size: 32px;
  }

  hero-description {
    font-size: 16px;
  }
}
