/**
 * Yamashita Clinic Custom Theme Styles
 * Custom CSS for the Yamashita Clinic WordPress theme
 */

/* ===================================
   CSS Variables - Color Palette
   =================================== */
:root {
    --color-text-base: #000000;
    --color-pink: #ec7f92;
    --color-blue: #4599d8;
    --color-lite-pink: #fcf0f5;
    --color-white: #ffffff;
    --color-grey: #f9f9f9;
}

/* ===================================
   Base Styles
   =================================== */
body {
    color: var(--color-text-base);
    font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 992px) {
    .content-panels-wrap :is(p, li),
    .layout-step-section :is(p, li),
    .single-post__content :is(p, li),
    .recruit-panel__text {
        font-size: 1.25rem;
        font-weight: 700;
    }
}

.font-zen-kaku-gothic-antique {
    font-family: "Zen Kaku Gothic Antique", "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===================================
   Header Styles
   =================================== */
.site-header {
    padding: 20px 0;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    body.desktop-header-follow {
        padding-top: 96px;
    }

    body.desktop-header-follow .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1200;
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 10px 28px rgba(120, 74, 90, 0.14);
        backdrop-filter: blur(8px) saturate(120%);
        -webkit-backdrop-filter: blur(8px) saturate(120%);
    }

    body.desktop-header-follow .site-header .header-row-1 {
        display: none;
    }

    body.desktop-header-follow .site-header .header-row-2 {
        gap: 20px;
    }

    body.desktop-header-follow .site-header .header-cta-btn {
        display: none;
    }
}

@media (max-width: 991px) {
    .site-header {
        padding: 16px 0 0px 0;
    }
}

/* Header Row 1 - Logo and Action Buttons */
.header-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    width: min(400px, 100%);
    min-height: 82px;
}

.site-logo a,
.site-logo .custom-logo-link,
.site-logo .site-logo-link {
    display: inline-flex;
    width: 100%;
    aspect-ratio: 400 / 82;
    align-items: center;
    line-height: 0;
}

.site-logo img,
.site-logo object,
.site-logo .custom-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 82px;
    max-width: 100%;
}

.site-logo .logo-svg {
    width: 100%;
    height: auto;
}

.site-logo .logo-fallback {
    width: 100%;
    height: auto;
}

.site-logo object,
.site-logo .logo-fallback {
    pointer-events: none;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.mobile-quick-actions {
    display: block;
}

.mobile-nav-toggle-shell {
    display: none;
}

.mobile-quick-cta-shell {
    display: block;
}

.action-label-short {
    display: none;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
}

.header-btn i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.header-btn-phone {
    background-color: var(--color-pink);
    color: var(--color-white);
}

.header-btn-phone .phone-number {
    font-family: "Zen Kaku Gothic Antique", "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}

.header-btn-reservation span {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.header-btn-phone:hover {
    background-color: #d96d80;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(236, 127, 146, 0.3);
}

.header-btn-reservation {
    background-color: var(--color-pink);
    color: var(--color-white);
}

.header-btn-reservation:hover {
    background-color: #d96d80;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(236, 127, 146, 0.3);
}

/* Header Row 2 - Navigation Bar */
.header-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mobile-nav-toggle {
    display: none;
}

.main-navigation {
    background-color: var(--color-lite-pink);
    border-radius: 12px;
    padding: 12px;
    flex: 1;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.main-navigation li {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-align: center;
}

.main-navigation li + li {
    margin-left: 0;
    padding-left: 0;
}

.main-navigation li + li::before {
    content: "";
    position: absolute;
    left: var(--separator-offset, -16px);
    top: 50%;
    width: 4px;
    height: 38px;
    transform: translate(-50%, -50%);
    background-image: url("../img/nav-separator.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.main-navigation a {
    color: var(--color-pink);
    text-decoration: none;
    font-size: 21px;
    font-weight: 500;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: #d96d80;
    transform: scale(1.05);
}

.header-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 24px;
    background-color: var(--color-pink);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-cta-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.cta-character-icon {
    display: block;
    width: auto;
    height: 50px;
    flex: 0 0 auto;
}

.header-cta-btn .cta-character-icon {
    margin-left: 0;
    margin-right: 6px;
}

.header-cta-btn:hover {
    background-color: #d96d80;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(236, 127, 146, 0.3);
}

/* ===================================
   Banner Section
   =================================== */
.hero-banner {
    margin-top: 30px;
    margin-bottom: 30px;
}

.hero-banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    max-height: 500px;
}

/* ===================================
   Content Sections
   =================================== */
.content-section {
    padding: 60px 0;
}

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

.section-bg-grey {
    background-color: var(--color-grey);
}

.section-bg-lite-pink {
    background-color: var(--color-lite-pink);
}

.section-title {
    color: var(--color-pink);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* ===================================
   News Section
   =================================== */
.news-section {
    padding: 20px 0 70px;
}

.news-panel {
    background-color: var(--color-grey);
    border-radius: 12px;
    padding: 36px 36px 54px;
    position: relative;
}

.news-heading {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 22px;
}

.news-heading-en {
    margin: 0;
    color: var(--color-pink);
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.1;
}

.news-heading-ja {
    margin: 0;
    color: var(--color-text-base);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.news-featured-item {
    border: 1px solid var(--color-pink);
    border-radius: 14px;
    display: flex;
    align-items: stretch;
    gap: 0;
    text-decoration: none;
    overflow: hidden;
}

.news-featured-label {
    background-color: var(--color-pink);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    padding: 16px 20px;
    white-space: nowrap;
}

.news-featured-title {
    flex: 1;
    display: flex;
    align-items: center;
    color: var(--color-pink);
    font-size: 1.08rem;
    font-weight: 700;
    padding: 14px 18px;
    line-height: 1.3;
}

.news-featured-arrow {
    align-self: center;
    width: 15px;
    height: 15px;
    margin-right: 16px;
    flex: 0 0 auto;
}

.news-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.news-item {
    border: 1px solid var(--color-pink);
    border-radius: 14px;
    display: flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
}

.news-item-main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 16px;
    min-width: 0;
}

.news-item-meta {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.news-item-date {
    color: var(--color-text-base);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
}

.news-item-category {
    color: var(--color-pink);
    border: 1px solid var(--color-pink);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.news-item-title {
    margin: 0;
    color: var(--color-pink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    min-width: 0;
}

.news-item-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-pink);
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    padding: 16px 18px;
    white-space: nowrap;
}

.news-item-readmore img {
    width: 14px;
    height: 14px;
}

.news-archive-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
}

.news-archive-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-pink);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 34px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.news-archive-btn img {
    width: 16px;
    height: 16px;
}

.news-panel--listing {
    padding-bottom: 36px;
}

.news-empty {
    margin: 20px 0 0;
    color: var(--color-text-base);
    font-weight: 700;
}

.news-pagination {
    margin-top: 24px;
}

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

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

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--color-pink);
    color: var(--color-pink);
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    background-color: var(--color-white);
}

.news-pagination .page-numbers .current {
    background-color: var(--color-pink);
    color: var(--color-white);
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    padding: 70px 0;
}

.services-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-pink);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 40px;
}

