.custom-top-page {
    background: #ffffff;
    width: 100%;
    max-width: 1024px;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
}

.custom-top-page .swiper-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-top-page .swiper-wrapper {
    width: 100%;
    display: flex;
}

.custom-top-page .swiper-slide {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    overflow: hidden;
}

.custom-top-page .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-top-page .swiper-pagination {
    position: relative;
    margin-top: 10px;
    text-align: center;
    z-index: 1;
}

.custom-top-page .swiper-pagination-bullet {
    background: #E1E1E1;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.custom-top-page .swiper-pagination-bullet-active {
    opacity: 1;
    background: #E9528E;
}

.custom-top-button-swiper-overlay {
    position: absolute;
    bottom: 33px;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(109, 99, 115, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    box-sizing: border-box;
    z-index: 5;
    pointer-events: auto;
    border-bottom: 1px solid #E9528E;
    justify-items: center;
}

.custom-top-button-swiper-overlay-btn {
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: #ffffff;
    color: #7D40A0;
    border: 1px solid #7D40A0;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    flex-direction: row;
    width: 180px;
    height: 48px;
}

.custom-top-button-swiper-overlay-btn-icon {
    width: 20px;
    height: auto;
    object-fit: contain;
}

.custom-top-button-swiper-overlay-btn-char {
    flex: 1;
    text-align: left;
}

.custom-top-swiper-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border: 1px dashed #ccc;
}

/* ------------------------------------------------------------------------------------------------------------------ */

.custom-top-register-section {
    padding: 24px 16px;
    text-align: center;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-top-register-point-message {
    font-size: 1rem;
    color: #E9518E;
    margin-bottom: 0.3125rem;
    font-weight: 700;
}

.custom-top-register-point-highlight {
    font-size: 1rem;
    color: #E9518E;
    font-weight: 700;
    margin: 0;
}

.custom-top-register-point-value {
    font-size: 30px;
    margin-right: -7px;
}

.custom-top-register-button {
    width: 300px;
    margin-top: 8px;
    background-color: #E9528E;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 12px 32px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-top-register-login-link {
    font-size: 0.875rem;
    color: #848484;
    margin: 0;
    margin-top: 10px;
    font-weight: 500;
}

.custom-top-register-login-link a {
    color: #E9528E;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

/* ------------------------------------------------------------------------------------------------------------------ */


.custom-top-news-section-title {
    font-size: 42px;
    text-align: center;
    font-weight: 300;
    color: #9E6CBB;
}

/* ------------------------------------------------------------------------------------------------------------------ */

.custom-top-ranking-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid #7D40A0;
    background: linear-gradient(100deg, #FDE7F8, #FEF7FF, #E5CEF1);
}

.custom-top-ranking-section-title {
    font-size: 60px;
    text-align: center;
    font-weight: 300;
    color: #9E6CBB;
}

.custom-top-ranking-sub-section {
    overflow-x: auto;
    margin-bottom: 15px;
}

.custom-top-ranking-sub-section-title {
    width: 350px;
    background-color: #9E6CBB;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 8px 32px;
    font-size: 1.125rem;
    margin: 0 auto;
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

.custom-top-ranking-by-area-btn {
    width: 300px;
    background-color: #ffffff;
    color: #7D40A0;
    border: 1px solid #7D40A0;
    border-radius: 999px;
    padding: 12px;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
    margin-top: 15px;
    text-align: center;
    position: relative;
}


.custom-top-ranking-slider {
    display: flex;
    gap: 16px;
    /* scroll-snap-type: x mandatory; */
    overflow-x: auto;
    padding-bottom: 8px;
    /* -webkit-overflow-scrolling: touch; */
    align-items: flex-end;
}

.custom-top-ranking-slider::-webkit-scrollbar {
    display: none;
}

.custom-top-ranking-card {
    flex: 0 0 auto;
    width: 120px;
    height: 180px;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    overflow: hidden;
    border: 1px solid #6D6373;
}

.custom-top-ranking-first {
    width: 180px;
    height: 270px;
}

.custom-top-ranking-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #E9528E;
    margin-bottom: 0.5rem;
}

.custom-top-ranking-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(109, 99, 115, 0.7);
    color: #fff;
    padding: 8px 12px;
    box-sizing: border-box;
    text-align: left;
}


.custom-top-ranking-user-name {
    font-size: 1rem;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
}

.custom-top-ranking-extra {
    font-size: 0.875rem;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
}

.custom-top-ranking-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 7px;
}

