/* =========================================
   1. 基本スタイル（スマホ用：モバイルファースト）
========================================= */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8fafc; /* ページ全体の背景を少しトーンダウン */
}

.privacy-policy-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 浮き出たようなカードデザイン */
    border-radius: 8px;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    box-sizing: border-box;
}

.privacy-policy-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0056b3; /* 青系のアクセントカラー */
    color: #0056b3;
}

.privacy-intro {
    font-size: 16px;
    margin-bottom: 40px;
}

.privacy-section {
    margin-bottom: 40px;
}
.privacy-section:last-child {
    margin-bottom: 0;
}

/* 見出しのスタイル */
.privacy-h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 5px solid #0056b3;
    color: #333;
}

.privacy-h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
}

.privacy-text {
    font-size: 16px;
    margin: 0;
}

/* リスト（箇条書き） */
.privacy-list {
    margin: 15px 0 0 0;
    padding-left: 25px;
    font-size: 16px;
}
.privacy-list li {
    margin-bottom: 8px;
}
.privacy-list li:last-child {
    margin-bottom: 0;
}

/* 会社概要のボックス */
.company-info {
    background-color: #f5f7f9; /* 薄いグレーの背景 */
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.company-info p {
    margin: 0 0 10px 0;
    font-size: 16px;
}
.company-info p:last-child {
    margin-bottom: 0;
}

/* =========================================
   フッター
   ========================================= */
.footer {
  background-color: #d6e6f2; 
  color: #333333;
  padding: 20px 0;
}

.footer-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; 
}

.footer-logo img {
  width: 250px;
  height: auto;
  display: block;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-link {
  color: #333333;
  text-decoration: none;
  font-size: 13px;
  transition: opacity 0.2s ease;
}

/* リンクをホバーした時に少し薄くするエフェクト */
.footer-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-size: 11px;
  color: #333333;
}

/* =========================================
   3. 戻るボタンのスタイル
========================================= */
.back-link-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #ccc; /* コンテンツとの区切り線 */
}

.back-to-lp-btn {
    display: inline-block;
    background-color: #0056b3;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    box-shadow: 0 4px 0 #003d82; /* 立体感を出す影 */
    transition: all 0.2s ease;
}

/* スマホでタップした時の動き */
.back-to-lp-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* =========================================
   2. PC・タブレット用スタイル（768px以上）
========================================= */
@media (min-width: 768px) {
    .privacy-policy-container {
        padding: 50px 60px; /* PCでは余白を広めにとる */
        margin: 60px auto;
    }
    
    .privacy-policy-title {
        font-size: 28px; /* PCではタイトルを少し大きく */
    }
    
    .privacy-h2 {
        font-size: 22px;
    }

    .footer {
    padding: 15px 0; /* PCは縦幅を少しキュッと細くする */
  }

  .footer-inner {
    flex-direction: row; /* 横並びに変更！ */
    justify-content: space-between; /* 両端に配置 */
    padding: 0 40px;
  }

  .footer-info {
    flex-direction: row; /* リンクとコピーライトも横並びに */
    gap: 30px; /* プライバシーとコピーライトの隙間 */
  }

  .back-to-lp-btn {
        font-size: 18px;
        padding: 15px 60px;
    }
    
    /* PCでマウスを乗せた時の動き */
    .back-to-lp-btn:hover {
        opacity: 0.9;
        transform: translateY(4px);
        box-shadow: none;
    }
}