@charset "utf-8";
/* ABOUT CSS
---------------------------------- */

.pagettl .img-area {
    background: url(../img/about/pagettl.jpg) no-repeat center right / cover #afd482;
}


/* -----------------------
anchorlink
----------------------- */
.anchorlink .link-list {
    width: fit-content;
    margin: 0 auto;
}
.anchorlink .link-item {
    line-height: 30px;
    display: block;
    padding-left: 35px;
    margin-bottom: 10px;
    position: relative;
    transition: opacity 0.25s ease;
}
.anchorlink .link-item .i-arrow {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #76b926;
    position: absolute;
    top: 5px;
    left: 0;
}
.anchorlink .link-item .i-arrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
}
@media (min-width: 768px) {
    .anchorlink .link-item:hover {
        opacity: 0.7;
    }
}

/* -----------------------
sec-message
----------------------- */
.sec-message .chairman-img {
    aspect-ratio: 5/2;
}
.sec-message .policy-box {
    position: relative;
    border: 1px solid #76b926;
    padding-left: 30px;
    padding-right: 30px;
}
.sec-message .policy-box .box-head {
    position: absolute;
    top: 0;
    left: 20px;
    transform: translateY(-50%);
    padding: 0 6px;
    background-color: #fff;
}
.sec-message .chairman-name {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.sec-message .name-img {
    max-width: 200px;
    aspect-ratio: 5 / 1;
    margin-left: 27px;
}
.sec-message .name {
    padding-left: 20px;
}
@media (max-width: 991px) {
    .sec-message .chairman-img {
        aspect-ratio: 2/1;
    }
    .sec-message .policy-box br {
        display: none;
    }
}
@media (max-width: 480px) {
    .sec-message .chairman-img {
        aspect-ratio: 3/2;
    }
    .sec-message .policy-box {
        padding: 20px;
    }
}

/* -----------------------
sec-group
----------------------- */
/* 共通部分 */
.sec-group .group-logo {
    max-width: 52px;
    margin-right: 14px;
    aspect-ratio: 52 / 42;
}
.sec-group .group-ttl {
    align-self: center;
}
.sec-group .group-container {
    gap: 40px 23px;
}
.sec-group .group-item {
    width: calc((100% - 46px) / 3);
}
.sec-group .fac-info {
    padding-left: 25px;
    border-left: 4px solid;
}

/* グループ毎 */
.sec-group .medical .fac-info {
    border-color: #50bb50;
}
.sec-group .nursing .fac-info {
    border-color: #ffc932;
}
.sec-group .childcare .fac-info {
    border-color: #f07ba8;
}
@media (min-width: 576px) and (max-width: 1024px) {
    .sec-group .group-item {
        width: calc((100% - 23px) / 2);
    }
}
@media (max-width: 575px) {
    .sec-group .group-item {
        width: 100%
    }
}

/* -----------------------
sec-access
----------------------- */
.sec-access .cont-area {
    max-width: 760px;
    column-gap: 40px;
}
.sec-access .cont-top {
    width: 100%;
}
.sec-access .cont-top .cont-img {
    aspect-ratio: 759 / 491;
}
.sec-access .cont-bottom {
    width: calc(50% - 20px);
}
.sec-access .cont-bottom .cont-img {
    aspect-ratio: 1 / 1;
}
@media (max-width: 575px) {
    .sec-access .cont-area {
        row-gap: 20px;
    }
    .sec-access .cont-top {
        margin-bottom: 0;
    }
    .sec-access .cont-bottom {
        width: 100%;
        max-width: 360px;
    }
}
/* -----------------------
sec-history
----------------------- */

.sec-history .cont-area .history-list  {
    position: relative;
}
.sec-history .cont-area .history-list::before,
.sec-history .cont-area .history-list::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 140px;
    transform: translateX(-50%);
}
.sec-history .cont-area .history-list::before {
    height: 100%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.3);
}
.sec-history .cont-area .history-list:last-of-type:before {
    height: 60%;
}
.sec-history .cont-area .history-list::after {
    height: 9px;
    width: 9px;
    background-color: #76b926;
    border-radius: 50%;
}
.sec-history .cont-area .history-date {
    position: relative;
    width: 140px;
    text-align: right;
    padding-right: 40px;
}
.sec-history .cont-area .history-date .f-ml{
    margin-left: 5px;
}
.sec-history .cont-area .history-text {
    flex: 1;
    padding-left: 40px;
}
@media (min-width: 576px) {
    .sec-history .cont-area .history-date .sp-only-history {
        display: none;
    }
}
@media (max-width: 575px) {
    .sec-history .cont-area .history-list {
        display: block;
        padding-right: 0;
        padding-left: 40px;
    }
    .sec-history .cont-area .history-list::before,
    .sec-history .cont-area .history-list::after {
        top: 7px;
        left: 10px;
    }
    .sec-history .cont-area .history-date {
        width: auto;
        padding: 0;
        text-align: left;
    }
    .sec-history .cont-area .history-text  {
        padding: 0;
    }
}
@media (max-width: 480px) {
    .sec-history .cont-area .history-list {
        padding-left: 25px;
    }
}
