/* Ẩn menu theo trạng thái đăng nhập */
body.logged-in .wp-block-navigation-item:has(a[href*="register"]),
body.logged-in .wp-block-navigation-item:has(a[href*="login"]),
body:not(.logged-in) .wp-block-navigation-item:has(a[href*="logout"]),
body:not(.logged-in) .wp-block-navigation-item:has(a[href*="account"]) {
    display: none !important;
}

body {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    overflow-x: hidden;
    /* prevent horizontal scroll */
}

.header-wrapper {
    padding: 16px 0;
}

.title-container {
    display: flex;
    flex-direction: row;
    align-items: start;
}

.logo-area {
    width: 75px;
    height: 75px;
    padding: 7px;
}

.title-container img {
    width: 100%;
    height: 100%;
}

.site-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 30px;
    line-height: 50px;
    letter-spacing: 0.1em;
    color: #575757;
    margin: 0;
}

.site-description {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.1em;
    color: #EB97A4;
    margin: 0;
    padding-left: 7px;
}

.header-menu-container {
    height: 100%;
    align-items: center;
    display: flex;
}

.header-menu-container .header-navigation li:hover {
    color: #EB97A4;
}

/* Active/current menu link color */
.header-navigation .header-menu li.current-menu-item>a,
.header-navigation .header-menu li.current_page_item>a,
.header-navigation .header-menu li.current-menu-parent>a,
.header-navigation .header-menu li.current_page_parent>a,
.header-navigation .header-menu li.current-menu-ancestor>a,
.header-navigation .header-menu li.current_page_ancestor>a {
    color: #EB97A4;
}

.entry-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 36px;
    line-height: 1.4;
    margin: 0 0 16px;
    color: #333;
    text-align: center;
}

.intro-section {
    background-color: #FFFFFF;
}

.girl-list-section {
    background-color: #FFFFFF;
    margin-top: 10vh;
}

/* Girl list */
.girl-grid-item {
    margin-bottom: 24px;
}

.girl-card {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    box-shadow: 0 0 3px 0 rgba(222, 206, 206, 1);
    transition: box-shadow 0.3s ease;
}

.girl-list-page-section .girl-card {
    background: #f4f4f4;
}

.girl-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 5px 0 rgb(0 0 0 / .55);
    transition: all 0.3s ease;
}



.girl-card__image {
    position: relative;
    width: 100%;
    height: 290px;
    overflow: hidden;
    padding: 8px;

}

.girl-card__thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.girl-card__body {
    padding: 12px 14px;
}

.girl-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.girl-card__list li {
    font-size: 20px;
    font-weight: bold;
    line-height: 38px;
    color: #343434;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.girl-card__list li strong {
    min-width: 120px;
    margin-right: 8px;
}

.girl-card__arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: #EB97A4;
    border-radius: 30px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.girl-card__arrow:hover {
    transform: scale(1.1);
}

.girl-card__arrow span {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Common arrow button styles */
.arrow-btn {
    display: inline-flex;
    align-items: center;
    gap: 50px;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 10px 20px;

    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(90deg, #EB97A4, #6CA3C9) border-box;

    text-decoration: none;
    color: #343434;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;

}

.arrow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #EB97A4;
}

.arrow-btn:hover .arrow-icon {
    color: #EB97A4;
}

.arrow-icon {
    color: #343434;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* Title Page Section */
.title-page-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    margin: 0 8px;
    border-radius: 20px;
}

.title-page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.title-page-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #ffffff;
}

.title-page-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.title-page-breadcrumb {
    font-size: 16px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.title-page-breadcrumb .breadcrumb-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.title-page-breadcrumb .breadcrumb-link:hover {
    color: #EB97A4;
    text-decoration: underline;
}

.title-page-breadcrumb .breadcrumb-current {
    font-weight: bold;
    color: #EB97A4;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .title-page-section {
        padding: 60px 0;
        min-height: 250px;
    }

    .title-page-title {
        font-size: 32px;
    }

    .title-page-breadcrumb {
        font-size: 14px;
    }
}

/* Girl detail page */
.girl-detail-section {
    background-color: #FFFFFF;
    padding: 40px 0;
    min-height: 80vh;
}

.girl-detail-container {
    margin: 0 12%;
}

@media (max-width: 1024px) {
    .girl-detail-container {
        margin: 0 5%;
    }
}

@media (max-width: 768px) {
    .girl-detail-container {
        margin: 0;
    }
}

.girl-detail-header {
    margin-bottom: 40px;
    text-align: center;
}

.girl-detail-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #343434;
    margin-bottom: 20px;
}

.girl-detail-breadcrumb {
    font-size: 14px;
    color: #343434;
}

.girl-detail-breadcrumb a {
    color: #343434;
    text-decoration: none;
}

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

.girl-detail-breadcrumb span:last-child {
    font-weight: bold;
    color: #EB97A4;
}

.girl-detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.girl-detail-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.girl-detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.girl-detail-main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
}

.girl-detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.girl-detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.girl-detail-gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    height: auto;
}

.girl-detail-gallery-img.active {
    border: 2px solid #EB97A4;
}

.girl-detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 40px;
    font-family: 'Noto Sans JP', sans-serif;
}

