/* ============================================
   prefecture.css — j-fund スタイル inspired
   都道府県ページ (area_prefecture) 専用スタイル
   ============================================ */

:root {
    --pref-main: #1e3c72;
    --pref-main-dark: #0b2856;
    --pref-main-light: #2a5298;
    --pref-accent: #e67e22;
    --pref-accent-dark: #cf6d17;
    --pref-danger: #c62828;
    --pref-danger-light: #ef5350;
    --pref-success: #2e7d32;
    --pref-warning-bg: #fff3e0;
    --pref-warning-border: #fb8c00;
    --pref-light-bg: #f5f7fa;
    --pref-white: #ffffff;
    --pref-text: #2c2c2c;
    --pref-text-muted: #666;
    --pref-radius: 10px;
    --pref-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --pref-shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

/* ============================================
   1. HERO SECTION (j-fund style)
   ============================================ */

.pref-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

/* 背景画像（::before）*/
.pref-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: right 20%;
    filter: brightness(1.3);
    z-index: 0;
}

/* グラデーションオーバーレイ（::after） */
.pref-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 28, 60, 0.35) 0%,
        rgba(18, 42, 90, 0.20) 60%,
        rgba(80, 35, 8, 0.10) 100%
    );
    z-index: 1;
}

/* 2カラム内コンテナ */
.pref-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

/* 左：テキストエリア */
.pref-hero-content {
    text-align: left;
}

/* 右：FVミニフォームカード */
.pref-hero-form {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 28px 26px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.6);
}

.pref-hero-form .fv-form-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}

.pref-hero-form .fv-form-title i {
    color: #e67e22;
    font-size: 16px;
}

.pref-hero-form .fv-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff3e0;
    color: #e65100;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: auto;
}

.pref-hero-form .fv-group {
    margin-bottom: 14px;
}

.pref-hero-form .fv-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.pref-hero-form .fv-req {
    background: #c62828;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
}

.pref-hero-form select,
.pref-hero-form input[type="text"],
.pref-hero-form input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fafafa;
    transition: all 0.2s;
}

.pref-hero-form select:focus,
.pref-hero-form input:focus {
    outline: none;
    border-color: #1e3c72;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30,60,114,0.1);
}

.pref-hero-form .fv-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e65100, #e67e22);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(230,126,34,0.45);
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 6px;
}

.pref-hero-form .fv-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(230,126,34,0.6);
}

.pref-hero-form .fv-note {
    font-size: 10px;
    color: #999;
    text-align: center;
    margin-top: 8px;
    line-height: 1.5;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* バッジ */
.pref-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 126, 34, 0.9);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 22px;
    letter-spacing: 0.04em;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.5);
    animation: fadeSlideDown 0.6s ease both;
}

.pref-badge-icon {
    font-size: 15px;
}

/* ヒーロー サブテキスト */
.pref-hero-sub {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.88);
    animation: fadeSlideDown 0.7s ease both;
    animation-delay: 0.1s;
}

/* h1 */
.pref-hero h1 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 900;
    line-height: 1.45;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: fadeSlideDown 0.7s ease both;
    animation-delay: 0.2s;
}

.pref-hero h1 .highlight {
    color: #ffeb3b;
    text-shadow: 0 0 20px rgba(255, 235, 59, 0.5);
}

/* trust-badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 32px;
    animation: fadeSlideDown 0.7s ease both;
    animation-delay: 0.3s;
}

.trust-badges span {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    letter-spacing: 0.05em;
}

/* ヒーロー CTAボタン */
.pref-hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 40px;
    animation: fadeSlideDown 0.7s ease both;
    animation-delay: 0.4s;
}

.pref-hero-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pref-accent);
    color: #fff;
    padding: 16px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
    transition: all 0.3s ease;
    animation: pulseCta 2.5s ease-in-out infinite;
}

.pref-hero-cta .btn-primary:hover {
    background: var(--pref-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(230, 126, 34, 0.65);
    animation: none;
}

.pref-hero-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    color: var(--pref-main);
    padding: 16px 28px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.pref-hero-cta .btn-secondary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--pref-main);
}

.pref-hero-note {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
}

/* ============================================
   2. ALERT SECTION
   ============================================ */

.pref-alert-section {
    background: var(--pref-light-bg);
    padding: 30px 20px;
}

