.friends-top-page {
    overflow: clip;
    background: #ddd8d1;
    margin: 0 !important;
    padding: 0 !important;
}

.friends-content-area--top,
.friends-content-area--top .site-main {
    margin: 0 !important;
    padding: 0 !important;
}

body.friends-top-active #page,
body.friends-top-active #content,
body.friends-top-active .site-content,
body.friends-top-active #primary,
body.friends-top-active #main,
body.friends-top-active .content-area,
body.friends-top-active .site-main {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.friends-top-active.one-container .site-content,
body.friends-top-active.separate-containers .site-content {
    padding: 0 !important;
}

body.friends-top-active.one-container .site-main,
body.friends-top-active.separate-containers .site-main {
    margin: 0 !important;
}

body.friends-top-active.one-container .site-main > *,
body.friends-top-active.separate-containers .site-main > * {
    margin-bottom: 0 !important;
}

.top-kv,
.top-about,
.top-features,
.top-schedule,
.top-work,
.top-voices,
.top-flow,
.top-faq,
.top-contact {
    width: 100%;
}

.top-kv {
    position: relative;
    isolation: isolate;
    z-index: 2;
    margin-top: 0 !important;
    overflow: hidden;
}

.top-kv__image {
    display: block;
    width: 100%;
    min-height: 1100px;
    object-fit: cover;
}

.top-kv::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1px;
    width: 118%;
    height: 210px;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
    z-index: 1;
}

.top-kv .friends-container {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    padding: 0 40px 0 100px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

.top-kv__copy {
    margin-bottom: 344px;
}

.top-kv__lead {
    width: min(900px, calc(100vw - 200px));
    height: 90px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 22px;
    background: #ffffff;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

.top-kv__title-main {
    flex: 0 0 auto;
    color: #2a3033;
    font-size: 62px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.top-kv__title-sub {
    color: #5a4f4a;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.top-kv__sub {
    width: fit-content;
    max-width: calc(100vw - 200px);
    height: 51px;
    margin-top: 36px !important;
    padding: 0 22px;
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #2a3033;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.top-about {
    position: relative;
    background: #ffffff;
    z-index: 3;
    overflow: visible;
    padding: 76px 0 84px;
}

.top-about .friends-container {
    position: relative;
}

.top-about__deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.top-about__deco--left {
    display: block;
    width: 460px;
    left: -250px;
    top: -210px;
}

.top-about__deco--right {
    width: 470px;
    right: -300px;
    bottom: -170px;
}

.top-about__card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 598px minmax(0, 1fr);
    gap: 64px;
    align-items: stretch;
}

.top-about__photo {
    width: 598px;
    height: 100%;
    max-width: 100%;
    border-radius: 40px;
    overflow: hidden;
}

.top-about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-about__content {
    color: #5a4f4a;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.72;
    display: flex;
    flex-direction: column;
    height: auto;
    margin-left: 10px;
}

.top-about__title {
    margin: 0;
    color: #2a3033;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.top-about__body {
    margin-top: 30px;
}

.top-about__body p + p {
    margin-top: 18px;
}

.top-about__note {
    margin-top: 30px !important;
    padding-top: 0;
    font-weight: 500;
    color: #5a4f4a;
    font-size: 16px;
    line-height: 1.8;
}

.top-about__button-wrap {
    margin-top: 78px;
    text-align: center;
}

.top-about .friends-btn--primary,
.top-flow .friends-btn--primary {
    width: 416px;
    min-width: 416px;
    height: 100px;
    min-height: 100px;
    padding: 0 72px;
    border-radius: 14px;
    font-size: 24px;
    font-weight: 700;
    justify-content: center;
    position: relative;
    text-align: center;
}

.top-about .friends-btn--primary img,
.top-flow .friends-btn--primary img {
    position: absolute;
    right: 16px;
    width: 24px;
    height: 24px;
}

.friends-btn--primary {
    min-width: 222px;
    padding: 12px 24px;
    font-size: 13px;
}

.friends-btn--primary img {
    width: 18px;
    height: 18px;
}

.top-features {
    position: relative;
    z-index: 4;
    background: #f4ede7;
    margin-top: 140px;
    padding: 20px 0 210px;
    overflow: visible;
}

.top-features::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -140px;
    width: 118%;
    height: 210px;
    background: #f4ede7;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
    z-index: 1;
}

.top-features::after {
    content: none;
    display: none;
}

.top-features .friends-container {
    position: relative;
    z-index: 2;
}

.top-features__title {
    margin-bottom: 70px;
    color: #2a3033;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
}

.top-features__title span {
    color: #f56f81;
    font-size: 45px;
    line-height: 1;
}

.top-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 396px);
    justify-content: space-between;
    gap: 0;
    margin-top: 0;
}