.girl-detail-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #343434;
    margin: 0;
}

.girl-detail-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.girl-detail-field {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.girl-detail-field:last-child {
    border-bottom: none;
}

.field-label {
    font-weight: bold;
    color: #343434;
    min-width: 120px;
    margin-right: 15px;
}

.field-value {
    color: #343434;
    font-weight: 600;
    flex: 1;
}

.girl-detail-name-field .field-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 20px;
    font-weight: medium;
}

.name-main {
    font-size: 20px;
    font-weight: bold;
    color: #343434;
    margin-bottom: 4px;

}

.name-katakana {
    font-size: 20px;
    color: #343434;
    font-weight: medium;
}

.girl-detail-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 60%;
}

.girl-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
}

.girl-detail-btn span:last-child {
    color: #FFFFFF;
}

.girl-detail-btn-pink {
    background-color: #EB97A4;
    color: #FFFFFF;
}

.girl-detail-btn-pink:hover {
    background-color: #d88592;
    color: #FFFFFF;
}

.girl-detail-btn-blue {
    background-color: #6CA3C9;
    color: #FFFFFF;
}

.girl-detail-btn-blue:hover {
    background-color: #5a8bb3;
    color: #FFFFFF;
}


.girl-detail-description {
    margin-top: 40px;
    padding: 10px;
    background-color: #ffffff;
}

.girl-detail-description-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: medium;
    color: #343434;
    margin-bottom: 20px;
}

.girl-detail-description-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    line-height: 36px;
    color: #343434;
}

.girl-detail-tables {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.girl-detail-table {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #EB97A4;
}

.table-title {
    background: #EB97A4;
    color: #ffffff;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0;
    text-align: center;
}

.table-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

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

.table-label {
    font-weight: bold;
    color: #343434;
    width: 150px;
    padding: 12px 15px 12px 20px;
    font-size: 14px;
    flex-shrink: 0;
    position: relative;
    margin-right: 0;
}

.table-content::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #f0f0f0;
    z-index: 1;
}

.table-value {
    color: #343434;
    flex: 1;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 12px 20px 12px 15px;
}

.table-row-message {
    flex: 1;
    align-items: flex-start;
    min-height: 0;
}

.table-row-message .table-value {
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 20px;
    height: 100%;
    display: flex;
}

@media (max-width: 1024px) {
    .girl-detail-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .girl-detail-top-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .girl-detail-title {
        font-size: 28px;
    }

    .girl-detail-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .girl-detail-gallery-img {
        aspect-ratio: 1;
        height: auto;
    }

    .girl-detail-tables {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .girl-detail-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .field-label {
        min-width: auto;
        margin-right: 0;
    }
}

.girl-list-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-girl-list {
    width: 50px;
    height: 50px;
}

.logo-girl-list img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.girl-list-title-text {
    font-size: 40px;
    font-weight: medium;
    color: #343434;
    text-align: center;
    z-index: 1;
}

.girl-list-underline {
    background-color: #EB97A4;
    height: 1px;
    width: 10%;
    z-index: 1;
}

/* Girl list page */
.girl-list-page-section {
    background-color: #FFFFFF;
    padding: 40px 0;
    min-height: 80vh;
}

.girl-list-page-header {
    margin-bottom: 50px;
}

.girl-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.girl-list-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.girl-list-pagination .page-numbers {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.girl-list-pagination .page-numbers li {
    margin: 0;
}

.girl-list-pagination .page-numbers a,
.girl-list-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #343434;
    font-size: 14px;
    transition: all 0.3s ease;
}

.girl-list-pagination .page-numbers a:hover {
    background-color: #EB97A4;
    color: white;
    border-color: #EB97A4;
}

.girl-list-pagination .page-numbers .current {
    background-color: #EB97A4;
    color: white;
    border-color: #EB97A4;
}

.girl-list-pagination .page-numbers .prev,
.girl-list-pagination .page-numbers .next {
    font-weight: bold;
}

.girl-list-empty {
    text-align: center;
    padding: 60px 20px;
    color: #343434;
    font-size: 18px;
}

@media (max-width: 1200px) {
    .girl-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .girl-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .girl-list-pagination .page-numbers a,
    .girl-list-pagination .page-numbers span {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .girl-list-grid {
        grid-template-columns: 1fr;
    }
}

.girl-list-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}


/* Responsive girl list */
@media (max-width: 768px) {
    .girl-grid-item:nth-child(n+5) {
        display: none;
    }

    .girl-grid-item {
        margin-bottom: 16px;
    }
}

@media (max-width: 576px) {
    .girl-list-title-text {
        font-size: 28px;
    }

    .girl-card__body {
        padding: 8px 10px;
    }

    .girl-card img {
        height: 200px;
    }
}

.intro-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 0;
    padding: 0;
    position: relative;
}

.intro-image {
    width: 50%;
    height: 70vh;
    overflow: hidden;
    border-radius: 0 9999px 9999px 0;
    /* right side half-circle */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    /* ensure text sits above overlays */

}

.intro-image img {
    width: 100%;
    height: 100%;
    border: 1px solid #343434;
    object-fit: cover;
    object-position: center;
}

.intro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: auto;
    /* remove forced 700px height */
    position: relative;
    z-index: 2;
}

