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

/* 会社概要リスト */
.company-table {
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0;
  list-style: none;
}

.company-table li {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}

.company-table li strong {
  width: 150px;
  color: #555;
  font-weight: 600;
  display: block;
  text-align: center;
  margin-right: 100px;  /* ← これを追加（好きな値に変更可能） */
}

.company-table li span {
  flex: 1;
  color: #333;
  line-height: 1.6;
  display: block;
  text-align: left;          /* ← 内容だけ確実に左揃え */
}

.company-table li:last-child {
  border-bottom: none;
}

/* Google Map */
.google-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* sectionカードUI（about専用） */
.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);
}

/* スマホ対応（会社概要） */
@media (max-width: 600px) {
  .company-table li {
    flex-direction: column;
  }

  .company-table li strong {
    width: auto;
    margin-bottom: 4px;
  }

  .center-logo {
    max-width: 80vw;
  }
}

body.fade-background .text-inner {
  opacity: 1;
  transform: none;
}

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

/* ▼ message ページ専用のスタイル */
.message-page .text-section .section-title {
  margin-top: 10px;
}

.message-page .text-section p {
  text-align: left;
  margin-bottom: 12px;
}

/* message ページ専用：セクションタイトルのグラデーション帯 */
.message-page .section-title {
    display: block;
    width: 100%; /* 右端まで伸ばす */
    text-align: left; /* 左寄せ */
    padding: 12px 20px;
    margin: 0 0 20px 0;

    color: #fff; /* 帯が濃い色なので白文字 */
    font-weight: 600;

    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;
}

/* ▼ messageページ専用：2行目が絶対に揃う “中点ぶら下げインデント” */
.message-page .text-section p.indent {
    position: relative;
    padding-left: 1.4em;
    line-height: 1.8;
    margin-bottom: 12px;
}

.message-page .text-section p.indent::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

.message-page .hero {
  height: 70vh;
  min-height: 260px;
}

.message-page .hero .center-logo {
  width: 80%;
  max-width: 1000px;
}