/* === リセット & ベース === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  color: #333;
  background: url("../img/backgroundimage-1.png") no-repeat center center / cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-attachment: fixed;
}
.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: #605f5f;
}

/* === ヘッダー === */
.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 60px;
  height: auto;
}

/* === ナビゲーション === */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s;
}
.site-nav a:hover {
  background: rgba(0,0,0,0.05);
}
.site-nav a.active {
  background: #969292;
  color: #fff;
}
.site-nav .btn-contact {
  background: #2dbbe6;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
}
.site-nav .btn-contact:hover {
  opacity: 0.9;
}

/* === ハンバーガーメニュー === */
.menubar {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menubar .bar {
  width: 100%;
  height: 3px;
  background-color: #605f5f;
}

/* === フッター === */
.site-footer {
  text-align: center;
  font-size: 12px;
  color: #000;
  padding: 15px 0;
  background-color: rgba(255,255,255,0.7);
}

/* === mainコンテンツ === */
.form-container {
  width: 100%;
  max-width: 800px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.business-section h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* === FAQリスト === */
.faq-list {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 600; /* ← A6サイズに合わせた最大幅 */
}

/* FAQアイテム共通 */
.faq-item {
  display: grid;
  grid-template-columns: 40px 1fr; /* Q/A横並び */
  grid-template-rows: auto auto;
  gap: 10px 15px;
  align-items: start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  width: 100%;          /* FAQリスト幅に合わせる */
  box-sizing: border-box;
}

/* Q部分（クリック可能） */
.faq-question {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 6px;
  transition: background 0.3s;
  border: 2px solid #aaa;
  transition: background 0.3s, border-color 0.3s;
}
.faq-question:hover {
  background: #eee;
}
.q-label {
  font-weight: bold;
  color: #000;
  font-size: 16px;
}
.q-text {
  color: #333;
  font-size: 16px;
}

/* A部分（アコーディオン開閉） */
.faq-answer {
  grid-column: 1 / -1;
  display: none;
  padding: 10px 10px 0;
  max-height: 180px;      /* 高さ少し大きめに */
  overflow-y: auto;       /* 内容多い場合スクロール */
  animation: fadeIn 0.3s ease-in-out;
}
.faq-item.active .faq-answer {
  display: block;
}

.a-label {
  color: #000;
}
.a-text {
  color: #333;
  line-height: 1.6;
  margin-top: 5px;
}

.line-28 {
  grid-column: 1 / -1;
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}

/* 開閉アニメーション */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === スマホ表示 === */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    border-top: 1px solid #ddd;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
  }
  .menubar {
    display: flex;
  }
  .site-nav.open {
    display: block;
  }

  .form-container {
    width: 100%;
    padding: 20px;
  }
  .faq-list {
    max-width: 100%; /* スマホでは画面幅に合わせる */
  }
  .faq-item {
    grid-template-columns: 35px 1fr;
    gap: 8px 10px;
  }
  body {
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  }
}