/* --------------------------
 * privacy.css (プライバシーポリシー専用CSS)
 * -------------------------- */

/* --- 基本設定 --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.7;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

/* --- ヘッダー --- */
.site-header {
    width: 100%;
    background-color: #0b245e;
    padding: 10px 20px;
    box-sizing: border-box;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo img {
    max-height: 60px; /* 白ロゴ */
    width: auto;
}
.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-phone-link {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 8px;
    transition: opacity 0.3s;
}
.header-form-link {
    background-color: #e86202;
    padding: 8px;
    border-radius: 8px;
    transition: opacity 0.3s;
}
.header-phone-link:hover,
.header-form-link:hover {
    opacity: 0.85;
}
.header-phone-link img,
.header-form-link img {
    max-height: 40px;
    width: auto;
}

/* --- 本文 --- */
.privacy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.privacy-container h1 {
    font-size: 1.8em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.privacy-container h2 {
    font-size: 1.4em;
    background-color: #f9f9f9;
    padding: 12px 15px;
    border-left: 5px solid #007bff;
    margin-top: 30px;
    margin-bottom: 15px;
}
.privacy-container h3 {
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
    margin-top: 20px;
}
.privacy-container p,
.privacy-container ul,
.privacy-container ol {
    margin-bottom: 15px;
}
.privacy-container ul,
.privacy-container ol {
    padding-left: 30px;
}
.privacy-container li {
    margin-bottom: 10px;
}
.privacy-container address {
    font-style: normal;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
}
.privacy-container a {
    color: #007bff;
    text-decoration: underline;
}
.privacy-container a:hover {
    color: #0056b3;
}
.privacy-container .date {
    text-align: right;
    margin-top: 30px;
    font-size: 0.9em;
    color: #555;
}

/* --- フッター --- */
.site-footer {
    width: 100%;
}
.footer-upper {
    background: linear-gradient(180deg, #ffc65c 0%, #f7931e 100%);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-column {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
}
.footer-column h4 {
    color: #ffffff;
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 15px;
}
.footer-logo-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-box a {
    display: block;
    width: 100%;
    text-decoration: none;
}
.footer-logo-box img {
    max-height: 70px;
    width: auto;
    margin: 0 auto;
}
.footer-bottom {
    background-color: #0b245e;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #333;
}
.footer-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-links a {
    color: #aaa;
    text-decoration: underline;
    font-size: 0.9em;
}
.footer-links a:hover {
    color: #fff;
}
.copyright {
    font-size: 0.8em;
    color: #888;
    margin: 0;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .header-logo img {
        max-height: 50px;
    }
    .header-contact {
        flex-direction: row;
        width: 100%;
        gap: 5px;
    }
    .header-phone-link,
    .header-form-link {
        flex: 1;
        padding: 5px;
    }
    .header-phone-link img,
    .header-form-link img {
        max-height: 35px;
        width: 100%;
        object-fit: contain;
    }
    .privacy-container {
        padding: 20px 15px;
        margin: 20px auto;
    }
    .privacy-container h1 { font-size: 1.5em; }
    .privacy-container h2 { font-size: 1.2em; }
    
    /* 【★修正】フッターを中央揃えに */
    .footer-upper {
        flex-direction: column;
        gap: 30px;
        align-items: center; /* 左寄せ(flex-start)から中央(center)へ変更 */
    }
    .footer-column {
        width: 100%;
        margin: 0 auto;
    }
}