/* Start Navigation */
body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #FFFFFF;
    line-height: 1.5;
}
/* End Navigation */

/* Start Breadcrumb */
.breadcrumb__container {
    margin-top: 24px;
}

.breadcrumb__nav {
    max-width: 1720px;
    margin: 0 5.2%;
    display: flex;
    column-gap: 4px;
    align-items: center;
}

.breadcrumb__separator {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.breadcrumb__link {
    font-size: 16px;
    font-weight: 500;
    color: #828282;
}

.breadcrumb__current {
    font-size: 16px;
    font-weight: 500;
    color: #1C1C1C;
}

/* End Breadcrumb */

/* Start Hero banner */
.hero-banner__container {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    display: flex;
}

.hero-banner__content {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner__image {
    flex-basis: 50%;
}

.hero-banner__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: flex;
}

.hero-banner__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.title-herobanner__header {
    border-bottom: 2px solid #DCDCDC;
    position: relative;
}

.title-herobanner__title {
    font-size: 56px;
    font-weight: 700;
    color: #1C1C1C;
    padding-bottom: 24px;
    line-height: 1.25;
}

.title-herobanner__divider {
    display: flex;
    height: 4px;
    width: 120px;
    background-color: #E9450A;
    position: absolute;
    bottom: -2px;
}

.hero-banner__description {
    margin-top: 24px;
}

.hero-banner__text {
    font-size: 20px;
    font-weight: 500;
    color: #636363;
}

/* End Hero banner */

/* Start Search by Field */
.search-by-field {
    max-width: 1820px;
    background-color: #F5F1EA;
}

.title-section__header {
    border-bottom: 2px solid #DCDCDC;
    position: relative;
    width: fit-content;
}

.title-section__title {
    font-size: 48px;
    font-weight: 700;
    color: #1C1C1C;
    padding-bottom: 24px;
    line-height: 1.25;
}

.title-section__divider {
    display: flex;
    height: 4px;
    width: 120px;
    background-color: #E9450A;
    position: absolute;
    bottom: -2px;
}

.search-by-field__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 60px 0;
}

.search-by-category__tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-by-category__tag {
    font-size: 16px;
    font-weight: 500;
    color: #1C1C1C;
    background-color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 90px;
    border: 1px solid #EDEDED;
    cursor: pointer;
}

.search-by-category__tag.active {
    background-color: #E9450A;
    color: #FFFFFF;
    cursor: unset;
}


.case-category-divorces {
    margin-top: 40px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(384px, 1fr));
}

.case-category-divorce__header {
    display: flex;
    padding: 16px 20px;
    background-color: #E9EDF7;
    border-left: 4px solid #1E4BB1;
    column-gap: 4px;
}

.case-category-divorce__title {
    font-size: 20px;
    font-weight: 700;
    color: #1E4BB1;
}

.case-category-divorce__link-text {
    color: #E9450A;
    font-size: 14px;
    font-weight: 500;
}

.case-category-divorce {
    display: flex;
    flex-direction: column;
}

.case-category-divorce__info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-category-divorce__action {
    display: flex;
    column-gap: 8px;
}

.case-category-divorce__count {
    font-size: 14px;
    font-weight: 400;
    color: #1E4BB1;
    margin-top: 4px;
}

.case-category-divorce__tags {
    padding: 16px 0;
    background-color: #FFFFFF;
}

.case-category-divorce__tags-container {
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.case-category-divorce__tag {
    font-size: 12px;
    font-weight: 400;
    color: #101828;
    background-color: #FAF8F5;
    padding: 3px 12px;
    border-radius: 90px;
}

/* End Search by Field */

/* Start Latest Solution Case */
.latest-solution-case {
    display: flex;
    padding: 60px 0;
}

.latest-solution-case__container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    width: 100%;
}

.latest-solution-case__summary {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.latest-solution-case__content {
    margin-top: 40px;
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
    column-gap: 40px;
    row-gap: 24px;
}

.latest-solution-case__content.active {
    display: grid;
}

.latest-solution-case__item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #FAF8F5;
    row-gap: 20px;
}

.latest-solution-case__tags {
    display: flex;
}

