/* セクションタイトル */
.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;
}

/* 電話ラベル */
.phone-label {
  font-weight: bold;
  margin-top: 1em;
}

/* 電話番号（仮・装飾は後で） */
.phone-number {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  color: #005bac;
  margin-bottom: 1em;
  text-decoration: none;
}

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

/* 背景固定 */
body.fade-background {
  background-image: url("../img/background/emergency_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;
  }
}

/* =========================
   電話番号をボタン化
========================= */

.phone-number {
  display: inline-block;
  margin-bottom: 24px;
  padding: 12px 20px;
  background-color: #005bac;   /* ブランドカラー系 */
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

/* ホバー */
.phone-number:hover {
  background-color: #003f7f;
}

/* タップ時 */
.phone-number:active {
  transform: scale(0.96);
}


/* =========================
   ロゴ画像サイズ統一
========================= */

.insurance-logo {
  width: 1.5em;       /* 文字サイズ基準 */
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
}