/* Tabs */
.intro-tab {
    display: none;
}

.intro-tab.is-active {
    display: block;
}

.intro-dots {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-start;
    padding-left: 10px;
}

.intro-dot {
    width: 28px;
    height: 4px;
    background: #E7E7E7;
    border: none;
    padding: 0;
    border-radius: 2px;
    cursor: pointer;
}

.intro-dot.is-active {
    background: #EB97A4;
}

.intro-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 46px;
    font-weight: bold;
    line-height: 66px;
    letter-spacing: 0.1em;
    color: #343434;
    text-align: left;
}

.intro-overlay-title {
    position: absolute;
    left: -50px;
    bottom: -11vh;
    font-family: 'Cinzel', serif;
    font-size: 110px;
    line-height: 180px;
    letter-spacing: 0.2em;
    /* 20% */
    color: #ffffff;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
    opacity: 0.8;
}

.overlay-color {
    position: absolute;
    width: 600px;
    height: 600px;
    /* Use radial gradient that fades outward to transparent */
    --overlay-base: 0, 0, 0;
    /* default; overridden by color modifiers */
    background: radial-gradient(closest-side,
            rgba(var(--overlay-base), 1) 0%,
            rgba(var(--overlay-base), 0.00) 100%);
    pointer-events: none;
    z-index: 0;
    /* below content/text, above page background */
    border-radius: 9999px;
}

.overlay-color.overlay-pink {
    --overlay-base: 255, 239, 240;
}

.overlay-color.overlay-blue {
    --overlay-base: 210, 236, 255;
    opacity: 0.6;
}

.overlay-color.overlay-1 {
    left: -10%;
    bottom: -25vh;
}

.overlay-color.overlay-2 {
    right: -100px;
    bottom: -30vh;
}

.overlay-color.overlay-3 {
    left: 45%;
    bottom: -25vh;
}

.overlay-color.overlay-4 {
    right: 45%;
    bottom: -20vh;
}

.intro-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: medium;
    line-height: 42px;
    color: #343434;
    margin: 0;
    max-width: 70%;
    text-align: left;
    position: relative;
    z-index: 2;
    /* ensure text sits above overlays */
}

@media (max-width: 1200px) {
    .intro-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 16px;
    }

    .intro-image {
        flex: none;
        width: 100% !important;
        max-width: 1000px;
        height: 500px;
        border-radius: 12px;
        /* On smaller screens, round all corners */
    }

    .intro-content {
        flex: none;
        min-height: auto;
        padding: 20px 0;
    }

    .intro-title {
        font-size: 28px;
    }

    .intro-overlay-title {
        font-size: 80px;
        line-height: 100px;
        bottom: -24px;
        letter-spacing: 0.15em;
    }
}

@media (max-width: 768px) {
    .intro-image {
        height: 400px;
        border-radius: 12px;
        width: 100% !important;
        /* Ensure full rounding on mobile */
    }

    .intro-title {
        font-size: 24px;
    }

    .intro-description {
        font-size: 14px;
    }

    .intro-overlay-title {
        font-size: 52px;
        line-height: 64px;
        bottom: -16px;
        letter-spacing: 0.12em;
    }
}

/* News section */
.news-section {
    padding: 40px 0;
    margin-top: 10vh;
}

.news-card {
    width: 80%;
    margin-left: auto;
    margin-right: 0;
    background: #FFFFFF;
    border-radius: 20px 0 0 20px;
    box-shadow: rgb(212, 208, 208) 0px 10px 40px 0px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 36px;
}

.news-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.news-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    width: 20%;
}

.news-card-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 32px;
    color: #71ABD7;
    letter-spacing: 0.08em;
    line-height: 4 0px;
}

.news-card-subtitle {
    color: #343434;
    font-size: 14px;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 60%;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
}

.news-item {
    border-bottom: 1px solid #eee;
}

.news-item:first-child {
    border-top: 1px solid #eee;
}

