/* ネット探偵事務所 - スタイルシート v4 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    padding-top: 60px; /* 固定CTAボタン分 */
}

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

/* 固定CTAボタン */
.fixed-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fixed-cta-btn {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 8px 30px;
    background: #c41e3a;
    border-radius: 25px;
    transition: all 0.3s;
}

.fixed-cta-btn:hover {
    background: #e02040;
    transform: scale(1.05);
}

/* ヘッダー */
.header {
    background: #1a3a5c;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.1em;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #fff;
}

/* メインビジュアル */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.hero h2 {
    font-size: 28px;
    font-weight: normal;
    color: #1a3a5c;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero p {
    color: #666;
    font-size: 15px;
}

.hero-cta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: #c41e3a;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #e02040;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: #1a3a5c;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid #1a3a5c;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #1a3a5c;
    color: #fff;
}

.hero-response-time {
    margin-top: 20px;
    font-size: 14px;
    color: #1a3a5c;
    font-weight: bold;
}

/* セクション共通 */
.section-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.section-lead {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 40px;
}

.section-lead strong {
    color: #1a3a5c;
}

/* 依頼の流れ */
.flow {
    padding: 60px 0;
    background: #fff;
}

.flow-steps {
    max-width: 600px;
    margin: 0 auto;
}

.flow-step {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 0;
}

.flow-step-number {
    display: inline-block;
    background: #1a3a5c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.flow-step h3 {
    font-size: 20px;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.flow-time {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.flow-price {
    color: #c41e3a;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.flow-details {
    margin: 15px 0;
    padding-left: 20px;
}

.flow-details li {
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.flow-result {
    background: #e8f5e9;
    padding: 10px 15px;
    border-radius: 4px;
    color: #2e7d32;
    font-size: 14px;
    margin-top: 15px;
}

.flow-arrow {
    text-align: center;
    font-size: 24px;
    color: #1a3a5c;
    padding: 15px 0;
}

.important-notice {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
    text-align: center;
}

.important-notice.highlight {
    background: #e3f2fd;
    border-color: #2196f3;
}

.important-notice h4 {
    color: #e65100;
    font-size: 16px;
    margin-bottom: 10px;
}

.important-notice.highlight h4 {
    color: #1565c0;
}

.important-notice p {
    color: #333;
    font-size: 15px;
}

.contact-method {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.contact-method h4 {
    color: #1a3a5c;
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-method ul {
    list-style: none;
}

.contact-method li {
    padding: 5px 0;
    font-size: 14px;
    color: #555;
}

/* できること / できないこと */
.services {
    padding: 60px 0;
    background: #f5f7fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.service-card.can-do h3 {
    color: #2e7d32;
    border-color: #4CAF50;
}

.service-card.cannot-do h3 {
    color: #c62828;
    border-color: #ef5350;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.service-card li:last-child {
    border-bottom: none;
}

.cannot-do-note {
    margin-top: 15px;
    font-size: 12px;
    color: #999;
}

.prepare-info {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.prepare-info h4 {
    color: #1a3a5c;
    font-size: 16px;
    margin-bottom: 15px;
}

.prepare-info ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.prepare-info li {
    padding: 5px 0;
    font-size: 14px;
    color: #555;
}

.prepare-note {
    font-size: 13px;
    color: #888;
}

/* 料金案内 */
.pricing {
    padding: 60px 0;
    background: #fff;
}

.pricing-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pricing-step {
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 30px 25px;
    width: 350px;
    text-align: center;
    position: relative;
}

.step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: #fff;
    padding: 4px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.step-badge.main {
    background: #1a3a5c;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #1a3a5c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 15px;
    font-size: 18px;
}

.pricing-step h3 {
    font-size: 18px;
    font-weight: normal;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.pricing-step .price {
    font-size: 32px;
    color: #c41e3a;
    font-weight: bold;
    margin-bottom: 20px;
}

.pricing-step .price span {
    font-size: 14px;
    font-weight: normal;
}

.what-you-get {
    text-align: left;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.what-you-get h4 {
    font-size: 14px;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.what-you-get ul {
    list-style: none;
}

.what-you-get li {
    padding: 5px 0;
    font-size: 13px;
    color: #555;
}

.arrow {
    font-size: 30px;
    color: #1a3a5c;
    padding-top: 100px;
}

/* FAQ */
.faq {
    padding: 60px 0;
    background: #f5f7fa;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    color: #1a3a5c;
    font-size: 16px;
    margin-bottom: 10px;
}

.faq-answer {
    color: #555;
    font-size: 14px;
    padding-left: 25px;
}

/* 事例 */
.cases {
    padding: 60px 0;
    background: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #ddd;
    position: relative;
}

.case-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.case-card.success .case-badge {
    background: #e8f5e9;
    color: #2e7d32;
}

.case-card.failure .case-badge {
    background: #fff3e0;
    color: #e65100;
}

.case-card h4 {
    font-size: 16px;
    color: #1a3a5c;
    margin-bottom: 15px;
    padding-right: 60px;
}

.case-card p {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

/* お問い合わせ */
.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.contact-lead {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 15px;
}

.contact-lead strong {
    color: #1a3a5c;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group > label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.required {
    color: #c41e3a;
    font-size: 12px;
    font-weight: normal;
}

.optional {
    color: #999;
    font-size: 12px;
    font-weight: normal;
}

.field-hint {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

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

/* ラジオボタングループ */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
}

.radio-label:hover {
    border-color: #1a3a5c;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
}

.radio-label span {
    font-size: 14px;
    color: #333;
}

/* チェックボックス */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.consent-group {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.consent-list {
    margin-top: 10px;
    padding-left: 30px;
    font-size: 13px;
    color: #666;
}

.consent-list li {
    margin-bottom: 5px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #c41e3a 0%, #e02040 100%);
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn .btn-main {
    display: block;
    font-weight: bold;
    font-size: 18px;
}

.submit-btn .btn-sub {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 3px;
}

.alternative-cta {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.alternative-cta p {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.text-link {
    color: #1a3a5c;
    text-decoration: none;
    font-size: 14px;
}

.text-link:hover {
    text-decoration: underline;
}

.form-message {
    max-width: 650px;
    margin: 0 auto 20px;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    display: none;
    font-size: 16px;
    font-weight: bold;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #4CAF50;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 2px solid #ef5350;
}

/* フッター */
.footer {
    background: #1a3a5c;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
}

.footer-security h5 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-security ul {
    list-style: none;
}

.footer-security li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    padding: 3px 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 50px;
    }
    
    .fixed-cta {
        padding: 8px 15px;
    }
    
    .fixed-cta-btn {
        font-size: 13px;
        padding: 6px 20px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-nav {
        gap: 12px;
    }
    
    .header-nav a {
        font-size: 12px;
    }
    
    .pricing-flow {
        flex-direction: column;
        align-items: center;
    }
    
    .arrow {
        transform: rotate(90deg);
        padding: 0;
    }
    
    .pricing-step {
        width: 100%;
        max-width: 350px;
    }
    
    .hero h2 {
        font-size: 22px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .radio-group.horizontal {
        flex-direction: column;
    }
    
    .flow-step {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-answer {
        padding-left: 0;
    }
}
