/* theme.css
   ここを編集すると、雰囲気（アクセント色など）を崩さずに変更できます。
   ※ tailwind生成CSSの上書きなので !important を使っています
*/

:root{
  /* rgbの3値（スペース区切り） */
  --accent: 74 157 156;          /* 現在のボタン色 */
  --accent-hover: 91 179 178;    /* hover時 */
  --accent-soft: 74 157 156 / 0.12;
}

/* Primary */
.bg-accent{ background-color: rgb(var(--accent)) !important; }
.hover\:bg-accent-hover:hover{ background-color: rgb(var(--accent-hover)) !important; }

/* Text accent */
.text-accent{ color: rgb(var(--accent)) !important; }

/* Soft backgrounds (if used) */
.bg-accent\/10{ background-color: rgb(var(--accent-soft)) !important; }

/* 追加でいじりたい場合はこの下に追記 */


/* Planned pricing highlight (optional) */
.raku-plan-highlight{
  border: 1px solid rgba(245,245,240,0.35) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.45) !important;
  transform: translateY(-2px);
}


/* FAQ (PremiumPage.txt と同一の見せ方に寄せる) */
#faq-chips{
  gap: 10px;
}

.raku-faq-chip{
  height: 32px;
  padding: 0 15px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  color: #666;
  font-size: 13px;
  font-weight: 700;
  line-height: 32px;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 150ms ease;
}
.raku-faq-chip:hover{ transform: translateY(-1px); }
.raku-faq-chip.is-active{
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #FFFFFF;
}

.raku-faq-item{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  transition: background-color 200ms ease, border-color 200ms ease, border-width 200ms ease;
}
.raku-faq-item.is-open{
  background: #FFFaf0;
  border-color: #F39C12;
  border-width: 2px;
}
.raku-faq-accent{
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: #F39C12;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.raku-faq-item.is-open .raku-faq-accent{
  opacity: 1;
}

.raku-faq-q{
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: padding-left 200ms ease, background-color 150ms ease;
}
.raku-faq-item:not(.is-open) .raku-faq-q:hover{
  background: #FAFAFA;
}
.raku-faq-item.is-open .raku-faq-q{
  padding-left: 30px;
}

.raku-faq-qicon{
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #E0EAFC;
  color: #4A90E2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 32px;
}
.raku-faq-qtext{
  flex: 1;
  font-size: 15px;
  font-weight: 800;
  color: #333;
  line-height: 1.35;
}
.raku-faq-arrow{
  font-size: 12px;
  color: #999;
  transition: transform 300ms ease, color 200ms ease;
  flex: 0 0 auto;
}
.raku-faq-item.is-open .raku-faq-arrow{
  transform: rotate(180deg);
  color: #F39C12;
}

.raku-faq-answer{
  overflow: hidden;
  max-height: 0px;
  opacity: 0;
  transition: max-height 300ms ease, opacity 200ms ease;
  padding: 0 20px 0 20px;
}
.raku-faq-item.is-open .raku-faq-answer{
  opacity: 1;
  padding-bottom: 20px;
}
.raku-faq-ans-row{
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.raku-faq-aicon{
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: transparent;
  color: #F39C12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 32px;
}
.raku-faq-atext{
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  white-space: pre-line;
}
