/* VARIABLE DEFINITIONS */
:root {
    --primary: #79aec8;
    --secondary: #417690;
    --accent: #f5dd5d;
    --primary-fg: #fff;
  
    --body-fg: #333;
    --body-bg: #fff;
    --body-quiet-color: #666;
    --body-loud-color: #000;
  
    --header-color: #ffc;
    --header-branding-color: var(--accent);
    --header-bg: var(--secondary);
    --header-link-color: var(--primary-fg);
  
    --breadcrumbs-fg: #c4dce8;
    --breadcrumbs-link-fg: var(--body-bg);
    --breadcrumbs-bg: var(--primary);
  
    --link-fg: #447e9b;
    --link-hover-color: #036;
    --link-selected-fg: #5b80b2;
  
    --hairline-color: #e8e8e8;
    --border-color: #ccc;
  
    --error-fg: #ba2121;
  
    --message-success-bg: #dfd;
    --message-warning-bg: #ffc;
    --message-error-bg: #ffefef;
  
    --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
    --selected-bg: #e4e4e4; /* E.g. selected table cells */
    --selected-row: #ffc;
  
    --button-fg: #fff;
    --button-bg: var(--primary);
    --button-hover-bg: #609ab6;
    --default-button-bg: var(--secondary);
    --default-button-hover-bg: #205067;
    --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
    --close-button-hover-bg: #747474;
    --delete-button-bg: #ba2121;
    --delete-button-hover-bg: #a41515;
  
    --object-tools-fg: var(--button-fg);
    --object-tools-bg: var(--close-button-bg);
    --object-tools-hover-bg: var(--close-button-hover-bg);
  }
  
  @media (prefers-color-scheme: dark) {
    :root {
      --primary: #264b5d;
      --primary-fg: #eee;
  
      --body-fg: #eeeeee;
      --body-bg: #121212;
      --body-quiet-color: #e0e0e0;
      --body-loud-color: #ffffff;
  
      --breadcrumbs-link-fg: #e0e0e0;
      --breadcrumbs-bg: var(--primary);
  
      --link-fg: #81d4fa;
      --link-hover-color: #4ac1f7;
      --link-selected-fg: #6f94c6;
  
      --hairline-color: #272727;
      --border-color: #353535;
  
      --error-fg: #e35f5f;
      --message-success-bg: #006b1b;
      --message-warning-bg: #583305;
      --message-error-bg: #570808;
  
      --darkened-bg: #212121;
      --selected-bg: #1b1b1b;
      --selected-row: #00363a;
  
      --close-button-bg: #333333;
      --close-button-hover-bg: #666666;
    }
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fffaf3;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}

table {
    border-spacing: 0;
}

.card-auth {
    width: 400px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.1);
}

.card-profile {
    max-width: 800px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.2rem 0.2rem 0 rgba(0, 0, 0, 0.1);
}

.card-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.form-auth {
    width: 100%;
}

.form-label-group {
    margin-bottom: 1rem;
}

.form-label-group input {
    border-radius: 2rem;
}

.button {
    width: 150px;
}

.btn {
    font-size: 80%;
    border-radius: 5rem;
    font-weight: bold;
}

.profile_table {
    width: 100%;
    max-width: 100%;
    border: 1px solid #c8eadf;
    border-radius: 14px;
    border-collapse: separate;
    overflow: hidden;
    table-layout: fixed;
}

.profile_table .header {
    width: 200px;
    padding: 16px 24px;
    text-align: left;
    background: #e8faf5;
}

