@charset "UTF-8";

/*-----------------------------------------------------
Lingerica+vote用スタイルシートFAQ用
FileName:	defualt/style.css
Version:	06.11.11
-----------------------------------------------------*/
/* ===============================
   基本レイアウト
   =============================== */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b7280; /* gray-500 */
  --border: #e5e7eb; /* gray-200 */
  --accent: #12b886; /* green accent */
  --accent-weak: #e6f7f1; /* light green bg */
  --highlight: #ff8a00; /* orange highlight */
  --card-bg: #f9fafb; /* gray-50 */
}
/*
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
*/
body {
  margin: 0;
  padding: 0;
  background: #fafafa;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #222;
}
/* Header */
/*
.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
*/
.site-header {
  text-align: center;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
  width:100%;
}

.logo a {
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.logo .plus {
  color: #e48dab;
}
.subtitle {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-btn {
  width: 34px; height: 34px;
  background: transparent; border: none; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-btn span {
  display: block; width: 18px; height: 2px; background: var(--text);
  margin: 2px 0; border-radius: 2px;
}
.logo {
  font-weight: 700; color: var(--text); text-decoration: none;
}

.faq-title-wrap {
  grid-column: 1 / -1;
}
.faq-title {
  margin: 4px 0 0 0;
  font-size: 22px;
}
.faq-sub {
  margin: 4px 0 0 0; color: var(--muted); font-size: 14px;
}

/* Search */
.faq-search {
  grid-column: 1 / -1;
  display: flex; gap: 8px; align-items: center;
}
.faq-search input[type="search"] {
  width: 100%; max-width: 520px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}
.faq-search input[type="search"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18,184,134,0.15);
}
.faq-search button {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  cursor: pointer;
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

/*パン屑リスト*/

.breadcrumb {
  margin-bottom: 0px;
  padding-left: 10px;
  list-style: none;
  /*background-color: #fff;*/
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-weight: normal;/*太字*/
}

.breadcrumb li:after {/* ▶を表示*/
  content: '>';
  padding: 0 0.2em;
  color: silver;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #888;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}



/* Sections */
.section { margin: 24px 0; }
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; margin: 0 0 12px;
}
.section-icon { font-size: 18px; }

/* Cards for Free/Anonymous */
.highlight-cards {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.card.positive {
  border-color: var(--accent);
  background: var(--accent-weak);
}
.card.note {
  border-left: 3px solid var(--highlight);
}

/* QA blocks */
.qa { padding: 8px 0; }
.qa-q { margin: 0 0 4px; font-size: 16px; }
.qa-a { margin: 0; color: var(--text); }

/* Accordion (details/summary) */
.accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg);
}
.accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  position: relative;
}
.accordion > summary::marker { display: none; }
.accordion > summary::after {
  content: "▸";
  position: absolute; right: 16px; color: var(--muted);
  transition: transform 0.2s ease;
}
.accordion[open] > summary::after { transform: rotate(90deg); color: var(--accent); }
.accordion-body {
  border-top: 1px solid var(--border);
  padding: 8px 16px 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (min-width: 640px) {
  .highlight-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .site-header {
    grid-template-columns: 1fr 320px;
    align-items: center;
  }
  .faq-title-wrap { grid-column: 1 / 2; }
  .faq-search { grid-column: 2 / 3; justify-self: end; }
}

/* Optional: prefers-color-scheme for dark mode preview */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1220;
    --text: #f6f7fb;
    --muted: #a3a8b7;
    --border: #1f2334;
    --card-bg: #14182a;
    --accent-weak: #0d2a23;
  }
  .menu-btn span { background: var(--text); }
  .accordion { border-color: var(--border); }
  .faq-search input[type="search"] { border-color: var(--border); background: #0f1220; color: var(--text); }
  .faq-search button { border-color: var(--border); background: var(--card-bg); color: var(--text); }
}
