@charset "utf-8";

/* ------------------------------
 メインビジュアル（PC）
------------------------------ */
.mainBlock h1 {
    display: none;
}
.mainBlock .mainImg {
    width: 100%;
}
.mainBlock .mainImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media print, screen and (min-width: 768px) {
    .mainBlock {
        margin: 0 auto 85px;
    }
}
@media print, screen and (min-width: 1920px) {
    .mainBlock .mainImg {
        width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ------------------------------
 メインビジュアル（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .mainBlock {
        margin-bottom: 30px;
    }
    .mainBlock .mainImg {
        width: 100%;
    }
}
/* ------------------------------
 お知らせ（PC）
------------------------------ */
.inBlock.newsBox {
    display: flex;
    justify-content: space-between;
    color: #fff;
    background-color: #007a46;
    border-radius: 15px;
    padding: 25px 35px;
    margin-top: 70px;
}
.contentsHome .newsBox h2 {
    display: flex;
    align-items: center;
    gap: 0 10px;
    font-size: 1.9rem;
    color: #fff;
    letter-spacing: 0.040em;
    margin-bottom: 0;
}
.contentsHome .newsBox h2::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 24px;
    background: url(../img/icon_news.svg) no-repeat center / cover;
}
.newsBox ul li {
    display: flex;
    gap: 0 15px;
}
/* -- 日付 -- */

.newsBox ul li a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
}
.newsBox ul li a::before,
.newsBox ul li a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}
.newsBox ul li a::before {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 100%;
    right: 0;
}
.newsBox ul li a::after {
    width: 8px;
    height: 12px;
    mask-image: url(../img/icon_arrow.svg);
    background-color: #007a46;
    right: 13px;
}
.newsBox ul li a[target="_blank"]::after {
    width: 16px;
    height: 16px;
    mask-image: url(../img/icon_blank_btn.svg);
    right: 10px;
}
@media print, screen and (min-width: 768px) {
    .inBlock.newsBox {
        align-items: center;
        width: 960px;
    }
    .contentsHome .newsBox h2::after {
        content: "";
        position: absolute;
        width: 0;
        height: 21px;
        border-right: dotted 1px #fff;
        top: 0;
        bottom: 0;
        right: -39px;
        margin: auto;
    }
    .newsBox ul {
        width: calc(100% - 185px);
    }
    .newsBox ul li {
        align-items: center;
    }
    .newsBox ul li a {
        min-height: 36px;
    }
}
/* ------------------------------
 お知らせ（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .inBlock.newsBox {
        flex-direction: column;
        border-radius: 10px;
        padding: 18px 5%;
        margin-top: 30px;
    }
    .contentsHome .newsBox h2 {
        gap: 0 8px;
        font-size: 1.7rem;
        padding-bottom: 10px;
        margin-bottom: 12px;
        border-bottom: dotted 1px #80bca2;
    }
    .contentsHome .newsBox h2::before {
        width: 19px;
        height: 22px;
    }
    .newsBox ul li {
        flex-direction: column;
    }
    .newsBox ul li a::before {
        width: 25px;
        height: 25px;
    }
    .newsBox ul li a::after {
        width: 6px;
        height: 9px;
        right: 9px;
    }
}
/* ------------------------------
 見出し・テキスト（PC）
------------------------------ */
/* -- h2 -- */
.contentsHome h2 {
    font-size: 5.1rem;
    line-height: 1.3;
    letter-spacing: 0.040em;
    margin-bottom: 50px;
}
.contentsHome h2 span:not(.green) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-width: 146px;
    font-family: "Ubuntu", sans-serif;
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.030em;
    background: url(../../img/bg_h2.png) no-repeat center / cover;
    border-radius: 10px 10px 0 0;
    padding: 4px;
    margin-bottom: 20px;
}
/* -- h3 -- */
.contentsHome h3 {
	font-size: 2.5rem;
    color: #007a46;
    text-align: center;
    letter-spacing: 0.050em;
	margin-bottom: 5px;
}
/* ------------------------------
 見出し・テキスト（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    /* -- h2 -- */
    .contentsHome h2 {
        font-size: 3.2rem;
        margin-bottom: 20px;
    }
    .contentsHome h2 span:not(.green) {
        min-width: 110px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
	/* -- h3 -- */
    .contentsHome h3 {
        font-size: 2.0rem;
        text-align: left;
    }
}
/* ------------------------------
 聖隷おおぞら療育センターについて（PC）
------------------------------ */
section {
    position: relative;
    z-index: 1;
}
section .btn {
    margin-top: 30px;
}
.aboutBlock {
    padding: 180px 0 240px;
    margin-bottom: 110px;
}
.aboutBlock .inBlock,
.serviceBlock .inBlock,
.recruitBlock .inBlock {
    position: relative;
}
/* 背景色付き部分 */
.aboutBlock::before,
.infoBlock::before,
.contactBlock .contactBox::before {
    content: "";
    position: absolute;
    width: 1920px;
    height: 100%;
    background-color: #f1f6f8;
    clip-path: polygon(0 13%, 25% 0, 73% 20%, 100% 1%, 100% 100%, 60% 85%, 26% 93%, 0 85%);
    top: 0;
    left: calc(50% - 1920px / 2);
    bottom: 0;
    z-index: -1;
}
@media print, screen and (min-width: 768px) {
    .aboutBlock,
    .infoBlock,
    .contactBlock {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
    .aboutBlock {
        height: 890px;
    }
    .aboutBlock .inBlock,
    .serviceBlock .inBlock,
    .recruitBlock .inBlock {
        display: flex;
        justify-content: flex-start;
    }
    .aboutBlock figure,
    .serviceBlock figure,
    .recruitBlock figure {
        position: absolute;
        top: -75px;
        right: -165px;
        z-index: -1;
    }
    .aboutBlock .inBox {
        width: 540px;
    }
    .aboutBlock .inBox h2 + p,
    .serviceBlock .inBox,
    .recruitBlock .inBox {
        width: 515px;
    }
}
/* ------------------------------
 聖隷おおぞら療育センターについて（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    section .btn {
        margin-top: 20px;
    }
    .aboutBlock {
        padding: 5px 0 70px;
        margin-bottom: 5px;
    }
    .aboutBlock figure {
        width: 90%;
        margin-left: auto;
        margin-right: -3%;
    }
    .aboutBlock .inBox {
        margin-top: -10px;
    }
    
    /* 背景色付き部分 */
    .aboutBlock::before,
    .infoBlock::before,
    .contactBlock .contactBox::before {
        width: 100%;
        clip-path: polygon(0 3%, 22% 0, 67% 5%, 100% 0.4%, 100% 100%, 59% 97%, 21% 99%, 0 97%);
        left: 0;
    }
}
/* ------------------------------
 ご利用案内（PC）
------------------------------ */
.serviceBlock {
    margin-bottom: 35px;
}
.serviceList {
    display: flex;
    flex-flow: row wrap;
    gap: 20px 3.9455%;
    width: 100%;
    margin-top: 170px;
}
.serviceList li {
    position: relative;
    width: 30.703%;
    padding-top: 50px;
}
.serviceList li a {
    display: block;
    background-color: #f1f6f8;
    border-radius: 20px;
    padding: 65px 50px 50px;
}
.serviceList li img {
    position: absolute;
    width: 108px;
    height: 108px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}
