/* =====================================================
   交通事故専門ページ - 洗練されたデザイン
   ===================================================== */

/* キービジュアルのh1スタイル */
.under .key .key_text h1 {
    font-size: 30px !important;
    letter-spacing: 0.1em;
    color: #fff;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
}

.traffic-accident-page {
    padding-bottom: 80px;
}

.traffic-accident-page .inner {
    max-width: 1100px;
}

/* セクション共通 */
.traffic-accident-page .ta-section {
    margin-bottom: 80px;
}

/* 見出しスタイル */
.traffic-accident-page h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #347bcb;
    letter-spacing: 0.1em;
    line-height: 1.6;
    font-weight: 600;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    position: static !important;
    margin-top: 0;
}

.traffic-accident-page h2 .eng {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #3c98ff;
    margin-bottom: 10px;
}

.traffic-accident-page h2::before,
.traffic-accident-page h2::after {
    display: none !important;
}

.traffic-accident-page h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    border: none !important;
    padding: 0 !important;
}

.traffic-accident-page h3::before,
.traffic-accident-page h3::after {
    display: none !important;
}

/* インラインCTA */
.ta-inline-cta {
    background: linear-gradient(135deg, #0651b6 0%, #3c98ff 100%);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
}

.ta-inline-cta-text {
    font-size: 20px;
    color: #fff;
    margin: 0 0 25px;
    font-weight: 400;
}

.ta-inline-cta-text strong {
    font-weight: 600;
}

.ta-inline-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ta-inline-btn-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    color: #0651b6;
    border-radius: 8px;
    padding: 15px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.ta-inline-btn-tel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
}

.ta-inline-tel-number {
    font-size: 24px;
    font-weight: 700;
    font-family: "Josefin Sans", sans-serif;
    color: #0651b6;
    letter-spacing: 0.03em;
}

.ta-inline-tel-time {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.ta-inline-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFE836;
    color: #333;
    border-radius: 8px;
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.ta-inline-btn-contact:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
}

/* お悩みセクション */
.ta-troubles {
    background: #f5fafb;
    border-radius: 10px;
    padding: 60px 50px;
}

.ta-troubles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.ta-trouble-item {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.ta-trouble-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ta-trouble-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #3c98ff 0%, #0651b6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Josefin Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
}

.ta-trouble-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.ta-trouble-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.ta-troubles-solution {
    text-align: center;
}

.ta-solution-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #347bcb;
    margin: 0 auto 20px;
}

.ta-solution-text {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.ta-solution-text .strong {
    color: #347bcb;
    font-size: 26px;
}

/* 選ばれる理由 */
.ta-reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ta-reason-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    border: 1px solid #e5e5e5;
    position: relative;
    transition: all 0.3s ease;
}

.ta-reason-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.ta-reason-number {
    margin-bottom: 20px;
}

.ta-reason-number .point {
    font-family: "Josefin Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #3c98ff;
    letter-spacing: 0.1em;
}

