/* セクションタイトル */
.section-title {
  text-align: center;
  font-size: 1.6em;
  margin: 40px 0 20px;
  font-weight: 600;
  color: #2c3e50;
}

/* hero（中央ロゴ用） */
.hero {
  position: relative;
  height: 60vh;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

/* 中央ロゴ */
.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60vw;
  height: auto;
}

/* sectionカードUI */
.text-section {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* フェード無効化 */
body.fade-background .text-inner {
  opacity: 1;
  transform: none;
}

/* 背景固定 */
body.fade-background {
  background-image: url("../img/background/service_bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* 暗幕オーバーレイ */
body.fade-background::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .center-logo {
    max-width: 80vw;
  }
}

/* =========================
   サービスバナー
========================= */

.service-banner {
  display: block;
  width: 100%;
  max-width: 420px;   /* section幅900pxに対して自然なサイズ */
  height: auto;
  margin: 25px auto;
}

/* スマホ */
@media (max-width: 600px) {
  .service-banner {
    max-width: 100%;
  }
}

/* ===== productsページ専用 ===== */

/* ===== productsページ専用 ===== */

/* 各会社タイトル：紺色帯 + 左揃え + 強調文字 */
.products-page .company-title {
    display: block;
    width: 100%;
    text-align: left;   /* 左揃え */
    padding: 10px 15px; /* 余白少し大きめで見やすく */
    margin-bottom: 12px;

    font-size: 1.3em;   /* 文字を少し大きく */
    font-weight: 700;   /* 太字で強調 */
    color: #fff;

    background: linear-gradient(
        90deg,
        rgba(0, 20, 60, 0.98) 0%,
        rgba(0, 20, 60, 0.85) 40%,
        rgba(0, 20, 60, 0.6) 100%
    );

    border-radius: 4px;
}

/* company-item 背景やカード感はなし */
.products-page .company-item {
    padding: 0;
    background: none;
    box-shadow: none;
}

/* company説明文 */
.products-page .company-item p {
    margin: 0 0 16px 0;
    line-height: 1.6;
    text-align: left;
}

/* company-list 全体の余白 */
.products-page .company-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .products-page .company-title {
        font-size: 1.1em;
        padding: 8px 12px;
    }

    .products-page .company-list {
        gap: 16px;
    }
}

/* セクションタイトル（取扱保険会社）を大タイトル風に強調 */
.products-page .section-title {
    display: block;
    width: 100%;
    text-align: left;    /* 左揃え */
    padding: 16px 20px;  /* 少し余白広め */
    margin: 0 0 30px 0;

    font-size: 2em;      /* 大きめの文字 */
    font-weight: 800;    /* 太字 */
    color: #00203c;      /* 濃紺で強調 */
    /* optional: 文字シャドウで浮かせる */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.voice-intro {
    text-align: center;
    margin: 30px 0 40px;
    line-height: 1.9;
}

.voice-intro p {
    margin: 6px 0;
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.voice-meta {
    text-align: left;
    margin-bottom: 10px;
}

.voice-tag {
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: 500;
}

.voice-text {
    line-height: 1.8;
    text-align: left;
}