.custom-top-ranking-badge span {
    font-size: 1rem;
    color: #9E6CBB;
    line-height: 1;
}

.custom-top-ranking-badge-first {
    width: 80px;
    height: 80px;
}

.custom-top-ranking-badge-first span {
    font-size: 28px;
}

.custom-top-no-ranking-message {
    text-align: center;
    font-size: 1rem;
    color: #666;
}

/* ------------------------------------------------------------------------------------------------------------------ */

.custom-top-matching-section {
    display: flex;
    flex-direction: column;
    /* overflow-x: auto; */
    background: #ffffff;
}

.custom-top-matching-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-top-matching-section-main-title {
    font-size: 60px;
    text-align: center;
    font-weight: 300;
    color: #E9528E;
}

.custom-top-matching-section-sub-title {
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
    color: #E9528E;
    margin-bottom: -25px;
}

.custom-top-matching-section-main-title-matching-what {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;
    color: #E9528E;
    margin-top: -10px;
}

.custom-top-matching-image-bird {
    text-align: center;
    margin-top: 15px;
}

.custom-top-matching-image-bird img {
    width: 150px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-image-slide {
    text-align: center;
    margin-top: 20px;
}

.custom-top-matching-image-slide img {
    width: 330px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-description {
    font-size: 0.875rem;
    color: #535353;
    font-weight: 500;
    max-width: 450px;
    margin: 20px auto;
}

.custom-top-matching-slide-btn,
.custom-top-matching-store-list-btn {
    width: 300px;
    background-color: #ffffff;
    color: #7D40A0;
    border: 1px solid #7D40A0;
    border-radius: 999px;
    padding: 12px;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.custom-top-matching-section-headline {
    font-size: 1.5rem;
    font-weight: 500;
    color: #E9528E;
    text-align: center;
}

.custom-top-matching-image-beginner {
    text-align: center;
    margin-top: 15px;
}

.custom-top-matching-image-beginner img {
    width: 270px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-image-store {
    text-align: center;
    margin-top: 15px;
}

.custom-top-matching-image-store img {
    width: 200px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-user-flow {
    border: solid 1px #E9528E;
    padding: 10px;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.custom-top-matching-user-flow-title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;
    color: #E9528E;
}

.custom-top-matching-user-flow-step {
    position: relative;
}

.custom-top-matching-user-flow-step-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.custom-top-matching-user-flow-step-number {
    background: #E9528E;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.custom-top-matching-user-flow-number-step-char {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    margin-top: 5px;
}

.custom-top-matching-user-flow-step-number-digit {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    margin-top: -10px;
}

.custom-top-matching-user-flow-step-header-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #E9528E;
}

.custom-top-matching-user-flow-step-content {
    font-size: 0.875rem;
    font-weight: 500;
    color: #535353;
    padding: 5px;
}

.custom-top-matching-image-down-arrow {
    text-align: center;
}

.custom-top-matching-image-down-arrow img {
    width: 22px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-image-step1 {
    text-align: center;
    position: absolute;
    right: 5px;
    top: 10px;
}

.custom-top-matching-image-step1 img {
    width: 118px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-image-step2-1 {
    text-align: center;
    position: absolute;
    right: 30px;
    top: 50px;
    z-index: 10;

}

.custom-top-matching-image-step2-1 img {
    width: 85px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-image-step2-2 {
    text-align: center;
    position: absolute;
    right: 5px;
    top: 10px;
    z-index: 5;
}

.custom-top-matching-image-step2-2 img {
    width: 70px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-image-step3-1 {
    text-align: center;
    position: absolute;
    right: 65px;
    top: 10px;
    z-index: 10;
}

.custom-top-matching-image-step3-1 img {
    width: 50px;
    height: auto;
    display: inline-block;
}

.custom-top-matching-image-step3-2 {
    text-align: center;
    position: absolute;
    right: 5px;
    top: 10px;
    z-index: 5;
}

.custom-top-matching-image-step3-2 img {
    width: 60px;
    height: auto;
    display: inline-block;
}

/* ------------------------------------------------------------------------------------------------------------------ */

.custom-top-bar-section {
    margin-top: 50px;
}

.custom-top-bar-image-border {
    text-align: center;
    position: relative;
    width: 390px;
    margin: 0 auto;
}

.custom-top-bar-image-border img {
    width: 390px;
    height: auto;
    display: inline-block;
}

.custom-top-bar-image-center {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 63px;
    height: auto;
    pointer-events: none;
}

.custom-top-bar-image-glass {
    position: absolute;
    top: 15px;
    right: 5px;
    width: 44px;
    height: auto;
    pointer-events: none;
}

.custom-top-bar-sub-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -90%);
    color: #535353;
    font-size: 22px;
    font-weight: 500;
    pointer-events: none;
    white-space: nowrap;
}

.custom-top-bar-main-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -10%);
    color: #9E6CBB;
    font-size: 42px;
    font-weight: 500;
    pointer-events: none;
    white-space: nowrap;
}

.custom-top-bar-content {
    font-size: 0.875rem;
    font-weight: 500;
    color: #535353;
    padding: 5px;
    width: 390px;
    margin: 0 auto;
}

.custom-top-bar-imnage-content {
    position: relative;
    height: 230px;
    width: 390px;
    margin: 0 auto;
}

.custom-top-bar-image-bar1 {
    text-align: center;
    position: absolute;
    left: 5px;
    top: 10px;
    z-index: 5;
}

.custom-top-bar-image-bar1 img {
    width: 226px;
    height: auto;
    display: inline-block;
}

.custom-top-bar-image-bar2 {
    text-align: center;
    position: absolute;
    right: 45px;
    top: 10px;
    z-index: 3;
}

.custom-top-bar-image-bar2 img {
    width: 107px;
    height: auto;
    display: inline-block;
}

.custom-top-bar-image-bar3 {
    text-align: center;
    position: absolute;
    right: 5px;
    bottom: 10px;
    z-index: 5;
}

.custom-top-bar-image-bar3 img {
    width: 87px;
    height: auto;
    display: inline-block;
}

.custom-top-bar-image-color-box {
    text-align: center;
    position: absolute;
    right: 20px;
    top: 40px;
    z-index: 1;
    width: 107px;
    height: 126px;
    background: #E6CDF5;
}

.custom-top-bar-btn {
    width: 300px;
    background-color: #ffffff;
    color: #7D40A0;
    border: 1px solid #7D40A0;
    border-radius: 999px;
    padding: 12px;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}


/* ------------------------------------------------------------------------------------------------------------------ */

.custom-top-theralog-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid #7D40A0;
    overflow-x: hidden;
    background: linear-gradient(45deg, #F3E7FD, #F9F3FF, #E6C7FF);
}

.custom-top-theralog-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-top-theralog-section-main-title {
    font-size: 60px;
    text-align: center;
    font-weight: 300;
    color: #C694E2;
}

.custom-top-theralog-section-sub-title {
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
    color: #C694E2;
    margin-bottom: -30px;
}

.custom-top-theralog-timeline {
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
    color: #6D6373;
}

.custom-top-theralog-slider {
    display: flex;
    gap: 16px;
    /* scroll-snap-type: x mandatory; */
    overflow-x: auto;
    padding-bottom: 8px;
    /* -webkit-overflow-scrolling: touch; */
}

.custom-top-theralog-slider::-webkit-scrollbar {
    display: none;
}

.custom-top-theralog-card {
    flex: 0 0 auto;
    width: 170px;
    height: 260px;
    border-radius: 10px;
    padding: 5px;
    background-color: #ffffff;
    text-align: center;
    scroll-snap-align: start;
}

.custom-top-theralog-user-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    gap: 5px;
}

.custom-top-theralog-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.custom-top-theralog-display-name {
    font-weight: 500;
    font-size: 1rem;
    color: #535353;
    white-space: nowrap;
    overflow: hidden;
}

.custom-top-theralog-image {
    width: 150px;
    height: 115px;
    object-fit: cover;
    margin: 0 auto;
}

.custom-top-theralog-contents {
    font-size: 0.875rem;
    color: #535353;
    box-sizing: border-box;
    word-wrap: break-word;
    text-align: left;
    padding: 5px;
    min-height: 50px;
}

.custom-top-theralog-meta {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    position: relative;
    padding: 5px;
}

.custom-top-theralog-meta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7D40A0;
    transform: scaleY(0.5);
    transform-origin: top;
}

.custom-top-theralog-likes,
.custom-top-theralog-comments {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: #555;
}

.custom-top-theralog-like-icon,
.custom-top-theralog-comment-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
}

.custom-top-theralog-like-count,
.custom-top-theralog-comment-count {
    font-weight: 500;
    color: #535353;
    font-size: 0.875rem;
}

.custom-top-theralog-btn {
    width: 300px;
    background-color: #ffffff;
    color: #7D40A0;
    border: 1px solid #7D40A0;
    border-radius: 999px;
    padding: 12px;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.custom-top-no-theralog-message {
    text-align: center;
    font-size: 1rem;
    color: #666;
}

.custom-top-theralog-card.no-image .custom-top-theralog-contents {
    min-height: calc(50px + 115px);
    max-height: none;
    display: block;
    overflow: visible;
}


.custom-top-theralog-section .plyr {
    max-width: 100%;
    min-width: 100%;
}

.custom-top-theralog-section :not(:fullscreen) > .plyr__video-wrapper {
    background: transparent !important;
}

.custom-top-theralog-section .plyr__video-wrapper {
    display: flex;
    height: 7.1875rem !important;
    width: 9.375rem !important;
}

.custom-top-theralog-section .plyr:fullscreen video {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    object-fit: contain;

}

.custom-top-theralog-section .plyr--video .plyr__controls {
    background: transparent !important;
}

.custom-top-theralog-section .plyr__control--overlaid
{
    background: #E9528E !important;
    pointer-events: none;
}

.custom-top-theralog-section .plyr__controls {
    display: none;
}

.custom-top-theralog-section .plyr__controls .plyr__controls__item:first-child {
    display: none;
}

.custom-top-theralog-section .plyr__controls .plyr__progress__container {
    display: none;
}

.custom-top-theralog-section .plyr__menu {
    display: none;
}

.custom-top-theralog-section .plyr--pip-supported [data-plyr=pip] {
    display: none;
}

.custom-top-theralog-section .plyr__volume {
    display: none;
}

.custom-top-theralog-section .plyr__control[data-plyr="airplay"] {
    display: none !important;
}

.custom-top-theralog-section .plyr--full-ui input[type=range] {
    color: #E9528E !important;
}

.custom-top-theralog-section .plyr--video .plyr__control:hover, .plyr--video .plyr__control[aria-expanded=true] {
    background: #E9528E !important;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------------------------------------------------------------------------------------------------------------ */


.custom-top-faq-section {
    background: #F5F5F5;
}


.custom-top-faq-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-top-faq-section-main-title {
    font-size: 60px;
    text-align: center;
    font-weight: 400;
    color: #EC8DB3;
}

.custom-top-faq-section-sub-title {
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
    color: #6D6373;
}

.custom-top-faq-accordion {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
}


.custom-top-faq-accordion-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.custom-top-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.custom-top-faq-q-label {
    color: #E9528E;
    font-weight: 500;
    margin-right: 8px;
    font-size: 1.125rem;
}

.custom-top-faq-question-title {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: #535353;
}

.custom-top-faq-a-label {
    color: #535353;
    font-weight: 500;
    margin-right: 8px;
    font-size: 1.125rem;
}

.custom-top-faq-answer {
    margin-top: 12px;
    display: none;
    font-size: 0.875rem;
    color: #535353;
    line-height: 1.6;
    border-top: solid 2px #F5F5F5;
    font-weight: 500;
}

.custom-top-faq-answer.show {
    display: block;
}

.custom-top-faq-toggle {
    font-size: 20px;
    color: #E9528E;
    margin-left: 16px;
    font-weight: 500;
}

/* ------------------------------------------------------------------------------------------------------------------ */

.custom-top-about-us-section {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.custom-top-about-us-btn-content {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 20px 20px;
    font-size: 0.875rem;
    justify-content: space-evenly;
}

.custom-top-about-us-btn {
    color: #535353;
    font-size: 0.875rem;
}