:root {
    --bg: #fcfaf6;
    --white: #ffffff;
    --text: #4a362d;
    --green: #7ea36a;
    --green-dark: #668955;
    --pink: #e69195;
    --pink-dark: #d97b80;
    --line: #e8dfd3;
    --shadow: 0 12px 28px rgba(91, 69, 55, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

.section-label {
    margin: 0 0 12px;
    text-align: center;
    color: var(--green);
    font-size: 18px;
}

.section-title {
    margin: 0 0 32px;
    text-align: center;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.4;
}

.panel-title {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.5;
    font-weight: 500;
}

/* header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 250, 246, 0.96);
    border-bottom: 1px solid rgba(74, 54, 45, 0.08);
    backdrop-filter: blur(10px);
}

.site-header__inner {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 20px 0;
}

.site-logo {
    font-size: 42px;
    font-family: serif;
    color: #9c6f56;
}

.site-nav {
    margin-left: auto;
    display: flex;
    gap: 32px;
    font-weight: 700;
    font-size: 15px;
}

.site-line-button {
    padding: 14px 24px;
    background: var(--green);
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
}

/* footer */
.site-footer {
    margin-top: 80px;
    padding: 28px 0;
    background: #f6f0e8;
    border-top: 1px solid rgba(74, 54, 45, 0.08);
}

.site-footer__inner {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 24px;
    font-size: 14px;
}

.site-footer__logo {
    font-size: 36px;
    font-family: serif;
    color: #9c6f56;
}

.site-footer__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* hero */
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__title {
    margin: 0 0 24px;
    font-size: 72px;
    line-height: 1.35;
    font-weight: 500;
}

.hero__lead {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 28px;
    font-weight: 700;
}

.hero__text {
    margin: 0 0 28px;
    font-size: 18px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image .image-placeholder {
    min-height: 520px;
    border-radius: 36px;
    background: linear-gradient(135deg, #efe7db, #f8f4ed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9c8f84;
    font-size: 24px;
    box-shadow: var(--shadow);
}

/* buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
}

.button--green {
    background: var(--green);
    color: #fff;
}

.button--pink {
    background: var(--pink);
    color: #fff;
}

.button--line {
    border: 2px solid var(--green);
    color: var(--green-dark);
    background: #fff;
}

.button--outline {
    border: 2px solid var(--green);
    background: #fff;
    color: var(--green-dark);
}

/* branch */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.branch-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow);
}

.branch-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
}

.branch-card p {
    margin: 0 0 18px;
    font-size: 16px;
}

.branch-card__link {
    display: inline-flex;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid currentColor;
}

.branch-card__link--green {
    color: var(--green-dark);
}

.branch-card__link--pink {
    color: var(--pink-dark);
}

/* service link boxes */
.service-links__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-box {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.service-box h2 {
    margin: 0 0 16px;
    font-size: 48px;
    line-height: 1.4;
    font-weight: 500;
}

.service-box--green {
    border-color: rgba(126, 163, 106, 0.5);
}

.service-box--pink {
    border-color: rgba(230, 145, 149, 0.5);
}

/* values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
}

/* philosophy */
.philosophy-message__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 34px;
    box-shadow: var(--shadow);
}

/* voice preview */
.voice-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.voice-preview__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow);
    min-height: 140px;
    display: flex;
    align-items: center;
    font-size: 24px;
    line-height: 1.6;
}

.voice-preview__button {
    margin-top: 24px;
    text-align: center;
}

/* contact */
.home-contact__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.home-contact__lead,
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    margin: 0 0 10px;
    font-size: 32px;
}

.contact-card__tel {
    margin: 18px 0 0;
    font-size: 36px;
    font-weight: 700;
}

