/* ===== 保険選定.com HP スタイル ===== */

:root {
    --hp-orange: #FF6B35;
    --hp-orange-dark: #E55A25;
    --hp-orange-light: #FFF3EE;
    --hp-green: #06C755;
    --hp-green-dark: #05A847;
    --hp-navy: #1A2B4A;
    --hp-gray: #6B7280;
    --hp-border: #E5E7EB;
    --hp-white: #ffffff;
    --hp-cream: #FAFAF8;
    --hp-radius: 16px;
    --hp-radius-lg: 24px;
    --hp-shadow: 0 4px 24px rgba(0,0,0,0.07);
    --hp-shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
}

/* ===== リセット ===== */
.hp-section *, .hp-hero * { box-sizing: border-box; }

/* ===== セクション共通 ===== */
.hp-section {
    padding: 80px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}
.hp-section-white { background: var(--hp-white); }
.hp-section-cream { background: var(--hp-cream); }
.hp-section-orange-light { background: var(--hp-orange-light); }
.hp-section-green-light { background: #F0FDF4; }

.hp-container { margin: 0 auto; padding: 0 40px; }
.hp-container-md { max-width: 860px; }
.hp-container-lg { max-width: 1160px; }

.hp-section-head { text-align: center; margin-bottom: 56px; }
.hp-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--hp-orange);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}
.hp-section-title {
    font-size: clamp(26px, 3.5vw, 40px) !important;
    font-weight: 900 !important;
    color: var(--hp-navy) !important;
    margin: 0 0 14px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
}
.hp-section-title::before,
.hp-section-title::after { display: none !important; }
.hp-section-desc {
    font-size: 16px;
    color: var(--hp-gray);
    line-height: 1.75;
    margin: 0;
}

.hp-text-center { text-align: center; }
.hp-mt-8 { margin-top: 40px; }

/* ===== ボタン ===== */
.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none !important;
    transition: all 0.2s;
    white-space: nowrap;
}
.hp-btn-lg { padding: 16px 40px; font-size: 17px; }
.hp-btn-full { width: 100%; justify-content: center; }
.hp-btn-primary {
    background: var(--hp-orange);
    color: #fff !important;
}
.hp-btn-primary:hover { background: var(--hp-orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); }
.hp-btn-line {
    background: var(--hp-green);
    color: #fff !important;
}
.hp-btn-line:hover { background: var(--hp-green-dark); transform: translateY(-2px); }
.hp-btn-white {
    background: #fff;
    color: var(--hp-orange) !important;
}
.hp-btn-white:hover { background: var(--hp-orange-light); transform: translateY(-2px); }