.profile_table .data {
    padding: 16px 24px;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* プロフィール編集：スマホで長いテキスト（プレミアム会員など）がはみ出さないように */
@media (max-width: 576px) {
    .card-profile {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    .card-body-profile-edit {
        overflow-x: hidden;
    }
    .profile_table .header {
        width: 28%;
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    .profile_table .data {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    .profile_table .data label {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .profile_table .data .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

.form_wrap {
    display: grid;
    gap: 16px;
}

.form_wrap-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-control:focus {
    box-shadow: none;
}

/* base */

main {
    flex: 1;
}

/* store */

.storelist img {
    height: 150px;
    object-fit: contain;
}

/* staff */

.stafflist img {
    height: 250px;
    object-fit: contain;
}

/* calendar */

.calendar img {
    height: 150px;
    object-fit: contain;
}

/* booking */

.card-booking,
.booking-page {
    max-width: 800px;
}

.booking-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #256347;
    margin-bottom: 0.5rem;
}

.booking-page-lead {
    font-size: 0.95rem;
}

.booking-alert {
    border-radius: 12px;
    border: none;
}

.booking-summary {
    background: linear-gradient(135deg, #f0fcf7 0%, #fff 55%);
    border: 2px solid #c8eadf !important;
}

.booking-summary-body {
    padding: 1.25rem 1.5rem;
}

.booking-summary-list {
    display: grid;
    gap: 0.75rem;
}

.booking-summary-row {
    display: grid;
    grid-template-columns: minmax(7rem, 9rem) 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    border: 1px solid #e0f5ee;
}

.booking-summary-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d6b5c;
}

.booking-summary-value {
    font-size: 1rem;
    font-weight: 700;
    color: #2d4a42;
    word-break: break-word;
}

.booking-section .card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.booking-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #256347;
    margin-bottom: 1rem;
}

.booking-section-title--compact {
    margin-bottom: 0.75rem;
}

.booking-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #d6f2ea;
    color: #3d9780;
    font-size: 0.95rem;
}

.booking-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #7edcc0, #62c4a2);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(98, 196, 162, 0.35);
}

.booking-section-note {
    font-size: 0.875rem;
    color: #5a7a70;
    background: #f0fcf7;
    border-left: 4px solid #62c4a2;
    border-radius: 0 10px 10px 0;
    padding: 0.65rem 0.9rem;
    margin-bottom: 1rem;
}

.booking_table {
    width: 100%;
    border: 1px solid #c8eadf;
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    table-layout: fixed;
}

.booking_table th.header,
.booking_table th {
    width: 34%;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3d6b5c;
    background: #e8faf5;
    border-bottom: 1px solid #d6f2ea;
}

.booking_table td.data {
    padding: 14px 16px;
    vertical-align: top;
    background: #fff;
    border-bottom: 1px solid #eef8f4;
    word-break: break-word;
}

.booking_table tr:last-child th,
.booking_table tr:last-child td {
    border-bottom: none;
}

.booking-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a7a70;
    margin-bottom: 0.35rem;
}

.booking-temperature-input {
    max-width: 8rem;
}

.booking-temperature-unit {
    color: #5a7a70;
    font-weight: 600;
    white-space: nowrap;
}

.booking-hint {
    font-size: 0.8rem;
    color: #6b8a80;
    margin-top: 0.5rem;
    line-height: 1.45;
}

.child-birth-date-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.child-birth-date-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.child-birth-date-part {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.child-birth-date-part-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #5a7a70;
    margin-bottom: 0;
}

.child-birth-date-select {
    min-height: 2.75rem;
    font-size: 1rem;
    padding-right: 2rem;
}

.child-birth-date-field--wizard .child-birth-date-select {
    border-radius: 12px;
    border-color: #d7ebe4;
}

@media (max-width: 575.98px) {
    .child-birth-date-selects {
        grid-template-columns: 1fr;
    }
}

.booking-readonly-value {
    font-weight: 600;
    color: #2d4a42;
}

.booking-check-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-check-group .form-check {
    padding: 0.45rem 0.65rem;
    background: #f8fdfb;
    border-radius: 10px;
    border: 1px solid #e0f5ee;
    margin: 0;
}

.booking-check-group .form-check-label {
    font-weight: 500;
    cursor: pointer;
}

.booking-choice-field {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.booking-choice-label,
.booking-choice-detail-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a7a70;
    margin-bottom: 0;
}

.booking-choice-checks {
    margin-bottom: 0.15rem;
}

.booking-choice-detail {
    margin-top: 0.15rem;
}

.booking-submit-wrap {
    padding: 0.5rem 0 1.5rem;
}

.booking-submit-btn {
    min-width: min(100%, 280px);
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(145deg, #ffd88a 0%, #ffb84d 100%);
    border: 2px solid #f5a623;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.booking-submit-btn:hover,
.booking-submit-btn:focus {
    color: #5a3d2e;
    background: linear-gradient(145deg, #ffe4a8 0%, #ffc878 100%);
    border-color: #e89b20;
    box-shadow: 0 6px 18px rgba(245, 166, 35, 0.45);
    transform: translateY(-1px);
}

.booking-submit-btn:disabled {
    opacity: 0.65;
    transform: none;
    cursor: wait;
}

.booking-loading {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 71, 0.55);
    backdrop-filter: blur(2px);
}

.booking-loading-inner {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.booking-loading-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.booking-pricing-table-wrap {
    border: 1px solid #c8eadf;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.booking-pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.booking-pricing-table th,
.booking-pricing-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e0f5ee;
    vertical-align: top;
}

.booking-pricing-table tr:last-child th,
.booking-pricing-table tr:last-child td {
    border-bottom: none;
}

.booking-pricing-table th {
    width: 34%;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3d6b5c;
    background: #f7fcfa;
}

.booking-pricing-table td {
    color: #2d4a42;
}

.booking-pricing-amount {
    font-weight: 700;
}

.booking-pricing-total-row th,
.booking-pricing-total-row td {
    background: #f0fcf7;
}

.booking-pricing-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #256347;
}

.booking-pricing-tax-note {
    margin-left: 0.35rem;
    font-size: 0.8rem;
    color: #5a7a70;
}

.booking-pricing-row--inactive td,
.booking-pricing-row--inactive th {
    color: #9ab0a8;
}

@media (max-width: 576px) {
    .booking-page {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    .booking-summary-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .booking_table,
    .booking_table tbody,
    .booking_table tr,
    .booking_table th,
    .booking_table td {
        display: block;
        width: 100%;
    }

    .booking_table th.header,
    .booking_table th {
        width: 100%;
        border-bottom: none;
        padding-bottom: 0.35rem;
    }

    .booking_table td.data {
        padding-top: 0;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e0f5ee;
    }

    .booking_table tr:last-child td.data {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .booking-section .card-body,
    .booking-summary-body {
        padding: 1rem;
    }

    .booking-submit-btn {
        width: 100%;
    }

    .booking-pricing-table,
    .booking-pricing-table tbody,
    .booking-pricing-table tr,
    .booking-pricing-table th,
    .booking-pricing-table td {
        display: block;
        width: 100%;
    }

    .booking-pricing-table th {
        border-bottom: none;
        padding-bottom: 0.35rem;
    }

    .booking-pricing-table td {
        padding-top: 0;
        padding-bottom: 0.85rem;
    }
}

.form_wrap {
    display: grid;
    gap: 16px;
}

.form_wrap__2col {
    grid-template-columns: repeat(2, 1fr);
}

/* mypage */

.mypage img {
    height: 150px;
    object-fit: contain;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0;
    margin: 0;
}

ul.messagelist li {
    display: block;
    font-weight: 400;
    font-size: 13px;
    padding: 10px 10px 10px 65px;
    margin: 0 0 10px 0;
    background: var(--message-success-bg) url(../img/icon-yes.svg) 40px 12px no-repeat;
    background-size: 16px auto;
    color: var(--body-fg);
}

ul.messagelist li.warning {
    background: var(--message-warning-bg) url(../img/icon-alert.svg) 40px 14px no-repeat;
    background-size: 14px auto;
}

ul.messagelist li.error {
    background: var(--message-error-bg) url(../img/icon-no.svg) 40px 12px no-repeat;
    background-size: 16px auto;
}

.errornote {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    margin: 0 0 10px 0;
    color: var(--error-fg);
    border: 1px solid var(--error-fg);
    border-radius: 4px;
    background-color: var(--body-bg);
    background-position: 5px 12px;
    overflow-wrap: break-word;
}

ul.errorlist {
    margin: 0 0 4px;
    padding: 0;
    color: var(--error-fg);
    background: var(--body-bg);
}

ul.errorlist li {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
    overflow-wrap: break-word;
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: inherit;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0;
    padding: 0;
}

td ul.errorlist li {
    margin: 0;
}

.form-row.errors {
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--hairline-color);
    background: none;
}

.form-row.errors ul.errorlist li {
    padding-left: 0;
}

.errors input, .errors select, .errors textarea,
td ul.errorlist + input, td ul.errorlist + select, td ul.errorlist + textarea {
    border: 1px solid var(--error-fg);
}

.description {
    font-size: 12px;
    padding: 5px 0 0 12px;
}

@media only screen and (min-width: 1px) and (max-width: 480px) {
    h1 {
        font-size: 1.4rem;
    }

    .navbar {
        padding: 0 10px;
    }
}

/* signup flow */
.signup-steps {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 0 0.5rem;
}

.signup-steps__list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.signup-steps__item {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    background: #e8f5f0;
    color: #6b8f83;
    font-weight: 600;
}

.signup-steps__item--active {
    background: linear-gradient(145deg, #7edcc0, #62c4a2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(98, 196, 162, 0.35);
}

.signup-steps__item--done {
    background: #d6f2ea;
    color: #3d9780;
}

.signup-steps__num {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.signup-steps__label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

.signup-lead {
    font-size: 0.95rem;
    color: #5a6f68;
}

.signup-field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3d6b5c;
    margin-bottom: 0.35rem;
}

.signup-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 74, 66, 0.45);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.signup-loading-panel {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 300px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(98, 196, 162, 0.25);
}

.signup-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e8f5f0;
    border-top: 5px solid #62c4a2;
    border-radius: 50%;
    animation: signup-spin 1s linear infinite;
    margin: 0 auto 1.25rem;
}

@keyframes signup-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 576px) {
    .signup-steps__label {
        font-size: 0.7rem;
    }

    .signup-steps__num {
        font-size: 1rem;
    }

    .signup-loading-panel {
        padding: 1.75rem 1.25rem;
    }
}

/* childcare landing (top / program) */
.main-content > .container {
    max-width: 960px;
}

.childcare-hero {
    text-align: center;
    padding: 2rem 1rem 2.5rem;
    margin: 0 -15px 2rem;
    background: linear-gradient(165deg, #e8f8f2 0%, #fffaf3 55%, #fff9e6 100%);
    border-radius: 1rem;
}

.childcare-hero__eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #3d9780;
    margin-bottom: 0.5rem;
}

.childcare-hero__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #2d4a42;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.childcare-hero__lead {
    font-size: 1rem;
    color: #5a6f68;
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    line-height: 1.75;
}

.childcare-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.childcare-btn {
    border-radius: 2rem;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.childcare-btn--outline {
    border-color: #62c4a2;
    color: #2d6b56;
}

.childcare-btn--outline:hover {
    background: #e8f5f0;
    border-color: #62c4a2;
    color: #2d6b56;
}

.childcare-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    color: #2d4a42;
    margin-bottom: 1.25rem;
}

.childcare-features {
    margin-bottom: 2.5rem;
}

.childcare-features__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.childcare-feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    box-shadow: 0 4px 16px rgba(98, 196, 162, 0.12);
    border: 1px solid #e0f0ea;
    text-align: center;
}