.services-title-icon {
    width: 48px;
    height: auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 920px;
    margin: 0 auto;
}

.services-grid-item {
    width: 200px;
    height: 200px;
    object-fit: contain;
}



/* ===================================
   Features Section
   =================================== */
.features-section {
    padding: 70px 0;
}

@media (max-width: 768px) {
    .features-section {
        padding: 30px 0;
    }
}

.feature-item {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    margin-top: 80px;
    min-height: 320px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item-bg {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.5;
}

/* Number styling */
.feature-number {
    position: absolute;
    font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 5rem;
    font-weight: 600;
    color: var(--color-pink);
    line-height: 1;
    z-index: 2;
    top: -20px;
}

.feature-item--odd .feature-number {
    left: 8px;
}

.feature-item--even .feature-number {
    right: 8px;
}

/* Image styling */
.feature-image {
    position: absolute;
    width: 340px;
    height: auto;
    z-index: 2;
    top: -20px;
}

.feature-item--odd .feature-image {
    right: -20px;
}

.feature-item--even .feature-image {
    left: -20px;
}

/* Content row */
.feature-content-row {
    position: relative;
    z-index: 1;
    min-height: 320px;
}

.feature-content-col {
    padding: 68px 64px 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-item--odd .feature-content-col {
    padding-left: 88px;
}

.feature-item--even .feature-content-col {
    padding-right: 88px;
}

.feature-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-base);
    margin: 0 0 16px;
    line-height: 1.6;
}

.feature-item-text {
    font-size: 0.95rem;
    color: var(--color-text-base);
    line-height: 1.8;
    margin: 0;
}

/* Button col for feature 3 */
.feature-btn-col {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 40px;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-pink);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 34px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.feature-btn:hover {
    background-color: #d96d80;
    color: var(--color-white);
}

.feature-btn img {
    width: 16px;
    height: 16px;
}

/* ===================================
   Access Section
   =================================== */
.clinic-access-section {
    padding: 30px 0 30px;
}

.clinic-access-row {
    align-items: stretch;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.clinic-access-left,
.clinic-access-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.clinic-calendar {
    position: relative;
    border: 1px solid var(--calendar-color);
    border-radius: 12px;
    padding: 30px 16px 14px;
    background-color: var(--color-white);
}

.clinic-calendar--pink {
    --calendar-color: var(--color-pink);
}

.clinic-calendar--blue {
    --calendar-color: var(--color-blue);
}

.clinic-calendar-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    background-color: var(--calendar-color);
    color: var(--color-white);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.clinic-schedule-grid {
    display: grid;
    grid-template-columns: 1.9fr repeat(7, minmax(0, 1fr));
    align-items: center;
}

.clinic-cell {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--calendar-color);
    border-bottom: 1px solid var(--calendar-color);
    color: var(--color-text-base);
    font-size: 0.96rem;
    font-weight: 500;
}

.clinic-cell:nth-child(8n) {
    border-right: 0;
}

.clinic-cell--head {
    font-weight: 700;
}

.clinic-cell--time {
    justify-content: flex-start;
    padding-left: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.mark {
    display: inline-block;
    color: inherit;
}

.clinic-calendar--pink .mark,
.clinic-calendar--pink .mark--dash {
    color: var(--color-pink);
}

.clinic-calendar--blue .mark,
.clinic-calendar--blue .mark--dash,
.clinic-legend--blue .mark {
    color: var(--color-blue);
}

.mark--circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: currentcolor;
}

.mark--dash {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background-color: currentcolor;
    transform: scaleY(0.42);
    transform-origin: center;
}

.mark--star {
    width: 17px;
    height: 17px;
    background-color: currentcolor;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 92%, 50% 70%, 21% 92%, 32% 57%, 2% 35%, 39% 35%);
}

.clinic-legend {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-base);
}

.clinic-legend--blue {
    justify-content: center;
    width: 100%;
}

.clinic-legend-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-pink);
    color: var(--color-white);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
}

.clinic-legend--pink {
    margin-bottom: 14px;
}

.clinic-calendar--blue {
    margin-top: auto;
}

.clinic-map-wrap {
    width: 100%;
    flex: 1 1 auto;
    min-height: 220px;
    aspect-ratio: 2 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.clinic-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.clinic-info-box {
    background-color: var(--color-white);
}

.clinic-info-title {
    margin: 10px 0 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-base);
}

.clinic-info-list {
    margin: 0;
    display: grid;
    gap: 10px;
}

.clinic-info-row {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #000000;
}

.clinic-info-row dt,
.clinic-info-row dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-base);
}

.clinic-info-row dt {
    font-weight: 400;
}

/* ===================================
   Footer Styles
   =================================== */
.site-footer {
    padding: 44px 0 20px;
    margin-top: 60px;
}

.footer-content {
    padding: 8px 0 20px;
}

.footer-layout {
    display: flex;
    align-items: flex-start;
    gap: 54px;
}

.footer-left {
    flex: 0 0 360px;
    max-width: 360px;
}

.footer-logo-link {
    display: inline-flex;
    width: 320px;
    aspect-ratio: 400 / 82;
    align-items: center;
    line-height: 0;
    margin-bottom: 16px;
}

.footer-logo-svg,
.footer-logo-fallback {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.footer-address {
    margin: 0 0 18px;
    color: var(--color-text-base);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-action-row {
    display: flex;
    gap: 10px;
}

.footer-action-btn {
    flex: 1;
    min-height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-white);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1;
    padding: 12px 18px;
    transition: background-color 0.2s ease;
}

.footer-action-btn--phone,
.footer-action-btn--web {
    background-color: var(--color-pink);
}

.footer-action-btn--phone:hover,
.footer-action-btn--web:hover {
    background-color: #d96d80;
    color: var(--color-white);
}

.footer-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 30px;
}

