@charset "utf-8";

/*HOME
-----------------------------------------------------------------------------------------*/
.about-border-box {
    border: 2px solid rgb(182, 233, 251);
    position: relative;
    padding: 5% 15%;
    border-radius: 30px;
}

.yellow-brush {
    font-size: 680%;
    position: absolute;
    top: -20%;
}

.yellow-brush.left {
    left: -5%;
    transform: rotate(-8deg);
}

.about-title {
    font-size: 300%;
    margin-bottom: 30px;
}

#news {
    border-radius: 3vw;
}

.category-title {
    font-size: 600%;
    margin-bottom: 5%;
}

.news-border {
    border: 1px solid rgb(255, 244, 157);
    padding: 4% 10%;
    border-radius: 30px;
}

.newss {
    border-bottom: 1px solid rgb(179, 179, 179);
    padding: 40px 0;
    word-break: break-all;
}

.newss div {
    margin-bottom: 5px;
    padding: 5px 0;
}

.news-date span {
    padding: 10px;
}

.news-summary:last-child .newss {
    border-bottom: none;
}

.news-posttitle {
    font-size: 200%;
}

.link-btn {
    border: 1px solid rgb(50, 98, 134);
    border-radius: 30px;
    padding: 20px 30px;
}

.link-btn:hover {
    background-color: rgb(50, 98, 134);
    color: rgb(255, 255, 255);
}

.btn-wrapper {
    margin: 10px auto 30px;
}

#contents {
    overflow: hidden;
}

.contents-title {
    font-size: 200%;
    padding: 30px 0;
    border-radius: 25px;
}

.contents-inner {
    width: 60%;
    padding: 4% 6% 1%;
}

.left .contents-inner {
    margin: 0 auto 0 0;
}

.right .contents-inner {
    margin: 0 0 0 auto;
}

.contents-text-box {
    padding: 30px 0;
}

.contents-text-box li {
    padding: 15px;
    line-height: 1.8;
}

.fukushi-img-box img {
    width: 28%;
}

.contents-box {
    min-height: 90vh;
    width: 80%;
    position: relative;
}

.contents-box.left {
    margin: 50px auto 100px 0;
    border-radius: 0 22vw 0 0;
}

.contents-box.right {
    margin: 50px 0 100px auto;
    border-radius: 22vw 0 0 0;
}

.contents-box.left:last-child {
    margin-bottom: 0;
}

.contents-text-box .font-bold {
    font-size: 120%;
}

.contents_img_box {
    position: absolute;
    display: inline-block;
}

.fukushi .contents_img_box {
    right: 4%;
    bottom: 1%;
    width: 30%;
}

.kaigo_shien .contents_img_box {
    left: 4%;
    bottom: 1%;
    width: 30%;
}

.kaigoshien_img_wrapper img {
    width: 70%;
}

.kaigoshien_img_wrapper.top {
    text-align: right;
}

.kaigoshien_img_wrapper.bottom {
    text-align: left;
}

.shukatsu .contents_img_box {
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    width: 40%;
}

.kaigo_shien .contents-title {
    color: rgb(65, 59, 17);
}

.shukatsu .contents-title {
    color: rgb(85, 27, 27);
}

#company.site-container {
    padding-top: 30px;
}

#company .about {
    padding: 50px 0;
    border-radius: 30px;
}

.about ul {
    width: 80%;
    margin: 0 auto;
    border-bottom: 1px solid rgb(182, 233, 251);
    padding: 30px 0;
}

.about ul:last-child {
    border-bottom: none;
}

.company_contents_title {
    border-left: 8px solid rgb(50, 98, 134);
    padding-left: 8px;
    font-size: 120%;
    margin-bottom: 10px;
}

.border_bottom_double {
    margin-bottom: 60px;
}

.border_bottom_double span {
    border-bottom: 6px double rgb(255, 225, 0);
    padding-bottom: 10px;
    font-size: 250%;
}