@media print, screen and (min-width: 768px) {
    .serviceBlock .inBlock {
        justify-content: flex-end;
        flex-flow: row wrap;
    }
    .serviceBlock figure {
        top: -110px;
        left: -160px;
    }
    .serviceList {
        justify-content: center;
    }
}
/* ------------------------------
 ご利用案内（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .serviceList {
        flex-direction: column;
        gap: 10px 0;
        margin-top: 35px;
    }
    .serviceList li {
        width: 100%;
        padding-top: 15px;
    }
    .serviceList li a {
        border-radius: 10px;
        padding: 25px 5%;
    }
    .serviceList li img {
        width: 70px;
        height: 70px;
        left: auto;
    }
}
/* ------------------------------
 施設概要／おおぞら通信（PC）
------------------------------ */
.infoBlock {
    padding: 125px 0 155px;
    margin-bottom: 190px;
}
.infoBlock .inBlock {
    position: relative;
}
/* 背景色付き部分 */
.infoBlock::before {
    clip-path: polygon(0 9%, 20% 1%, 65% 13%, 100% 0%, 100% 85%, 70% 100%, 22% 91%, 0 97%);
}
/* 背景のイラスト */
.infoBlock .inBlock::after {
    content: "";
    position: absolute;
    width: 399px;
    height: 285px;
    background: url(../../img/bg_recruit.png) no-repeat center / cover;
    left: -352px;
    bottom: -275px;
}
@media print, screen and (min-width: 768px) {
    .infoBlock .inBlock {
        display: flex;
        justify-content: space-between;
    }
    /* 背景のイラスト */
    .infoBlock .inBlock::before {
        content: "";
        position: absolute;
        width: 328px;
        height: 291px;
        background: url(../../img/bg_service.png) no-repeat center / cover;
        top: -288px;
        right: -348px;
    }
    .contentsHome .infoBlock h2 {
        margin-bottom: 30px;
    }
    .infoBlock .infoBox,
    .infoBlock .magBox {
        position: relative;
        width: 515px;
    }
    .infoBlock .infoBox figure,
    .infoBlock .magBox figure {
        position: relative;
        width: 624px;
        height: 420px;
    }
    .infoBlock .infoBox figure {
        top: 24px;
        left: -80px;
    }
    .infoBlock .magBox figure {
        width: 628px;
        height: 394px;
        left: 0;
    }
}
/* ------------------------------
 施設概要／おおぞら通信（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .infoBlock {
        padding: 60px 0 75px;
        margin-bottom: 30px;
    }
    .infoBlock .inBlock::after {
        width: 165px;
        height: 118px;
        left: -5%;
        bottom: -135px;
    }
    .infoBlock .magBox {
        padding-top: 50px;
    }
    .infoBlock .magBox figure {
        margin-bottom: 10px;
    }
    /* 背景色付き部分 */
    .infoBlock::before {
        clip-path: polygon(0 1%, 21% 0%, 67% 3%, 100% 0.3%, 100% 100%, 60% 98%, 21% 99%, 0 98%);
    }
}
/* ------------------------------
 採用情報（PC）
------------------------------ */
.recruitBlock {
    margin-bottom: 260px;
}
@media print, screen and (min-width: 768px) {
    .recruitBlock figure {
        top: -155px;
        right: -170px;
    }
}
/* ------------------------------
 採用情報（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .recruitBlock {
        margin-bottom: 70px;
    }
    .recruitBlock figure {
        margin-bottom: 20px;
    }
}
/* ------------------------------
 バナー（PC）
------------------------------ */
.contactBlock .bnrBlock {
    position: relative;
    margin-bottom: 80px;
    overflow: hidden;
}
.bnrBlock ul {
    display: flex;
    justify-content: space-between;
}
.bnrBlock ul li {
    width: 30.703%;
    height: 120px;
    border-radius: 20px;
}
.bnrBlock ul li a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}
.bnrBlock ul li a:not(:has(figure)) {
    background-color: #007a46;
    padding: 20px 75px 20px 30px;
}
.bnrBlock ul li a:not(:has(figure)) p {
    font-size: 2.0rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
    text-align: left;
}
.bnrBlock ul li a:not(:has(figure))::before,
.bnrBlock ul li a:not(:has(figure))::after {
	content: "";
	position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}