.footer-nav-group {
    min-width: 0;
}

.footer-nav-main {
    display: inline-block;
    text-decoration: none;
    color: var(--color-pink);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-nav-main:hover {
    color: #d96d80;
}

.footer-nav-sub {
    margin: 0;
    padding-left: 18px;
    color: var(--color-text-base);
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-nav-sub li {
    margin-bottom: 4px;
}

.footer-nav-sub a {
    color: var(--color-text-base);
    text-decoration: none;
}

.footer-nav-sub a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
}

.desktop-scroll-actions {
    position: fixed;
    bottom: 16px;
    width: auto;
    padding: 8px;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(255, 236, 242, 0.52));
    box-shadow: 0 14px 34px rgba(120, 74, 90, 0.24);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    z-index: 1180;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.desktop-scroll-actions--left {
    left: 16px;
}

.desktop-scroll-actions--right {
    right: 16px;
}

.desktop-scroll-actions-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.desktop-scroll-actions-visible .desktop-scroll-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.desktop-scroll-action-btn {
    min-height: 54px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 20px;
    text-decoration: none;
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--color-white);
    background-color: var(--color-pink);
    box-shadow: 0 6px 14px rgba(236, 127, 146, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.desktop-scroll-action-btn i {
    font-size: 1.08rem;
}

.desktop-scroll-action-btn .cta-character-icon {
    height: 46px;
    margin-left: 0;
    margin-right: 0;
}

.desktop-scroll-action-btn:hover {
    transform: translateY(-1px);
    color: var(--color-white);
    background-color: #d96d80;
    box-shadow: 0 9px 18px rgba(217, 109, 128, 0.34);
}

@media (max-width: 991px) {
    .desktop-scroll-actions {
        display: none;
    }
}

/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 1100px) {
    .feature-item--odd .feature-image {
        right: 30px;
    }

    .feature-item--even .feature-image {
        left: 30px;
    }
}

@media (max-width: 991px) {
    body {
        --mobile-actions-side: 12px;
        --mobile-actions-gap: 8px;
        --mobile-actions-width: calc(100vw - (var(--mobile-actions-side) * 2));
        --mobile-action-col: calc((var(--mobile-actions-width) - (var(--mobile-actions-gap) * 2)) / 3);
        --mobile-action-height: 50px;
        padding-bottom: calc(var(--mobile-action-height) + 24px);
    }

    body.mobile-nav-open {
        overflow: hidden;
        touch-action: none;
    }

    .header-row-1 {
        position: relative;
        margin-bottom: 5px;
    }

    .site-logo {
        min-height: 0;
        max-width: calc(100% - 130px);
    }

    .header-row-2 {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .mobile-nav-toggle-shell {
        display: block;
        position: fixed;
        top: 12px;
        right: 12px;
        padding: 4px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.82);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 231, 237, 0.52));
        box-shadow: 0 12px 30px rgba(120, 74, 90, 0.24);
        backdrop-filter: blur(14px) saturate(140%);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        z-index: 1300;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: auto;
        border: 0;
        border-radius: 12px;
        padding: 14px 16px;
        background: var(--color-pink);
        color: var(--color-white);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.03em;
        cursor: pointer;
        position: static;
        z-index: auto;
        box-shadow: 0 6px 14px rgba(236, 127, 146, 0.32);
    }

    .mobile-nav-toggle__label {
        font-size: 0.9rem;
        font-weight: 800;
    }

    .mobile-nav-toggle__icon,
    .mobile-nav-toggle__icon::before,
    .mobile-nav-toggle__icon::after {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background-color: currentColor;
        content: "";
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .mobile-nav-toggle__icon {
        position: relative;
    }

    .mobile-nav-toggle__icon::before {
        position: absolute;
        top: -6px;
        left: 0;
    }

    .mobile-nav-toggle__icon::after {
        position: absolute;
        top: 6px;
        left: 0;
    }

    .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon {
        background-color: transparent;
    }

    .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon::before {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 72px 16px 96px;
        background-color: var(--color-lite-pink);
        z-index: 1250;
        overflow-y: auto;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .main-navigation.is-collapsed {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .main-navigation ul {
        width: min(560px, 100%);
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
    }

    .main-navigation li {
        justify-content: center;
    }

    .main-navigation li + li {
        margin-left: 0;
        padding-left: 0;
    }

    .main-navigation li + li::before {
        content: none;
    }

    .main-navigation a {
        justify-content: center;
        padding: 12px 16px;
        min-height: 0;
        font-size: 1.25rem;
        font-weight: 700;
    }

    .mobile-quick-actions {
        position: fixed;
        left: var(--mobile-actions-side);
        bottom: 12px;
        width: calc((var(--mobile-action-col) * 2) + var(--mobile-actions-gap));
        padding: 6px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.75);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(254, 225, 233, 0.38));
        box-shadow: 0 12px 32px rgba(120, 74, 90, 0.22);
        backdrop-filter: blur(16px) saturate(135%);
        -webkit-backdrop-filter: blur(16px) saturate(135%);
        z-index: 1190;
    }

    .mobile-quick-cta-shell {
        position: fixed;
        left: calc(var(--mobile-actions-side) + (var(--mobile-action-col) * 2) + (var(--mobile-actions-gap) * 2));
        bottom: 12px;
        width: var(--mobile-action-col);
        padding: 6px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.75);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(254, 225, 233, 0.38));
        box-shadow: 0 12px 32px rgba(120, 74, 90, 0.22);
        backdrop-filter: blur(16px) saturate(135%);
        -webkit-backdrop-filter: blur(16px) saturate(135%);
        z-index: 1190;
    }

    .header-actions {
        position: static;
        width: 100%;
        display: grid;
        /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: var(--mobile-actions-gap);
    }

    .header-btn {
        min-width: 0;
        height: var(--mobile-action-height);
        border-radius: 14px;
        padding: 8px 8px;
        font-size: 0.84rem;
        font-weight: 800;
        letter-spacing: 0.03em;
        white-space: nowrap;
        box-shadow: 0 6px 14px rgba(236, 127, 146, 0.25);
        transform: none;
    }

    .header-btn i {
        margin-right: 4px;
        font-size: 1rem;
    }

    .header-btn-phone .phone-number,
    .header-btn-reservation .header-btn-text,
    .header-cta-btn .header-cta-text {
        display: none;
    }

    .header-btn .action-label-short,
    .header-cta-btn .action-label-short {
        display: inline;
        font-size: 0.86rem;
        font-weight: 800;
    }

    .header-cta-btn {
        position: static;
        width: 100%;
        height: var(--mobile-action-height);
        border-radius: 14px;
        border: 0;
        background: var(--color-pink);
        color: var(--color-white);
        padding: 8px 8px;
        font-size: 0.84rem;
        font-weight: 800;
        letter-spacing: 0.03em;
        justify-content: center;
        white-space: nowrap;
        box-shadow: 0 6px 14px rgba(236, 127, 146, 0.25);
    }

    .header-cta-btn i {
        margin-right: 4px;
        font-size: 1rem;
    }

    .header-cta-btn .cta-character-icon {
        height: 42px;
        margin-left: 0;
        margin-right: 4px;
    }

    .footer-action-btn {
        padding: 10px 14px;
        font-size: 1rem;
    }

    .footer-action-btn .footer-action-label-full {
        display: none;
    }

    .footer-action-btn .action-label-short {
        display: inline;
        font-size: 0.95rem;
        font-weight: 800;
    }

    .footer-layout {
        gap: 28px;
    }

    .footer-left {
        flex-basis: 300px;
        max-width: 300px;
    }

    .footer-logo-link {
        width: 280px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 24px;
    }

    .services-grid {
        gap: 20px;
    }

    .services-grid-item {
        width: 150px;
        height: 150px;
    }

    .hero-banner {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .services-section {
        padding: 30px 0;
    }

    .features-section {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .header-btn {
        font-size: 0.9rem;
    }

    .main-navigation a {
        font-size: 1rem;
    }

    .header-cta-btn {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-banner {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .hero-banner img {
        aspect-ratio: 4 / 3;
        width: 100%;
        height: auto;
        max-height: none;
    }

    .news-section {
        padding: 12px 0 30px;
    }

    .news-section .container {
        padding-left: 0;
        padding-right: 0;
    }

    .news-panel {
        background-color: var(--color-white);
        border-radius: 0;
        padding: 0;
    }

    .news-heading {
        gap: 10px;
        margin-bottom: 14px;
        padding: 0 16px;
    }

    .news-heading-en {
        font-size: 1.7rem;
    }

    .news-heading-ja {
        font-size: 1rem;
    }

    .news-featured-item,
    .news-item {
        align-items: stretch;
        flex-direction: column;
        background: linear-gradient(180deg, #ffffff 0%, #fcf0f5 100%);
        border-radius: 16px;
        box-shadow: 0 8px 18px rgba(236, 127, 146, 0.12);
    }

    .news-featured-item {
        margin: 0 0 14px;
    }

    .news-featured-label {
        width: 100%;
        display: block;
    }

    .news-featured-title {
        width: 100%;
        padding: 14px 16px;
        font-size: 1.02rem;
    }

    .news-featured-arrow {
        margin: 0 16px 14px auto;
    }

    .news-item-main {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }

    .news-item-meta {
        flex-wrap: wrap;
    }

    .news-item-readmore {
        width: auto;
        justify-content: center;
        align-self: flex-end;
        margin: 0 16px 14px auto;
        padding: 9px 14px;
        border-radius: 999px;
        font-size: 0.86rem;
    }

    .news-list {
        margin-top: 10px;
        gap: 12px;
    }

    .news-archive-wrap {
        position: static;
        transform: none;
        margin-top: 18px;
        text-align: center;
    }

    .news-archive-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .services-section {
        padding: 40px 0;
    }

    .services-title {
        font-size: 1.5rem;
    }

    .services-title-icon {
        width: 36px;
    }

    .services-grid {
        gap: 20px;
    }

    .services-grid-item {
        width: 140px;
        height: 140px;
    }

    .feature-item {
        min-height: auto;
        margin-top: 40px;
    }

    .feature-image {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 220px;
        display: block;
        margin: -14px auto 20px;
    }

    .feature-item--odd .feature-image,
    .feature-item--even .feature-image {
        left: auto;
        right: auto;
    }

    .feature-number {
        font-size: 3.5rem;
        top: -14px;
    }

    .feature-content-row {
        min-height: auto;
    }

    .feature-content-col {
        padding: 30px 32px 28px;
    }

    .feature-item--odd .feature-content-col,
    .feature-item--even .feature-content-col {
        padding-left: 48px;
        padding-right: 48px;
    }

    .feature-item--even .feature-content-col {
        order: 0;
    }

    .feature-btn-col {
        padding: 0 24px 30px;
        justify-content: center;
    }

    .site-footer {
        margin-top: 40px;
        padding-top: 34px;
    }

    .footer-layout {
        flex-direction: column;
        gap: 22px;
    }

    .footer-left {
        flex-basis: auto;
        max-width: none;
        width: 100%;
    }

    .footer-logo-link {
        width: 300px;
    }

    .footer-action-row {
        display: none;
    }

    .footer-nav {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-nav-main {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .footer-nav-sub {
        font-size: 0.9rem;
    }

    .clinic-access-section {
        padding: 24px 0 16px;
    }

    .clinic-access-left,
    .clinic-access-right {
        gap: 14px;
    }

    .clinic-calendar {
        padding: 26px 8px 12px;
    }

    .clinic-schedule-grid {
        min-width: 0;
        grid-template-columns: 88px repeat(7, minmax(0, 1fr));
    }

    .clinic-cell {
        min-height: 38px;
        padding: 6px 2px;
        font-size: 0.82rem;
    }

    .clinic-cell--head {
        font-size: 0.78rem;
    }

    .clinic-cell--time {
        font-size: 0.72rem;
        padding-left: 4px;
        letter-spacing: 0;
    }

    .clinic-schedule-grid .mark--circle {
        width: 12px;
        height: 12px;
    }

    .clinic-schedule-grid .mark--star {
        width: 13px;
        height: 13px;
    }

    .clinic-schedule-grid .mark--dash {
        width: 13px;
    }

    .clinic-map-wrap {
        min-height: 200px;
    }

    .clinic-info-row {
        grid-template-columns: 102px 1fr;
    }
}

@media (max-width: 520px) {
    body {
        --mobile-actions-side: 10px;
        --mobile-actions-gap: 6px;
        --mobile-action-height: 46px;
        padding-bottom: calc(var(--mobile-action-height) + 28px);
    }

    .mobile-nav-toggle {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .mobile-nav-toggle-shell {
        top: 10px;
        right: 10px;
        padding: 3px;
        border-radius: 14px;
    }

    .mobile-nav-toggle__label {
        font-size: 0.82rem;
    }

    .mobile-quick-actions {
        padding: 5px;
        border-radius: 16px;
    }

    .mobile-quick-cta-shell {
        padding: 5px;
        border-radius: 16px;
    }

    .header-btn,
    .header-cta-btn {
        padding: 6px 4px;
        font-size: 0.78rem;
        border-radius: 12px;
    }

    .header-btn i,
    .header-cta-btn i {
        margin-right: 2px;
        font-size: 0.9rem;
    }

    .header-cta-btn .cta-character-icon {
        height: 38px;
        margin-left: 0;
        margin-right: 3px;
    }

    .header-btn .action-label-short,
    .header-cta-btn .action-label-short {
        font-size: 0.78rem;
    }

    .footer-action-btn {
        min-height: 48px;
        padding: 8px 10px;
    }

    .services-grid {
        gap: 12px;
        justify-content: space-between;
    }

    .services-grid a {
        width: calc((100% - 12px) / 2);
        max-width: none;
    }

    .services-grid-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        display: block;
    }

    .feature-image {
        width: 170px;
        margin: -10px auto 16px;
    }

    .feature-number {
        font-size: 2.5rem;
        top: -10px;
    }

    .feature-item-title {
        font-size: 1.1rem;
    }

    .feature-content-col,
    .feature-item--odd .feature-content-col,
    .feature-item--even .feature-content-col {
        padding: 24px 22px 24px;
    }

    .feature-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .footer-logo-link {
        width: 250px;
    }

    .clinic-calendar-title {
        font-size: 0.92rem;
        padding: 6px 12px;
    }

    .clinic-calendar {
        padding: 24px 6px 10px;
    }

    .clinic-schedule-grid {
        grid-template-columns: 72px repeat(7, minmax(0, 1fr));
    }

    .clinic-cell {
        min-height: 34px;
        padding: 4px 1px;
        font-size: 0.72rem;
    }

    .clinic-cell--head {
        font-size: 0.68rem;
    }

    .clinic-cell--time {
        font-size: 0.62rem;
        padding-left: 2px;
    }

    .clinic-schedule-grid .mark--circle {
        width: 10px;
        height: 10px;
    }

    .clinic-schedule-grid .mark--star {
        width: 11px;
        height: 11px;
    }

    .clinic-schedule-grid .mark--dash {
        width: 11px;
    }

    .clinic-legend {
        flex-wrap: wrap;
        row-gap: 6px;
        font-size: 0.88rem;
        margin-top: -5px;
    }

    .clinic-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .clinic-map-wrap {
        min-height: 180px;
    }
}

@media (max-width: 360px) {
     .services-grid {
        gap: 8px;
        justify-content: space-between;
    }

    .services-grid a {
        width: calc((100% - 8px) / 2);
        max-width: none;
    }
}

/* ===================================
   Page Hero (Reusable)
   =================================== */
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.page-hero__title {
    color: var(--color-pink);
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    -webkit-text-stroke: 5px var(--color-white);
    paint-order: stroke fill;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 50px 0;
    }

    .page-hero__title {
        font-size: 2rem;
    }
}

/* ===================================
   Anchor Navigation Buttons (Reusable)
   =================================== */
.anchor-nav-section {
    padding: 30px 0 10px;
}

.anchor-nav-list {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.anchor-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f2f2f2;
    border: 1px solid var(--color-pink);
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--color-pink);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.anchor-nav-btn:hover {
    background-color: var(--color-lite-pink);
    color: var(--color-pink);
    box-shadow: 0 2px 6px rgba(236, 127, 146, 0.2);
}

.anchor-nav-btn__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.anchor-nav-btn__label {
    flex: 1;
    line-height: 1.2;
}

.anchor-nav-btn__arrow {
    font-size: 0.85rem;
    flex: 0 0 auto;
    opacity: 0.8;
}

/* Keep layout-examples reachable by URL, but hide it from service link lists. */
.anchor-nav-section .anchor-nav-btn[href*="/services/layout-examples"] {
    display: none;
}

@media (max-width: 768px) {
    .anchor-nav-section {
        padding: 8px 0 4px;
    }

    .anchor-nav-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .anchor-nav-btn {
        width: 100%;
        justify-content: center;
        gap: 6px;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 0.82rem;
        min-height: 40px;
    }

    .anchor-nav-btn__icon {
        width: 16px;
        height: 16px;
    }

    .anchor-nav-btn__label {
        text-align: center;
        line-height: 1.15;
    }

    .anchor-nav-btn__arrow {
        display: none;
    }
}

@media (max-width: 380px) {
    .anchor-nav-btn {
        padding: 7px 8px;
        font-size: 0.78rem;
    }
}

/* ===================================
   Content Panel — Bordered Box (Reusable)
   =================================== */
.content-panel {
    border: 1px solid var(--color-pink);
    border-radius: 10px;
    position: relative;
    margin-top: 36px;
}

.content-panel__heading {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-white);
    padding: 4px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-pink);
    font-size: 1.35rem;
    font-weight: 700;
    white-space: nowrap;
}

.content-panel__heading-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

.content-panel__body {
    padding: 56px 40px 40px;
}

@media (max-width: 768px) {
    .content-panel__body {
        padding: 48px 20px 28px;
    }

    .content-panel__heading {
        font-size: 1rem;
        padding: 4px 14px;
        gap: 6px;
    }

    .content-panel__heading-icon {
        width: 22px;
        height: 22px;
    }
}

/* ===================================
   Content Panels Wrapper — tighter stacking
   =================================== */
.content-panels-wrap {
    padding: 20px 0 60px;
}

.content-panels-wrap .content-panel {
    margin-top: 48px;
}

.content-panels-wrap .content-panel:first-child {
    margin-top: 36px;
}

/* ===================================
   Pink Bullet Lists (Reusable)
   =================================== */

/* Full-width single-column list */
.pink-bullet-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Two-column grid list */
.pink-bullet-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}

/* Shared item style */
.pink-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    color: var(--color-text-base);
    line-height: 1.5;
}

.pink-bullet-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-top: 4px;
}