.childcare-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #7edcc0, #62c4a2);
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.childcare-feature-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d4a42;
    margin-bottom: 0.5rem;
}

.childcare-feature-card__text {
    font-size: 0.9rem;
    color: #5a6f68;
    margin: 0;
    line-height: 1.65;
    text-align: left;
}

.childcare-more {
    background: #f4fbf8;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    margin-bottom: 2.5rem;
}

.childcare-more__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.childcare-more__list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid #dceee6;
}

.childcare-more__list li:last-child {
    border-bottom: 0;
}

.childcare-more__list strong {
    display: block;
    color: #2d4a42;
    margin-bottom: 0.25rem;
}

.childcare-more__list span {
    font-size: 0.9rem;
    color: #5a6f68;
    line-height: 1.6;
}

.childcare-howto {
    margin-bottom: 2.5rem;
}

.childcare-howto__note {
    text-align: center;
    font-size: 0.9rem;
    color: #5a6f68;
    margin-bottom: 1.5rem;
}

.childcare-howto__block {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e8f0ec;
}

.childcare-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.childcare-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.childcare-steps__num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    background: #62c4a2;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.childcare-steps__text {
    padding-top: 0.35rem;
    color: #333;
    line-height: 1.5;
}

.childcare-howto__link-wrap {
    text-align: center;
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.childcare-text-link {
    color: #3d9780;
    font-weight: 600;
    text-decoration: underline;
}

.childcare-about {
    margin-bottom: 2.5rem;
}

.childcare-about__lead {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.childcare-faq {
    margin: 0;
}

.childcare-faq > div {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #62c4a2;
}

.childcare-faq dt {
    font-weight: 700;
    color: #2d4a42;
    margin-bottom: 0.35rem;
}

.childcare-faq dd {
    margin: 0;
    font-size: 0.9rem;
    color: #5a6f68;
    line-height: 1.65;
}

.childcare-booking {
    padding-top: 0.5rem;
    border-top: 2px solid #e0f0ea;
}

.childcare-booking__title {
    font-weight: 700;
    color: #2d4a42;
}

.childcare-guide-extra {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 2px solid #e0f0ea;
}

.childcare-guide-extra__body {
    background: #fffacd;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    max-width: 40rem;
    margin: 0 auto;
}

.childcare-guide-extra__body p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #444;
}

.childcare-guide-extra__list {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: #555;
    line-height: 1.75;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 576px) {
    .childcare-hero {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        border-radius: 0.75rem;
    }

    .childcare-hero__actions .btn {
        width: 100%;
    }
}

/* facility list */
.facility-list__hero {
    text-align: center;
    padding: 1.75rem 1rem 2rem;
    margin: 0 -15px 1.5rem;
    background: linear-gradient(165deg, #e8f8f2 0%, #fffaf3 55%, #fff9e6 100%);
    border-radius: 1rem;
}

.facility-list__eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #3d9780;
    margin-bottom: 0.35rem;
}

.facility-list__title {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 700;
    color: #2d4a42;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.facility-list__lead {
    max-width: 40rem;
    margin: 0 auto;
    font-size: 0.95rem;
    color: #5a6f68;
    line-height: 1.75;
}

.facility-list__tip {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #f4fbf8;
    border: 1px solid #dceee6;
    border-radius: 0.85rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.75rem;
}

.facility-list__tip-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #7edcc0, #62c4a2);
    color: #fff;
    font-size: 0.95rem;
}