.news-link {
    display: grid;
    grid-template-columns: 110px 12px 1fr 20px;
    align-items: center;
    gap: 12px;
    padding: 14px 8px;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-link:hover {
    background: linear-gradient(90deg, rgba(235, 151, 164, 0.05), rgba(108, 163, 201, 0.05));
    border: 1px solid;
    border-image: linear-gradient(90deg, #EB97A4, #6CA3C9) 1;
}

.news-link:hover .news-title {
    color: #EB97A4;
}

.news-link:hover .news-arrow {
    color: #EB97A4;
}

.news-date {
    color: #343434;
    font-size: 13px;
}

.news-sep {
    height: 8px;
    border-left: 3px solid #e5e7eb;
}

.news-title {
    color: #343434;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-arrow {
    color: #c4c4c4;
    transition: color 0.3s ease;
}

.news-card-footer {
    display: flex;
    justify-content: flex-start;
    padding-top: 12px;
}

.news-more {
    width: 70%;
    text-align: left;
    justify-content: space-between;
    padding: 10px 16px;
}

@media (max-width: 768px) {
    .news-card {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        border-radius: 20px;
    }
}

/* Hide large overlay title on small screens */
@media (max-width: 992px) {
    .intro-overlay-title {
        display: none;
    }
}

/* Smaller overlays on small screens */
@media (max-width: 992px) {
    .overlay-color {
        width: 360px;
        height: 360px;
    }

    .overlay-color.overlay-1 {
        bottom: -10vh;
    }

    .overlay-color.overlay-2 {
        bottom: -12vh;
    }

    .overlay-color.overlay-3 {
        bottom: -8vh;
    }

    .overlay-color.overlay-4 {
        bottom: -5vh;
    }
}

@media (max-width: 576px) {
    .overlay-color {
        width: 300px;
        height: 300px;
    }
}

/* News responsive breakpoints */
@media (max-width: 1200px) {
    .news-section {
        margin-top: 0;
    }

    .news-card {
        width: 85%;
        margin-left: auto;
        margin-right: 0;
        padding: 28px;
    }

    .news-card-header {
        width: 25%;
    }

    .news-list {
        width: 75%;
    }
}

@media (max-width: 992px) {
    .news-card {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 24px;
        border-radius: 20px;
    }

    .news-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .news-card-header {
        width: 100%;
    }

    .news-list {
        width: 100%;
    }

    .news-card-footer {
        justify-content: center;
    }

    .news-more {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .news-link {
        grid-template-columns: 90px 8px 1fr 16px;
        padding: 12px 6px;
    }
}

@media (max-width: 576px) {
    .news-card {
        width: 90%;
    }

    .news-link {
        grid-template-columns: 80px 6px 1fr 14px;
        padding: 10px 4px;
    }
}

/* Site Footer */
.site-footer {
    background: #f5f5f5;
    overflow: hidden;
}

.footer-content {
    padding-top: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #C2C2C2;
}

/* Footer uses same title-container styles as header */

.footer-contact {
    text-align: right;
    padding-right: 7px;
}

.footer-phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 5px;
}

.phone-icon {
    font-size: 16px;
    color: #EB97A4;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #343434;
}

.footer-hours {
    font-size: 14px;
    color: #666;
}

.footer-navigation {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    justify-content: space-between;
    width: 100%;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list li::before {
    content: '•';
    color: #343434;
    margin-right: 8px;
    font-size: 24px;
    font-weight: bold;
}

.footer-nav-list a {
    color: #343434;
    text-decoration: none;
    font-size: 20px;
    line-height: 52px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover {
    color: #EB97A4;
}

.footer-bottom {
    background: linear-gradient(90deg, #EB97A4, #6CA3C9);
    padding: 15px 30px;
    text-align: center;
}

.footer-copyright {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-content {
        padding-top: 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-navigation {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


/* Fix: prevent horizontal scroll when Mobile Menu active */
@media (max-width: 1024px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    .mobmenu-panel,
    .mobmenu-left-panel,
    .mobmenu-right-panel {
        max-width: 100vw !important;
        box-sizing: border-box;
    }

    .mob-menu-slideout .mobmenu-panel,
    .mob-menu-slideout-over .mobmenu-panel {
        overflow-x: hidden !important;
    }

    .mobmenu-content {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}




.faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.faq-question .icon {
    transition: transform 0.3s ease;
    font-weight: bold;
    font-size: 1.2rem;
    color: #71ABD7;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-answer p {
    margin: 10px 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* enough for content */
    padding: 10px 0;
}


.faq-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 24px;
    justify-content: center
}

.faq-grid .faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center
}



.faq-section {
    width: 95%;
    border-radius: 20px;
    margin: 60px;
    padding: 50px 16px;
    background-color: #f9f9f9;
    box-shadow: 0 10px 30px rgba(210, 236, 255, .05);
    position: relative;
    overflow: hidden
}

.faq-overlay-title {
    position: absolute;
    left: 51%;
    transform: translateX(-50%);
    top: -50PX;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 110px;
    letter-spacing: .2em;
    background: linear-gradient(90deg, #F7D6D8 0%, #F5CBDE 50%, #BFE6F2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    opacity: 0.5;
    text-shadow: none;
}

/* Ensure FAQ content layers above background overlays/text */
.faq-section .girl-list-title,
.faq-section .faq-grid,
.faq-section .girl-list-more {
    position: relative;
    z-index: 1
}

.faq-overlay-1 {
    position: absolute;
    left: 30%;
    top: 0;
    width: 420px;
    height: 420px;
    z-index: 0;
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(255, 239, 240, 0.9) 0%, rgba(255, 239, 240, 0) 100%)
}

.faq-overlay-2 {
    position: absolute;
    right: 30%;
    bottom: 0;
    width: 360px;
    height: 360px;
    z-index: 0;
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(210, 236, 255, 0.8) 0%, rgba(210, 236, 255, 0) 100%)
}

.faq-overlay-3 {
    position: absolute;
    right: 0;
    bottom: -5%;
    width: 450px;
    height: 450px;
    z-index: 0;
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(210, 236, 255, 0.8) 0%, rgba(210, 236, 255, 0) 100%)
}

.faq-overlay-4 {
    position: absolute;
    left: 10%;
    bottom: -5%;
    width: 450px;
    height: 450px;
    z-index: 0;
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(255, 239, 240, 0.9) 0%, rgba(255, 239, 240, 0) 100%)
}

.faq-section {
    position: relative;
    z-index: 1
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    padding: 14px 18px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto
}

.faq-question {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    padding: 0
}

.faq-question::before {
    content: none
}

.qa-mark {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 36px;
    font-weight: 700;
}

.qa-q {
    color: #EB97A4
}

.qa-a {
    color: #6CA3C9;
    padding-top: 10px;
}

.faq-text {
    font-weight: 700;
    font-size: 18px
}

.faq-question .icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center
}

.faq-question .icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71ABD7;
    font-size: 16px;
    line-height: 1;
    transition: transform .25s ease, color .25s ease, opacity .2s ease
}

.faq-item.active .faq-question .icon-circle {
    background: #EB97A4;
    border-color: #EB97A4
}

.faq-item.active .faq-question .icon {
    color: #71ABD7;
}

.faq-answer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height .4s ease, padding .3s ease, opacity .3s ease, transform .3s ease;
}

.faq-answer::before {
    content: none
}

.faq-answer-content {
    padding-top: 10px;
    font-size: 20px;
}

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

.faq-item.active .faq-answer {
    opacity: 1;
    transform: translateY(0);
    overflow-y: scroll;
}

/* UM register section basic spacing */
.um-register-section {
    padding: 24px;
    padding-top: 40px;
    background: linear-gradient(60deg, rgba(247, 214, 216, 0.4) 0%, rgba(245, 203, 222, 0.4) 50%, rgba(191, 230, 242, 0.4) 100%)
}

.um-register-section .girl-list-title {
    margin-bottom: 20px
}

.um-register-section .container {
    backdrop-filter: blur(2px)
}

/* Ultimate Member register form – light card fields */
.um-register-section .um .um-form {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0
}

.um-register-section .um .um-field {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 10px 0
}

.um-register-section .um .um-field-label {
    margin: 0;
    min-width: 160px
}

.um-register-section .um .um-field-label label {
    font-weight: 700;
    color: #343434
}

.um-register-section .um .um-field-area {
    flex: 1
}

.um-register-section .um .um-field-area input[type="text"],
.um-register-section .um .um-field-area input[type="email"],
.um-register-section .um .um-field-area input[type="password"],
.um-register-section .um .um-field-area input[type="tel"],
.um-register-section .um .um-field-area input[type="url"],
.um-register-section .um .um-field-area input[type="number"],
.um-register-section .um .um-field-area input[type="date"],
.um-register-section .um .um-field-area select,
.um-register-section .um .um-field-area textarea {
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    border-radius: 5px;
    background: #fff;
    box-shadow: inset 0 0 0 1000px #fff;
    font-size: 14px;
    border: none !important;
}

.um-register-section .um .um-field-area textarea {
    height: auto;
    min-height: 90px
}

/* Required badge */
.um-register-section .um .um-field.um-field-required .um-field-label label:after {
    content: "必須";
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: #F1666B;
    border-radius: 12px;
    line-height: 1
}

/* Submit button */
.register-container .um .um-col-alt {
    text-align: center
}

.um-register-section .um .um-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 28px 12px 24px !important;
    border-radius: 9999px !important;
    border: 2px solid transparent !important;
    /* background: #ffffff !important;    */
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #EB97A4, #6CA3C9) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    color: #343434;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

.um-register-section .um .um-button:hover {
    color: #EB97A4;
}

@media (max-width: 768px) {
    .um-register-section .um .um-field {
        flex-direction: column;
        align-items: stretch
    }

    .um-register-section .um .um-field-label {
        min-width: unset
    }
}

.member-overlay-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 88px;
    letter-spacing: .2em;
    background: linear-gradient(90deg, #F7D6D8 0%, #F5CBDE 50%, #BFE6F2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: .5;
    pointer-events: none;
    white-space: nowrap
}

@media(max-width:992px) {
    .member-overlay-title {
        font-size: 72px;
        top: -28px
    }
}

@media(max-width:768px) {
    .member-overlay-title {
        font-size: 56px;
        top: -20px
    }
}

@media(max-width:576px) {
    .member-overlay-title {
        font-size: 42px;
        top: -12px;
        opacity: .35
    }
}

/* FAQ responsive */
@media (max-width: 992px) {
    .faq-overlay-title {
        font-size: 84px;
        top: -30px
    }

    .faq-grid .faq-container:last-child {
        margin-top: 16px;
    }

    .faq-section {
        margin: 48px 12px
    }

    .qa-mark {
        font-size: 32px
    }

    .faq-text {
        font-size: 20px
    }
}

@media (max-width: 768px) {
    .footer-navigation {
        display: none
    }

    .faq-grid {
        grid-template-columns: 1fr;
        justify-content: stretch
    }

    .faq-item {
        max-width: 100%
    }

    .faq-section {
        width: auto;
        margin: 36px 12px;
    }

    .qa-mark {
        font-size: 28px
    }

    .faq-text {
        font-size: 18px
    }

    .faq-question {
        grid-template-columns: 24px 1fr 24px
    }

    .faq-question .icon {
        width: 24px;
        height: 24px;
        font-size: 14px
    }

    .faq-overlay-title {
        font-size: 64px;
        top: -20px
    }
}

@media (max-width: 576px) {
    .faq-section {
        width: auto;
        margin: 24px 12px
    }

    .qa-mark {
        font-size: 24px
    }

    .faq-text {
        font-size: 16px
    }

    .faq-question {
        grid-template-columns: 22px 1fr 22px;
        gap: 10px
    }

    .faq-question .icon {
        width: 22px;
        height: 22px;
        font-size: 12px
    }

    .faq-section {
        padding: 36px 12px
    }

    .faq-overlay-title {
        font-size: 48px;
        top: -12px;
        opacity: 0.35
    }
}


.register-container {
    background-color: #ffffff;
    border-radius: 40px;
    padding: 40px;
    margin-top: 30px;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

/* Custom Date Picker Styling */
.um .picker {
    font-family: 'Zen Kaku Gothic Antique', sans-serif !important;
    z-index: 99999 !important;
}

.um .picker__holder {
    background: transparent !important;
    backdrop-filter: blur(5px);
}

.um .picker__frame {
    max-width: 400px !important;
    margin: 20px auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid transparent !important;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, #EB97A4, #6CA3C9) border-box !important;
}

.um .picker__box {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 0 !important;
}

/* Header styling */
.um .picker__header {
    background: linear-gradient(135deg, #EB97A4, #6CA3C9) !important;
    color: #ffffff !important;
    padding: 20px !important;
    text-align: center !important;
    position: relative !important;
}

.um .picker__month,
.um .picker__year {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 5px !important;
}

.um .picker__nav--prev,
.um .picker__nav--next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
    font-size: 16px !important;
}

.um .picker__nav--prev:hover,
.um .picker__nav--next:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.um .picker__nav--prev {
    left: 15px !important;
}

.um .picker__nav--next {
    right: 15px !important;
}

/* Weekday headers */
.um .picker__weekday {
    background: #f8f9fa !important;
    color: #6c757d !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 12px 8px !important;
    text-align: center !important;
    border-bottom: 1px solid #e9ecef !important;
}

/* Day cells */
.um .picker__day {
    color: #343434 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 12px 8px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin: 2px !important;
    position: relative !important;
}

.um .picker__day:hover {
    background: linear-gradient(135deg, #EB97A4, #6CA3C9) !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
    z-index: 10 !important;
}

.um .picker__day--selected {
    background: linear-gradient(135deg, #EB97A4, #6CA3C9) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(235, 151, 164, 0.4) !important;
}

.um .picker__day--today {
    background: #f8f9fa !important;
    color: #EB97A4 !important;
    font-weight: 700 !important;
    border: 2px solid #EB97A4 !important;
}

.um .picker__day--disabled {
    color: #dee2e6 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.um .picker__day--disabled:hover {
    background: transparent !important;
    color: #dee2e6 !important;
    transform: none !important;
}

/* Footer buttons */
.um .picker__footer {
    background: #f8f9fa !important;
    padding: 15px 20px !important;
    text-align: center !important;
    border-top: 1px solid #e9ecef !important;
}

.um .picker__button--clear,
.um .picker__button--close,
.um .picker__button--today {
    background: linear-gradient(135deg, #EB97A4, #6CA3C9) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 5px !important;
}

.um .picker__button--clear:hover,
.um .picker__button--close:hover,
.um .picker__button--today:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(235, 151, 164, 0.4) !important;
}

/* Input field styling */
.um .um-field-area input[type="date"] {
    position: relative !important;
    cursor: pointer !important;
}

.um .um-field-area input[type="date"]::-webkit-calendar-picker-indicator {
    background: linear-gradient(135deg, #EB97A4, #6CA3C9) !important;
    border-radius: 4px !important;
    padding: 4px !important;
    cursor: pointer !important;
    filter: brightness(1.1) !important;
}

.um .um-field-area input[type="date"]::-webkit-calendar-picker-indicator:hover {
    transform: scale(1.1) !important;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced picker animations */
.um .picker__frame.enhanced {
    animation: slideInUp 0.3s ease-out !important;
}

.um .picker__day:hover {
    animation: pulse 0.3s ease-in-out !important;
}

/* Ripple effect */
.um .picker__day .ripple {
    pointer-events: none;
    animation: ripple 0.6s linear !important;
}

/* Custom arrow styling */
.um .picker__nav--prev .custom-arrow,
.um .picker__nav--next .custom-arrow {
    display: block !important;
    line-height: 1 !important;
}

/* Additional visual enhancements */
.um .picker__day--selected::before {
    content: '✓' !important;
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    font-size: 10px !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

.um .picker__day--today::after {
    content: 'Today' !important;
    position: absolute !important;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 10px !important;
    color: #EB97A4 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .um .picker__frame {
        max-width: 90vw !important;
        margin: 10px auto !important;
    }

    .um .picker__day {
        padding: 10px 6px !important;
        font-size: 14px !important;
    }

    .um .picker__header {
        padding: 15px !important;
    }

    .um .picker__month,
    .um .picker__year {
        font-size: 16px !important;
    }

    .um .picker__day--today::after {
        display: none !important;
    }
}

/* Ultimate Member Submit Button - Girl List More Style */
#um-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;

    border: 2px solid transparent !important;
    border-radius: 25px !important;
    padding: 12px 24px !important;

    background: linear-gradient(white, white) padding-box,
        linear-gradient(90deg, #EB97A4, #6CA3C9) border-box !important;

    text-decoration: none !important;
    color: #343434 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;

    min-width: 200px !important;
    text-align: center !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06) !important;
}

#um-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    color: #EB97A4 !important;
}

#um-submit-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(235, 151, 164, 0.3) !important;
}

#um-submit-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Add arrow icon if needed */
#um-submit-btn::after {
    content: '→' !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
    color: #343434 !important;
}

#um-submit-btn:hover::after {
    color: #EB97A4 !important;
}

/* Mobile responsive for submit button */
@media (max-width: 768px) {
    #um-submit-btn {
        min-width: 250px !important;
        padding: 10px 20px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    #um-submit-btn {
        min-width: 200px !important;
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}


@media (min-height: 33.875em) {
    .um .picker--opened .picker__frame {
        top: 20% !important;
        bottom: auto !important;
    }
}

.um .picker__header {
    margin-top: 0 !important;
}


.greeting-section {
    background-image: url('../images/greeting-background.png');
    background-color: rgba(145, 208, 255, 0.5);
}

/* Greeting Section Layout */
.greeting-section {
    position: relative;
    background-size: cover;
    background-position: center;
    margin-top: 15%;
}

/* Overlay color above background image */
.greeting-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(145, 208, 255, 0.5);
    z-index: 0;
    pointer-events: none;
}

