@charset "utf-8";

/* ================================================================= */
/* 法人概要ページ company.css                                        */
/* ================================================================= */

/* Hero */
.company-hero {
  background: var(--color-bg-mid);
  padding: 160px 20px 100px;
  text-align: center;
}
.company-hero .en_title {
  font-size: 40px;
}
.company-hero .jp_title {
  font-size: 16px;
  margin-top: 8px;
}

/* Info List */
.company-info {
  padding: 60px 20px;
  background-color: #fff;
}
.company-info .info-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.company-info dt {
  font-weight: bold;
  color: var(--color-font-base);
  margin-bottom: 4px;
}
.company-info dd {
  margin: 0 0 20px;
  color: var(--color-font-deep-base);
  line-height: 1.6;
}

/* Message */
.company-message {
  padding: 60px 20px;
  background-color: var(--color-bg-light);
  text-align: center;
}
.company-message .message-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}
.company-message .message-text {
  font-size: 15px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* Business */
.company-business {
  padding: 60px 20px 100px;
  background-color: #fff;
  text-align: center;
}
.company-business .section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}
.company-business .business-list {
  list-style: none;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: center;
}
.company-business .business-list li {
  background: var(--color-bg-base);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .company-info .info-list {
    grid-template-columns: 1fr;
  }
  .company-business .business-list {
    flex-direction: column;
    align-items: center;
  }
}

/* —————————————————————————————— */
/* 法人概要：カード型グリッドレイアウト */
/* —————————————————————————————— */
.company-info {
  padding: 60px 20px;
  background-color: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.info-card {
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.info-card:hover {
  transform: translateY(-4px);
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-bg-gold);
  margin-bottom: 12px;
}

.card-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-font-deep-base);
  margin: 0;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* QAページ */
.qa-top-section {
  background: linear-gradient(rgba(188, 225, 222, 0.75), rgba(253, 255, 251, 0.75)), url('../img/bg_main2.jpg') no-repeat center/cover;
  padding-top: 200px;
  padding-bottom: 100px;
}

.service-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.qa-box {
  background: rgba(255, 255, 255, 0.60);
  padding: 40px;
  text-align: center;
}

.service-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* FAQ: タブ＋アコーディオン＋検索 */
/* ベースレイアウト */
.faq-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}
.faq-search {
  margin: 30px auto;
}
#faqFilter {
  width: 80%;
  max-width: 400px;
  padding: 10px 15px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* タブ */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.faq-tab-btn {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  background: #eee;
  border-radius: 20px;
  cursor: pointer;
  transition: background .3s;
}
.faq-tab-btn.active,
.faq-tab-btn:hover {
  background: var(--color-bg-base);
  color: #fff;
}

/* パネル */
.faq-panel {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.faq-panel.active {
  display: block;
}

/* ジャンルタイトル */
.panel-title {
  position: relative;
  background: url('../img/img_qa_title.svg') no-repeat center center;
  background-size: contain;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-font-deep-base);
  padding: 40px 0;
  margin-bottom: 20px;
  text-align: center;
}

/* アコーディオン */
.faq-item + .faq-item { margin-top: 10px; }
.faq-question {
  padding: 12px;
  background: #f8f7f3;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  transition: transform .3s;
}
.faq-question.open::after {
  content: '–';
}
.faq-answer {
  display: none;
  padding: 12px 20px;
  border-left: 3px solid var(--color-bg-base);
  background: #fff;
  line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .faq-tabs { gap: 5px; }
  .faq-tab-btn { font-size: 12px; padding: 6px 12px; }
}