/* ヘッダー */
.header {
  background: #fff;
  border-bottom: 1px solid var(--sub-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

/* ロゴ */
.logo-img {
  width: 180px;
  height: auto;
  display: block;
}

/* ナビ */
.nav {
  display: none;
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
}

/* ログインボタン */
.login-btn {
  background: #3e3a3a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* キャンペーンバー */
.campaign-bar {
  background: #3e3a3a;
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: bold;
}

.campaign-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

/* PC表示 */
@media (min-width: 768px) {
  .nav {
    display: block;
  }
}

/* サイトマップ */

.breadcrumb {
  max-width: 1000px;   /* 会社概要と同じ幅 */
  margin: 30px auto 20px;
  padding: 0 20px;
  text-align: left;    /* センターやめる */
  font-size: 14px;
}

.breadcrumb a {
  color: #3e3a3a;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
  color: #666;
}


/* フッター */


.footer {
  background: #3e3a3a;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-row a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  text-align: center;
}

.footer-copy p {
  font-size: 12px;
  color: #ccc;
}

.footer-logo-img {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  display: block;
}

/* ハンバーガー */

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #3e3a3a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
  }

  .logo {
    flex: 1;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    z-index: 9999;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #3e3a3a;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* ----------------基本CSS -----------------------------------*/

/* ========================================
   FAQカテゴリページ 全体
======================================== */
.faq-category-page {
  padding: 20px 20px 60px;
  background: #fff;
}

/* 見出し */
.faq-category-heading {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

.faq-category-heading h1 {
  font-size: 40px;
  color: #3e3a3a;
  margin-bottom: 15px;
}

.faq-category-heading p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* ========================================
   FAQ 質問一覧
======================================== */
.faq-category-list {
  max-width: 900px;
  margin: 0 auto 60px;
}

/* 1項目 */
.faq-category-list .faq-item {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* 質問ボタン */
.faq-category-list .faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  color: #3e3a3a;
  font-weight: bold;
}

/* 質問文 */
.faq-category-list .faq-question span:first-child {
  flex: 1;
  line-height: 1.6;
}

/* + / - アイコン */
.faq-category-list .faq-icon {
  font-size: 22px;
  font-weight: bold;
  margin-left: 15px;
  flex-shrink: 0;
  color: #3e3a3a;
}

/* 回答 */
.faq-category-list .faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  text-align: left;
  background: #fff;
  border-top: 1px solid #eee;
}

/* ========================================
   他カテゴリ導線
======================================== */
.faq-bottom-links {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 40px 20px;
  background: #f8f8f8;
  border-radius: 14px;
  text-align: center;
}

.faq-bottom-links h2 {
  display: inline-block;
  background: #e6e5ef;
  color: #3e3a3a;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 28px;
  margin-bottom: 25px;
}

/* 他カテゴリ一覧 */
.faq-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.faq-bottom-card {
  display: block;
  background: #fff;
  border: 1px solid #3e3a3a;
  border-radius: 10px;
  padding: 18px 15px;
  color: #3e3a3a;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.faq-bottom-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* ========================================
   CTA
======================================== */
.faq-cta {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 50px 20px;
  background: #e6e5ef;
  border-radius: 14px;
  text-align: center;
}

.faq-cta h2 {
  display: inline-block;
  background: #fff;
  color: #3e3a3a;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 28px;
  margin-bottom: 15px;
}

.faq-cta p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* ボタン */
.faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.faq-btn {
  display: inline-block;
  width: 240px;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.faq-btn-main {
  background: #3e3a3a;
  color: #fff;
}

.faq-btn-line {
  background: #06C755;
  color: #fff;
}

/* ========================================
   スマホ対応
======================================== */
@media (max-width: 768px) {

  .faq-category-page {
    padding: 20px 15px 50px;
  }

  .faq-category-heading h1 {
    font-size: 28px;
  }

  .faq-category-heading p {
    font-size: 14px;
  }

  .faq-category-list .faq-question {
    font-size: 15px;
    padding: 16px;
  }

  .faq-category-list .faq-answer {
    font-size: 14px;
    padding: 0 16px 16px;
  }

  .faq-bottom-links {
    padding: 30px 15px;
  }

  .faq-bottom-links h2 {
    font-size: 22px;
    padding: 10px 18px;
  }

  .faq-bottom-grid {
    grid-template-columns: 1fr;
  }

  .faq-bottom-card {
    padding: 16px 12px;
    font-size: 14px;
  }

  .faq-cta {
    padding: 40px 15px;
  }

  .faq-cta h2 {
    font-size: 22px;
    padding: 10px 18px;
    line-height: 1.5;
  }

  .faq-btn {
    width: 90%;
    max-width: 300px;
  }
}

.faq-btn-main-order {
  background: #ff6b6b;
  color: #fff;
}