.facility-list__tip-text {
    font-size: 0.9rem;
    color: #5a6f68;
    line-height: 1.65;
}

.facility-list__tip-text strong {
    color: #2d4a42;
}

.facility-list__tip-text a {
    color: #3d9780;
    font-weight: 600;
    text-decoration: underline;
}

.facility-list__items {
    max-width: 52rem;
    margin: 0 auto 2rem;
}

.facility-card {
    background: #fff;
    border-radius: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e0f0ea;
    border-left: 4px solid #62c4a2;
    box-shadow: 0 6px 20px rgba(56, 142, 60, 0.09);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.facility-card:hover {
    box-shadow: 0 10px 28px rgba(56, 142, 60, 0.14);
}

.facility-card__layout {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 0;
}

.facility-card__media {
    background: #f0f7f4;
}

.facility-card__image-wrap {
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.facility-card__image-wrap--placeholder {
    color: #62c4a2;
    font-size: 2.5rem;
}

.facility-card__image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

.facility-card__content {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.35rem 1.15rem;
    min-height: 0;
}

.facility-card__header {
    margin-bottom: 0.85rem;
}

.facility-card__homepage-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d9780;
    text-decoration: none;
}

.facility-card__homepage-link:hover {
    color: #2d6b56;
    text-decoration: underline;
}

.facility-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d4a42;
    margin: 0;
    line-height: 1.4;
}