.faq-greeting-wrap {
    position: absolute;
    top: -20%;
    left: -20px;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Re-enable pointer events for interactive children inside FAQ overlay */
.faq-greeting-wrap a,
.faq-greeting-wrap button,
.faq-greeting-wrap [role="button"],
.faq-greeting-wrap .interactive {
    pointer-events: auto;
}

.greeting-wrap {
    position: relative;
    padding: 60px 0 80px;
}

@media (max-width: 767px) {
    .faq-grid {
        grid-template-columns: 1fr;
        justify-content: stretch
    }

    .faq-greeting-wrap {
        left: 0;
    }

    .greeting-section {
        margin-top: 50%;
    }
}

.greeting-title-overlay {
    position: absolute;
    left: 12px;
    top: -28px;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 110px;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .35);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
}

.greeting-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    align-items: center;
    position: relative;
    z-index: 1;
}

.greeting-left {
    display: flex;
    flex-direction: column;
    padding-left: 15%;
}


.greeting-heading {
    position: relative;
}

.greeting-heading::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 70%;
    background-color: #ffffff;
}

.greeting-heading .jp {
    display: inline-block;
    font-family: 'Zen Kaku Gothic New', serif;
    font-weight: 700;
    font-size: 40px;
    color: #ffffff;
    letter-spacing: 0.4em;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.greeting-text p {
    margin: 0 0 10px 0;
    color: rgba(255, 255, 255, .95);
    line-height: 36px;
    font-size: 18px;
    padding-left: 15%;
    font-weight: bold;
    margin-top: -80px;
}

.greeting-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.greeting-actions .arrow-btn {
    flex: 1;
    min-width: 0;
    max-width: 250px;
    justify-content: space-around;
}

@media screen and (max-width: 768px) {
    .greeting-actions .arrow-btn {
        flex: 1;
        min-width: 0;
        width: 240px;
        justify-content: space-around;
    }
}

.greeting-right {
    display: flex;
    justify-content: flex-end;
}

.greeting-photo-large {
    max-width: 550px;
    max-height: 600px;
    border-radius: 28px;
    position: absolute;
    right: calc(-50vw + 50%);
    top: -15%;
    z-index: 2;
}

.greeting-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 100px 0 0 20px;
}