.bullet-note {
    font-weight: 400;
    font-size: 0.88em;
    color: #888;
}

@media (max-width: 600px) {
    .pink-bullet-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Recruit Panel — borderless 50/50 layout
   =================================== */
.recruit-panel {
    position: relative;
    margin-top: 48px;
}

.recruit-panel:first-child {
    margin-top: 36px;
}

/* Reuse the same centred heading chip as content-panel */
.recruit-panel > .content-panel__heading {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: inline-flex;
    margin: 0 auto 24px;
    /* keep it centred */
    width: 100%;
    justify-content: center;
}

.recruit-panel__body {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.recruit-panel__body--flush {
    gap: 40px;
}

.recruit-panel__body--single {
    justify-content: center;
}

.default-page-template__content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.default-page-template__content > :first-child {
    margin-top: 0;
}

.default-page-template__content > :last-child {
    margin-bottom: 0;
}

.recruit-panel__col {
    flex: 1 1 0;
    min-width: 0;
}

.recruit-panel__col--text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.recruit-panel__title {
    color: var(--color-pink);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.recruit-panel__text {
    color: var(--color-text-base);
    line-height: 1.8;
    margin: 0;
}

.recruit-panel__btn-wrap {
    display: flex;
    justify-content: flex-end;
}

.recruit-panel__col--image {
    display: flex;
    align-items: center;
}

.recruit-panel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    max-height: 340px;
}

.page-template-template_doctor-profile .recruit-panel__img,
.page-template-template_doctor-profile-php .recruit-panel__img {
    height: auto;
    object-fit: contain;
    max-height: none;
}

@media (max-width: 768px) {
    .recruit-panel__body {
        flex-direction: column;
        gap: 24px;
    }

    .recruit-panel__btn-wrap {
        justify-content: center;
    }

    .recruit-panel__img {
        max-height: 220px;
    }

    .page-template-template_doctor-profile .recruit-panel__img,
    .page-template-template_doctor-profile-php .recruit-panel__img {
        max-height: none;
    }
}

/* ===================================
   Reservation Button (Reusable)
   =================================== */
.reservation-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-pink);
    color: var(--color-white);
    border-radius: 50px;
    padding: 14px 32px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.reservation-btn:hover {
    background-color: #d96d80;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(236, 127, 146, 0.3);
}

.reservation-btn i {
    font-size: 1.2rem;
}

/* ===================================
   Layout Example Page Utilities
   =================================== */
.layout-examples-page .recruit-panel__btn-wrap--left {
    justify-content: flex-start;
}

.layout-example-bullets-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.layout-centered-col-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.layout-centered-col-text {
    margin: 0;
    text-align: left;
    line-height: 1.8;
    color: var(--color-text-base);
}

.layout-example-subtitle {
    margin: 8px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-base);
}