.bnrBlock ul li a:not(:has(figure))::before {
	width: 36px;
	height: 36px;
	background-color: #fff;
	border-radius: 100%;
	right: 30px;
}
.bnrBlock ul li a:not(:has(figure))::after {
    width: 8px;
    height: 12px;
    mask-image: url(../img/icon_arrow.svg);
	background-color: #007a46;
	right: calc(30px + 13px);
}
.bnrBlock ul li a[target="_blank"]:not(:has(figure))::after {
    width: 16px;
    height: 16px;
    mask-image: url(../img/icon_blank_btn.svg);
	right: calc(30px + 10px);
}
/* -- 4枚以上でスライド -- */
.contactBlock .bnrBlock.swiper-horizontal {
    padding-bottom: 52px;
}
/* ページネーション */
.bnrBlock .swiper-pagination-bullets.swiper-pagination-horizontal {
    display: block;
    height: 38px;
    text-align: left;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.bnrBlock .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    background-color: #a1c3d1;
    margin: 0 6px;
    opacity: 1;
}
.bnrBlock .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet:first-child {
    margin-left: 0;
}
.bnrBlock .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #007a46;
}
/* 前へ／次へボタン */
.bnrBlock .swiper-buttons {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    height: 38px;
    gap: 10px;
    bottom: 0;
    right: 0;
}
.bnrBlock .swiper-buttons .swiper-button-prev,
.bnrBlock .swiper-buttons .swiper-button-next {
    position: relative;
    width: 38px;
    height: 38px;
    background-color: #b4c8d1;
    border-radius: 8px;
    margin: 0;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    transition: 0.3s ease-in-out;
}
.bnrBlock .swiper-buttons .swiper-button-prev::after,
.bnrBlock .swiper-buttons .swiper-button-next::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 12px;
    background: url(../img/icon_arrow.svg) no-repeat center / cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.bnrBlock .swiper-buttons .swiper-button-prev::after {
    transform: rotate(180deg);
}
@media print, screen and (min-width: 768px) {
    /* 前へ／次へボタン */
    .bnrBlock .swiper-buttons .swiper-button-prev:hover,
    .bnrBlock .swiper-buttons .swiper-button-next:hover {
        opacity: 0.7;
    }
}
/* ------------------------------
 バナー（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .contactBlock .bnrBlock {
        margin-bottom: 50px;
    }
    .contactBlock .bnrBlock:not(.swiper-horizontal) ul {
        flex-flow: row wrap;
        gap: 8px 0;
    }
    .bnrBlock ul li {
        width: 100%;
        height: 80px;
    }
    .bnrBlock ul li a {
        border-radius: 10px;
    }
    .bnrBlock ul li a:not(:has(figure)) {
        padding: 10px calc(5% + 20px) 10px 5%;
    }
    .bnrBlock ul li a:not(:has(figure)) p {
        font-size: 1.8rem;
    }
    .bnrBlock ul li a:not(:has(figure))::before {
        width: 30px;
        height: 30px;
        right: 5%;
    }
    .bnrBlock ul li a:not(:has(figure))::after {
        width: 6px;
        height: 9px;
        right: calc(5% + 11px);
    }
    .bnrBlock ul li a[target="_blank"]:not(:has(figure))::after {
        width: 14px;
        height: 14px;
        right: calc(5% + 8px);
    }
    /* -- 4枚以上でスライド -- */
    .contactBlock .bnrBlock.swiper-horizontal {
        padding-bottom: 45px;
    }
    /* ページネーション */
    .bnrBlock .swiper-pagination-bullets.swiper-pagination-horizontal {
        height: 32px;
    }
    .bnrBlock .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 4px;
    }
    /* 前へ／次へボタン */
    .bnrBlock .swiper-buttons {
        height: 32px;
        gap: 8px;
    }
    .bnrBlock .swiper-buttons .swiper-button-prev,
    .bnrBlock .swiper-buttons .swiper-button-next {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
    .bnrBlock .swiper-buttons .swiper-button-prev::after,
    .bnrBlock .swiper-buttons .swiper-button-next::after {
        width: 6px;
        height: 9px;
    }
}
/* ------------------------------
 お問合せ（PC）
------------------------------ */
.contactBlock {
    position: relative;
    z-index: 2;
}
.contactBlock .contactBox {
    position: relative;
    z-index: 1;
    padding: 115px 0 100px;
}
.contactBlock .contactBox .inBox {
    position: relative;
    z-index: 1;
}
.contactBlock .contactBox .inBox > p {
    position: relative;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0.050em;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
    padding-top: 70px;
}
.contactBlock .contactBox .inBox > p span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-width: 146px;
    font-family: "Ubuntu", sans-serif;
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.75;
    letter-spacing: 0.030em;
    background: url(../../img/bg_h2.png) no-repeat center / cover;
    border-radius: 10px 10px 0 0;
    padding: 4px;
    position: absolute;
    top: 0;
    left: 0;
}
/* 電話番号 */
.contactBlock .contactBox .inBox .tel a {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-size: 4.7rem;
    font-weight: bold;
    color: #007a46;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.contactBlock .contactBox .inBox .tel a span.ls {
    letter-spacing: -0.25em;
}
.contactBlock .contactBox .inBox .tel a + p {
    line-height: 1.4;
}
/* 背景色付き部分 */
.contactBlock .contactBox::before {
    clip-path: polygon(0 13%, 27% 0, 65% 22%, 100% 8%, 100% 100%, 0 100%);
}
/* 背景のイラスト */
.contactBlock .contactBox .inBox::before {
    content: "";
    position: absolute;
    width: 291px;
    height: 188px;
    background: url(../../img/bg_contact_top.png) no-repeat center / cover;
    top: -165px;
    left: -400px;
}
.contactBlock .contactBox .inBox::after {
    content: "";
    position: absolute;
    width: 227px;
    height: 190px;
    background: url(../../img/bg_contact_bottom.png) no-repeat center / cover;
    right: -265px;
    bottom: -180px;
}
@media print, screen and (min-width: 768px) {
    .contactBlock .contactBox .inBox {
        display: flex;
        justify-content: space-between;
        width: 860px;
        margin: 0 auto;
    }
    /* 電話番号 */
    .contactBlock .contactBox .inBox .tel {
        padding-top: 70px;
    }
}
/* ------------------------------
 お問合せ（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .contactBlock .contactBox {
        padding: 60px 0 50px;
    }
    .contactBlock .contactBox .inBox {
        padding: 0 5%;
    }
    .contactBlock .contactBox .inBox::before {
        width: 125px;
        height: 80px;
        top: -60px;
        left: auto;
        right: 5%;
    }
    .contactBlock .contactBox .inBox > p {
        font-size: 2.0rem;
        padding-top: 50px;
        margin-bottom: 25px;
        z-index: 1;
    }
    .contactBlock .contactBox .inBox > p span {
        min-width: 110px;
        font-size: 1.3rem;
    }
    .contactBlock .contactBox .inBox .tel a {
        font-size: 3.9rem;
        margin-bottom: 5px;
    }
    .contactBlock .contactBox .inBox::after {
        width: 104px;
        height: 87px;
        right: 5%;
        bottom: -65px;
    }
    /* 背景色付き部分 */
    .contactBlock .contactBox::before {
        clip-path: polygon(0 5%, 22% 0, 67% 10%, 100% 1%, 100% 100%, 0 100%);
    }
}