.facility-card__type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: #e8f8f1;
    color: #2d6f5d;
    font-size: 0.78rem;
    font-weight: 700;
}

.facility-card__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.facility-card__contact-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f4fbf8;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.facility-card__contact-label {
    flex-shrink: 0;
    font-weight: 600;
    color: #3d9780;
    font-size: 0.8rem;
}

.facility-card__contact-label i {
    margin-right: 0.25rem;
}

.facility-card__contact-value {
    color: #444;
    line-height: 1.55;
}

.facility-card__tel {
    color: #2d6b56;
    font-weight: 600;
    text-decoration: none;
}

.facility-card__tel:hover {
    color: #3d9780;
    text-decoration: underline;
}

.facility-card__description {
    flex-grow: 1;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    padding: 0.75rem 0.85rem;
    background: #fffef8;
    border-radius: 0.5rem;
    border: 1px solid #f0ebe0;
    margin-bottom: 1rem;
}

.facility-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    padding-top: 0.85rem;
    margin-top: auto;
    border-top: 1px solid #e8f0ec;
}

.facility-card__cta {
    min-width: 11rem;
}

.facility-card__secondary-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d9780;
    text-decoration: none;
}

.facility-card__secondary-link:hover {
    color: #2d6b56;
    text-decoration: underline;
}

.facility-card__secondary-link .fa-chevron-right {
    font-size: 0.7rem;
}

.facility-list__empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed #c5e0d6;
}

.facility-list__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #e8f5f0;
    color: #62c4a2;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.facility-list__empty-title {
    font-weight: 700;
    color: #2d4a42;
    margin-bottom: 0.35rem;
}

.facility-list__empty-text {
    font-size: 0.9rem;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}

.facility-list__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 0.5rem;
    border-top: 2px solid #e0f0ea;
    max-width: 52rem;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .facility-card__layout {
        grid-template-columns: 1fr;
    }

    .facility-card__image-wrap,
    .facility-card__image {
        min-height: 160px;
    }

    .facility-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .facility-card__cta {
        width: 100%;
    }

    .facility-card__secondary-link {
        text-align: center;
    }

    .facility-list__nav {
        flex-direction: column;
        text-align: center;
    }

    .facility-list__nav .btn {
        width: 100%;
        max-width: 18rem;
    }
}

@media (max-width: 576px) {
    .facility-list__hero {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        border-radius: 0.75rem;
    }

    .facility-list__tip {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