.layout-bullet-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px 24px;
}

.layout-standalone-heading-wrap {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.layout-standalone-heading {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.layout-inline-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 28px;
}

.layout-inline-bullets .pink-bullet-item {
    width: auto;
    flex: 0 0 auto;
}

.layout-video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
}

.layout-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.layout-step-section {
    margin-top: 56px;
}

.layout-step-titlebar {
    width: 100%;
    margin-bottom: 20px;
}

.layout-step-title {
    margin: 0;
    color: var(--color-pink);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
}

.layout-step-divider {
    margin-top: 8px;
    border-bottom: 1px solid var(--color-pink);
}

.layout-step-image {
    width: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.layout-step-text {
    margin: 0 0 20px;
    line-height: 1.8;
    color: var(--color-text-base);
}

.layout-large-btn {
    padding: 16px 36px;
}

.layout-large-btn-wrap {
    margin-top: 24px;
}

.layout-xl-btn {
    padding: 18px 44px;
    font-size: 1.2rem;
}

.layout-centered-cta-section {
    margin-top: 36px;
}

.layout-xl-btn--centered {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.layout-unboxed-section {
    margin-top: 72px;
    padding-top: 12px;
}

.layout-unboxed-section-title {
    margin: 0 0 26px;
    color: var(--color-pink);
    font-size: 1.6rem;
    font-weight: 700;
}

.layout-unboxed-block {
    margin-top: 42px;
}

.layout-unboxed-block:first-of-type {
    margin-top: 0;
}

.layout-unboxed-section .layout-step-section,
.layout-unboxed-section .layout-centered-cta-section {
    margin-top: 42px;
}

/* ===================================
   Branded Accordion (Reusable)
   =================================== */
.brand-accordion-stack {
    margin-top: 24px;
    display: grid;
    gap: 28px;
}

.brand-accordion {
    --accordion-border: rgba(236, 127, 146, 0.35);
    --accordion-accent: var(--color-pink);
    --accordion-bg: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
    --accordion-shadow: rgba(236, 127, 146, 0.14);
    border: 2px solid var(--accordion-border);
    border-radius: 14px;
    background: var(--accordion-bg);
    box-shadow: 0 10px 24px var(--accordion-shadow);
    overflow: hidden;
}

.brand-accordion--blue {
    --accordion-border: rgba(69, 153, 216, 0.35);
    --accordion-accent: var(--color-blue);
    --accordion-bg: linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
    --accordion-shadow: rgba(69, 153, 216, 0.14);
}

.brand-accordion__item + .brand-accordion__item {
    border-top: 1px solid var(--accordion-border);
}

.brand-accordion__trigger {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--color-text-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    text-align: left;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    transition: background-color 0.2s ease;
}

.brand-accordion__trigger:hover {
    background-color: rgba(255, 255, 255, 0.55);
}

.brand-accordion__item.is-open .brand-accordion__trigger {
    background-color: rgba(255, 255, 255, 0.78);
}

.brand-accordion__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-accordion__title::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accordion-accent);
    flex: 0 0 10px;
}

