@charset "UTF-8";
/* ====================================
   FAQ Page Sections
   ==================================== */

/* ==========================================================================
   Base & Common Settings (Service Page Specific)
   ========================================================================== */
main {
  padding-top: 225px;
}

.section-padding {
  padding-top: 0;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  main {
    padding-top: 100px;
  }
  .section-padding {
    padding-bottom: 80px;
  }
}

/* ==========================================================================
   Page Header (Title)
   ========================================================================== */
.page-header {
  padding-bottom: 130px;
  background-color: #fff;
}
.page-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: none;
  padding-bottom: 0;
}

.page-title {
  font-size: 100px;
  font-weight: 700;
  line-height: 0.8;
  color: #333;
}
.page-title .ja {
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  font-size: 20px;
  color: #008fcc;
  margin-top: 25px;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.breadcrumbs {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-left: 40px;
  margin-bottom: 10px;
}
.breadcrumbs a {
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s;
  font-weight: 700;
}
.breadcrumbs a:hover {
  opacity: 0.7;
}
.breadcrumbs .current {
  color: #333;
}
.breadcrumbs span:not(.current) {
  font-size: 0;
  display: inline-block;
  width: 75px;
  height: 1px;
  background-color: #000;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .page-header {
    padding-bottom: 50px;
  }

  .page-header__inner {
    flex-direction: column;
    align-items: flex-start; 
    gap: 20px;
  }
  
  .page-title {
    font-size: 60px;
  }
  
  .breadcrumbs {
    margin-left: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
  }
  
  .breadcrumbs span:not(.current) {
    width: 30px;
    margin: 0 10px;
  }
}


/* ====================================
   FAQ Page Styles
   ==================================== */

/* ------------------------------------
   Category Navigation
   ------------------------------------ */
.faq-category-nav {
}

.faq-category-nav .container {
  background-color: #eaf8ff;
  padding: 50px 60px;
  border-radius: 4px;
  display: flex;
  align-items: stretch;
}

.cat-label {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  padding-right: 50px;
  margin-right: 70px;
  border-right: 1px solid #000;
  line-height: 1;
  white-space: nowrap;
  font-family: "Outfit", sans-serif;
  display: flex;
  align-items: center; 
}

.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  align-content: center;
}

.cat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 25px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
  box-sizing: border-box;
}

.cat-btn:hover,
.cat-btn.active {
  background-color: #000;
  color: #fff;
}

/* ------------------------------------
   Responsive (max-width: 768px)
   ------------------------------------ */
@media (max-width: 768px) {
  .faq-category-nav .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
  }

  .cat-label {
    border-right: none;
    border-bottom: 1px solid #000;
    padding-right: 0;
    padding-bottom: 15px;
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
    font-size: 32px;
    display: block; 
  }

  .cat-list {
    gap: 10px;
  }

  .cat-btn {
    font-size: 14px;
    height: 40px;
    padding: 0 15px;
  }
}



/* ------------------------------------
   FAQ List Area
   ------------------------------------ */
.faq-list-area {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-category-group {
  scroll-margin-top: 200px;
}

.faq-category-group:last-child {
  margin-bottom: 0;
}

.faq-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;;
}

/* アコーディオンアイテム */
.faq-item {
  border-bottom: 1px solid #ccc;
}
.faq-item:first-of-type {
  border-top: 1px solid #ccc;
}

/* 質問 (Q) 部分 */
.faq-question {
  padding: 25px 50px 25px 0; /* 右paddingはアイコン分空ける */
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: rgba(0,0,0,0.02);
}

.q-mark {
  color: #00b4d8; /* 水色 */
  font-size: 36px;
  font-weight: 700;
  margin-right: 15px;
  line-height: 1.2;
}

.q-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
}

/* 開閉アイコン (+ / -) */
.toggle-icon {
  position: absolute;
  right: 30px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
  transition: all 0.3s;
}

/* 横棒 */
.toggle-icon::before {
  width: 100%;
  height: 2px;
}
/* 縦棒 */
.toggle-icon::after {
  width: 2px;
  height: 100%;
}

/* 開いている状態 (.is-open) */
.faq-item.is-open .toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0; /* 縦棒を消してマイナスにする */
}

/* 回答 (A) 部分 */
.faq-answer {
  display: none; /* JSがない場合は初期非表示、JSでslideToggle等を想定 */
  padding: 0 0 30px 40px; /* Qマークの下あたりから開始 */
  color: #333;
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
  font-weight: 500;
}

/* CSSのみで開いている状態を表示する場合 */
.faq-item.is-open .faq-answer {
  display: block;
}

.ans-inner {
  padding-right: 20px;
}

.ans-text {
  margin-bottom: 20px;
}

.text-link {
  color: #00b4d8;
  font-weight: 700;
}

.ans-image {
  max-width: 600px;
  margin-top: 20px;
}
.ans-image img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
}

/* ------------------------------------
   Responsive (max-width: 768px)
   ------------------------------------ */
@media (max-width: 768px) {
  /* カテゴリナビ */
  .faq-category-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 50px;
  }

  .cat-label {
    border-right: none;
    border-bottom: 1px solid #999;
    padding-right: 0;
    padding-bottom: 10px;
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    font-size: 20px;
  }

  .cat-list {
    gap: 10px;
  }

  .cat-btn {
    font-size: 13px;
    padding: 8px 15px;
  }

  /* FAQリスト */
  .faq-section-title {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .faq-category-group {
    scroll-margin-top: 120px; /* スマホのヘッダー高さに合わせて調整 */
  }
  
  .faq-question {
    padding: 20px 40px 20px 0;
  }

  .q-mark {
    font-size: 20px;
    margin-right: 10px;
  }

  .q-text {
    font-size: 16px;
  }
  
  .toggle-icon {
    top: 20px;
  }

  .faq-answer {
    padding: 0 0 20px 0; /* スマホでは左余白をなくして幅広く使う */
  }
  
  .ans-text {
    font-size: 14px;
  }
}