/* =========================
   complianceページ専用CSS
========================= */

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

/* 本文内テキスト */
.text-inner p {
  margin-bottom: 15px;
  line-height: 1.8;
  text-align: left;
}

.text-inner h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.6em;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
}

.text-inner h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: 500;
  color: #2c3e50;
  text-align: left;
}

.text-inner h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1em;
  font-weight: 500;
  color: #2c3e50;
  text-align: left;
}

/* リスト */
.text-inner ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.text-inner li {
  margin-bottom: 6px;
  line-height: 1.6;
  text-align: left;
}

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

/* 背景固定 */
body.fade-background {
  background-image: url("../img/background/service_bg.jpg"); /* compliance専用背景 */
  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;
  }

  .text-section {
    padding: 20px;
    margin: 20px auto;
  }

  .text-inner h2 {
    font-size: 1.4em;
  }

  .text-inner h3 {
    font-size: 1.1em;
  }

  .text-inner h4 {
    font-size: 1em;
  }
}

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

/* セクション全体（白背景） */
.compliance-page .text-section {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明白 */
    padding: 40px 30px;        /* 上下左右の余白 */
    margin: 60px auto 40px auto; /* 上に余白60px、下40px */
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

/* 帯タイトル（h2） */
.compliance-page .section-title {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    margin: 0 0 30px 0;      /* 上マージンはセクションで確保 */

    color: #fff;
    font-weight: 600;
    font-size: 1.7em;

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

/* h3タイトル（小見出し） */
.compliance-page .text-inner h3 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 500;
    color: #2c3e50;
}

/* h4タイトル（さらに小見出し） */
.compliance-page .text-inner h4 {
    margin-top: 25px;
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: 500;
    color: #2c3e50;
}

/* 本文段落統一 */
.compliance-page .text-inner p {
    text-align: left;
    margin: 12px 0;
    line-height: 1.8;
    font-size: 1em;
    text-indent: 1.5em; /* インデントで段落開始 */
}

/* 箇条書き（ul） */
.compliance-page .text-inner ul {
    list-style: disc;
    padding-left: 2em;
    margin: 12px 0;
}

/* 箇条書きのli */
.compliance-page .text-inner li {
    line-height: 1.6;
    margin-bottom: 6px;
}

/* 上部余白＋レスポンシブ対応 */
@media (max-width: 600px) {
    .compliance-page .text-section {
        padding: 30px 20px;
        margin: 50px 15px 30px 15px;
    }

    .compliance-page .section-title {
        font-size: 1.5em;
        padding: 12px 15px;
    }

    .compliance-page .text-inner h3 {
        font-size: 1.2em;
    }

    .compliance-page .text-inner h4 {
        font-size: 1em;
    }

    .compliance-page .text-inner p {
        text-indent: 1.2em;
    }
}

/* compliance ページ専用で黒丸を消す */
.compliance-page .text-inner ul {
    list-style: none;       /* 黒丸を消す */
    padding-left: 1.5em;    /* インデントで揃える */
}

.compliance-page .text-inner li {
    text-indent: 0;
    margin-bottom: 6px;
    line-height: 1.6;
}

/* カード全体 */
.text-inner .contact-card {
    border: 2px solid #1b365d;      /* 紺色枠 */
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* タイトル帯 */
.contact-card-header {
    background: linear-gradient(90deg, #1b365d, #3a5299); /* グラデ帯 */
    color: #ffffff;
    font-weight: 600;
    padding: 12px 20px;       /* 左右パディング20px */
    font-size: 1.1em;
    text-align: left;
}

/* 本文 */
.contact-card-body {
    background-color: #f9f9f9;
    padding: 12px 20px;       /* タイトルと同じ左右パディングに揃える */
    line-height: 1.6;
}

/* 本文の段落 */
.contact-card-body p {
    text-indent: 0 !important;   /* 文頭インデントを消す */
    margin: 0 0 5px 0;           /* 行間調整 */
}