/* Theme Name: 社会福祉法人みたか福祉会
Theme URI: https://www.mitaka-fukushikai.jp/
Description: 三鷹市の社会福祉法人・多世代コミュニティーホーム
Version: 1.0
Author: Shu Hamaji
*/

@charset "utf-8";

/* MAIN VISUAL */

.main_visual {
    background-image: url(img/img_familia_main.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin-bottom: 6.25rem;
    overflow: hidden;
    min-height: 100vh;
    height: auto;
    top: 0;
}

@media screen and (max-width: 800px) {
    .main_visual {
        margin-bottom: 5rem;
    }
}

@media screen and (max-width: 412px) {
    .main_visual {
        margin-bottom: 3.13rem;
        background-attachment: scroll;
    }
}

.main_visual::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    position: absolute;
}

.main_visual_message-box {
    position: absolute;
    writing-mode: vertical-rl;
    right: 50%;
    top: 20%;
    transform: translate(50%, 0);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    z-index: 10;
    letter-spacing: 0.2em;
    font-weight: normal;
    font-family: 'Noto Serif jp', 'Noto Sans JP', sans-serif;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.22);
}

.main_visual_message:first-of-type {
    margin-left: 2rem;
}

.main_visual_message:nth-of-type(2) {
    margin-left: 2rem;
    margin-top: 13rem;
}

.main_visual_message:last-of-type {
    margin-top: 4rem;
}

/* SECTION MESSAGE */

#message .text-area {
    margin-bottom: 1.25rem;
}

#message .text-box {
    width: 54.84%;
}

#message .img-box {
    width: 40.32%;
}

@media screen and (max-width: 800px) {
    #message .text-box {
        width: 100%;
    }

    #message .img-box {
        width: 100%;
        margin-bottom: 1.88rem;
    }
}

#message .text-area:last-of-type {
    margin-bottom: 0;
}

.message_content {
    margin-bottom: 3.13rem;
}

@media screen and (max-width: 412px) {
    .message_content {
        margin-bottom: 1.88rem;
    }
}

/* SECTION SERVICE */

@media screen and (max-width: 412px) {
    #service .h2-sub::after {
        margin-left: 4.5rem;
    }
}

#service .img-box_service-main {
    width: 80.65%;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 3 / 2.2;
    margin-bottom: 6.25rem;
    position: relative;
}

@media screen and (max-width: 800px) {
    #service .img-box_service-main {
        width: 100%;
        margin-bottom: 5rem;
    }
}

@media screen and (max-width: 412px) {
    #service .img-box_service-main {
        margin-bottom: 3.13rem;
    }
}

#service .img-box_service-main .img-box_service-main_title {
    position: absolute;
    top: 3.9rem;
    color: #527553;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 0 0 #FFF,
        -2px 0 0 #FFF,
        0 2px 0 #FFF,
        0 -2px 0 #FFF,
        2px 2px 0 #FFF,
        -2px -2px 0 #FFF,
        -2px 2px 0 #FFF,
        2px -2px 0 #FFF;
}

@media screen and (max-width: 1300px) {
    #service .img-box_service-main .img-box_service-main_title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 1000px) {
    #service .img-box_service-main .img-box_service-main_title {
        font-size: 1.88rem;
        top: 2.2rem;
    }
}

@media screen and (max-width: 800px) {
    #service .img-box_service-main .img-box_service-main_title {
        text-align: center;
        top: 1rem;
        line-height: 1.5em;
    }
}

@media screen and (max-width: 412px) {
    #service .img-box_service-main .img-box_service-main_title {
        font-size: 1.25rem;
    }
}

#service article .img-box {
    width: 40.32%;
}

#service figcaption {
    width: 54.84%;
}

@media screen and (max-width: 800px) {
    #service article .img-box {
        width: 100%;
        margin-bottom: 1.88rem;
    }

    #service figcaption {
        width: 100%;
    }
}

#service .text-area {
    margin-bottom: 1.88rem;
}

#service .btn-box a {
    margin-left: 0;
}