.history {
    padding-top: 120px;
    position: relative;
}

.history ul {
    border-radius: 30px;
    margin: 10px 0;
    padding: 0 10%;
}

.history ul .font-bold {
    font-size: 120%;
    border-bottom: 1px solid rgb(182, 233, 251);
}

.history ul li {
    padding: 20px 0;
}

.yellow-brush_right {
    position: absolute;
    right: 0;
    font-size: 680%;
    transform: rotate(9deg);
}

.history .yellow-brush_right {
    top: 10%;
}

.massege {
    padding-top: 120px;
    position: relative;
}

.massege .yellow-brush_right {
    top: 16%;
}

.massage_text_box {
    width: 80%;
    margin: 0 auto;
    font-size: 120%;
    letter-spacing: 0.05rem;
}

.massage_text_box p {
    padding: 10px 0;
}

.message-sign {
    margin-top: 10px;
}

.message-sign span {
    font-size: 200%;
}

#company iframe {
    margin-top: 80px;
}

.category-title .mini {
    font-size: 50%;
}

#q_a .category-title {
    line-height: 1;
}

.q_a_simbol {
    font-size: 300%;
    padding: 3%;
}

.q_contents {
    border-bottom: 1px dotted rgb(179, 179, 179);
}

.q_a_content .flex {
    display: flex;
    align-items: center;
}

.q_a_list {
    border-radius: 10px;
}

.q_a_text {
    padding: 3% 3% 3% 0;
}

.faq__question {
    cursor: pointer;
    position: relative;
}

.faq__question::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1%;
    width: 20px;
    height: 3px;
    background-color: rgb(255, 225, 0);
    color: rgb(255, 225, 0);
}

.faq__question::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 1%;
    width: 20px;
    height: 3px;
    background-color: rgb(255, 225, 0);
    color: rgb(255, 225, 0);
    transform: rotate(-90deg);
}

.faq__question.is-open::after {
    display: none;
}

.faq__answer {
    display: none;
}

.q_a_content {
    margin: 20px 0;
}

.about_text p{
    margin: 20px 0;
    font-size: 120%;
}

/*contact
-----------------------------------------------------------------------------------------*/
.table-contact {
    width: 80%;
    margin: 0 auto 10px;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid rgb(50, 98, 134);
}

.table-contact td {
    padding: 20px 30px;
    box-sizing: border-box;
}

.contact-item1 {
    width: 30%;
    background-color: rgb(50, 98, 134);
    text-align: right;
    font-weight: 600;
    vertical-align: center;
    color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
}

.contact-item1.last {
    border-bottom: 1px solid rgb(50, 98, 134);
}

.contact-item2 {
    width: 70%;
    background-color: rgb(255, 255, 255);
    text-align: left;
    border-bottom: 1px solid rgb(50, 98, 134);
}

.contact-item {
    display: inline-block;
    padding: 3px 5px;
    background-color: rgb(255, 255, 255);
    font-size: 90%;
    box-sizing: border-box;
    text-shadow: none;
}

.contact-item.required {
    border: 1px solid rgb(255, 215, 0);
    color: rgb(255, 215, 0);
    margin-left: 10px;
}

.contact-item.any {
    border: 1px solid rgb(70, 130, 180);
    color: rgb(70, 130, 180);
    margin-left: 10px;
}

select.wpcf7-form-control.wpcf7-select {
    font-size: 110%;
}

input.text-common {
    width: 100%;
    height: 90%;
    font-size: 110%;
    box-sizing: border-box;
}

textarea.text-common {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 110%;
    box-sizing: border-box;
}

input.button-submit {
    display: inline-block;
    width: 300px;
    margin: 50px auto;
    font-size: 120%;
}

input.button-submit:hover {
    cursor: pointer;
}

.screen-reader-response {
    color: red;
}

.wpcf7-response-output {
    width: 80%;
    margin: 10px auto !important;
    padding: 10px 0;
}