.brand-accordion__icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--accordion-accent);
    color: var(--accordion-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    font-size: 0.85rem;
    transition: transform 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

.brand-accordion__item.is-open .brand-accordion__icon {
    transform: rotate(180deg);
    background-color: var(--accordion-accent);
    color: var(--color-white);
}

.brand-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.brand-accordion__panel-inner {
    padding: 0 22px 20px;
}

.brand-accordion__panel-inner p {
    margin: 0;
    line-height: 1.85;
}

.brand-accordion__panel-inner p + p {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .brand-accordion-stack {
        gap: 20px;
    }

    .brand-accordion__trigger {
        padding: 15px 16px;
        font-size: 0.96rem;
        gap: 10px;
    }

    .brand-accordion__panel-inner {
        padding: 0 16px 16px;
    }
}

/* ===================================
   Branded Accordion (Alternative)
   =================================== */
.brand-accordion-alt-wrap {
    margin-top: 30px;
    display: grid;
    gap: 24px;
}

.brand-accordion-alt {
    --accordion-alt-border: rgba(236, 127, 146, 0.35);
    --accordion-alt-solid: var(--color-pink);
    --accordion-alt-light: #fff2f6;
    --accordion-alt-ink: #a54358;
    border: 2px solid var(--accordion-alt-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.brand-accordion-alt--blue {
    --accordion-alt-border: rgba(69, 153, 216, 0.35);
    --accordion-alt-solid: var(--color-blue);
    --accordion-alt-light: #edf6ff;
    --accordion-alt-ink: #225b86;
}

.brand-accordion-alt__item + .brand-accordion-alt__item {
    border-top: 1px solid var(--accordion-alt-border);
}

.brand-accordion-alt__trigger {
    width: 100%;
    border: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 38%), var(--accordion-alt-solid);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 20px;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.01em;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.brand-accordion-alt__trigger:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

.brand-accordion-alt__item.is-open .brand-accordion-alt__trigger {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.brand-accordion-alt__title {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-accordion-alt__title::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.92);
    flex: 0 0 20px;
}

.brand-accordion-alt__icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    font-size: 0.82rem;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.08);
    transition: transform 0.24s ease, background-color 0.24s ease;
}

.brand-accordion-alt__item.is-open .brand-accordion-alt__icon {
    transform: rotate(180deg);
    background-color: rgba(255, 255, 255, 0.2);
}

.brand-accordion-alt__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.brand-accordion-alt__panel-inner {
    padding: 0;
    background: transparent;
    transition: background-color 0.25s ease;
}

.brand-accordion-alt__item.is-open .brand-accordion-alt__panel-inner {
    background: linear-gradient(180deg, #ffffff 0%, var(--accordion-alt-light) 100%);
}

.brand-accordion-alt__content {
    padding: 18px 20px 20px;
    border-top: 1px solid var(--accordion-alt-border);
}

.brand-accordion-alt__content p {
    margin: 0;
    color: var(--color-text-base);
    line-height: 1.85;
}

.brand-accordion-alt__content p strong,
.brand-accordion-alt__content p b {
    color: var(--accordion-alt-ink);
}

@media (max-width: 768px) {
    .brand-accordion-alt-wrap {
        gap: 18px;
    }

    .brand-accordion-alt__trigger {
        font-size: 0.95rem;
        padding: 13px 14px;
    }

    .brand-accordion-alt__title::before {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
        box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.92);
    }

    .brand-accordion-alt__content {
        padding: 13px 14px 15px;
    }
}

/* ===================================
   Inline Anchor Link Examples
   =================================== */
.inline-anchor-examples-section {
    margin-top: 56px;
}

.inline-anchor-examples-title {
    margin: 0;
    color: var(--color-pink);
    font-size: 1.55rem;
    font-weight: 700;
}

.inline-anchor-example-block {
    margin-top: 22px;
}

.inline-anchor-example-list {
    margin-top: 10px;
    display: grid;
    gap: 12px;
}

.inline-anchor-example-list--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.inline-anchor-example-list--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-anchor-example-list--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inline-anchor-example-list .anchor-nav-btn {
    width: 100%;
}

.inline-anchor-example-list--inline .anchor-nav-btn {
    width: auto;
}

.anchor-nav-btn__fa {
    width: 22px;
    flex: 0 0 22px;
    text-align: center;
    font-size: 1rem;
    color: currentColor;
}

.inline-anchor-example-list--blue .anchor-nav-btn {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.inline-anchor-example-list--blue .anchor-nav-btn:hover {
    background-color: #eef6ff;
    color: var(--color-blue);
    box-shadow: 0 2px 6px rgba(63, 148, 247, 0.2);
}

.inline-anchor-example-subtitle--blue {
    color: var(--color-blue);
}

.layout-bullet-grid--1 {
    grid-template-columns: 1fr;
}

.layout-bullet-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.layout-bullet-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.layout-bullet-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#layout-example-blue-bullets.content-panel {
    border-color: var(--color-blue);
}

#layout-example-blue-bullets .content-panel__heading {
    color: var(--color-blue);
}