.top-features__card {
    width: 396px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-features__image {
    width: 396px;
    height: 350px;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

.top-features__label {
    position: absolute;
    left: 50%;
    top: 312px;
    transform: translateX(-50%);
    width: 338px;
    height: 77px;
    margin: 0;
    padding: 0 20px;
    border-radius: 40px;
    background: #fab4bc;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.top-features__desc {
    margin-top: 70px;
    color: #5a4f4a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    padding: 0 40px 0 42px;
}

@media (max-width: 1240px) {
    .top-features__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .top-features__card {
        width: 100%;
    }

    .top-features__image {
        width: 100%;
        height: auto;
        aspect-ratio: 396 / 350;
    }

    .top-features__label {
        width: min(338px, calc(100% - 28px));
    }
}

.top-schedule {
    position: relative;
    z-index: 5;
    background: #ffffff;
    padding: 124px 0 0;
    overflow-x: visible;
}

.top-schedule::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -100px;
    width: 118%;
    height: 210px;
    background: rgb(255, 255, 255);
    border-radius: 50% 50% 0px 0px / 100% 100% 0px 0px;
    pointer-events: none;
    z-index: 0;
}

.top-schedule > .friends-container {
    position: relative;
    z-index: 1;
    top: -10px;
}

.top-schedule__deco {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.top-schedule__deco--left {
    display: block;
    width: 430px;
    left: -246px;
    top: 16px;
    z-index: 0;
}

.top-schedule__deco--right {
    display: block;
    width: 356px;
    right: -286px;
    top: -68px;
}

.top-schedule__title {
    margin-bottom: 32px !important;
    color: #2a3033;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

.top-schedule__lead {
    margin: 0 auto;
    color: #5a4f4a;
    font-size: 16px;
    font-weight: 700;
    line-height: 2.25;
    text-align: center;
}

.top-schedule__table-wrap {
    position: relative;
    z-index: 2;
    width: 1156px;
    max-width: 100%;
    margin: 56px auto 0;
    padding: 62px 0 60px;
    border-radius: 52px;
    background: #fde3e6;
}

.top-schedule__table-wrap h3 {
    margin-bottom: 0;
    padding-bottom: 50px;
    text-align: center;
    color: #2a3033;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.top-schedule__table {
    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: center;
}

.top-schedule__row {
    position: relative;
    display: grid;
    grid-template-columns: 190px 206px minmax(0, 1fr);
    align-items: center;
    column-gap: 18px;
    width: 1021px;
    max-width: calc(100% - 40px);
    height: 84px;
    min-height: 84px;
    padding: 12px 44px 12px 54px;
    border-radius: 999px;
    background: #ffffff;
}

.top-schedule__row::after {
    content: "";
    position: absolute;
    left: 180px;
    bottom: -20px;
    width: 34px;
    height: 20px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.top-schedule__row:last-child::after {
    display: none;
}

.top-schedule__time,
.top-schedule__label,
.top-schedule__desc {
    color: #2a3033;
}

.top-schedule__time,
.top-schedule__label {
    font-size: 20px;
    line-height: 1.4;
}

.top-schedule__time {
    font-weight: 700;
}

.top-schedule__label {
    font-weight: 700;
}

.top-schedule__desc {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
}

.top-work {
    position: relative;
    z-index: 0;
    min-height: 890px;
    padding: 70px 0 82px;
    overflow: visible;
}

.top-work__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -25px;
    height: calc(100% + 25px);
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
}

.top-work__bg::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 170px;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}


.top-work__content {
    position: relative;
    z-index: 2;
}

.top-work .friends-section-title {
    margin-bottom: 0;
    color: #2a3033;
    font-size: 26px;
    line-height: 1.3;
}

.top-work__lead {
    margin: 0px;
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
    color: rgb(42, 48, 51);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.65;
}

.top-work__cards {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    justify-content: center;
    gap: 40px;
}

.top-work__card {
    width: 360px;
    height: 290px;
    border: 2px solid var(--friends-accent);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    box-sizing: border-box;
}

.top-work__card h3 {
    height: 74px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--friends-accent);
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

body.friends-custom-site .top-work__card ul {
    padding: 25px 28px 12px 53px;
}

.top-work__card li {
    position: relative;
    padding-left: 1em;
    color: #2a3033;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
}

.top-work__card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #f56f81;
    font-size: 20px;
    line-height: 1;
}

.top-voices {
    position: relative;
    z-index: 6;
    margin-top: -150px;
    padding: 50px 0 100px;
    background-color: #fab4bc;
    border-radius: 0 50px 50px 0;
    overflow: hidden;
}

.top-voices__panel {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter: none;
}

.top-voices__title {
    margin-bottom: 48px;
    color: #f56f81;
    font-size: 26px;
    line-height: 1.2;
}

.top-voices__title span {
    position: relative;
    display: inline-flex;
    width: 302px;
    height: 85px;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14px;
    box-sizing: border-box;
    background: url("../images/top/fukidashi.svg") center / 100% 100% no-repeat;
}


.top-voices__title span::before,
.top-voices__title span::after {
    content: none;
}






.top-voices__grid {
    display: grid;
    grid-template-columns: repeat(2, 600px);
    justify-content: space-between;
    gap: 32px 12px;
}

.top-voices__card {
    width: 600px;
    height: 268px;
    padding: 22px 24px 18px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(42, 48, 51, 0.14);
    box-sizing: border-box;
}

.top-voices__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.top-voices__head img {
    width: 96px;
    height: 96px;
}

.top-voices__head-content {
    flex: 1;
    min-width: 0;
}

.top-voices__meta {
    padding: 2px 0 10px;
    border-bottom: 1px solid #bebebe;
    line-height: 1.3;
}

.top-voices__profile {
    color: #2a3033;
    font-size: 20px;
    font-weight: 700;
}

.top-voices__history {
    color: #545454;
    font-size: 18px;
    font-weight: 700;
}

body.friends-custom-site .top-voices__text {
    display: block;
    margin-top: 16px !important;
    color: #2a3033;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.top-voices__comment {
    position: relative;
    margin-top: 16px;
    width: 542px;
    max-width: 100%;
    height: 90px;
    padding: 16px 16px 16px 24px;
    border-radius: 8px;
    background: #f9f5f2;
    box-sizing: border-box;
}

.top-voices__comment::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 16px;
    width: 2px;
    height: 58px;
    transform: none;
    background: #fab4bc;
    border-radius: 999px;
}