/* responsive */
@media (max-width: 1100px) {
    .site-header__inner {
        flex-wrap: wrap;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .hero__inner,
    .service-links__grid,
    .philosophy-message__grid,
    .home-contact__grid {
        grid-template-columns: 1fr;
    }

    .branch-grid,
    .values-grid,
    .voice-preview__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__title {
        font-size: 54px;
    }

    .section-title,
    .service-box h2,
    .panel-title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(100%, calc(100% - 32px));
    }

    .section {
        padding: 40px 0;
    }

    .site-header__inner {
        gap: 16px;
        padding: 16px 0;
    }

    .site-logo {
        font-size: 34px;
    }

    .site-nav {
        gap: 16px;
        font-size: 14px;
    }

    .site-line-button {
        width: 100%;
        text-align: center;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__lead {
        font-size: 20px;
    }

    .section-title,
    .service-box h2,
    .panel-title {
        font-size: 30px;
    }

    .branch-grid,
    .values-grid,
    .voice-preview__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer__links {
        justify-content: center;
    }
}

/* =========================
   v0.2 visual refinement
========================= */

body {
    background:
        radial-gradient(circle at 8% 18%, rgba(126, 163, 106, 0.08), transparent 22%),
        radial-gradient(circle at 92% 42%, rgba(230, 145, 149, 0.08), transparent 24%),
        var(--bg);
}

/* header refinement */
.site-header {
    border-bottom: none;
    box-shadow: 0 8px 24px rgba(74, 54, 45, 0.04);
}

.site-header__inner {
    min-height: 82px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    white-space: nowrap;
}

.site-logo__text {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.site-logo__flower {
    font-size: 20px;
    color: var(--pink);
    transform: translateY(-8px);
}

.site-nav a {
    position: relative;
    padding: 8px 0;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    width: 100%;
}

.site-nav a.is-active {
    color: var(--pink-dark);
}

.site-line-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(102, 137, 85, 0.24);
}

.site-line-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 800;
}

/* hero refinement */
.hero {
    padding-top: 48px;
}

.hero__title,
.section-title,
.panel-title {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    color: #3f2d27;
    letter-spacing: 0.04em;
}

.hero__title {
    font-size: clamp(44px, 4.8vw, 70px);
}

.hero__lead {
    color: var(--green-dark);
}

.hero__image .image-placeholder {
    position: relative;
    overflow: hidden;
    color: transparent;
    min-height: 500px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
        radial-gradient(circle at 35% 30%, #f7eee2, transparent 28%),
        linear-gradient(135deg, #eadcc9, #f9f3ea);
}

.hero__image .image-placeholder::before {
    content: "写真素材を後で配置";
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(126, 163, 106, 0.35);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b8d80;
    font-size: 18px;
    background: rgba(255,255,255,0.25);
}

/* buttons */
.button {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 16px rgba(74, 54, 45, 0.08);
}

.button:hover {
    transform: translateY(-2px);
}

.button--green {
    background: linear-gradient(180deg, #7fa96c, #5f8a4e);
}

.button--pink {
    background: linear-gradient(180deg, #ef9ba1, #df7f87);
}

/* section titles */
.section-label {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.04em;
}

.section-title {
    font-size: clamp(30px, 3vw, 46px);
}

/* card refinement */
.branch-card,
.service-box,
.value-card,
.panel,
.voice-preview__item,
.home-contact__lead,
.contact-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(215, 199, 179, 0.9);
    box-shadow: 0 14px 32px rgba(91, 69, 55, 0.075);
}

.branch-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
}

.branch-card h3 {
    font-size: 24px;
}

.branch-card__link {
    margin-top: auto;
    min-width: 160px;
    justify-content: center;
}

.service-box h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 3vw, 48px);
}

.service-box--green h2,
.contact-card:nth-child(2) h3 {
    color: var(--green-dark);
}

.service-box--pink h2,
.contact-card:nth-child(3) h3 {
    color: var(--pink-dark);
}

/* values */
.value-card {
    min-height: 150px;
}

.value-card h3 {
    font-size: 22px;
    color: var(--green-dark);
}