.pref-alert-box {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 2px solid var(--pref-main);
    border-left: 6px solid var(--pref-accent);
    border-radius: var(--pref-radius);
    padding: 24px 28px;
    box-shadow: var(--pref-shadow);
}

.pref-alert-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.pref-alert-text {
    font-size: 14px;
    line-height: 1.85;
    color: var(--pref-text);
}

.pref-alert-text strong {
    color: var(--pref-main-dark);
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

/* ============================================
   3. CHECKLIST SECTION (悩みセクション)
   ============================================ */

.pref-section-light {
    background: var(--pref-light-bg);
    padding: 64px 20px;
}

.pref-section-white {
    background: var(--pref-white);
    padding: 64px 20px;
}

.pref-section-title {
    text-align: center;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 900;
    color: var(--pref-main-dark);
    margin-bottom: 40px;
    line-height: 1.5;
    position: relative;
    padding-bottom: 16px;
}

.pref-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--pref-main), var(--pref-accent));
    border-radius: 2px;
}

.pref-area-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: var(--pref-radius);
    box-shadow: var(--pref-shadow);
    margin: 0 auto 36px;
    display: block;
}

.pref-lead-box {
    background: #fff;
    border-radius: var(--pref-radius);
    border-left: 5px solid var(--pref-main);
    padding: 28px 30px;
    margin-bottom: 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    font-size: 15px;
    line-height: 1.9;
    color: var(--pref-text);
}

/* チェックリストグリッド */
.pref-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.pref-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    padding: 16px 18px;
    border-radius: 8px;
    border: 1px solid #e8eef5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.pref-check-item:hover {
    border-color: var(--pref-main);
    box-shadow: 0 4px 16px rgba(30, 60, 114, 0.12);
    transform: translateY(-2px);
}

.pref-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--pref-main);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pref-check-item span:last-child {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pref-text);
    font-weight: 500;
}

/* チェックリスト後のインラインCTA */
.pref-cta-inline {
    text-align: center;
    padding: 28px 24px;
    background: #fff;
    border-radius: var(--pref-radius);
    border: 2px dashed var(--pref-main);
    margin-top: 10px;
}

.pref-cta-inline p {
    font-size: 16px;
    font-weight: 700;
    color: var(--pref-main-dark);
    margin-bottom: 16px;
}

.pref-cta-inline .btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pref-accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    transition: all 0.3s ease;
}

.pref-cta-inline .btn-cta-main:hover {
    background: var(--pref-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.55);
}

/* ============================================
   4. DANGER SECTION (資金調達の順番)
   ============================================ */

.pref-section-danger {
    background: linear-gradient(135deg, #b71c1c 0%, #c62828 50%, #e53935 100%);
    padding: 64px 20px;
    position: relative;
    overflow: hidden;
}

.pref-section-danger::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.pref-section-danger .pref-section-title {
    color: #fff;
}

.pref-section-danger .pref-section-title::after {
    background: rgba(255,255,255,0.6);
}

.pref-danger-note {
    text-align: center;
    color: rgba(255,255,255,0.88);
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.7;
}

/* ステップカード (j-fund naphtha-danger-card 相当) */
.pref-step-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 760px;
    margin: 0 auto 40px;
    position: relative;
}

.pref-step-card {
    background: rgba(255,255,255,0.97);
    border-radius: var(--pref-radius);
    padding: 26px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.pref-step-connector {
    text-align: center;
    padding: 12px 0;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pref-step-connector i {
    font-size: 20px;
    color: rgba(255,255,255,0.5);
}

.pref-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
    color: #fff;
}

.pref-step-num.step-1 { background: var(--pref-main); }
.pref-step-num.step-2 { background: #f39c12; }
.pref-step-num.step-3 { background: var(--pref-success); }

.pref-step-body h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--pref-main-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pref-step-body h3 i {
    color: var(--pref-main);
    font-size: 16px;
}

.pref-step-body p {
    font-size: 14px;
    line-height: 1.75;
    color: #444;
    margin: 0;
}

/* 最適解ボックス */
.pref-best-pick {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255,255,255,0.13);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--pref-radius);
    padding: 28px 32px;
    text-align: center;
    backdrop-filter: blur(6px);
}

.pref-best-pick p {
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.7;
}

.pref-best-pick p:first-child {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pref-best-pick .btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--pref-danger);
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.pref-best-pick .btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--pref-danger);
}

/* ============================================
   5. INDUSTRY GRID (よくある業種)
   ============================================ */

