/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import "actiontext";

button {
  cursor: pointer;
}

.prose h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}
.prose h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}
.prose p {
  margin-bottom: 1em;
  line-height: 1.6;
}
.prose ul {
  margin-left: 1.5em;
  list-style-type: disc;
  margin-bottom: 1em;
}
.prose ol {
  margin-left: 1.5em;
  list-style-type: decimal;
  margin-bottom: 1em;
}
.prose li {
  margin-bottom: 0.5em;
}
.select-options {
  transition: all 0.3s ease;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.select-options.open {
  opacity: 1;
  max-height: 500px;
}

.select-option:hover {
  background-color: #f3f4f6;
}

.select-chevron {
  transition: transform 0.3s ease;
}

.select-chevron.open {
  transform: rotate(180deg);
}

input[type="radio"] {
  accent-color: black;
}
.swiper-container {
  width: 100%;
  height: 280px;
  overflow-x: hidden;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .swiper-slide img {
    object-fit: contain;
  }
}

.swiper-slide-active {
  transform: scale(1.1);
  z-index: 2;
}

.swiper-pagination-bullet {
  background: #252322 !important;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -34px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-family: swiper-icons;
  font-size: 14px;
  color: white;
  width: 40px !important;
  height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
  background: #252322;
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
}

.swiper-button-next {
  right: 29% !important;
}

.swiper-button-prev {
  left: 29% !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px !important;
}

.responsive-font {
  font-family: "Noto Sans JP", sans-serif;
}

@media (min-width: 768px) {
  .responsive-font {
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  }
}

/* シャドウ問題解決 */
.pre-top-shadow {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.06);
}
/* ヘッダーのモバイルメニューアニメーション */

/* 初期状態：画面外（左側）に配置 */
.menu-enter {
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}

/* アニメーション完了状態：元の位置 */
.menu-enter-active {
  transform: translateX(0);
  transition: transform 0.4s ease-in-out;
}

/* 閉じるアニメーション：画面外（右側）へ */
.menu-exit {
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}

/* レスポンシブ背景サイズ用のカスタムクラス */
.bg-responsive {
  background-size: 140%;
}

@media (min-width: 768px) {
  .bg-responsive {
    background-size: cover;
  }
}

/* 利用規約ページのリストスタイル */
.bullet-dot {
  width: 4px;
  height: 4px;
  background-color: var(--color-primary-black);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.6em;
}

.bullet-dot-white {
  width: 4px;
  height: 4px;
  background-color: var(--color-primary-white);
  border: 1px solid var(--color-primary-black);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.6em;
}

.bullet-square {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary-black);
  flex-shrink: 0;
  margin-top: 0.4em;
}

.section-border {
  border-bottom: 1px solid var(--color-secondary-pailgrey);
  padding-bottom: 2.5rem; /* pb-10 */
}

.section-border-padded {
  border-bottom: 1px solid var(--color-secondary-pailgrey);
  padding-top: 2.5rem; /* py-10 */
  padding-bottom: 2.5rem;
}

/* リストアイテム */
.list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem; /* gap-2 */
}

/* セクションヘッダー */
.section-header {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  margin-bottom: 1rem; /* mb-4 */
}