@media screen and (max-width: 800px) {
    #service .text-area:last-of-type {
        margin-bottom: 1.88rem;
    }
    #service .btn-box a {
        margin-left: auto;
    }
}

#service article {
    margin-bottom: 6.25rem;
}

@media screen and (max-width: 800px) {
    #service article {
        margin-bottom: 5rem;
    }
}

@media screen and (max-width: 412px) {
    #service article {
        margin-bottom: 3.13rem;
    }
}

/* SECTION INTERVIEW */

#interview {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    margin-bottom: 0;
}

#interview .h2-sub::before {
    width: 1.8rem;
    margin-right: 8.5rem;
}

#interview .h2-sub::after {
    width: 1.8rem;
    margin-left: 8.5rem;
}

@media screen and (max-width: 412px) {
    #interview .h2-sub::after {
        margin-left: 6.5rem;
    }
}

.interview-h2_add {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0.88rem;
}

@media screen and (max-width: 412px) {
    .interview-h2_add {
        text-align: left;

    }
}

#interview article {
    background-color: #fff;
    border-radius: 1.25rem;
    padding: 3.13rem;
    box-sizing: border-box;
}

@media screen and (max-width: 412px) {
    #interview article {
        padding: 1.25rem;
    }
}

#interview article:first-of-type {
    margin-bottom: 5rem;
}

#interview h3 {
    padding-left: 0;
}

@media screen and (max-width: 412px) {
    #interview h3 {
        margin-bottom: 0.62rem;
    }
}

#interview h3::before {
    display: none;
}

.interview_left {
    width: 40.32%;
}

#interview figcaption {
    width: 54.84%;;
}

@media screen and (max-width: 800px) {
    .interview_left {
        width: 100%;
        margin-bottom: 1.88rem;
    }

    #interview figcaption {
        width: 100%;
    }
}

#interview .text-area {
    margin-bottom: 1.88rem;
}

#interview .text-area:last-of-type {
    margin-bottom: 0;
}

/* SECTION RECRUIT */

#recruit {
    margin-left: 0;
    margin-right: 0;
    background-color: #F6F6F6;
    width: 100%;
}

#recruit .wrapper_03::before {
    content: "";
    position: absolute;
    top: 14%;
    right: 18%;
    width: 50%;
    height: 100%;
    background: url(img/logo_familia_recruit.png) no-repeat center right;
    background-size: 48%;
    background-attachment: fixed;
    opacity: 0.2;
    transform: rotate(15deg);
    transform-origin: center right;
    pointer-events: none;
    z-index: 0;
}

@media screen and (max-width: 800px) {
    #recruit .wrapper_03::before {
        right: 10%;
    }
}

@media screen and (max-width: 412px) {
    #recruit .wrapper_03::before {
        right: -10%;
        top: 5%;
        background-size: 96%;
    }
}

#recruit .h2-box {
    width: auto;
    margin-bottom: 1.88rem;
}

#recruit .h2-sub {
    justify-content: left;
}

#recruit .h2-sub::before {
    display: none;
}

#recruit .h2-sub::after {
    margin-left: 5rem;
}

#recruit .text-area {
    margin-bottom: 1.88rem;
}

#recruit .btn-box a {
    margin-left: 0;
    background-color: rgba(255, 255, 255, 1);
}

#recruit .btn-box a:hover {
    background-color: #D2E9D2;
    transition: .5s;
}

#recruit img {
    width: 9.375rem;
}

/* SECTION PHILOSOPHY */

#philosophy {
    margin-bottom: 7.5rem;
}

@media screen and (max-width: 800px) {
    #philosophy {
        margin-bottom: 4.37rem;
    }
}

#philosophy .h2-sub::before {
    width: 1.8rem;
    margin-right: 9.5rem;
}

#philosophy .h2-sub::after {
    width: 1.8rem;
    margin-left: 9.5rem;
}

@media screen and (max-width: 412px) {
    #philosophy .h2-sub::after {
        margin-left: 7rem;
    }
}

#philosophy .flex_pc {
    margin-bottom: 6.25rem;
}

@media screen and (max-width: 800px) {
    #philosophy .flex_pc {
        margin-bottom: 5rem;
    }
}

