body {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #00b894 100%);
}

/* Ripple effect */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    animation: slideUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.ripple {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: ripple-animation 6s linear infinite;
    pointer-events: none;
}

.ripple:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    border-color: rgba(116, 185, 255, 0.5);
}

.ripple:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 55%;
    left: 75%;
    animation-delay: 1.5s;
    border-color: rgba(0, 184, 148, 0.4);
}

.ripple:nth-child(3) {
    width: 350px;
    height: 350px;
    top: 75%;
    left: 15%;
    animation-delay: 3s;
    border-color: rgba(255, 255, 255, 0.3);
}

.ripple:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 25%;
    left: 65%;
    animation-delay: 4.5s;
    border-color: rgba(116, 185, 255, 0.6);
}

.ripple:nth-child(5) {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 30%;
    animation-delay: 2s;
    border-color: rgba(0, 184, 148, 0.5);
}

.ripple:nth-child(6) {
    width: 250px;
    height: 250px;
    top: 10%;
    left: 45%;
    animation-delay: 0.8s;
    border-color: rgba(255, 255, 255, 0.35);
}

.ripple:nth-child(7) {
    width: 180px;
    height: 180px;
    top: 65%;
    left: 50%;
    animation-delay: 3.7s;
    border-color: rgba(116, 185, 255, 0.4);
}

.ripple:nth-child(8) {
    width: 90px;
    height: 90px;
    top: 85%;
    left: 70%;
    animation-delay: 1.2s;
    border-color: rgba(0, 184, 148, 0.6);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    color: #2c3e50;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 184, 148, 0.3);
}

.latest-news {
    padding: 4rem 1.5rem 3.5rem;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.latest-news::before,
.latest-news::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(0);
    z-index: 0;
}

.latest-news::before {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -80px;
}

.latest-news::after {
    width: 220px;
    height: 220px;
    bottom: -90px;
    left: -70px;
}

.latest-news__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.latest-news__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.latest-news__title {
    font-size: 2.4rem;
    letter-spacing: 0.07em;
    margin-bottom: 1rem;
    font-weight: 400;
}

.latest-news__subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto;
    opacity: 0.95;
}

.latest-news__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.latest-news__toggle {
    margin-top: 0.6rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.15);
    color: #2c3e50;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-news__toggle:hover,
.latest-news__toggle:focus-visible {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.latest-news__empty {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #f1f2f6;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.latest-news__item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-news__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.latest-news__date {
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: #ffeaa7;
}

.latest-news__item-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.6;
}

.latest-news__excerpt {
    font-size: 0.98rem;
    line-height: 1.8;
    opacity: 0.9;
}

.latest-news__figure {
    margin: 0 0 0.9rem;
}

.latest-news__image {
    width: 100%;
    max-width: 320px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    display: block;
    margin: 0 auto;
}

.latest-news__more {
    display: inline-block;
    margin-left: 0.5rem;
    color: #ffeaa7;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.latest-news__more:hover,
.latest-news__more:focus-visible {
    opacity: 0.75;
}

.latest-news__cta {
    text-align: center;
}

.latest-news__link {
    display: inline-block;
    padding: 0.85rem 2.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.06em;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-news__link:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.18);
}

.service-overview {
    padding: 4rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.service-overview__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.service-overview__title {
    font-size: 1.55rem;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.service-overview__lead {
    text-align: center;
    line-height: 1.8;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.service-overview__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-overview__card {
    padding: 2rem 1.75rem;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-overview__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 45px rgba(0, 0, 0, 0.18);
}

.service-overview__card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.service-overview__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-overview__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

.service-overview__list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffeaa7;
    position: absolute;
    left: 0.35rem;
    top: 0.6rem;
}

.nishinomiya-therapy {
    padding: 4rem 1.5rem 3.5rem;
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

.nishinomiya-therapy__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.nishinomiya-therapy__eyebrow {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.nishinomiya-therapy__title {
    font-size: 2rem;
    line-height: 1.4;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.nishinomiya-therapy__lead {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 880px;
}

.nishinomiya-therapy__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.nishinomiya-therapy__card {
    padding: 1.6rem 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.nishinomiya-therapy__card-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.nishinomiya-therapy__card-text {
    line-height: 1.8;
    opacity: 0.92;
}

.nishinomiya-therapy__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1rem 0 1.5rem;
}

.nishinomiya-therapy__link {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #2c3e50;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nishinomiya-therapy__link.primary {
    background: #ffeaa7;
    color: #2c3e50;
    box-shadow: 0 10px 24px rgba(255, 234, 167, 0.35);
}

.nishinomiya-therapy__link.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.nishinomiya-therapy__link:hover,
.nishinomiya-therapy__link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.nishinomiya-therapy__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.nishinomiya-therapy__detail {
    padding: 1.1rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.nishinomiya-therapy__detail-label {
    display: inline-block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: 0.04em;
}

.nishinomiya-therapy__detail-text {
    display: block;
    line-height: 1.7;
    opacity: 0.95;
}

.nishinomiya-therapy__faq dl {
    margin: 0 0 1rem;
}

.nishinomiya-therapy__faq dt {
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #ffeaa7;
}

.nishinomiya-therapy__faq dd {
    margin: 0;
    line-height: 1.7;
    opacity: 0.93;
}

.nishinomiya-therapy__map {
    grid-column: 1 / -1;
}

.nishinomiya-therapy__map-frame {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin: 0.35rem 0 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.nishinomiya-therapy__map-frame iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.nishinomiya-therapy__map-note {
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple-animation {
    0% {
        transform: scale(0.1);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        min-width: 200px;
        padding: 15px 25px;
        font-size: 1rem;
    }

    .latest-news {
        padding: 3.5rem 1.25rem;
    }

    .latest-news__title {
        font-size: 2.1rem;
    }

    .nishinomiya-therapy__title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 180px;
    }

    .latest-news__items {
        grid-template-columns: 1fr;
    }

    .latest-news__item {
        padding: 1.5rem;
    }

    .latest-news__subtitle {
        font-size: 0.95rem;
    }

    .latest-news__link {
        padding: 0.8rem 2.1rem;
    }

    .service-overview {
        padding: 3rem 1.25rem;
    }

    .service-overview__title {
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    .service-overview__lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .nishinomiya-therapy {
        padding: 3rem 1.25rem;
    }

    .nishinomiya-therapy__lead {
        font-size: 0.98rem;
    }

    .nishinomiya-therapy__cta {
        flex-direction: column;
    }

    .nishinomiya-therapy__link {
        text-align: center;
    }

    .nishinomiya-therapy__map-frame iframe {
        height: 260px;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .cta-button {
        min-width: 160px;
        padding: 12px 18px;
        font-size: 0.85rem;
    }

    .service-overview__title {
        letter-spacing: 0.02em;
    }
}