.top-voices__comment-label {
    display: block;
    height: 20px;
    margin: 0 0 8px;
    padding: 0;
    color: #f56f81;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.top-voices__comment-text {
    position: relative;
    top: 4px;
    margin: 0;
    height: 33px;
    overflow: hidden;
    color: #2a3033;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.top-flow {
    position: relative;
    z-index: 2;
    margin-top: -145px;
    padding: 230px 0 94px;
    background: #f4ede7;
}

.top-flow .friends-container {
    position: relative;
    z-index: 1;
}

.top-flow .friends-section-title {
    margin-bottom: 130px;
    color: #2a3033;
    font-size: 34px;
    line-height: 1.35;
}

.top-flow__grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    justify-content: space-between;
    gap: 30px;
}

.top-flow__card {
    position: relative;
    width: 400px;
    max-width: 100%;
    margin-inline: auto;
    height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 52px 28px 22px;
    border: 1px solid #d6d1cb;
    border-radius: 26px;
    background: #f8f8f8;
    box-shadow: 0 3px 10px rgba(42, 48, 51, 0.08);
    box-sizing: border-box;
}

.top-flow__step {
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: auto;
}

.top-flow__icon {
    order: 2;
    width: 164px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}


.top-flow__card h3 {
    order: 1;
    margin-top: 0;
    margin-bottom: 12px;
    color: #2a3033;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.top-flow__card p {
    order: 3;
    margin-top: 0;
    color: #5a4f4a;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    text-align: left;
}
.top-flow__button-wrap {
    margin-top: 95px;
    text-align: center;
}