.latest-solution-case__tag {
    font-size: 14px;
    font-weight: 400;
    color: #1E4BB1;
    background-color: #FFFFFF;
    padding: 7px 12px;
    border: 1px solid #1E4BB1;
    border-radius: 90px;
    line-height: 1.15;
}

.latest-solution-case__client {
    display: flex;
    flex-direction: column;
}

.latest-solution-case__client {
    font-size: 16px;
    font-weight: 400;
    color: #1C1C1C;
}

.latest-solution-case__case-description {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C1C;
    margin-top: 8px;
    /* limit 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 72px;
}

.latest-solution-case__detail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.latest-solution-case__detail-link {
    background-color: #E9450A;
    display: flex;
    width: fit-content;
    align-items: center;
}

.latest-solution-case__detail-text {
    font-size: 16px;
    font-weight: 500;
    color: #F2F0EE;
    padding: 16px;
}

.latest-solution-case__divider {
    display: block;
    width: 1px;
    height: 28px;
    background-color: #FFFFFF;
}

.latest-solution-case__detail-icon {
    display: flex;
    align-items: center;
    padding: 16px;
}

.latest-solution-case__more {
    margin-top: 40px;
    display: flex;
}

.latest-solution-case__more-link {
    display: flex;
    background-color: #1E4BB1;
    width: fit-content;
    align-items: center;
}

.latest-solution-case__more-divider {
    display: block;
    width: 1px;
    height: 28px;
    background-color: #FFFFFF;
}

.latest-solution-case__more-icon {
    display: flex;
    align-items: center;
    padding: 16px;
}

.latest-solution-case__more-text {
    font-size: 16px;
    font-weight: 500;
    color: #F1EFED;
    display: flex;
    align-items: center;
    padding: 16px;
}

/* End Latest Solution Case */

/* Start Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    column-gap: 5px;
    justify-content: flex-end;
    display: none;
}

.pagination.active {
    display: flex;
}

.pagination__link {
    display: flex;
    padding: 12px;
    min-width: 48px;
    justify-content: center;
    border: 1px solid #F1F1F1;
    align-items: center;
    column-gap: 10px;
}

.pagination__link.disabled {
    pointer-events: none;
}

.pagination__link.disabled .pagination__text {
    color: #515151;
}

.pagination__link.active {
    background-color: #E9450A;
    border: transparent;
    pointer-events: none;
}

.pagination__link.active .pagination__text {
    color: #FFFFFF;
}

.pagination__text {
    font-size: 16px;
    font-weight: 400;
    color: #101828;
    display: flex;
    align-items: center;
}

.pagination__icon {
    display: flex;
    align-items: center;
}

/* End Pagination */

/* Start Footer */
footer {
    background-color: #47413E;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__content {
    padding: 32px 0 32px 0;
    display: flex;
    column-gap: 40px;
}

.footer__column {
    flex: 1;
}

.footer__nav {
    flex: 1;
    max-width: 208px;
    width: 100%;
}

.footer__column-title {
    font-size: 16px;
    font-weight: 700;
    color: #E9450A;
    padding-bottom: 8px;
    border-bottom: 1px solid #636363;
    position: relative;
}

.footer__column-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background-color: #E9450A;
    position: absolute;
    bottom: -1px;
}

.footer__column-group {
    display: flex;
    margin-top: 20px;
}

.footer__list-item {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.footer__link {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    display: flex;
}

.footer__list-item-group {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.footer__list-sub-item {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.footer__sublink {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
}

.footer__sublink::before {
    content: '';
    background-color: #E9450A;
    width: 4px;
    height: 4px;
    display: inline-block;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 16px;
}

.footer__list-sub-item--right-caret {
    max-width: 20px;
    width: 100%;
    display: flex;
    margin-left: 8px;
}

.footer__link--red {
    color: #E9450A;
}

.footer__bottom {
    display: flex;
    width: 100%;
    border-top: 1px solid #515151;
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 0 14px 0;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__logo-link {
    font-size: 24px;
    font-weight: 700;
    color: #ED6A3B;
}

.footer__bottom-link {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
}

.footer__copyright {
    padding: 20px 0;
    background-color: #272422;
}

.footer__copyright-text {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
}

/* End Footer */
