/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

h3 {
    font-size: 1em;
}

/* PC・タブレット用（幅768px以上） */
.pc {
    display: block;
}

.sp {
    display: none;
}

@media screen and (max-width: 767px) {

    /* スマホ用（幅767px以下） */
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #4a90e2 0%, #7bb3f0 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107;
}

.business-hours {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ナビゲーション */
nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #e3f2fd;
    color: #4a90e2;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -6px);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(rgba(74, 144, 226, 0.6), rgba(123, 179, 240, 0.6)), url('../img/top-1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;

}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 0.8rem;
    margin-bottom: 0rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(0, 102, 255, 0.304);
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;

}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: #ffc107;
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn:hover {
    background: #ffca2c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4a90e2;
}

/* セクション共通 */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4a90e2;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* サービス紹介 */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: #f0f8ff;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.service-icon {
    font-size: 4rem;
    color: #4a90e2;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a90e2;
}


.advantage-number {
    background: #4a90e2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* お知らせ */
.news {
    background: white;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: #f0f8ff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #4a90e2;
}

/* 弁護士紹介 */
.lawyer-img {
    width: 150px;
    height: 150px;
    /* background: #4a90e2; */
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    background-image: url(../img/img_2.jpg);
    background-size: cover;
    border: 1px solid #4a90e2;
}

/* 料金表 */
.pricing {
    background: #f0f8ff;
}

.pricing-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-header {
    background: #4a90e2;
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-body {
    padding: 2rem;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e3f2fd;
    align-items: center;
}

.pricing-row:last-child {
    border-bottom: none;
}

/* お客様の声 */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: #4a90e2;
    position: absolute;
    top: -10px;
    left: 20px;
}

.testimonial-content {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: #4a90e2;
}

/* アクセス */
.access {
    background: #f0f8ff;
}

.access-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.office-info {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
}

.office-info h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* お問い合わせ */
.contact {
    background: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f0f8ff;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a90e2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e3f2fd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

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

.submit-btn {
    background: #4a90e2;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
}

/* フッター */
footer {
    background: #4a90e2;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    padding: 5px 20px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff3cd;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff3cd;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 記事詳細ページ専用のスタイル */
.article-container {
    max-width: 800px;
    margin: 6rem auto 2rem auto;
    padding: 0 1rem;
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff6b35;
}

.article-date {
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: bold;
}

.article-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.article-image {
    text-align: center;
    margin: 2rem 0;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0;
}

.nav-article {
    flex: 1;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
}

.nav-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #333;
}

.nav-article.prev {
    text-align: left;
}

.nav-article.next {
    text-align: right;
}

.nav-label {
    font-size: 0.9rem;
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-size: 1rem;
    font-weight: bold;
}

.back-links {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 記事一覧ページ専用のスタイル */
.news-list-container {
    max-width: 800px;
    margin: 6rem auto 2rem auto;
    padding: 0 1rem;
}

.news-list-header {
    text-align: center;
    margin-bottom: 2rem;
}

.news-list-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.news-list-item {
    background: white;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.news-list-date {
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.news-list-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.news-list-excerpt {
    color: #666;
    line-height: 1.6;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.pagination a:hover {
    background: #ff6b35;
    color: white;
    text-decoration: none;
}

.pagination .current {
    background: #ff6b35;
    color: white;
}

.back-link {
    text-align: center;
    margin: 2rem 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 5px;
        /* top: 50%; */
        /* transform: translateY(-50%); */
        background-color: #fff
    }

    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
        top: 50px;
    }

    .nav-menu li {
        border-bottom: 1px solid #e3f2fd;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }


    .hero h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .access-info {
        grid-template-columns: 1fr;
    }

    .pricing-row {
        grid-template-columns: 1fr;
        text-align: center;
        line-height: 1;
        border-top: 1px solid #ccc;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}


/* パンくずリスト */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 相続専用ヒーロー */
.inheritance-hero {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.inheritance-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 相続フロー */
.inheritance-flow {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    background: white;
    border: 2px solid #4a90e2;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: -10px;
    background: #ffc107;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;

}

.step-content h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
    margin-left: 20px;
}

.flow-branch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.branch-item {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.branch-item h4 {
    color: #4a90e2;
    margin-bottom: 0.5rem;
}

.sub-branch {
    display: flex;
    justify-content: space-around;
    margin-top: 0.5rem;
}

.success {
    background: #4caf50;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.failure {
    background: #f44336;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.failure-path {
    background: #ffebee;
}

.flow-arrow {
    text-align: center;
    font-size: 2rem;
    color: #4a90e2;
    margin: 1rem 0;
}

/* サポートグリッド */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

/* 解決事例 */
.case-studies {
    max-width: 1000px;
    margin: 0 auto;
}

.case-study {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
}

.case-study h3 {
    background: #4a90e2;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.case-content h4 {
    color: #4a90e2;
    margin: 1.5rem 0 1rem 0;
    border-left: 4px solid #4a90e2;
    padding-left: 1rem;
}

.case-content h5 {
    color: #333;
    margin: 1rem 0 0.5rem 0;
    font-weight: bold;
}

.case-content h6 {
    color: #4a90e2;
    margin: 1rem 0 0.5rem 0;
}

.solution-point {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.solution-point h4 {
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    border: none;
}

.law-comparison {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.law-section {
    margin-bottom: 2rem;
}

.law-section:last-child {
    margin-bottom: 0;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* 料金表の改良 */
.pricing-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
    margin-bottom: 2rem;
}

.pricing-header {
    background: #4a90e2;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.pricing-body {
    padding: 0;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 2fr 3fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.pricing-row:last-child {
    border-bottom: none;
}

.header-row {
    background: #f8f9fa;
    font-weight: bold;
}

.pricing-note {
    padding: 0 1.5rem 1rem 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.pricing-note p {
    margin: 0.3rem 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .inheritance-hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .flow-branch {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .pricing-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .pricing-row>div {
        padding: 0.5rem 0;
    }

    .header-row>div {
        font-weight: bold;
        color: #4a90e2;
    }

    .case-study {
        padding: 1.5rem;
    }

    .law-comparison {
        padding: 1rem;
    }
}

/* アクティブなナビゲーション */
.nav-menu a.active {
    background: #4a90e2;
    color: white;

}

/* 離婚専用ヒーロー */
.divorce-hero {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.divorce-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 離婚フロー */
.divorce-flow {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.1);
}

.flow-title {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

/* 手続き詳細 */
.procedure-details {
    background: #fff5f5;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.procedure-details h4 {
    color: #e91e63;
    margin-bottom: 1rem;
}

.procedure-details ul {
    margin: 0;
    padding-left: 1.5rem;
}

.procedure-details li {
    margin-bottom: 0.5rem;
}

/* 確認期間 */
.confirmation-period {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.period-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #e91e63;
}

.period-item h4 {
    color: #e91e63;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.period-item p {
    margin: 0;
    font-weight: bold;
}

/* 訴訟結果 */
.litigation-outcomes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.outcome-item {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e91e63;
}

.outcome-item h4 {
    color: #e91e63;
    margin-bottom: 1rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    background: #e91e63;
    color: white;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #c2185b;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* 離婚専用サポートカード */
.divorce-hero+.section .support-card {
    border-top: 3px solid #e91e63;
}

.divorce-hero+.section .support-card:hover {
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
}

.divorce-hero+.section .support-card h3 {
    color: #e91e63;
}

/* 料金表（離婚用） */
.divorce-hero~.section .pricing-header {
    background: #e91e63;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .divorce-hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .confirmation-period {
        grid-template-columns: 1fr;
    }

    .litigation-outcomes {
        grid-template-columns: 1fr;
    }

    .divorce-flow {
        padding: 1.5rem;
    }

    .flow-title {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .period-item {
        padding: 1rem;
    }

    .outcome-item {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

.step {
    margin: 30px 0;
    padding-left: 20px;
}

.step-title {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.branch {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.branch-item {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.has-will {
    background: #e8f5e8;
    border: 2px solid #28a745;
    color: #155724;
}

.no-will {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.support-note {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.lawyer-icon {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 10px;
}

.decision-flow {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.decision-box {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.specified {
    background: #cce5ff;
    border: 2px solid #007bff;
}

.negotiation {
    background: #d4edda;
    border: 2px solid #28a745;
}

.success {
    background: #d4edda;
    color: #155724;
}

.failure {
    background: #f8d7da;
    color: #721c24;
}

.mediation {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.warning {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.arrow {
    text-align: center;
    font-size: 24px;
    color: #007bff;
    margin: 10px 0;
}