/* ===== ヒーロースライダー ===== */
.hp-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}
.hp-hero-slides { position: relative; width: 100%; height: 100%; }
.hp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}
.hp-slide-active { opacity: 1; z-index: 1; }
.hp-slide-1 { background: url('https://admin-testsite-77777.com/wp-content/uploads/2025/08/%E5%90%8D%E7%A7%B0_%E6%9C%AA_%E8%A8%AD%E5%AE%9A.jpeg') center/cover no-repeat; }
.hp-slide-2 { background: linear-gradient(135deg, #1A2B4A 0%, #2D4A7A 100%); }
.hp-slide-3 { background: linear-gradient(135deg, #0D3D2B 0%, #1A6B4A 100%); }
.hp-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 100%);
}
.hp-slide-content {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}
.hp-slide-eyebrow {
    display: inline-block;
    background: var(--hp-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}
.hp-slide-title {
    font-size: clamp(32px, 5vw, 64px) !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.2 !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.02em !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hp-slide-title::before,
.hp-slide-title::after { display: none !important; }
.hp-slide-title em {
    color: var(--hp-orange);
    font-style: normal;
}
.hp-slide-desc {
    font-size: clamp(14px, 1.8vw, 18px);
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin: 0 0 32px;
}
.hp-slide-desc br { display: none; }
.hp-slide-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* スライダーコントロール */
.hp-slide-dots {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hp-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none; cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.hp-dot-active { background: var(--hp-orange); width: 28px; border-radius: 5px; }
.hp-slide-prev,
.hp-slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.hp-slide-prev { left: 24px; }
.hp-slide-next { right: 24px; }
.hp-slide-prev:hover,
.hp-slide-next:hover { background: var(--hp-orange); border-color: var(--hp-orange); }

/* 統計バー */
.hp-hero-stats-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--hp-orange);
    z-index: 10;
}
.hp-hero-stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.hp-hero-stat { text-align: center; padding: 0 40px; }
.hp-stat-num {
    display: block;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    color: var(--hp-orange);
    line-height: 1;
}
.hp-stat-num small { font-size: 0.45em; font-weight: 700; }
.hp-stat-label {
    display: block;
    font-size: 11px;
    color: var(--hp-gray);
    font-weight: 600;
    margin-top: 4px;
}
.hp-hero-stat-div {
    width: 1px;
    height: 40px;
    background: var(--hp-border);
    flex-shrink: 0;
}

/* ===== 3つの特徴 ===== */
.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.hp-feature-card {
    background: var(--hp-white);
    border: 2px solid var(--hp-border);
    border-radius: var(--hp-radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all 0.2s;
    box-shadow: var(--hp-shadow);
}
.hp-feature-card:hover {
    border-color: var(--hp-orange);
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow-lg);
}
.hp-feature-num {
    position: absolute;
    top: -14px;
    left: 28px;
    background: var(--hp-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.1em;
}
.hp-feature-icon {
    width: 72px; height: 72px;
    background: var(--hp-orange-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 8px auto 20px;
    font-size: 32px;
    color: var(--hp-orange);
}
.hp-feature-card h3 {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--hp-navy) !important;
    margin: 0 0 14px !important;
    line-height: 1.4 !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
}
.hp-feature-card h3::before,
.hp-feature-card h3::after { display: none !important; }
.hp-feature-card p {
    font-size: 14px;
    color: var(--hp-gray);
    line-height: 1.8;
    margin: 0;
}

/* ===== ご相談の流れ ===== */
.hp-flow-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.hp-flow-card {
    flex: 1;
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--hp-shadow);
    position: relative;
}
.hp-flow-step {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--hp-gray);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.hp-flow-step span {
    font-size: 20px;
    font-weight: 900;
    color: var(--hp-orange);
    display: block;
    line-height: 1;
    margin-top: 2px;
}
.hp-flow-icon-wrap {
    width: 64px; height: 64px;
    background: var(--hp-orange-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--hp-orange);
}
.hp-flow-card h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--hp-navy) !important;
    margin: 0 0 10px !important;
    line-height: 1.4 !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
}
.hp-flow-card h3::before,
.hp-flow-card h3::after { display: none !important; }
.hp-flow-card p {
    font-size: 13px;
    color: var(--hp-gray);
    line-height: 1.7;
    margin: 0 0 12px;
}
.hp-flow-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--hp-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.hp-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 28px;
    color: var(--hp-orange);
    margin-top: 80px;
    flex-shrink: 0;
}

