/* =========================================
   Variables
   ========================================= */
:root {
    --clr-primary: #1e3a8a; /* 濃いブルー：信頼・堅実 */
    --clr-secondary: #2563eb; /* アクセントブルー */
    --clr-accent: #f59e0b; /* アクセントオレンジ：活気・注意 */
    --clr-text: #334155;
    --clr-text-light: #64748b;
    --clr-bg-light: #f8fafc;
    --clr-white: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
}

/* =========================================
   Reset & Base
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-main);
    color: var(--clr-text);
    line-height: 1.7;
    background-color: var(--clr-white);
    letter-spacing: 0.05em;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--clr-bg-light); }

/* =========================================
   Header (Subpage adjusted paths)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a { display: block; line-height: 1; }
.logo img { height: 40px; width: auto; display: block; }

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}
.global-nav a {
    font-weight: 700;
    font-size: 0.95rem;
}
.global-nav a:hover {
    color: var(--clr-secondary);
}
.btn-nav {
    background-color: var(--clr-primary);
    color: var(--clr-white) !important;
    padding: 10px 25px;
    border-radius: 50px;
}
.btn-nav:hover { background-color: var(--clr-secondary); }

/* =========================================
   Page Header (Hero for Subpage)
   ========================================= */
.page-header {
    margin-top: 70px;
    height: 30vh;
    min-height: 250px;
   background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('../images/privacy.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
}
.page-header::after {
display: none;
    content: 'PRIVACY';
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    letter-spacing: 0.2em;
    pointer-events: none;
}
.page-header-content {
    position: relative;
    z-index: 2;
}
.page-header-content h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 5px;
}
.page-header-content p {
    font-size: 1.1rem;
    color: var(--clr-accent);
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* =========================================
   Privacy Policy Section
   ========================================= */
.privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--clr-white);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.privacy-intro {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.8;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #e2e8f0;
}

.privacy-block {
    margin-bottom: 40px;
}

.privacy-block h3 {
    font-size: 1.25rem;
    color: var(--clr-primary);
    font-weight: 900;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--clr-accent);
}

.privacy-block p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.privacy-block ul {
    background-color: var(--clr-bg-light);
    padding: 25px 30px;
    border-radius: 8px;
}

.privacy-block ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.privacy-block ul li:last-child {
    margin-bottom: 0;
}

.privacy-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--clr-secondary);
    border-radius: 50%;
}

.privacy-contact {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
}

.privacy-contact h3 {
    font-size: 1.2rem;
    color: var(--clr-primary);
    font-weight: 900;
    margin-bottom: 25px;
    text-align: center;
}

.contact-details {
    background-color: #f1f5f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--clr-text);
    margin-bottom: 15px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.contact-details span {
    font-weight: 700;
    color: var(--clr-primary);
    margin-right: 10px;
}

.contact-details a {
    color: var(--clr-secondary);
    font-weight: 700;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 50px 0 30px;
}
.footer-logo {
    color: var(--clr-white);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

/* プライバシーポリシーのリンク装飾を追加 */
.footer-links {
    margin-top: 25px;
}
.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--clr-accent);
    text-decoration: underline;
}

.copyright { margin-top: 30px; font-size: 0.85rem; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .global-nav { display: none; } 
    
    .privacy-wrapper {
        padding: 40px 25px;
    }
    
    .privacy-block ul {
        padding: 20px;
    }
}
/* =========================================
   スマホ用メニュー追加デザイン
   ========================================= */
.hamburger {
    display: none; width: 30px; height: 22px; cursor: pointer; position: relative; z-index: 1000;
}
.hamburger span {
    position: absolute; width: 100%; height: 3px; background-color: #1e3a8a; border-radius: 3px; transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .global-nav {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease; z-index: 999; display: flex; align-items: center; justify-content: center;
    }
    .global-nav ul { flex-direction: column; gap: 30px; text-align: center; }
    .global-nav a { font-size: 1.2rem; }
    .global-nav.is-active { right: 0; }
}
/* =========================================
   ページトップへ戻るボタン
   ========================================= */
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #1e3a8a; /* ボタンの色（会社の青色） */
    color: #ffffff;
    border-radius: 50%; /* まん丸にする */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
/* スクロールして表示された時の状態 */
.page-top.is-show {
    opacity: 1;
    visibility: visible;
}
/* マウスを乗せた時に少し透明にする */
.page-top:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    /* スマホの時は少し小さくする */
    .page-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1.2rem;
    }
}