.greeting-photo-small {
    position: absolute;
    left: calc(-50vw + 50%);
    bottom: -5%;
    max-width: 290px;
    max-height: 350px;
    z-index: 2;
}

.greeting-photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 20px 20px 0;
}

/* Responsive */
@media (max-width: 991px) {
    .greeting-wrap {
        padding: 40px 0 60px;
    }

    .greeting-title-overlay {
        font-size: 84px;
        top: -16px;
    }

    .greeting-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .greeting-left {
        padding-left: 10%;
    }

    .greeting-text p {
        padding-left: 10%;
        font-size: 16px;
        line-height: 32px;
        margin-top: -60px;
    }

    .greeting-photo-large {
        height: 360px;
        max-width: 720px;
        top: -10%;
    }

    .greeting-photo-small {
        order: 3;
        width: 220px;
        height: 170px;
        bottom: -3%;
    }

    .greeting-actions {
        margin-top: 30px;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .greeting-wrap {
        padding: 30px 0 50px;
    }

    .greeting-title-overlay {
        font-size: 60px;
        top: -8px;
        opacity: .35;
    }

    .greeting-left {
        padding-left: 5%;
    }

    .greeting-heading .jp {
        font-size: 32px;
        letter-spacing: 0.2em;
    }

    .greeting-text p {
        padding-left: 5%;
        font-size: 14px;
        line-height: 28px;
        margin-top: 0;
    }

    .greeting-photo-large {
        max-width: 300px;
        max-height: 400px;
        top: -5%;
    }

    .greeting-photo-small {
        max-width: 200px;
        max-height: 250px;
        bottom: -15px;
    }

    .greeting-actions {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .greeting-wrap {
        padding: 40px 0 60px;
        padding-bottom: 50%;
    }

    .greeting-title-overlay {
        font-size: 60px;
        top: -8px;
        opacity: .35;
    }

    .greeting-heading .jp {
        font-size: 22px;
    }

    .greeting-photo-large {
        height: 300px;
        top: -310px;
    }

    .greeting-photo-small {
        width: 180px;
        height: 200px;

    }
}

/* Price Section */
.price-section {
    background-color: #ffffff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}


.price-grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
    margin: 0 10%;
}

.price-left {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.price-overlay-title {
    position: absolute;
    left: -60px;
    top: -36px;
    font-family: 'Shippori Mincho B1', serif;
    font-size: 110px;
    letter-spacing: .2em;
    background: linear-gradient(90deg, #F7D6D8 0%, #F5CBDE 50%, #BFE6F2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: .5;
    pointer-events: none;
    white-space: nowrap
}

.price-heading {
    font-size: 36px;
    color: #343434;
    margin: 0;
    position: relative;
    z-index: 1;
}

.price-content {
    margin-top: 32px;
}

.price-content p {
    margin: 0 0 16px 0;
    color: #343434;
    line-height: 36px;
    font-size: 18px;
}



.price-actions {
    margin-top: 20px;
}

.price-right {
    display: flex;
    justify-content: center;
}

.price-table {
    width: 100%;
    max-width: 580px;

}

.price-table table {
    width: 100%;
    background: #fff;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #EB97A4;
    border-collapse: separate;
    border-spacing: 0;
}



.price-table thead th {
    background: #EB97A4;
    color: #fff;
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    border-bottom: 1px solid #EB97A4;
}

/* .price-table thead th:first-child {
    border-top-left-radius: 8px;
}

.price-table thead th:last-child {
    border-top-right-radius: 8px;
} */

.price-table tbody td {
    padding: 20px 30px;
    border-bottom: 1px solid #E0E0E0;
    color: #343434;
    text-align: center;
    font-weight: 500;
    line-height: 36px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fafafa;
}

.price-table tbody tr td:first-child {
    border-left: 1px solid #EB97A4;

}

.price-table tbody tr td:last-child {
    border-right: 1px solid #EB97A4;
}

@media (max-width: 991px) {
    .price-section {
        padding: 60px 0;
    }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .price-left {
        margin: 0;
    }

    .price-overlay-title,
    .price-title-overlay {
        font-size: 80px;
        top: -20px;
        left: 0;
    }

    .price-heading {
        font-size: 28px;
    }

    .price-content {
        margin-top: 16px;
    }

    .price-content p {
        font-size: 15px;
        line-height: 30px;
    }

    .price-table {
        max-width: 100%;
    }

    .price-table thead th {
        font-size: 18px;
        padding: 14px 16px;
    }

    .price-table tbody td {
        padding: 16px 18px;
        line-height: 30px;
    }
}

@media (max-width: 767px) {
    .price-section {
        padding: 40px 0;
    }

    .price-overlay-title,
    .price-title-overlay {
        font-size: 56px;
        top: -30px;
        left: -20px;
        opacity: .45;
    }

    .price-heading {
        font-size: 22px;
    }

    .price-content p {
        font-size: 14px;
        line-height: 26px;
    }

    .price-table {
        max-width: 100%;
    }

    .price-table thead th {
        font-size: 16px;
        padding: 12px 14px;
    }

    .price-table tbody td {
        font-size: 14px;
        padding: 12px 14px;
        line-height: 24px;
    }

    /* Align label left and amount right for readability */
    .price-table tbody tr td:first-child {
        text-align: left;
    }

    .price-table tbody tr td:last-child {
        text-align: right;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .greeting-text {
        text-align: center;
    }
    .greeting-text p {
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        hyphens: auto;
    }
    .price-content {
        text-align: center;
    }
    .price-content p {
        margin-left: auto;
        margin-right: auto;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        hyphens: auto;
    }
}


/* Optional baseline style if JS badge lacks inline styles */
.um-required-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: #F1666B;
    border-radius: 12px;
    line-height: 1;
}


@media (max-width: 469px) {
	.price-content p {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}
@media (max-width: 469px) {
	.greeting-text p {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

@media (max-width: 469px) {
    .greeting-text {
        padding-left: calc(env(safe-area-inset-left) + 16px);
        padding-right: calc(env(safe-area-inset-right) + 16px);
    }
}
/* Responsive */
@media (max-width: 1399px) {
    .greeting-photo-large {
        max-width: 420px;
        max-height: 480px;
        top: -10%;
    }

    .greeting-photo-small {
        max-width: 190px;
        max-height: 200px;
        bottom: -3%;
    }
}

@media (max-width: 1199px) {
    .greeting-photo-large {
        max-width: 340px;
        max-height: 400px;
    }

    .greeting-photo-small {
        max-width: 200px;
        max-height: 180px;
    }
}

@media (max-width: 576px) {

    .greeting-photo-large {
        height: 300px;
        top: -310px;
    }
    .greeting-left {
        padding-right: calc(env(safe-area-inset-right) + 5%);
    }


}