/* ===== 取扱保険会社 ===== */
.hp-company-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hp-company-tab {
    padding: 10px 24px;
    border: 2px solid var(--hp-border);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-gray);
    cursor: pointer;
    transition: all 0.2s;
}
.hp-company-tab-active {
    background: var(--hp-orange);
    border-color: var(--hp-orange);
    color: #fff;
}
.hp-company-list {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}
.hp-company-list-active { display: flex; }
.hp-company-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F9FAFB;
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-navy);
    transition: all 0.2s;
}
.hp-company-item:hover {
    border-color: var(--hp-orange);
    background: var(--hp-orange-light);
}
.hp-company-item i { color: var(--hp-orange); font-size: 16px; }
.hp-company-note {
    text-align: center;
    font-size: 12px;
    color: var(--hp-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}
.hp-company-note i { color: var(--hp-orange); }

/* ===== お客様の声 ===== */
.hp-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hp-voice-card {
    background: #fff;
    border-radius: var(--hp-radius-lg);
    padding: 28px;
    box-shadow: var(--hp-shadow);
    display: flex;
    flex-direction: column;
}
.hp-voice-stars {
    color: #FFB800;
    font-size: 18px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.hp-voice-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.85;
    margin: 0 0 auto;
    font-style: italic;
    padding-bottom: 18px;
}
.hp-voice-footer {
    border-top: 1px solid var(--hp-border);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.hp-voice-info { display: flex; flex-direction: column; gap: 2px; }
.hp-voice-age { font-size: 12px; color: var(--hp-gray); }
.hp-voice-initial { font-size: 15px; font-weight: 800; color: var(--hp-navy); }
.hp-voice-save {
    font-size: 12px;
    font-weight: 700;
    color: var(--hp-orange);
    background: var(--hp-orange-light);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ===== CTA ===== */
.hp-cta-section {
    background: linear-gradient(135deg, var(--hp-orange) 0%, #FF4500 100%);
    padding: 80px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}
.hp-cta-inner { text-align: center; }
.hp-cta-title {
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 0 14px !important;
    line-height: 1.3 !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
}
.hp-cta-title::before, .hp-cta-title::after { display: none !important; }
.hp-cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 32px;
}
.hp-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}
.hp-cta-section .hp-btn-white { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.hp-cta-note {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* ===== FAQ ===== */
.hp-faq-list { display: flex; flex-direction: column; gap: 12px; }
.hp-faq-item {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hp-faq-q {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    transition: background 0.2s;
}
.hp-faq-q:hover { background: var(--hp-orange-light); }
.hp-faq-icon {
    width: 30px; height: 30px;
    background: var(--hp-orange);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hp-faq-q span:nth-child(2) {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--hp-navy);
    line-height: 1.5;
}
.hp-faq-arrow {
    font-size: 22px;
    color: var(--hp-gray);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.hp-faq-a {
    display: none;
    padding: 0 24px 20px 68px;
    gap: 14px;
    align-items: flex-start;
}
.hp-faq-a.hp-faq-open { display: flex; }
.hp-faq-a-icon {
    width: 30px; height: 30px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.hp-faq-a p {
    font-size: 14px;
    color: #374151;
    line-height: 1.85;
    margin: 0;
}

/* ===== LINE連絡 ===== */
.hp-line-box {
    background: #fff;
    border-radius: var(--hp-radius-lg);
    padding: 40px 48px;
    box-shadow: var(--hp-shadow-lg);
    display: flex;
    align-items: center;
    gap: 48px;
}
.hp-line-left {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.hp-line-icon {
    width: 64px; height: 64px;
    background: var(--hp-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
}
.hp-line-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: var(--hp-navy) !important;
    margin: 0 0 6px !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: none !important;
}
.hp-line-title::before, .hp-line-title::after { display: none !important; }
.hp-line-desc { font-size: 14px; color: var(--hp-gray); margin: 0 0 16px; }
.hp-line-features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.hp-line-features li {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: #374151;
}
.hp-line-features i { color: var(--hp-green); font-size: 18px; }
.hp-line-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.hp-line-qr {
    width: 140px; height: 140px;
    border: 3px solid var(--hp-green);
    border-radius: 14px;
    padding: 6px;
}

/* ===== モーダル ===== */
.hp-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.hp-modal-box {
    background: #fff;
    border-radius: var(--hp-radius-lg);
    max-width: 400px; width: 100%;
    padding: 40px 32px;
    position: relative;
    text-align: center;
}
.hp-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: #F3F4F6; border: none; border-radius: 50%;
    cursor: pointer; font-size: 20px; color: #374151;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.hp-modal-close:hover { background: #E5E7EB; }
.hp-modal-inner { text-align: center; }
.hp-modal-line-icon {
    width: 72px; height: 72px;
    background: var(--hp-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px; color: #fff;
}
.hp-modal-box h3 {
    font-size: 22px !important; font-weight: 900 !important;
    color: var(--hp-navy) !important; margin: 0 0 8px !important;
    border: none !important; padding: 0 !important;
    box-shadow: none !important; background: none !important;
}
.hp-modal-box h3::before, .hp-modal-box h3::after { display: none !important; }
.hp-modal-box > .hp-modal-inner > p { font-size: 14px; color: var(--hp-gray); margin: 0 0 20px; }
.hp-qr-wrap {
    border: 3px solid var(--hp-green);
    border-radius: 14px; padding: 12px;
    margin-bottom: 18px; display: inline-block;
}
.hp-qr-wrap img { width: 160px; height: 160px; display: block; }
.hp-modal-note { font-size: 11px; color: var(--hp-gray); margin: 10px 0 0; }

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
    .hp-features-grid { grid-template-columns: 1fr; gap: 20px; }
    .hp-flow-grid { flex-direction: column; gap: 16px; }
    .hp-flow-arrow { transform: rotate(90deg); margin: -4px auto; }
    .hp-voice-grid { grid-template-columns: 1fr; }
    .hp-line-box { flex-direction: column; padding: 28px 24px; gap: 24px; }
    .hp-line-left { flex-direction: column; }
    .hp-line-right { width: 100%; }
    .hp-slide-content { padding: 0 24px; }
    .hp-hero-stats-inner { padding: 16px 20px; gap: 0; flex-wrap: wrap; }
    .hp-hero-stat { padding: 8px 16px; width: 50%; }
    .hp-hero-stat-div { display: none; }
}
@media (max-width: 600px) {
    .hp-section { padding: 56px 0; }
    .hp-container { padding: 0 20px; }
    .hp-hero { max-height: none; height: 100svh; }
    .hp-slide-title { font-size: 30px !important; }
    .hp-slide-actions { flex-direction: column; }
    .hp-slide-actions .hp-btn { width: 100%; justify-content: center; }
    .hp-slide-prev { left: 12px; }
    .hp-slide-next { right: 12px; }
    .hp-slide-dots { bottom: 100px; }
    .hp-cta-buttons { flex-direction: column; align-items: stretch; }
    .hp-cta-buttons .hp-btn { justify-content: center; }
}