.pref-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.pref-industry-card {
    display: block;
    padding: 24px 20px;
    background: #fff;
    border-radius: var(--pref-radius);
    box-shadow: var(--pref-shadow);
    text-decoration: none;
    color: var(--pref-text);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pref-industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pref-main), var(--pref-main-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pref-industry-card:hover {
    border-color: var(--pref-main);
    box-shadow: var(--pref-shadow-hover);
    transform: translateY(-4px);
    color: var(--pref-text);
}

.pref-industry-card:hover::before {
    transform: scaleX(1);
}

.pref-industry-icon {
    font-size: 28px;
    color: var(--pref-main);
    margin-bottom: 10px;
}

.pref-industry-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--pref-main-dark);
}

.pref-industry-card p {
    font-size: 12px;
    color: var(--pref-text-muted);
    margin: 0;
}

/* ============================================
   6. AREA GRID (対応エリア)
   ============================================ */

.pref-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.pref-area-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #cdd8e8;
    border-radius: 6px;
    text-decoration: none;
    color: var(--pref-main-dark);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pref-area-tag:hover {
    background: var(--pref-main);
    color: #fff;
    border-color: var(--pref-main);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(30, 60, 114, 0.25);
}

/* ============================================
   7. PUBLIC SUPPORT CARDS (公的支援窓口)
   ============================================ */

.pref-support-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.pref-support-card {
    background: #fff;
    border-radius: var(--pref-radius);
    padding: 24px 28px;
    border-left: 5px solid var(--pref-main);
    box-shadow: var(--pref-shadow);
    transition: all 0.25s ease;
}

.pref-support-card:hover {
    box-shadow: var(--pref-shadow-hover);
    transform: translateX(4px);
}

.pref-support-card h3 {
    font-size: 17px;
    color: var(--pref-main-dark);
    margin-bottom: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pref-support-card h3 i {
    color: var(--pref-main);
}

.pref-support-card p {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 10px;
}

.pref-support-card a {
    font-size: 13px;
    color: var(--pref-main);
    text-decoration: underline;
    font-weight: 500;
}

.pref-support-card a:hover {
    color: var(--pref-main-dark);
}

/* 警告ボックス */
.pref-warn-box {
    background: var(--pref-warning-bg);
    border: 1px solid var(--pref-warning-border);
    border-left: 5px solid var(--pref-warning-border);
    border-radius: var(--pref-radius);
    padding: 22px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pref-warn-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pref-warn-box p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--pref-text);
    margin: 0;
}

.pref-warn-box strong {
    color: #bf360c;
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/* ============================================
   8. ANIMATIONS
   ============================================ */

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseCta {
    0%, 100% { box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(230, 126, 34, 0.8), 0 0 0 8px rgba(230, 126, 34, 0.12); }
}

/* ============================================
   9. RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .pref-hero {
        min-height: auto;
    }

    .pref-hero::before {
        background-attachment: scroll;
    }

    /* スマホ：縦積み */
    .pref-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 48px 20px 36px;
    }

    .pref-hero-content {
        text-align: left;
    }

    .pref-hero-form {
        border-radius: 10px;
        padding: 22px 18px;
    }

    .pref-hero h1 {
        font-size: 22px;
    }

    .pref-hero-sub {
        font-size: 14px;
    }

    .trust-badges span {
        font-size: 12px;
        padding: 6px 14px;
    }

    .pref-hero-cta .btn-primary,
    .pref-hero-cta .btn-secondary {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
    }

    .pref-hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .pref-alert-box {
        flex-direction: column;
        gap: 12px;
        padding: 20px 18px;
    }

    .pref-section-light,
    .pref-section-white,
    .pref-section-danger {
        padding: 44px 16px;
    }

    .pref-checklist-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pref-check-item {
        padding: 13px 15px;
    }

    .pref-step-card {
        padding: 20px 18px;
        gap: 14px;
    }

    .pref-step-num {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .pref-step-body h3 {
        font-size: 16px;
    }

    .pref-best-pick {
        padding: 22px 18px;
    }

    .pref-best-pick p:first-child {
        font-size: 16px;
    }

    .pref-support-card {
        padding: 18px 20px;
    }

    .pref-support-card:hover {
        transform: none;
    }

    .pref-industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pref-industry-card {
        padding: 18px 14px;
    }
}

@media (max-width: 480px) {
    .pref-industry-grid {
        grid-template-columns: 1fr;
    }
}
