/* ========================================
   借金800万円・時効7年間LP - 共通CSS
   スマホ最適化・ブルー系デザイン
   ======================================== */

/* ========================================
   CSS変数定義
   ======================================== */
:root {
    /* 背景 */
    --bg-primary: #1a1a1a;
    --bg-section: rgba(26, 26, 26, 0.95);
    
    /* テキスト */
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    
    /* アクセント（ブルー系） */
    --accent-primary: #6a8caf;
    --accent-secondary: #7a9fc3;
    --accent-highlight: #5a8ab8;
    
    /* 警告 */
    --warning: #e57373;
    
    /* ボーダー */
    --border: #6a8caf;
    
    /* フォント（スマホ） */
    --font-base: 16px;
    --font-h1: 28px;
    --font-h2: 22px;
    --font-h3: 20px;
    --font-button: 18px;
    --line-height: 2.0;
    
    /* 間隔（スマホ） */
    --section-gap: 60px;
    --section-padding: 30px 20px;
}

/* タブレット以上 */
@media (min-width: 768px) {
    :root {
        --font-base: 17px;
        --font-h1: 32px;
        --font-h2: 24px;
        --font-h3: 21px;
    }
}

/* PC */
@media (min-width: 1024px) {
    :root {
        --font-base: 18px;
        --font-h1: 38px;
        --font-h2: 26px;
        --font-h3: 22px;
        --font-button: 20px;
        --section-gap: 100px;
        --section-padding: 50px 40px;
    }
}

/* ========================================
   リセット & 基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    font-size: var(--font-base);
    line-height: var(--line-height);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   コンテナ
   ======================================== */
.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 40px;
    }
}

/* ========================================
   タイポグラフィ
   ======================================== */
h1 {
    font-size: var(--font-h1);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
}

h2 {
    font-size: var(--font-h2);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--accent-primary);
}

h3 {
    font-size: var(--font-h3);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ========================================
   セクション
   ======================================== */
section {
    padding: var(--section-padding);
    margin-bottom: var(--section-gap);
}

.section-border {
    border: 2px solid var(--border);
    border-radius: 8px;
    background-color: var(--bg-section);
}

.section-highlight {
    background: linear-gradient(135deg, rgba(106, 140, 175, 0.1) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-left: 4px solid var(--accent-primary);
}

/* ========================================
   リボン（実名顔出し）
   ======================================== */
.ribbon {
    position: fixed;
    top: 50px;
    right: -50px;
    width: 200px;
    padding: 12px 0;
    background: var(--accent-primary);
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

@media (min-width: 1024px) {
    .ribbon {
        width: 250px;
        padding: 15px 0;
        font-size: 22px;
    }
}

/* ========================================
   ボタン
   ======================================== */
.cta-button {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 30px 0;
    font-size: var(--font-button);
    font-weight: 700;
    text-align: center;
    color: var(--accent-primary);
    background: transparent;
    border: 3px solid var(--accent-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 60px;
    line-height: 1.4;
}

.cta-button:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 140, 175, 0.4);
}

@media (min-width: 1024px) {
    .cta-button {
        width: auto;
        padding: 25px 60px;
        font-size: var(--font-button);
        display: inline-block;
    }
}

/* ========================================
   警告・免責
   ======================================== */
.warning-box {
    padding: 25px;
    margin: 30px 0;
    background-color: rgba(229, 115, 115, 0.1);
    border: 2px solid var(--warning);
    border-radius: 8px;
}

.warning-box h3 {
    color: var(--warning);
    margin-bottom: 15px;
}

.warning-box ul {
    list-style: none;
    padding-left: 0;
}

.warning-box li {
    padding-left: 20px;
    margin-bottom: 10px;
    position: relative;
}

.warning-box li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--warning);
}

/* ========================================
   ハイライトボックス
   ======================================== */
.highlight-box {
    padding: 25px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(106, 140, 175, 0.15) 0%, rgba(26, 26, 26, 0.8) 100%);
    border-left: 4px solid var(--accent-primary);
    border-radius: 4px;
}

/* ========================================
   区切り線
   ======================================== */
.divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
    margin: 40px 0;
}

/* ========================================
   テキスト装飾
   ======================================== */
.text-center {
    text-align: center;
}

.text-large {
    font-size: 1.2em;
    font-weight: 700;
}

.text-accent {
    color: var(--accent-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

/* ========================================
   FAQ
   ======================================== */
.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(106, 140, 175, 0.05);
    border-radius: 8px;
}

.faq-question {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.faq-answer {
    color: var(--text-primary);
    line-height: 2.0;
}

/* ========================================
   お客様の声（将来用）
   ======================================== */
.testimonial {
    padding: 25px;
    margin-bottom: 30px;
    background: rgba(106, 140, 175, 0.08);
    border-left: 4px solid var(--accent-primary);
    border-radius: 4px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 2.0;
}

.testimonial-author {
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* ========================================
   フォーム
   ======================================== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-primary);
}

.form-required {
    color: var(--warning);
    margin-left: 5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background-color: rgba(106, 140, 175, 0.1);
    border: 2px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background-color: rgba(106, 140, 175, 0.15);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-note {
    margin-top: 8px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.form-checkbox-group {
    margin-top: 10px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.8;
}

.form-checkbox {
    margin-right: 10px;
    margin-top: 5px;
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 20px;
    font-size: var(--font-button);
    font-weight: 700;
    color: #ffffff;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
}

.form-submit:hover {
    background: var(--accent-highlight);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 140, 175, 0.4);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   サンクスページ
   ======================================== */
.thanks-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.thanks-content {
    max-width: 600px;
    text-align: center;
}

.thanks-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.thanks-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.thanks-message {
    font-size: 18px;
    line-height: 2.0;
    margin-bottom: 40px;
}

/* ========================================
   ユーティリティ
   ======================================== */
.mb-small {
    margin-bottom: 20px;
}

.mb-medium {
    margin-bottom: 40px;
}

.mb-large {
    margin-bottom: 60px;
}

.mt-small {
    margin-top: 20px;
}

.mt-medium {
    margin-top: 40px;
}

.mt-large {
    margin-top: 60px;
}

/* ========================================
   レスポンシブ画像
   ======================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.profile-image {
    width: 100%;
    max-width: 300px;
    margin: 30px auto;
    border-radius: 8px;
    border: 3px solid var(--accent-primary);
}

@media (min-width: 768px) {
    .profile-image {
        max-width: 400px;
    }
}

/* ========================================
   パフォーマンス最適化
   ======================================== */
/* フォント読み込み最適化 */
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Noto Sans JP'), local('NotoSansJP-Regular');
}

@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Noto Sans JP Bold'), local('NotoSansJP-Bold');
}

/* スムーススクロール最適化 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* GPU加速 */
.cta-button,
.form-submit {
    will-change: transform;
}
