/* ========================================
   ポリシーページ専用スタイル
   (プライバシーポリシー、利用規約、特定商取引法などに使用)
======================================== */

/* ========================================
   ポリシーセクション
======================================== */
.policy-section {
    background: #fff;
    padding: 60px 0 80px;
}

.policy-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-lead {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    border-radius: 16px;
    padding: 30px 25px;
    margin-bottom: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-lead p {
    font-size: 14px;
    line-height: 2;
    color: #555;
    margin: 0;
}

/* ========================================
   ポリシー条文
======================================== */
.policy-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.policy-article {
    background: #fff;
    border-left: 4px solid #0066cc;
    padding: 0 0 0 20px;
}

.policy-article-title {
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.policy-article-text {
    font-size: 14px;
    line-height: 2;
    color: #555;
}

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

.policy-article-text p:last-child {
    margin-bottom: 0;
}

/* リスト */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-list li {
    padding-left: 28px;
    position: relative;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #0066cc;
    border-radius: 50%;
}

/* 番号付きリスト */
.policy-numbered-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    counter-reset: policy-counter;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-numbered-list li {
    padding-left: 32px;
    position: relative;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

.policy-numbered-list li::before {
    counter-increment: policy-counter;
    content: counter(policy-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 14px;
}

/* お問い合わせ窓口 */
.policy-contact {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    border-radius: 12px;
    padding: 25px 20px;
    margin: 20px 0 0 0;
}

.policy-contact p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.policy-contact p:last-child {
    margin-bottom: 0;
}

.policy-contact-name {
    font-weight: bold;
    color: #0066cc;
    font-size: 15px !important;
    margin-bottom: 15px !important;
}

.policy-contact-address {
    margin-bottom: 10px !important;
}

.policy-contact-tel {
    margin-bottom: 10px !important;
}

.policy-contact-tel a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.policy-contact-tel a:hover {
    text-decoration: underline;
    opacity: 1;
}

.policy-contact-email {
    margin-bottom: 10px !important;
    word-break: break-all;
}

.policy-contact-hours {
    color: #666;
}

/* 制定日・改定日 */
.policy-enactment {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: right;
    margin-top: 60px;
}

.policy-enactment p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 8px;
}

.policy-enactment p:last-child {
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 600;
    color: #333;
}

/* ========================================
   表組み（特定商取引法などで使用）
======================================== */
.policy-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #e0e0e0;
    background: #fff;
    font-size: 14px;
}

.policy-table th,
.policy-table td {
    padding: 15px 12px;
    text-align: left;
    border: 1px solid #e0e0e0;
    line-height: 1.8;
}

.policy-table th {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    font-weight: bold;
    color: #0066cc;
    width: 30%;
    min-width: 120px;
}

.policy-table td {
    color: #555;
}

/* ========================================
   注意事項ボックス
======================================== */
.policy-notice {
    background: #fff5f5;
    border-left: 4px solid #ff6b35;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.policy-notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 12px;
}

.policy-notice-title svg {
    width: 20px;
    height: 20px;
    stroke: #ff6b35;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.policy-notice p {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin: 0;
}

/* ========================================
   参考情報ボックス
======================================== */
.policy-info {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.policy-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 12px;
}

.policy-info-title svg {
    width: 20px;
    height: 20px;
    stroke: #0066cc;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.policy-info p {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin: 0;
}

/* ========================================
   セクション区切り線
======================================== */
.policy-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 50px 0;
}

/* ========================================
   リンクボタン
======================================== */
.policy-link-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.policy-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #0066cc;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #0066cc;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.policy-link-btn:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    opacity: 1;
}

.policy-link-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s;
}

.policy-link-btn:hover svg {
    transform: translateX(5px);
}

/* ========================================
   モバイルビューポート内の調整
======================================== */
.mobile-viewport .policy-section {
    padding: 60px 0 80px !important;
}

/* ========================================
   レスポンシブ（タブレット以上）
   ※モバイルビューポート内は常にモバイルデザインを維持
======================================== */
@media (min-width: 769px) {
    /* モバイルビューポート外のスタイルのみ調整 */
    /* モバイルビューポート内(.mobile-viewport)のコンテンツは
       モバイルファーストのデザインを維持するため、
       デスクトップでも変更しない */
}