#philosophy .img-box {
    width: 40.32%;
}

#philosophy figcaption {
    width: 54.84%;
}

@media screen and (max-width: 800px) {
    #philosophy .img-box {
        width: 100%;
        margin-bottom: 1.88rem;
    }

    #philosophy figcaption {
        width: 100%;
    }
}

#philosophy h3 {
    padding-left: 0;
}

@media screen and (max-width: 412px) {
   #philosophy h3 {
        margin-bottom: 0.62rem;
    }
}

#philosophy h3::before {
    display: none;
}

#philosophy li:first-of-type {
    margin-bottom: 3.13rem;
}

#philosophy .gallery {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#philosophy .gallery li {
    width: 30%;
    margin-bottom: 3.13rem;
}

@media screen and (max-width: 800px) {
    #philosophy .gallery li {
        width: 45%;
        margin-bottom: 1.88rem;
    }
}

@media screen and (max-width: 412px) {
    #philosophy .gallery li {
        width: 100%;
    }
}

/* SECTION COMPANY */

#company {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    margin-bottom: 0;
}

#company .wrapper_02 {
    padding-bottom: 9.375rem;
}

@media screen and (max-width: 800px) {
    #company .wrapper_02 {
        padding-bottom: 6.25rem;
    }
}

@media screen and (max-width: 412px) {
    #company .wrapper_02 {
        padding-bottom: 5rem;
    }
}

.flooor-map_box {
    width: 100%;
    box-sizing: border-box;
}

.flooor-map_box .floor-map_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.flooor-map_box .img-box_floor-map {
    width: 48%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.88rem;
    box-sizing: border-box;
    padding: 1.88rem;
    border: 3px solid #527553;
    position: relative;
    margin-bottom: 3.13rem;
    background-color: #FFF;
}

@media screen and (max-width: 800px) {
    .flooor-map_box .floor-map_wrapper {
        display: block;
    }

    .flooor-map_box .img-box_floor-map {
        width: 100%;
    }
}

.flooor-map_box .img-box_floor-map .floor-num {
    position: absolute;
    display: block;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background-color: #527553;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -1rem;
    left: -1rem;
    border: 3px solid #fff;
}

.flooor-map_box .img-box_floor-map img {
    width: 100%;
}

#company h3 {
    padding-left: 0;
}

#company h3::before {
    display: none;
}

.pdf_flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (max-width: 800px) {
    .pdf_flex {
        display: block;
    }

    .pdf_flex .btn-box a {
        width: 100%;
    }
}

.pdf_flex::before{
  content:"";
  display: block;
  width: 15rem;
  order:1;
}
.pdf_flex::after{
  content:"";
  display: block;
  width: 15rem;
}

.pdf-box .btn-box {
    margin-bottom: 1.88rem;
}

.pdf-box:last-of-type {
    margin-top: 3.13rem;
}

.houmonnkanngo a,
.pdf_shogu a {
    letter-spacing: 0em;
}

.pdf_shogu a {
    font-size: 0.84;
}

/* SECTION ACCESS */

#access {
    margin: 0;
}

#access .wrapper_01 {
    margin-bottom: 3.13rem;
}

#access .h2-box {
    width: auto;
    margin-bottom: 3.13rem;
}

#access .h2-sub {
    justify-content: flex-start;
}

#access .h2-sub::before {
    display: none;
}

#access .h2-sub::after {
    margin-left: 4.5rem;
}

#access h4 {
    padding-left: 0;
    margin-bottom: 1.25rem;
}

#access h4::before {
    display: none;
}

#access .text-box {
    margin-bottom: 3.13rem;
}

#access .text-box p:first-of-type {
    margin-bottom: 1.25rem;
}

#access .img-box_map {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.88rem;
    box-sizing: border-box;
}

@media screen and (max-width: 800px) {
    #access .img-box_map {
        aspect-ratio: 1 / 1;
    }
}

@media screen and (max-width: 412px) {
    #access .img-box_map {
        aspect-ratio: 2 / 3;
    }
}

#access .img-box_map iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}