/* プライバシーポリシーページのスタイル */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: auto;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.privacy-policy {
    padding-top: 100px;
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.privacy-policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-policy h1 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #333333;
    text-align: center;
    font-weight: 700;
}

.policy-text {
    color: #333333;
    line-height: 1.8;
}

.policy-text h2 {
    font-size: 1.5em;
    margin: 40px 0 20px;
    color: #333333;
    font-weight: 700;
}

.policy-text h3 {
    font-size: 1.2em;
    margin: 30px 0 15px;
    color: #333333;
    font-weight: 600;
}

.policy-text p {
    margin-bottom: 20px;
}

.policy-text ul {
    list-style-type: disc;
    margin: 0 0 20px 20px;
    padding-left: 20px;
}

.policy-text li {
    margin-bottom: 10px;
}

.policy-date {
    margin-top: 40px;
    text-align: right;
    font-weight: 500;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .privacy-policy-content {
        padding: 30px 15px;
    }

    .privacy-policy h1 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .policy-text h2 {
        font-size: 1.3em;
        margin: 30px 0 15px;
    }

    .policy-text h3 {
        font-size: 1.1em;
        margin: 25px 0 12px;
    }
}

@media screen and (max-width: 480px) {
    .privacy-policy {
        padding-top: 80px;
    }

    .privacy-policy-content {
        padding: 20px 15px;
    }

    .privacy-policy h1 {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    .policy-text h2 {
        font-size: 1.2em;
        margin: 25px 0 12px;
    }

    .policy-text h3 {
        font-size: 1em;
        margin: 20px 0 10px;
    }

    .policy-text p, .policy-text li {
        font-size: 0.95em;
    }
}

/* ヘッダーのスタイルを他のページと統一 */
#header {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-title img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #666;
}

/* タブレット・スマホ用ヘッダー */
@media screen and (max-width: 900px) {
    #header .site-title {
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
        z-index: 1001;
    }

    #header .site-title img {
        height: 32px;
        width: auto;
        display: block;
    }

    #header .site-title a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    #header .site-title a::after {
        content: 'Portfolio';
        font-size: 1.7rem;
        font-weight: 700;
        color: #222;
        margin-left: 10px;
        letter-spacing: 0.01em;
        line-height: 1;
        display: inline-block;
    }
} 