@charset "utf-8";


.overview-hero-section__text-block-custom {
    font-size: 2.5rem;
    line-height: 1.8;
}



/* スマートフォン向け調整 */
@media (max-width: 768px) {

    .overview-hero-section__content {
        padding: 0 2.5rem 1.5rem;
    }



    .overview-hero-section__image-block {
        text-align: center;
        /* 画像を中央寄せ */
        margin-top: 20px;
        /* 必要に応じて上部の余白を調整 */
    }

    .overview-hero-section__text-block-custom {
        font-size: 1.25rem;
    }
}

.overview-section {
    margin: 0 auto;
    padding: 1.5rem 0;
}

.overview-section__content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.overview-section__subtitle--left-orange {
    color: var(--primary-color);
    text-align: left;
}

.overview-section__subtitle--center-black {
    color: var(--primary-color);
    text-align: center;
}


.overview-section__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.overview-section__text:last-of-type {
    margin-bottom: 0;
}

.sp-br {
    display: none;
}

@media (max-width: 767px) {
    .sp-br {
        display: block;
    }
}


.overview-section__chart-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .overview-section__chart-area {
        flex-direction: column;
        justify-content: center;
    }
}

.overview-section__chart-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.legend-color-box {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.overview-section__source {
    font-size: 12px;
    color: var(--primary-color);
    margin-top: 1rem;
    text-align: right;
}

.system-section {
    margin: 2rem auto;
    padding: 1.5rem 0;
}

.system-section__title {
    color: var(--primary-color);
    text-align-last: left;
    font-size: 24px;
}


.system-section__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.system-section__subtitle {
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 32px;
}

.system-section__staff-list {
    display: flex;
    flex-direction: column;
    max-width: 1072px;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid #ccc;
}

.system-section__staff-item {
    display: flex;
    flex-direction: column;
    /* モバイルでは縦並び */
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #ccc;
}

.system-section__staff-name {
    font-size: 1.125rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 0.5rem;
    flex: 0 0 100px;
}

@media (max-width: 767px) {
    .system-section__staff-name {
        flex-basis: 0;
    }
}

.system-section__staff-role {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primary-color);
    flex: 1;
}

@media (min-width: 768px) {
    .system-section__staff-list {
        display: block;
    }

    .system-section__staff-item {
        flex-direction: row;
        /* PCでは横並び */
        padding: 16px 0;
    }

    .system-section__staff-name {
        margin-bottom: 0;
        align-self: flex-start;
    }

    .system-section__staff-role {
        padding-left: 2rem;
    }
}

.organization-chart-section {
    margin: 2rem auto 96px;
}

.organization-chart-section__title {
    color: var(--primary-color);
    text-align: left;
    font-size: 24px;
}

.chart-container {
    /* padding-bottom: 2rem; */
}

.chart-node {
    border: 1px solid #6b7280;
    background-color: #ffffff;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    box-sizing: border-box;
}

.chart-node--director {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.chart-node--director::after {
    content: '';
    position: absolute;
    bottom: -4.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 4.4rem;
    background-color: #6b7280;
    z-index: 5;
}

.chart-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    position: relative;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.chart-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #6b7280;
    z-index: 4;
    max-width: calc(100% - (1.5rem * 2));
    margin: 0 auto;
}

.chart-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 1rem;
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 250px;
}

.chart-node--department {
    border: 1px solid #6b7280;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.chart-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1rem;
    background-color: #6b7280;
    z-index: 5;
}

.chart-list {
    list-style: none;
    padding: 1rem;
    margin: 0;
    text-align: left;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    border: 1px solid #6b7280;
    border-top: none;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
}

.chart-list li {
    margin-bottom: 0.25rem;
}

.chart-list li:last-child {
    margin-bottom: 0;
}

.daily-flow-section {
    margin: 2rem auto;
    padding-left: 0;
    padding-right: 0;
}

.daily-flow-section__subtitle {
    margin-bottom: 32px;
    font-size: 24px;
    color: var(--primary-color);
}

.daily-flow-section__title {
    color: var(--primary-color);
    font-size: 24px;
}

.daily-flow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background-color: #F5F5F5;
}

@media (min-width: 768px) {
    .daily-flow-content {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
        padding: 36px 0;
    }
}

@media (max-width: 767px) {
    .daily-flow-content {
        padding: 10px 0;
    }

 }

.daily-flow-schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.daily-flow-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.daily-flow-schedule-list {
    list-style: none;
    padding-left: 1.5rem;
    /* 左側にスペースを確保 */
    margin: 0;
    position: relative;
}

.daily-flow-schedule-list::before {
    content: '';
    position: absolute;
    top: 21px;
    left: 23px;
    height: 88%;
    width: 2px;
    background-color: #00a0e9;
    /* 線の色 */
}

.daily-flow-schedule-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.daily-flow-schedule-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0rem;
    transform: translate(-50%, -50%);
    width: 16px;
    /* 丸のサイズ */
    height: 16px;
    border: 4px solid #00a0e9;
    background-color: #fff;
    border-radius: 50%;
    z-index: 10;
}

.daily-flow-schedule-list li:last-child {
    margin-bottom: 0;
}

.time-box {
    padding: 0.5rem 1rem;
    font-weight: 700;
    border-radius: 0.25rem;
    flex-shrink: 0;
    min-width: 70px;
    text-align: center;
}

.activity-text {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.5;
    margin: 0;
}

.daily-flow-image {
    width: 422px;
    height: auto;
}

@media (max-width: 767px) {
    .daily-flow-image {
        width: 260px;
    }
}

.senior-voice-section {
    margin: 2rem auto;
    padding: 1.5rem 0;
    padding-top: 2.5rem;
}

.senior-voice-section__title {
    color: var(--primary-color);
    text-align: left;
    font-size: 18px;

}

.senior-voice-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
}

.speech-bubble-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.speech-bubble-row--reverse {
    flex-direction: row-reverse;
}

.speech-bubble-image {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.speech-bubble {
    position: relative;
    border: 2px solid #A4A4A4;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    flex-grow: 1;
}

.speech-bubble--left::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    border-width: 8px 20px 8px 0;
    border-style: solid;
    border-color: transparent #A4A4A4 transparent transparent;
}

.speech-bubble--left::after {
    content: '';
    position: absolute;
    left: -16px;
    top: 21px;
    border-width: 7px 18px 7px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.speech-bubble--right::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 19px;
    border-width: 8px 0 8px 20px;
    border-style: solid;
    border-color: transparent transparent transparent #A4A4A4;
}

.speech-bubble--right::after {
    content: '';
    position: absolute;
    right: -17px;
    top: 20px;
    border-width: 7px 0 7px 18px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

@media (max-width: 767px) {
    .speech-bubble-row {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .speech-bubble-row--reverse {
        flex-direction: column;
    }

    .speech-bubble--left::before,
    .speech-bubble--left::after,
    .speech-bubble--right::before,
    .speech-bubble--right::after {
        content: '';
        border-width: 0;
    }

    .speech-bubble {
        width: 100%;
        max-width: 500px;
    }

    .speech-bubble-image {
        width: 100%;
        height: auto;
    }
}

.daily-flow-section--psychologist {
    border-top: none;
    margin-top: 2rem;
}

.time-box--psychologist {
    background-color: #c9e2ff;
    color: #fff;
}

.senior-voice-section--psychologist {
    border-top: none;
    margin-top: 2rem;
}