.top-faq {
    position: relative;
    padding: 98px 0 122px;
    background: #ffffff;
    overflow: visible;
}

.top-faq .friends-container {
    position: relative;
}

.top-faq .friends-section-title {
    margin-bottom: 50px;
    padding-top: 130px;
    color: #2a3033;
    font-size: 30px;
    line-height: 1.35;
}

.top-faq__deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.top-faq__deco--left {
    width: 400px;
    left: -270px;
}

.top-faq__deco--right {
    width: 700px;
    right: -430px;
    bottom: -310px;
    z-index: 0;
}




.top-faq__list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 18px;
    padding-bottom: 130px;
}

.top-faq__item {
    width: 100%;
    max-width: 1260px;
    height: 146px;
    display: grid;
    grid-template-columns: 130px 55px 20px minmax(0, 1fr) 40px;
    grid-template-rows: 55px auto;
    row-gap: 14px;
    align-content: center;
    padding: 0;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #fab4bc;
    box-sizing: border-box;
}

.top-faq__icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 55px;
    height: 55px;
    align-self: start;
}

.top-faq__item > div {
    display: contents;
}

.top-faq__item h3 {
    grid-column: 4;
    grid-row: 1;
    align-self: center;
    margin: 0;
    color: #2a3033;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
}

.top-faq__item p {
    grid-column: 2 / 5;
    grid-row: 2;
    margin: 0;
    color: #2a3033;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}

.top-contact {
    position: relative;
    z-index: 1;
    background: #f0e7df;
    padding: 80px 0 50px;
    overflow: visible;
}


.top-contact .friends-container {
    position: relative;
    z-index: 1;
}

.top-contact .friends-section-title {
    margin-bottom: 18px;
    color: #2a3033;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.top-contact__lead {
    margin: 0;
    text-align: center;
    color: #5a4f4a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.top-contact__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 608px));
    justify-content: space-between;
    gap: 44px;
    margin-top: 28px;
}

.top-contact__card {
    width: 100%;
    max-width: 608px;
    height: 148px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 28px 0 24px;
    border: 1px solid #e3d8ce;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

.top-contact__card > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-contact__card img {
    width: 85px;
    height: 85px;
    flex: 0 0 85px;
}

.top-contact__card h3 {
    margin: 0;
    color: #2a3033;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

body.friends-custom-site .top-contact__card p {
    margin: 0;
    color: #5a4f4a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
}

body.friends-custom-site .top-contact__card h3 + p {
    margin-top: 14px !important;
}

.top-contact__tel {
    margin-top: 42px;
    text-align: center;
}

.top-contact__tel p {
    margin: 0;
    color: #2a3033;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.top-contact__tel a {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 6px;
    color: #5a4f4a;
    text-decoration: none;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.top-contact__tel a img {
    width: 30px;
    height: 30px;
    position: relative;
    top: -4px;
}

.top-contact__tel small {
    display: block;
    margin-top: 6px;
    color: #5a4f4a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}
.top-contact__deco {
    position: absolute;
    right: min(-32px, calc((100vw - 1260px) / -2));
    bottom: -65px;
    width: 275px;
    pointer-events: none;
    z-index: 0;
}


@media (max-width: 1300px) {
    .top-about__deco,
    .top-faq__deco {
        display: none;
    }

    .top-about__card {
        grid-template-columns: minmax(440px, 1fr) minmax(0, 1fr);
        gap: 34px;
    }

    .top-voices__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .top-voices__card {
        width: 100%;
        height: auto;
        min-height: 268px;
    }
}

@media (max-width: 1024px) {
    .top-kv::after {
        width: 130%;
        height: 190px;
    }

    .top-kv__image {
        min-height: 860px;
    }

    .top-kv__copy {
        margin-bottom: 212px;
    }

    .top-kv .friends-container {
        padding-left: 64px;
        padding-right: 24px;
    }

    .top-kv__lead {
        width: min(820px, calc(100vw - 120px));
        height: 80px;
    }

    .top-kv__title-main {
        font-size: 52px;
    }

    .top-kv__title-sub {
        font-size: 33px;
    }

    .top-kv__sub {
        width: fit-content;
        max-width: calc(100vw - 120px);
        height: 46px;
        margin-top: 30px !important;
        padding: 0 20px;
        font-size: 23px;
        font-weight: 500;
    }

    .top-about,
    .top-features,
    .top-schedule,
    .top-work,
    .top-voices,
    .top-flow,
    .top-faq,
    .top-contact {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .top-about .friends-btn--primary,
.top-flow .friends-btn--primary {
        min-width: 360px;
        min-height: 72px;
        padding: 14px 26px;
        font-size: 18px;
    }

    .top-about .friends-btn--primary img,
.top-flow .friends-btn--primary img {
        width: 30px;
        height: 30px;
    }

    .top-features__grid,
    .top-work__cards,
    .top-flow__grid {
        gap: 12px;
    }

    .top-contact__deco {
        width: 100px;
    }
}

@media (max-width: 900px) {
    .top-kv::after {
        width: 145%;
        height: 172px;
    }

    .top-about__card,
    .top-features__grid,
    .top-work__cards,
    .top-flow__grid,
    .top-contact__cards,
    .top-voices__grid {
        grid-template-columns: 1fr;
    }

    .top-voices__title span {
        width: min(100%, 260px);
        height: 73px;
        padding-top: 16px;
    }

    .top-voices__card {
        min-height: 0;
    }

    .top-about__title {
        text-align: center;
    }

    .top-about__photo,
    .top-about__content {
        height: auto;
    }

    .top-about__note {
        margin-top: 40px !important;
        padding-top: 0;
    }

    .top-about .friends-btn--primary,
.top-flow .friends-btn--primary {
        min-width: min(100%, 360px);
        min-height: 64px;
        font-size: 17px;
    }


    .top-kv .friends-container {
        padding-left: 36px;
        padding-right: 20px;
    }

    .top-kv__lead {
        width: min(700px, calc(100vw - 72px));
        height: 70px;
        gap: 16px;
        padding: 0 16px;
    }

    .top-kv__title-main {
        font-size: 44px;
    }

    .top-kv__title-sub {
        font-size: 27px;
    }

    .top-kv__sub {
        width: fit-content;
        max-width: calc(100vw - 72px);
        height: 42px;
        margin-top: 24px !important;
        padding: 0 16px;
        font-size: 20px;
        font-weight: 500;
    }

    .top-schedule__table-wrap {
        padding: 22px 14px;
    }

    .top-schedule__row {
        grid-template-columns: 72px 92px 1fr;
        gap: 8px;
        padding: 8px 10px;
    }

    .top-contact__card h3 {
        font-size: 20px;
    }

    .top-contact__tel a {
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .top-kv__image {
        min-height: 560px;
    }

    .top-kv .friends-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .top-kv__copy {
        margin-bottom: 156px;
    }

    .top-kv__lead {
        width: min(440px, calc(100vw - 36px));
        height: 56px;
        gap: 10px;
        padding: 0 10px;
    }

    .top-kv__title-main {
        font-size: 35px;
    }

    .top-kv__title-sub {
        font-size: 20px;
    }

    .top-kv__sub {
        width: fit-content;
        max-width: calc(100vw - 36px);
        height: 36px;
        margin-top: 10px !important;
        padding: 0 12px;
        font-size: 16px;
        font-weight: 500;
    }

    .top-kv::after {
        width: 165%;
        height: 140px;
    }

    .top-about .friends-btn--primary,
.top-flow .friends-btn--primary {
        min-width: min(100%, 320px);
        min-height: 58px;
        padding: 10px 18px;
        font-size: 15px;
    }

    .top-about .friends-btn--primary img,
.top-flow .friends-btn--primary img {
        width: 24px;
        height: 24px;
    }

    .top-schedule__row {
        grid-template-columns: 58px 76px 1fr;
    }

    .top-schedule__time,
    .top-schedule__label,
    .top-schedule__desc {
        font-size: 10px;
    }

    .top-faq__item {
        grid-template-columns: 44px 1fr;
        padding: 8px 10px;
        gap: 8px;
    }

    .top-faq__item h3 {
        font-size: 13px;
    }

    .top-faq__item p {
        font-size: 10px;
    }

    .top-contact__card {
        padding: 14px;
    }

    .top-contact__card h3 {
        font-size: 18px;
    }

    .top-contact__tel a {
        font-size: 22px;
    }
}

/* TOP Mobile Final Tuning */
@media (max-width: 767px) {
    body.friends-top-active,
    body.friends-top-active #page,
    body.friends-top-active #content,
    body.friends-top-active .site-content,
    body.friends-top-active .friends-content-area--top,
    body.friends-top-active .friends-top-page {
        overflow-x: hidden;
    }

    .friends-top-page {
        overflow-x: hidden;
    }

    .top-kv {
        overflow: hidden;
    }

    .top-kv picture {
        display: block;
    }

    .top-kv__image {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: unset;
        object-position: center top;
    }

    .top-kv .friends-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .top-kv__copy {
        display: none !important;
    }

    .top-kv__lead {
        width: auto;
        max-width: calc(100vw - 32px);
        height: auto;
        min-height: 48px;
        padding: 7px 10px;
        gap: 7px;
    }

    .top-kv__title-main {
        font-size: 33px;
        line-height: 1.06;
    }

    .top-kv__title-sub {
        font-size: 19px;
        line-height: 1.12;
    }

    .top-kv__sub {
        width: auto;
        max-width: calc(100vw - 32px);
        height: auto;
        margin-top: 12px !important;
        padding: 7px 10px;
        font-size: 15px;
        line-height: 1.35;
    }

    .top-kv::after {
        width: 172%;
        height: 128px;
        bottom: -72px;
    }

    .top-about {
        padding: 40px 0 60px;
    }

    .top-about .friends-container {
        padding-top: 0;
        margin-top: -8px;
    }

    .top-about__deco {
        display: none;
    }

    .top-about__card {
        grid-template-columns: 1fr;
        margin-top: 0;
        gap: 35px;
    }

    .top-about__photo,
    .top-about__content {
        width: 100%;
    }

    .top-about__title {
        margin-top: 8px;
        font-size: 25px;
        line-height: 1.45;
        letter-spacing: 0.01em;
        text-align: left;
    }

    .top-about__body {
        margin-top: 16px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.9;
    }

    .top-about__body p + p {
        margin-top: 14px;
    }

    .top-about__body p:nth-of-type(2) br:nth-of-type(2),
    .top-about__body p:nth-of-type(3) br {
        display: none;
    }

    .top-about__note {
        margin-top: 14px !important;
        font-size: 12px;
        line-height: 1.75;
        font-weight: 500;
    }

    .top-about__button-wrap {
        margin-top: 45px;
    }

    .top-about .friends-btn--primary {
        width: min(100%, 280px);
        max-width: 280px;
        min-width: 0;
        height: 65px;
        min-height: 65px;
        margin-inline: auto;
        padding: 0 44px;
        border-radius: 10px;
        font-size: 18px;
    }

    .top-about .friends-btn--primary img {
        width: 22px;
        height: 22px;
        right: 12px;
    }

    .top-about__content {
        margin-left: 0;
    }

    .top-features {
        margin-top: 40px;
        padding: 10px 0 120px;
    }

    .top-features::before {
        top: -62px;
        width: 160%;
        height: 120px;
    }

    .top-features::after {
        height: 120px;
    }

    .top-features .friends-container {
        position: relative;
        top: -10px;
    }

    .friends-top-page .top-features__title {
        margin-bottom: 48px;
        font-size: 25px;
    }

    .top-features__title span {
        color: #f56f81;
        font-size: 38px;
        line-height: 1;
    }

    .top-features__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        justify-content: stretch;
    }

    .top-features__card {
        width: 100%;
        max-width: 396px;
        margin: 0 auto;
        height: auto;
    }

    .top-features__image {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }

    .top-features__label {
        position: relative;
        left: 50%;
        top: -18px;
        bottom: auto;
        transform: translateX(-50%);
        z-index: 2;
        width: min(338px, calc(100% - 24px));
        min-height: 64px;
        margin: 0;
        padding: 10px 14px;
        border-radius: 999px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .top-features__desc {
        margin-top: 18px;
        padding: 0 10px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.8;
        text-align: center;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .top-features__desc br {
        display: none;
    }

    .top-schedule {
        padding: 20px 0 0;
    }

    .top-schedule::before {
        top: -58px;
        width: 172%;
        height: 108px;
    }

    .top-schedule__title {
        font-size: 25px;
    }

    .top-schedule__lead {
        margin-top: 24px;
        font-size: 16px;
        line-height: 2;
        text-align: left;
    }

    .top-schedule__deco {
        display: none;
    }

    .top-schedule__table-wrap {
        margin-top: 34px;
        padding: 30px 0 30px;
        border-radius: 24px;
    }

    .top-schedule__table-wrap h3 {
        padding-bottom: 20px;
        font-size: 22px;
    }

    .top-schedule__table {
        gap: 24px;
    }

    .top-schedule__row {
        grid-template-columns: auto 1fr;
        grid-template-areas: "time label" "desc desc";
        align-items: start;
        column-gap: 10px;
        row-gap: 8px;
        height: auto;
        min-height: 0;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .top-schedule__time,
    .top-schedule__label {
        grid-area: time;
        font-size: 16px;
        line-height: 1.3;
    }

    .top-schedule__label {
        grid-area: label;
    }

    .top-schedule__desc {
        grid-area: desc;
        margin-top: 2px;
        font-size: 15px;
        line-height: 1.45;
    }

    .top-schedule__row::after {
        left: 46px;
        width: 20px;
        height: 14px;
        bottom: -14px;
    }

    .top-schedule__row:last-child::after {
        display: none;
    }

    .top-work {
        min-height: 0;
        padding: 58px 0 125px;
    }

    .top-work__bg {
        top: 150px;
        bottom: 0;
    }

    .top-work .friends-section-title {
        font-size: 25px;
    }

    .top-work__lead {
        padding-top: 24px;
        padding-bottom: 36px;
        font-size: 16px;
        line-height: 1.8;
    }

    .top-work__cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .top-work__card {
        width: 100%;
        max-width: 360px;
        height: auto;
        min-height: 260px;
        margin: 0 auto;
    }

    body.friends-custom-site .top-work__card ul {
        padding: 22px 22px 18px 44px;
    }

    .top-work__card li {
        font-size: 16px;
        line-height: 1.8;
    }

    .top-voices {
        margin-top: -58px;
        padding: 50px 0 70px;
    }

    .friends-top-page .top-voices .top-voices__title {
        margin-bottom: 28px;
    }

    .top-voices__title span {
        width: 252px;
        height: 72px;
        padding-top: 11px;
        font-size: 22px;
    }

    .top-voices__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .top-voices__card {
        width: 100%;
        height: auto;
        padding: 16px 14px 14px;
    }

    .top-voices__head {
        gap: 10px;
    }

    .top-voices__head img {
        width: 74px;
        height: 74px;
    }

    .top-voices__profile {
        font-size: 17px;
    }

    .top-voices__history {
        font-size: 16px;
    }

    body.friends-custom-site .top-voices__text {
        margin-top: 10px !important;
        font-size: 16px;
        line-height: 1.45;
    }

    .top-voices__card:nth-child(2) .top-voices__comment-text br {
        display: none;
    }

    .top-voices__comment {
        width: 100%;
        height: auto;
        min-height: 84px;
        margin-top: 10px;
        padding: 12px 12px 12px 20px;
    }

    .top-voices__comment::before {
        top: 14px;
        height: 52px;
    }

    .top-voices__comment-label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .top-voices__comment-text {
        top: 0;
        height: auto;
        line-height: 1.45;
    }

    .top-flow {
        margin-top: -40px;
        padding: 110px 0 70px;
    }

    .top-flow .friends-section-title {
        margin-bottom: 90px;
        font-size: 25px;
    }

    .top-flow__grid {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .top-flow__card {
        width: 100%;
        max-width: 360px;
        min-height: 300px;
        height: auto;
        padding: 52px 20px 18px;
    }

    .top-flow__step {
        top: -42px;
        width: 60px;
    }

    .top-flow__icon {
        width: 120px;
        margin-top: 12px;
        margin-bottom: 25px;
    }

    .top-flow__card h3 {
        margin-bottom: 8px;
        font-size: 22px;
    }

    .top-flow__card p {
        font-size: 15px;
        line-height: 1.75;
    }

    .top-flow__button-wrap {
        margin-top: 46px;
    }

    .top-flow .friends-btn--primary {
        width: min(100%, 280px);
        max-width: 280px;
        min-width: 0;
        height: 65px;
        min-height: 65px;
        margin-inline: auto;
        padding: 0 44px;
        border-radius: 10px;
        font-size: 18px;
    }

    .top-flow .friends-btn--primary img {
        width: 22px;
        height: 22px;
        right: 12px;
    }

    .top-faq {
        padding: 76px 0 76px;
    }

    .top-faq .friends-section-title {
        padding-top: 0;
        margin-bottom: 34px;
        font-size: 25px;
    }

    .top-faq__deco {
        display: none;
    }

    .top-faq__list {
        gap: 12px;
        padding-bottom: 0;
    }

    .top-faq__item {
        height: auto;
        padding: 12px 10px 12px 12px;
        border-radius: 16px;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        row-gap: 10px;
    }

    .top-faq__icon {
        grid-column: 1;
        grid-row: 1;
        width: 46px;
        height: 46px;
        align-self: start;
    }

    .top-faq__item > div {
        display: block;
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .top-faq__item h3 {
        grid-column: auto;
        grid-row: auto;
        font-size: 18px;
        line-height: 1.45;
    }

    .top-faq__item p {
        grid-column: auto;
        grid-row: auto;
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.7;
    }

    .top-contact {
        padding: 56px 0 56px;
    }

    .top-contact .friends-section-title {
        font-size: 23px;
        font-weight: 600;
    }

    .top-contact__lead {
        font-size: 15px;
    }

    .top-contact__cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }

    .top-contact__card {
        min-height: 128px;
        height: auto;
        padding: 14px;
        gap: 12px;
    }

    .top-contact__card h3 {
        font-size: 20px;
        font-weight: 600;
    }

    body.friends-custom-site .top-contact__card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .top-contact__tel {
        margin-top: 28px;
    }

    .top-contact__tel p {
        font-size: 16px;
    }

    .top-contact__tel a {
        font-size: 30px;
    }

    .top-contact__tel small {
        font-size: 14px;
    }

    .top-contact__deco {
        width: 108px;
        right: -15px;
        bottom: -50px;
    }
}

@media (min-width: 768px) {
    .friends-top-page .top-features__title {
        margin-bottom: 70px;
    }

    .friends-top-page .top-voices .top-voices__title {
        margin-bottom: 48px;
    }

    .top-features .top-features__desc {
        margin-top: 70px;
    }
}

.friends-top-page #top-about,
.friends-top-page #top-schedule,
.friends-top-page #top-flow,
.friends-top-page #top-faq {
    scroll-margin-top: 80px;
}

.friends-top-page #top-schedule,
.friends-top-page #top-flow {
    scroll-margin-top: 130px;
}

@media (max-width: 767px) {
    .friends-top-page #top-about,
    .friends-top-page #top-schedule,
    .friends-top-page #top-flow,
    .friends-top-page #top-faq {
        scroll-margin-top: 70px;
    }

    .friends-top-page #top-schedule,
    .friends-top-page #top-flow {
        scroll-margin-top: 110px;
    }
}