input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
    background-color: rgba(215, 65, 128, 0.7);
}


/*index
-----------------------------------------------------------------------------------------*/
.pagenavi-wrapper {
    margin-top: 60px;
}


@media screen and (max-width:1023px) {

    /*HOME
-----------------------------------------------------------------------------------------*/
    .about-border-box {
        padding: 8%;
    }

    .yellow-brush {
        font-size: 450%;
        position: absolute;
        top: -10%;
    }

    .about-title {
        font-size: 200%;
        margin-bottom: 30px;
    }

    #news {
        border-radius: 10vw;
    }

    .category-title {
        font-size: 310%;
        margin-bottom: 10%;
    }

    .news-border {
        padding: 4% 8%;
    }

    .news-posttitle {
        font-size: 180%;
    }

    .contents-title {
        font-size: 150%;
        padding: 15px 30px;
        border-radius: 15px;
        display: inline-block;
    }

    .contents-inner {
        width: 95%;
        padding: 10% 2%;
    }

    .contents-text-box {
        z-index: 3;
        position: relative;
        padding: 20px 0;
    }

    .contents-text-box li {
        padding: 7.5px;
    }

    .contents-box {
        width: 90%;
    }

    .fukushi-img-box {
        z-index: 3;
        position: relative;
    }

    .fukushi .contents_img_box {
        right: -2%;
        bottom: 0;
        width: 55%;
        z-index: 1;
    }

    .kaigo_shien .contents_img_box {
        position: static;
        left: unset;
        bottom: unset;
        width: auto;
    }

    .kaigoshien_img_wrapper {
        position: absolute;
    }

    .kaigoshien_img_wrapper.top {
        left: 0;
        bottom: 0;
        text-align: unset;
        width: 40%;
    }

    .kaigoshien_img_wrapper.bottom {
        right: -10%;
        bottom: 0;
        text-align: unset;
        width: 70%;
    }

    .shukatsu .contents_img_box {
        width: 90%;
    }

    #company .about {
        padding: 30px 0;
        border-radius: 15px;
    }

    .about ul {
        width: 85%;
    }

    .company_contents_title {
        margin-bottom: 15px;
    }

    .border_bottom_double {
        margin-bottom: 40px;
    }

    .border_bottom_double span {
        border-bottom: 8px double rgb(255, 225, 0);
        font-size: 230%;
    }

    .history {
        padding-top: 100px;
    }

    .history ul {
        border-radius: 15px;
    }

    .history ul li {
        text-align: left;
    }

    .history ul li:first-child {
        text-align: center;
    }

    .yellow-brush_right {
        font-size: 450%;
    }

    .history .yellow-brush_right {
        top: 8%;
    }

    .massege {
        padding-top: 100px;
    }

    .massege .yellow-brush_right {
        top: 13%;
    }

    .massage_text_box {
        width: 95%;
        font-size: 100%;
        letter-spacing: normal;
    }

    .q_a_simbol {
        font-size: 300%;
        padding: 6% 2% 2% 2%;
        border-bottom: dashed 2px rgb(50, 98, 134);
        display: inline-block;
    }

    .q_a_content .flex {
        display: block;
    }

    .q_a_text {
        padding: 5%;
    }

    .table-contact {
        width: 95%;
    }

    .table-contact td {
        padding: 15px;
    }

    .contact-item1 {
        width: 100%;
        display: block;
        text-align: left;
    }

    .contact-item2 {
        width: 100%;
        display: block;
    }

    .contact-item.required {
        margin-left: 5px;
    }

    .contact-item.any {
        margin-left: 5px;
    }

    input.text-common {
        font-size: 100%;
    }

    textarea.text-common {
        font-size: 100%;
    }

    input.button-submit {
        width: 100%;
        margin: 50px auto;
        font-size: 110%;
    }

    .wpcf7-response-output {
        width: 100%;
        box-sizing: border-box;
    }

}