#layout-example-blue-bullets .layout-example-subtitle {
    color: var(--color-blue);
}

.layout-bullet-image-panel .content-panel__body {
    padding-top: 44px;
}

.content-panel--solid-pill .content-panel__heading {
    border-radius: 999px;
    padding: 8px 34px;
    color: var(--color-white);
}

.content-panel--solid-pill-pink {
    border-color: var(--color-pink);
}

.content-panel--solid-pill-pink .content-panel__heading {
    background-color: var(--color-pink);
}

.content-panel--solid-pill-pink .layout-example-subtitle {
    color: var(--color-pink);
}

.content-panel--solid-pill-blue {
    border-color: var(--color-blue);
}

.content-panel--solid-pill-blue .content-panel__heading {
    background-color: var(--color-blue);
}

.content-panel--solid-pill-blue .layout-example-subtitle {
    color: var(--color-blue);
}

.layout-bullet-image-split {
    display: grid;
    gap: 24px;
    align-items: stretch;
}

.layout-bullet-image-split--two-third {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.layout-bullet-image-split--half {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.layout-bullet-image-split__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.layout-bullet-image-split__media {
    display: flex;
    align-items: stretch;
}

.layout-bullet-image-split__img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

#layout-example-blue-bullets-image.content-panel {
    border-color: var(--color-blue);
}

#layout-example-blue-bullets-image .content-panel__heading,
#layout-example-blue-bullets-image .layout-example-subtitle {
    color: var(--color-blue);
}

#layout-example-blue-table.content-panel {
    border-color: var(--color-blue);
}

