@charset "utf-8";
/* --- ヘッダー全体（画面横幅いっぱい） --- */
.hero-section {
    position: relative;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
}

/* --- 背景画像 --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景画像を暗くして文字を読みやすくする */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),  url('/common/upload/files/building/building_title.png?filetime=1778302579'); /* ★実際の背景画像のURLに書き換えてください */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* --- コンテンツ配置 --- */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px; /* 全体の幅 */
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左・中・右に均等に分ける */
}

/* 左側の見えない箱（中央テキストをど真ん中に保つため） */
.hero-left-spacer {
    width: 150px; /* 右側のバッジと同じくらいの幅にする */
}

/* --- 中央テキストエリア --- */
.hero-center-text {
    text-align: center;
    flex-grow: 1;
}

/* ★「岡山県全域対応・安心の自社施工」の背景色を変更 */
.top-tag {
    background-color: #0E96B1 !important; /* オレンジ(#f59e0b)からターコイズ(#0E96B1)に変更 */
    color: #ffffff !important;
    display: inline-block !important;
    padding: 6px 24px !important;
    border-radius: 50px !important;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
}

.main-title {
    color: #ffffff !important;
    font-size: 56px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    margin: 0 0 20px 0 !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8) !important;
}

.sub-message {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* --- ボタンエリア --- */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-blue, .btn-red,.btn-green {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important; /* 青い下線を消す */
    font-size: 18px !important;
    color: #ffffff !important; /* 文字を白にする */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    min-width: 200px;
}

/* オレンジボタンの色はそのまま維持 */
.btn-blue { background-color: #00a0ea !important; }
.btn-red { background-color: #E60000 !important; }
.btn-green { background-color: #06C755 !important; }

/* --- 右側：実績バッジ --- */
.hero-right-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 150px;
    align-items: flex-end;
}

/* ★丸いバッジのフチの色を変更 */
.circle-badge {
    width: 110px !important;
    height: 110px !important;
    background-color: #0f172a !important; /* 濃紺 */
    border: 3px solid #0E96B1 !important; /* オレンジ(#f59e0b)からターコイズ(#0E96B1)に変更 */
    border-radius: 50% !important; /* 完全な丸 */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4) !important;
}

.badge-label {
    font-size: 11px !important;
    color: #ffffff !important;
    margin-bottom: 2px !important;
    text-align: center !important;
}

/* バッジ内の文字色を白に統一 */
.badge-val {
    font-size: 30px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.badge-val2 {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.circle-badge .unit {
    font-size: 12px !important;
    margin-left: 2px !important;
    color: #ffffff !important;
}

/* --- スマホ・タブレット対応（前回と同じ） --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    .hero-left-spacer { display: none; }
    .hero-right-badges {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .circle-badge {
        width: 90px !important;
        height: 90px !important;
    }
    .badge-val { font-size: 22px !important; }
}

@media (max-width: 600px) {
    .main-title { font-size: 32px !important; }
    .sub-message { font-size: 16px !important; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-blue,  .btn-red,  .btn-green { width: 100%; max-width: 300px; }
}





.faq-page-wrapper {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
}

/* メインタイトル */
.faq-main-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8em;
}

/* カテゴリナビゲーション */
.faq-nav {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  gap: 12px; 
  margin-bottom: 50px;
  position: sticky; 
  top: 10px;
  z-index: 100;
  padding: 10px 0; 
}

/* --- ボタンのスタイル（文字色を強制的に白にする修正） --- */
.faq-nav-btn {
  text-decoration: none !important; /* 既存の下線を強制的に消す */
  background-color: #00A5B7 !important; /* 背景色 */
  color: #ffffff !important; /* ★ここを修正：既存のリンク色に負けないように強制的に白にする */
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: none;
  display: inline-block; /* 念のためレイアウト崩れ防止 */
}

.faq-nav-btn:hover {
  background-color: #007D89 !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transform: translateY(-1px);
  color: #ffffff !important; /* ホバー時も確実に白を維持 */
}

/* 各セクションの設定 */
.faq-section {
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}

.category-title {
  border-left: 5px solid #00A5B7;
  padding-left: 15px;
  margin-bottom: 20px;
  font-size: 1.3em;
  color: #333;
}

/* Q&Aアイテムのスタイル */
.faq-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #f9f9f9;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '▼';
  position: absolute;
  right: 15px;
  font-size: 0.8em;
  color: #999;
  transition: 0.3s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: flex;
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.faq-icon-q, .faq-icon-a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  margin-right: 12px;
  flex-shrink: 0;
  font-size: 0.8em;
}

.faq-icon-q {
  background-color: #00A5B7;
}

.faq-icon-a { background-color: #e63946; }

.faq-text { flex: 1; margin: 0; line-height: 1.6; }

/* スマホ対応の調整 */
@media screen and (max-width: 600px) {
  .faq-nav-btn {
    padding: 10px 18px;
    font-size: 0.85em;
    flex: 1 1 auto;
    text-align: center;
    max-width: fit-content;
  }
  .faq-nav {
    gap: 8px;
  }
  .faq-main-title {
    font-size: 1.5em;
  }
  .category-title {
    font-size: 1.1em;
  }
}