/* 一人親方労災保険 - スタイル */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1565c0;
    --blue-dark: #0d47a1;
    --blue-light: #1e88e5;
    --green: #2e7d32;
    --orange: #e65100;
    --text: #333;
    --text-light: #666;
    --bg: #f5f7fa;
    --white: #fff;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--white);
}

a {
    color: var(--blue);
    text-decoration: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.parent-link {
    color: var(--green);
    font-weight: 500;
}

.tel {
    font-weight: bold;
    color: var(--blue);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo a {
    font-size: 18px;
    font-weight: bold;
    color: var(--blue);
    display: block;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    display: block;
}

.nav {
    display: flex;
    gap: 5px;
}

.nav a {
    font-size: 13px;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 5px;
}

.nav a:hover {
    background: var(--bg);
}

/* ヒーロー */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}

.hero-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-text {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-hero {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
}

.btn-hero:hover {
    background: #bf360c;
    color: var(--white);
}

/* 対象者 */
.target {
    background: var(--bg);
    padding: 40px 20px;
    text-align: center;
}

.target h2 {
    font-size: 18px;
    color: var(--blue);
    margin-bottom: 20px;
}

.target-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.target-list span {
    background: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #ddd;
}

.target-note {
    font-size: 12px;
    color: var(--text-light);
}

/* メリット */
.merit {
    padding: 60px 0;
}

.merit h2 {
    text-align: center;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 35px;
}

.merit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.merit-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
}

.merit-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.merit-card h3 {
    font-size: 17px;
    color: var(--blue);
    margin-bottom: 10px;
}

.merit-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 補償内容 */
.compensation {
    background: var(--bg);
    padding: 60px 0;
}

.compensation h2 {
    text-align: center;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 30px;
}

.comp-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comp-table th,
.comp-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comp-table th {
    background: var(--blue);
    color: var(--white);
    width: 140px;
    font-weight: 500;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

/* 手続きの流れ */
.flow {
    padding: 60px 0;
}

.flow h2 {
    text-align: center;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 35px;
}

.flow-steps {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    width: 180px;
}

.step-num {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 12px;
}

.step-content h4 {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 5px;
}

.step-content p {
    font-size: 12px;
    color: var(--text-light);
}

/* 保険料 */
.fee {
    background: var(--bg);
    padding: 60px 0;
}

.fee h2 {
    text-align: center;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 30px;
}

.fee-box {
    background: var(--white);
    border-radius: 10px;
    padding: 35px;
    max-width: 600px;
    margin: 0 auto;
}

.fee-formula {
    text-align: center;
    background: var(--bg);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.fee-table th,
.fee-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.fee-table th {
    background: var(--blue);
    color: var(--white);
    font-weight: 500;
}

.fee-other {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.fee-other p {
    font-size: 14px;
    margin-bottom: 5px;
}

/* お問い合わせ */
.contact {
    padding: 60px 0;
}

.contact h2 {
    text-align: center;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 35px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background: var(--bg);
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 18px;
    color: var(--blue);
    margin-bottom: 5px;
}

.contact-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-info strong {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.tel-link {
    font-size: 20px;
    font-weight: bold;
    color: var(--blue);
}

.contact-form-box {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
}

.contact-form-box h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text);
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-row label span {
    color: #e53935;
    font-size: 11px;
    margin-left: 5px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.btn-submit {
    width: 100%;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--blue-dark);
}

/* フッター */
.footer {
    background: #1a2a3a;
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    margin: 0 15px;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    font-size: 11px;
    opacity: 0.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .header-main {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 24px;
    }

    .merit-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
        align-items: center;
    }

    .flow-step {
        width: 100%;
        max-width: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