#layout-example-blue-table .content-panel__heading {
    color: var(--color-blue);
}

.layout-brand-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 14px;
}

.layout-brand-table-wrap--pink {
    border: 2px solid rgba(236, 127, 146, 0.35);
    background: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
}

.layout-brand-table-wrap--blue {
    border: 2px solid rgba(69, 153, 216, 0.35);
    background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
}

.layout-brand-table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--color-white);
}

.layout-brand-table caption {
    caption-side: top;
    text-align: left;
    padding: 0 2px 10px;
    font-size: 0.95rem;
    font-weight: 700;
}

.layout-brand-table th,
.layout-brand-table td {
    padding: 14px 16px;
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    line-height: 1.5;
    font-size: 0.96rem;
}

.layout-brand-table tr > *:last-child {
    border-right: 0;
}

.layout-brand-table tbody tr:last-child > * {
    border-bottom: 0;
}

.layout-brand-table thead th {
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.01em;
}

.layout-brand-table tbody th {
    font-weight: 700;
    background-color: #fff;
}

.layout-brand-table tbody tr:nth-child(even) td,
.layout-brand-table tbody tr:nth-child(even) th {
    background-color: #fcfcfc;
}

.layout-brand-table--pink {
    border: 2px solid var(--color-pink);
}

.layout-brand-table--pink caption,
.layout-brand-table--pink thead th {
    color: #cf6075;
}

.layout-brand-table--pink thead th {
    background-color: #fee7ee;
    border-bottom-color: rgba(236, 127, 146, 0.45);
}

.layout-brand-table--pink tbody th {
    color: #bc5367;
}

.layout-brand-table--pink th,
.layout-brand-table--pink td {
    border-right-color: rgba(236, 127, 146, 0.28);
    border-bottom-color: rgba(236, 127, 146, 0.28);
}

.layout-brand-table--blue {
    border: 2px solid var(--color-blue);
}

.layout-brand-table--blue caption,
.layout-brand-table--blue thead th {
    color: #286ea2;
}

.layout-brand-table--blue thead th {
    background-color: #e7f3fe;
    border-bottom-color: rgba(69, 153, 216, 0.45);
}

.layout-brand-table--blue tbody th {
    color: #235c87;
}

.layout-brand-table--blue th,
.layout-brand-table--blue td {
    border-right-color: rgba(69, 153, 216, 0.28);
    border-bottom-color: rgba(69, 153, 216, 0.28);
}

.layout-table-only-stack {
    margin-top: 26px;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.layout-table-only-stack > * {
    min-width: 0;
}

.layout-table-only-stack--plain {
    margin-top: 18px;
}

.layout-brand-table-wrap--plain {
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

#nutrition-counseling-fee-table .layout-brand-table {
    min-width: 0;
    table-layout: fixed;
}

.blue-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    color: var(--color-text-base);
    line-height: 1.5;
}

.blue-bullet-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .layout-bullet-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .layout-bullet-image-split--two-third,
    .layout-bullet-image-split--half {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .layout-bullet-grid--2,
    .layout-bullet-grid--3,
    .layout-bullet-grid--4 {
        grid-template-columns: 1fr;
    }

    .layout-bullet-image-split--two-third,
    .layout-bullet-image-split--half {
        grid-template-columns: 1fr;
    }

    .layout-bullet-image-split__img {
        min-height: 180px;
    }

    .content-panel--solid-pill .content-panel__heading {
        padding: 6px 22px;
    }

    .layout-inline-bullets {
        gap: 10px 16px;
    }

    .layout-step-title {
        font-size: 1.1rem;
    }

    .inline-anchor-example-list--2,
    .inline-anchor-example-list--3 {
        grid-template-columns: 1fr;
    }

    .inline-anchor-examples-title {
        font-size: 1.25rem;
    }

    .layout-unboxed-section {
        margin-top: 56px;
    }

    .layout-brand-table-wrap {
        padding: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
    }

    .layout-brand-table-wrap--plain {
        padding: 0;
    }

    .layout-brand-table-wrap::after {
        content: "\2194 \6A2A\306B\30B9\30AF\30ED\30FC\30EB\3067\304D\307E\3059";
        display: none;
        padding-top: 8px;
        font-size: 0.78rem;
        font-weight: 600;
        color: #6f7582;
        text-align: right;
        white-space: normal;
    }

    .layout-brand-table-wrap.is-scrollable::after {
        display: block;
    }

    .layout-brand-table {
        min-width: 620px;
        max-width: none;
    }

    .layout-brand-table th,
    .layout-brand-table td {
        padding: 12px 14px;
        font-size: 0.92rem;
        white-space: nowrap;
    }

    #nutrition-counseling-fee-table .layout-brand-table {
        min-width: 100%;
    }

    #nutrition-counseling-fee-table .layout-brand-table th,
    #nutrition-counseling-fee-table .layout-brand-table td {
        padding: 8px 10px;
        font-size: 0.84rem;
        white-space: normal;
        word-break: keep-all;
    }

    .layout-unboxed-section-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }

    .layout-large-btn,
    .layout-xl-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Single Post
   =================================== */
.single-post-wrap {
    padding: 50px 0 70px;
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.single-post__date {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-base);
}

.single-post__cat {
    display: inline-block;
    color: var(--color-pink);
    border: 1px solid var(--color-pink);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.single-post__title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 32px;
    color: var(--color-text-base);
}

.single-post__content {
    line-height: 1.9;
    margin-bottom: 56px;
}

.single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Post navigation bar */
.single-post-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid #ececec;
}

.single-post-nav__prev,
.single-post-nav__next {
    flex: 1 1 0;
}

.single-post-nav__next {
    text-align: right;
}

.single-post-nav__index {
    flex: 0 0 auto;
    text-align: center;
}

.single-post-nav__link {
    color: var(--color-text-base);
    text-decoration: underline;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.single-post-nav__link:hover {
    opacity: 0.7;
    color: var(--color-text-base);
}

.single-post-nav__placeholder {
    display: block;
}

.single-post-nav__index-btn {
    font-size: 0.95rem;
    padding: 10px 24px;
}

@media (max-width: 600px) {
    .single-post-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .single-post-nav__prev,
    .single-post-nav__next {
        flex: 1 1 45%;
    }

    .single-post-nav__index {
        order: -1;
        flex: 0 0 100%;
    }
}