/* 情報ページ用CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    padding: 40px 0;
}

/* ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 1rem 0 0 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 52px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    position: relative;
    transition: color 0.3s;
}

.nav a:hover {
    color: #667eea;
}

/* フッター */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 60px;
    padding: 40px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0 30px;
    position: relative;
}

/* 区切り線を追加 */
.footer-link:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: #ccc;
}

.footer-link:hover {
    color: #667eea;
}

.copyright {
    color: #999;
    font-size: 13px;
    font-weight: 400;
}

/* 情報ページ固有のスタイル */
.policy {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info_title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
}

.policy section {
    margin-bottom: 30px;
}

.policy h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #007bff;
}

.policy p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.policy strong {
    font-weight: 600;
    color: #333;
}

.policy address {
    font-style: normal;
    line-height: 1.8;
}

/* 会社概要テーブル */
.company_info {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.company_info th,
.company_info td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.company_info th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    width: 25%;
    vertical-align: top;
}

.company_info td {
    background: #fff;
}

.company_info ul {
    margin: 0;
    padding-left: 20px;
}

.company_info li {
    margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav a {
        font-size: 14px;
    }
    
    .policy {
        padding: 20px;
        margin: 0 15px;
    }
    
    .info_title {
        font-size: 24px;
    }
    
    .policy h2 {
        font-size: 18px;
    }
    
    .company_info th,
    .company_info td {
        padding: 10px;
        font-size: 14px;
    }
    
    .company_info th {
        width: 30%;
    }
    
    /* フッターリンクのレスポンシブ対応 */
    .footer-link {
        padding: 0 20px;
    }
    
    .footer-link:not(:last-child)::after {
        height: 14px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 15px;
    }
    
    .nav a {
        font-size: 13px;
    }
    
    .policy {
        padding: 15px;
    }
    
    .info_title {
        font-size: 20px;
    }
    
    .company_info th,
    .company_info td {
        padding: 8px;
        font-size: 13px;
    }
    
    .company_info th {
        width: 35%;
    }
    
    /* モバイル時はフッターリンクを縦並びにして区切り線を非表示 */
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-link {
        padding: 5px 0;
    }
    
    .footer-link:not(:last-child)::after {
        display: none;
    }
}