/* contact */
.home-contact__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.home-contact__lead {
    font-size: 22px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.contact-card__tel {
    font-size: 30px;
}

/* footer refinement */
.site-footer {
    margin-top: 40px;
}

.site-footer__logo {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* mobile adjustment */
@media (max-width: 1100px) {
    .site-header__inner {
        align-items: flex-start;
    }

    .site-line-button {
        margin-left: auto;
    }

    .home-contact__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .site-header {
        position: static;
    }

    .site-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .site-line-button {
        width: auto;
    }

    .hero__image .image-placeholder {
        min-height: 280px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

/* =========================
   v0.3 home layout refinement
========================= */

.home-page {
    overflow: hidden;
}

.hero {
    position: relative;
    padding-top: 40px;
    padding-bottom: 48px;
}

.hero::before {
    content: "";
    position: absolute;
    left: -40px;
    bottom: 12px;
    width: 150px;
    height: 240px;
    background:
        radial-gradient(circle at 40% 20%, rgba(126, 163, 106, 0.26) 0 4px, transparent 5px),
        radial-gradient(circle at 58% 38%, rgba(126, 163, 106, 0.22) 0 4px, transparent 5px),
        radial-gradient(circle at 44% 58%, rgba(126, 163, 106, 0.2) 0 4px, transparent 5px);
    opacity: 0.7;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__title {
    margin-bottom: 18px;
}

.hero__lead {
    margin-bottom: 16px;
}

.hero__buttons {
    margin-top: 30px;
}

.hero-photo .image-placeholder {
    min-height: 500px;
}

.branch-guide {
    padding-top: 40px;
}

.branch-grid {
    align-items: stretch;
}

.branch-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    column-gap: 18px;
    row-gap: 18px;
    min-height: 250px;
    padding: 24px;
}

.branch-card__icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 20px;
}

.branch-card__icon--green {
    background: #edf5e8;
    color: var(--green-dark);
}

.branch-card__icon--yellow {
    background: #fff3cf;
    color: #b88417;
}

.branch-card__icon--pink {
    background: #fde8ea;
    color: var(--pink-dark);
}

.branch-card__icon--beige {
    background: #f7efe6;
    color: #9d7658;
}

.branch-card__icon--blue {
    background: #e8f4f7;
    color: #4d9bb0;
}

.branch-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.branch-card p {
    margin-bottom: 0;
}

.branch-card__link {
    grid-column: 2 / 3;
    width: 100%;
}

.service-links {
    padding-top: 28px;
}

.service-box {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.service-box::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    opacity: 0.18;
}

.service-box--green::after {
    background: var(--green);
}

.service-box--pink::after {
    background: var(--pink);
}

.service-box p {
    font-size: 17px;
}

.values {
    padding-top: 28px;
    padding-bottom: 36px;
}

.value-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f3f8ef;
    color: var(--green-dark);
    font-weight: 700;
}

.philosophy-message {
    padding-top: 32px;
}

.section-label--left,
.section-title--left {
    text-align: left;
}

.panel {
    min-height: 360px;
}

.panel--illustration {
    position: relative;
}

.panel--illustration::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 160px;
    height: 90px;
    border-radius: 50%;
    background: rgba(126, 163, 106, 0.08);
}

.panel-title--small {
    font-size: 28px;
}

.representative-panel {
    position: relative;
    padding-right: 150px;
}

.representative-panel::after {
    content: "写真";
    position: absolute;
    right: 32px;
    bottom: 32px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #f6efe7;
    border: 1px dashed rgba(126, 163, 106, 0.4);
    display: grid;
    place-items: center;
    color: #9b8d80;
    font-size: 14px;
}

.representative-panel__name {
    margin-top: 20px;
    font-weight: 700;
}

.voice-preview {
    padding-top: 32px;
}

.voice-preview .container {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.voice-preview__grid {
    grid-template-columns: repeat(3, 1fr);
}

.voice-preview__item {
    min-height: 160px;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: center;
    font-size: 17px;
}

.voice-preview__item p {
    margin: 0;
}

.voice-preview__thumb {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4eadf, #fbf8f2);
    border: 1px dashed rgba(126, 163, 106, 0.28);
}

.home-contact {
    padding-top: 30px;
}

.home-contact__grid {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.home-contact__lead,
.contact-card {
    box-shadow: none;
}

.home-contact__lead h2 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.home-contact__lead p {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
}

.contact-card--green h3 {
    color: var(--green-dark);
}

.contact-card--pink h3 {
    color: var(--pink-dark);
}

.contact-card--line h3 {
    color: var(--green-dark);
}

.contact-card .button {
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 1100px) {
    .branch-card {
        grid-template-columns: 64px 1fr;
    }

    .branch-card__icon {
        width: 58px;
        height: 58px;
    }

    .voice-preview__grid {
        grid-template-columns: 1fr;
    }

    .home-contact__grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-contact__lead {
        grid-column: 1 / -1;
    }

    .representative-panel {
        padding-right: 34px;
    }

    .representative-panel::after {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 28px;
    }

    .branch-card {
        grid-template-columns: 1fr;
    }

    .branch-card__link {
        grid-column: auto;
    }

    .service-box {
        min-height: auto;
    }

    .voice-preview .container {
        padding: 20px;
    }

    .voice-preview__item {
        grid-template-columns: 74px 1fr;
    }

    .voice-preview__thumb {
        width: 74px;
        height: 74px;
    }

    .home-contact__grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }
}

/* =========================
   v0.4 homecare page
========================= */

.service-page {
    overflow: hidden;
}

/* service hero */
.service-hero {
    padding-top: 48px;
    padding-bottom: 48px;
}

.service-hero__inner {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
    align-items: center;
}

.service-hero__title {
    margin: 0 0 22px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.45;
    font-weight: 500;
    color: #3f2d27;
    letter-spacing: 0.04em;
}

.service-hero__text {
    margin: 0 0 30px;
    max-width: 680px;
    font-size: 18px;
    line-height: 2;
}

.service-hero__image .image-placeholder {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0)),
        radial-gradient(circle at 36% 30%, #edf5e8, transparent 30%),
        linear-gradient(135deg, #eadfce, #f9f3ea);
    box-shadow: var(--shadow);
    color: transparent;
}

.service-hero__image .image-placeholder::before {
    content: "写真素材を後で配置";
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(126, 163, 106, 0.35);
    border-radius: 26px;
    display: grid;
    place-items: center;
    color: #9b8d80;
    background: rgba(255,255,255,0.28);
}

/* toc */
.page-toc {
    padding-top: 28px;
    padding-bottom: 42px;
}

.page-toc .container {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.page-toc__title {
    margin-bottom: 24px;
    font-size: clamp(28px, 3vw, 42px);
}

.page-toc__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.toc-card {
    min-height: 120px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(215, 199, 179, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(91, 69, 55, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(91, 69, 55, 0.09);
}

.toc-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #edf5e8;
    color: var(--green-dark);
    font-size: 13px;
}

.toc-card--green {
    color: var(--green-dark);
}

/* target */
.target-section {
    padding-top: 40px;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.target-card {
    min-height: 170px;
    padding: 26px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.84);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.target-card--wide {
    grid-column: span 3;
    min-height: 130px;
}

.target-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #edf5e8;
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.target-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 700;
}

/* support */
.support-section {
    padding-top: 42px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.support-card {
    position: relative;
    min-height: 260px;
    padding: 30px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.support-card::after {
    content: "";
    position: absolute;
    right: -64px;
    bottom: -76px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(126, 163, 106, 0.12);
}

.support-card__number {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #edf5e8;
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.support-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    color: var(--green-dark);
}

.support-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 17px;
}

/* information */
.information-section {
    padding-top: 42px;
}

.information-panel {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.information-panel__visual {
    min-height: 300px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 35% 28%, rgba(126,163,106,0.12), transparent 30%),
        linear-gradient(135deg, #f5eee5, #fbf8f2);
    display: grid;
    place-items: center;
}

.information-illustration {
    width: 170px;
    height: 120px;
    border-radius: 26px;
    border: 1px dashed rgba(126, 163, 106, 0.35);
    display: grid;
    place-items: center;
    color: #9b8d80;
    background: rgba(255,255,255,0.48);
}

.information-list h3 {
    margin: 0 0 22px;
    font-size: 30px;
    color: var(--green-dark);
}

.information-list dl {
    margin: 0 0 26px;
}

.information-list dl div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(215, 199, 179, 0.7);
}

.information-list dt {
    font-weight: 700;
    color: var(--green-dark);
}

.information-list dd {
    margin: 0;
}

/* service contact */
.service-contact {
    padding-top: 42px;
}

.service-contact__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.service-contact__message,
.service-contact__card {
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
}

.service-contact__message h2 {
    margin: 0;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.6;
    font-weight: 500;
}

.service-contact__card h3 {
    margin: 0 0 12px;
    font-size: 34px;
    color: var(--green-dark);
}

.service-contact__card p {
    margin: 0 0 16px;
}

.service-contact__tel {
    font-size: 36px;
    font-weight: 700;
    color: #3f2d27;
}

.service-contact__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* homecare accent */
.homecare-page .section-label {
    color: var(--green-dark);
}

.homecare-page .button--green {
    background: linear-gradient(180deg, #7fa96c, #5f8a4e);
}

/* responsive */
@media (max-width: 1100px) {
    .service-hero__inner,
    .information-panel,
    .service-contact__inner {
        grid-template-columns: 1fr;
    }

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

    .target-grid,
    .support-grid {
        grid-template-columns: 1fr 1fr;
    }

    .target-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .service-hero {
        padding-top: 28px;
    }

    .service-hero__image .image-placeholder {
        min-height: 280px;
    }

    .page-toc .container {
        padding: 20px;
    }

    .page-toc__grid,
    .target-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .target-card--wide {
        grid-column: auto;
    }

    .information-panel {
        padding: 20px;
    }

    .information-list dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .service-contact__inner {
        padding: 16px;
    }

    .service-contact__buttons .button {
        width: 100%;
    }

    .service-contact__tel {
        font-size: 30px;
    }
}

/* =========================
   v0.5 homecare page quality refinement
========================= */

/* 全体の密度調整 */
.homecare-page .section {
    padding-top: 44px;
    padding-bottom: 44px;
}

.homecare-page .section-title {
    margin-bottom: 26px;
    font-size: clamp(30px, 3vw, 42px);
}

.homecare-page .section-label {
    margin-bottom: 8px;
}

/* ヒーローを少し締める */
.homecare-page .service-hero {
    padding-top: 34px;
    padding-bottom: 30px;
}

.homecare-page .service-hero__inner {
    gap: 42px;
}

.homecare-page .service-hero__title {
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.5;
}

.homecare-page .service-hero__text {
    max-width: 620px;
    font-size: 17px;
}

.homecare-page .service-hero__image .image-placeholder {
    min-height: 430px;
    border-radius: 28px;
}

/* 目次：大きい箱をやめて、軽いカード列にする */
.homecare-page .page-toc {
    padding-top: 24px;
    padding-bottom: 28px;
}

.homecare-page .page-toc .container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.homecare-page .page-toc__title {
    display: none;
}

.homecare-page .page-toc .section-label {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 32px;
    color: #3f2d27;
    text-align: center;
    margin-bottom: 22px;
}

.homecare-page .page-toc .section-label::before,
.homecare-page .page-toc .section-label::after {
    content: "⌁";
    display: inline-block;
    color: var(--green-dark);
    font-size: 22px;
    margin: 0 18px;
    transform: translateY(-2px);
}

.homecare-page .page-toc__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.homecare-page .toc-card {
    min-height: 92px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(215, 199, 179, 0.85);
    box-shadow: 0 8px 18px rgba(91, 69, 55, 0.045);
    display: grid;
    grid-template-columns: 42px 1fr 30px;
    align-items: center;
    gap: 14px;
    color: #3f2d27;
}

.homecare-page .toc-card::after {
    content: "›";
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    color: var(--green-dark);
}

.homecare-page .toc-card__icon {
    width: 42px;
    height: 42px;
    font-size: 12px;
    background: #eef6ea;
}

.homecare-page .toc-card span:last-child {
    font-size: 17px;
    line-height: 1.5;
}

/* 対象となる方：モック寄せで軽く、縦長カードにする */
.homecare-page .target-section {
    padding-top: 28px;
    padding-bottom: 32px;
}

.homecare-page .target-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.homecare-page .target-card,
.homecare-page .target-card--wide {
    grid-column: auto;
    min-height: 210px;
    padding: 26px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 20px rgba(91, 69, 55, 0.045);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.homecare-page .target-card__icon {
    width: 58px;
    height: 58px;
    margin: 0 0 18px;
    background: transparent;
    border: 1.5px solid var(--green-dark);
    color: var(--green-dark);
}

.homecare-page .target-card h3 {
    font-size: 17px;
    line-height: 1.75;
    font-weight: 600;
}

/* 訪問看護でできること：横長カードで落ち着かせる */
.homecare-page .support-section {
    padding-top: 30px;
    padding-bottom: 34px;
}

.homecare-page .support-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.homecare-page .support-card {
    min-height: 190px;
    padding: 28px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(91, 69, 55, 0.045);
}

.homecare-page .support-card__number {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.homecare-page .support-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.homecare-page .support-card p {
    font-size: 16px;
    line-height: 1.85;
}

.homecare-page .support-card:nth-child(1) {
    border-color: rgba(126, 163, 106, 0.55);
}

.homecare-page .support-card:nth-child(2) {
    border-color: rgba(229, 165, 49, 0.45);
}

.homecare-page .support-card:nth-child(3) {
    border-color: rgba(230, 145, 149, 0.45);
}

/* Informationをモックっぽく横長・軽めに */
.homecare-page .information-section {
    padding-top: 30px;
    padding-bottom: 34px;
}

.homecare-page .information-panel {
    grid-template-columns: 300px 1fr;
    padding: 28px 34px;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(91, 69, 55, 0.045);
}

.homecare-page .information-panel__visual {
    min-height: 220px;
    border-radius: 22px;
}

.homecare-page .information-list h3 {
    font-size: 26px;
    margin-bottom: 14px;
}

.homecare-page .information-list dl div {
    padding: 10px 0;
}

.homecare-page .information-list .button {
    min-height: 50px;
}

/* Contactを低めに、左右バランスを整える */
.homecare-page .service-contact {
    padding-top: 30px;
    padding-bottom: 44px;
}

.homecare-page .service-contact__inner {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(91, 69, 55, 0.045);
}

.homecare-page .service-contact__message,
.homecare-page .service-contact__card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 34px 42px;
}

.homecare-page .service-contact__message {
    background:
        radial-gradient(circle at 35% 80%, rgba(126, 163, 106, 0.08), transparent 28%),
        #fffaf5;
}

.homecare-page .service-contact__message h2 {
    font-size: clamp(30px, 3vw, 42px);
}

.homecare-page .service-contact__card {
    background: linear-gradient(135deg, rgba(126, 163, 106, 0.08), rgba(255,255,255,0.88));
    text-align: center;
}

.homecare-page .service-contact__tel {
    font-size: 38px;
    margin: 18px 0 22px;
}

.homecare-page .service-contact__buttons {
    justify-content: center;
}

.homecare-page .service-contact__buttons .button {
    min-width: 220px;
}

/* 影を全体的に控えめにする */
.homecare-page .target-card,
.homecare-page .support-card,
.homecare-page .information-panel,
.homecare-page .service-contact__inner,
.homecare-page .toc-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* レスポンシブ */
@media (max-width: 1100px) {
    .homecare-page .page-toc__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .homecare-page .support-grid {
        grid-template-columns: 1fr;
    }

    .homecare-page .information-panel {
        grid-template-columns: 1fr;
    }

    .homecare-page .service-contact__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .homecare-page .page-toc .section-label {
        font-size: 26px;
    }

    .homecare-page .page-toc__grid {
        grid-template-columns: 1fr;
    }

    .homecare-page .toc-card {
        min-height: 82px;
    }

    .homecare-page .target-grid {
        grid-template-columns: 1fr;
    }

    .homecare-page .target-card,
    .homecare-page .target-card--wide {
        min-height: 150px;
    }

    .homecare-page .information-panel {
        padding: 22px;
    }

    .homecare-page .service-contact__message,
    .homecare-page .service-contact__card {
        padding: 28px 22px;
    }

    .homecare-page .service-contact__tel {
        font-size: 30px;
    }
}

/* =========================
   v0.6 seitai page
========================= */

.seitai-page .section-label {
    color: var(--pink-dark);
}

.seitai-page .button--pink {
    background: linear-gradient(180deg, #ef9ba1, #df7f87);
}

/* hero */
.seitai-page .service-hero {
    padding-top: 34px;
    padding-bottom: 30px;
}

.seitai-page .service-hero__title {
    font-size: clamp(40px, 4.2vw, 64px);
    line-height: 1.5;
}

.seitai-page .service-hero__text {
    max-width: 620px;
    font-size: 17px;
}

.seitai-page .service-hero__image .image-placeholder {
    min-height: 430px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0)),
        radial-gradient(circle at 36% 30%, #fde8ea, transparent 30%),
        linear-gradient(135deg, #efe1d5, #fbf5ee);
}

.seitai-page .service-hero__image .image-placeholder::before {
    border-color: rgba(230, 145, 149, 0.35);
}

/* toc */
.seitai-page .page-toc {
    padding-top: 24px;
    padding-bottom: 28px;
}

.seitai-page .page-toc .container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.seitai-page .page-toc .section-label {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 32px;
    color: #3f2d27;
    text-align: center;
    margin-bottom: 22px;
}

.seitai-page .page-toc .section-label::before,
.seitai-page .page-toc .section-label::after {
    content: "⌁";
    display: inline-block;
    color: var(--pink-dark);
    font-size: 22px;
    margin: 0 18px;
    transform: translateY(-2px);
}

.seitai-toc__grid {
    max-width: 760px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
}

.seitai-page .toc-card {
    min-height: 92px;
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(215, 199, 179, 0.85);
    box-shadow: 0 8px 18px rgba(91, 69, 55, 0.045);
    display: grid;
    grid-template-columns: 42px 1fr 30px;
    align-items: center;
    gap: 14px;
    color: #3f2d27;
}

.seitai-page .toc-card::after {
    content: "›";
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    color: var(--pink-dark);
}

.seitai-page .toc-card__icon {
    width: 42px;
    height: 42px;
    font-size: 12px;
    background: #fde8ea;
    color: var(--pink-dark);
}

.seitai-page .toc-card span:last-child {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

/* concerns */
.concerns-section {
    padding-top: 32px;
    padding-bottom: 40px;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.84);
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(91, 69, 55, 0.045);
}

.concern-card {
    min-height: 260px;
    padding: 26px 28px;
    text-align: center;
    border-right: 1px dashed rgba(215, 199, 179, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.concern-card:last-child {
    border-right: none;
}

.concern-card__icon {
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 20px;
}

.concern-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    color: #3f2d27;
}

.concern-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
}

.concern-card--pink .concern-card__icon {
    background: #fde8ea;
    color: var(--pink-dark);
    border: 1.5px solid rgba(230, 145, 149, 0.45);
}

.concern-card--orange .concern-card__icon {
    background: #fff3cf;
    color: #b88417;
    border: 1.5px solid rgba(229, 165, 49, 0.45);
}

.concern-card--green .concern-card__icon {
    background: #edf5e8;
    color: var(--green-dark);
    border: 1.5px solid rgba(126, 163, 106, 0.45);
}

.concern-card--blue .concern-card__icon {
    background: #e8f4f7;
    color: #4d9bb0;
    border: 1.5px solid rgba(77, 155, 176, 0.45);
}

/* contact */
.seitai-contact {
    padding-top: 34px;
    padding-bottom: 44px;
}

.seitai-page .service-contact__inner {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(91, 69, 55, 0.045);
}

.seitai-page .service-contact__message,
.seitai-page .service-contact__card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 34px 42px;
}

.seitai-page .service-contact__message {
    background:
        radial-gradient(circle at 35% 80%, rgba(230, 145, 149, 0.08), transparent 28%),
        #fffaf5;
}

.seitai-page .service-contact__message h2 {
    font-size: clamp(30px, 3vw, 42px);
}

.seitai-page .service-contact__card {
    background: linear-gradient(135deg, rgba(230, 145, 149, 0.08), rgba(255,255,255,0.88));
    text-align: center;
}

.seitai-page .service-contact__card h3 {
    color: var(--pink-dark);
}

.seitai-page .service-contact__tel {
    font-size: 38px;
    margin: 18px 0 22px;
}

.seitai-page .service-contact__buttons {
    justify-content: center;
}

.seitai-page .service-contact__buttons .button {
    min-width: 220px;
}

/* responsive */
@media (max-width: 1100px) {
    .seitai-toc__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .concern-card:nth-child(2) {
        border-right: none;
    }

    .concern-card:nth-child(1),
    .concern-card:nth-child(2) {
        border-bottom: 1px dashed rgba(215, 199, 179, 0.9);
    }

    .seitai-page .service-contact__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .seitai-page .service-hero {
        padding-top: 28px;
    }

    .seitai-page .service-hero__image .image-placeholder {
        min-height: 280px;
    }

    .seitai-page .page-toc .section-label {
        font-size: 26px;
    }

    .seitai-toc__grid {
        grid-template-columns: 1fr;
    }

    .seitai-page .toc-card {
        min-height: 82px;
    }

    .concerns-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .concern-card {
        min-height: 180px;
        border-right: none;
        border-bottom: 1px dashed rgba(215, 199, 179, 0.9);
    }

    .concern-card:last-child {
        border-bottom: none;
    }

    .concern-card:nth-child(1),
    .concern-card:nth-child(2) {
        border-bottom: 1px dashed rgba(215, 199, 179, 0.9);
    }

    .seitai-page .service-contact__message,
    .seitai-page .service-contact__card {
        padding: 28px 22px;
    }

    .seitai-page .service-contact__tel {
        font-size: 30px;
    }

    .seitai-page .service-contact__buttons .button {
        width: 100%;
    }
}