.ta-reason-number .num {
    font-family: "Josefin Sans", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0651b6;
    margin-left: 5px;
    background: linear-gradient(135deg, #3c98ff 0%, #0651b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ta-reason-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.ta-reason-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 賠償金増額セクション */
.ta-increase-bg {
    background: #f5fafb;
    border-radius: 10px;
    padding: 60px 50px;
}

.ta-increase-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.ta-increase-explanation {
    flex: 1;
}

.ta-increase-explanation p {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 15px;
}

.ta-increase-chart {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #e5e5e5;
}

.ta-chart-item {
    margin-bottom: 20px;
}

.ta-chart-item:last-child {
    margin-bottom: 0;
}

.ta-chart-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.ta-chart-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ta-chart-bar {
    height: 35px;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.ta-bar-low {
    background: linear-gradient(90deg, #a0aec0 0%, #cbd5e0 100%);
}

.ta-bar-mid {
    background: linear-gradient(90deg, #63b3ed 0%, #90cdf4 100%);
}

.ta-bar-high {
    background: linear-gradient(90deg, #0651b6 0%, #3c98ff 100%);
}

.ta-chart-value {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    min-width: 30px;
}

.ta-increase-note {
    background: #fff;
    border-radius: 8px;
    padding: 20px 25px;
    border-left: 4px solid #ed8936;
}

.ta-increase-note p {
    font-size: 14px;
    color: #744210;
    margin: 0;
    line-height: 1.7;
}

/* 解決の流れ */
.ta-flow-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.ta-flow-steps::before {
    content: "";
    position: absolute;
    left: 60px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, #3c98ff 0%, #0651b6 100%);
}

.ta-flow-step {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.ta-flow-step:last-child {
    margin-bottom: 0;
}

.ta-flow-step-num {
    width: 120px;
    flex-shrink: 0;
    text-align: center;
    background: #fff;
    padding: 20px 10px;
    border-radius: 10px;
    border: 2px solid #3c98ff;
    position: relative;
    z-index: 1;
}

.ta-flow-step-num .step {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #3c98ff;
    letter-spacing: 0.1em;
}

.ta-flow-step-num .num {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0651b6;
}

.ta-flow-step-content {
    flex: 1;
    background: #f5fafb;
    border-radius: 10px;
    padding: 25px 30px;
}

.ta-flow-step-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.ta-flow-step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 対応可能な案件 */
.ta-services {
    background: #f5fafb;
    border-radius: 10px;
    padding: 60px 50px;
}

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

.ta-service-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 35px;
}

.ta-service-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3c98ff 0%, #0651b6 100%);
    border-radius: 10px 0 0 10px;
}

.ta-service-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ta-service-item h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.ta-service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 弁護士紹介 */
.ta-lawyer-content {
    background: #fff;
    border-radius: 10px;
    padding: 50px;
    display: flex;
    gap: 40px;
    align-items: center;
    border: 1px solid #e5e5e5;
}

.ta-lawyer-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid #e5e5e5;
}

.ta-lawyer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ta-lawyer-info {
    flex: 1;
}

.ta-lawyer-position {
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 15px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.ta-lawyer-name {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.ta-lawyer-name .en {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-left: 15px;
    font-family: "Josefin Sans", sans-serif;
}

.ta-lawyer-profile p {
    font-size: 15px;
    color: #555;
    line-height: 2;
    margin-bottom: 12px;
}

.ta-lawyer-profile p:last-child {
    margin-bottom: 0;
}

/* FAQ */
.ta-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.ta-faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.ta-faq-question {
    display: flex;
    gap: 15px;
    padding: 25px 30px;
    background: #f5fafb;
    align-items: center;
}

.ta-faq-q {
    background: linear-gradient(135deg, #3c98ff 0%, #0651b6 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: "Josefin Sans", sans-serif;
}

.ta-faq-question p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.ta-faq-answer {
    display: flex;
    gap: 15px;
    padding: 25px 30px;
    align-items: flex-start;
}

.ta-faq-a {
    background: #e5e5e5;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: "Josefin Sans", sans-serif;
}

.ta-faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* CTAセクション */
.ta-cta-section {
    margin-bottom: 40px !important;
}

/* 事務所情報 */
.ta-office {
    margin-bottom: 0 !important;
}

.ta-office-content {
    text-align: center;
    padding: 30px;
    background: #f5fafb;
    border-radius: 10px;
}

.ta-office-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.ta-office-address,
.ta-office-hours {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
    /* キービジュアルのh1 */
    .under .key .key_text h1 {
        font-size: 20px !important;
        letter-spacing: 0.05em;
    }

    .traffic-accident-page .ta-section {
        margin-bottom: 50px;
    }

    .traffic-accident-page h2 {
        font-size: 24px;
        margin-bottom: 35px;
    }

    /* インラインCTA */
    .ta-inline-cta {
        padding: 30px 20px;
    }

    .ta-inline-cta-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .ta-inline-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .ta-inline-btn-tel,
    .ta-inline-btn-contact {
        width: 100%;
    }

    .ta-inline-tel-number {
        font-size: 20px;
    }

    .ta-inline-btn-contact {
        padding: 16px 30px;
    }

    /* お悩み */
    .ta-troubles {
        padding: 40px 20px;
    }

    .ta-troubles-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ta-trouble-item {
        padding: 20px;
    }

    .ta-solution-text {
        font-size: 18px;
    }

    .ta-solution-text .strong {
        font-size: 22px;
    }

    /* 選ばれる理由 */
    .ta-reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ta-reason-card {
        padding: 25px 20px;
    }

    /* 賠償金増額 */
    .ta-increase-bg {
        padding: 40px 20px;
    }

    .ta-increase-content {
        flex-direction: column;
        gap: 30px;
    }

    .ta-increase-chart {
        padding: 20px;
    }

    /* 解決の流れ */
    .ta-flow-steps::before {
        display: none;
    }

    .ta-flow-step {
        flex-direction: column;
        gap: 15px;
    }

    .ta-flow-step-num {
        width: 100%;
        padding: 15px;
    }

    .ta-flow-step-content {
        padding: 20px;
    }

    /* 対応案件 */
    .ta-services {
        padding: 40px 20px;
    }

    .ta-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .ta-service-item {
        padding: 20px 15px 20px 25px;
    }

    .ta-service-item h3 {
        font-size: 15px;
    }

    /* 弁護士紹介 */
    .ta-lawyer-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 25px;
    }

    .ta-lawyer-image {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    .ta-lawyer-name {
        font-size: 22px;
    }

    .ta-lawyer-name .en {
        display: block;
        margin: 5px 0 0;
    }

    .ta-lawyer-profile p {
        text-align: left;
    }

    /* FAQ */
    .ta-faq-question,
    .ta-faq-answer {
        padding: 20px;
    }

    .ta-faq-question p {
        font-size: 15px;
    }

    /* 事務所情報 */
    .ta-office-content {
        padding: 20px;
    }

    .ta-office-name {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    .ta-services-grid {
        grid-template-columns: 1fr;
    }
}

