@charset "utf-8";

/* 電話発信の無効 */
@media(min-width: 768px){
	a[href^="tel:"]{
		pointer-events: none;
	}
}

/* =================================================================== 
=================================================================== */
@media screen and (max-width: 1280px) {

.inner {
	width: 92%;
}

.f_inner {
	width: 94%;
}

.f_info {
	margin-right: 3%;
}

.naka_inner {
    max-width: 95%;
}

.f_menu_list li.login img{
    width: clamp(150px, 15vw, 197px);
}

.office_information ul li {
    text-indent: -1em;
    padding-left: 1em;
}

}

/* =================================================================== 
=================================================================== */
@media screen and (max-width: 1180px) {

.gnav_list > li:last-of-type .gnav_list_sub_wrap{
    left: auto;
    right: 0;
}

}

/* =================================================================== 
=================================================================== */
@media screen and (max-width: 1080px) {

/* ▼▼▼ ハンバーガーボタン ▼▼▼ */
#toggle_btn {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    z-index: 100000;
    background-color: #40ACC8;
    border-radius: 0 0 0 10px;
}

#toggle_line {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 26px;
	height: 2px;
	background-color: #fff;
	transition: .3s;
}

#toggle_line:before,
#toggle_line:after{
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
	transition: .3s;
}

#toggle_line:before {
	margin-top: -9px;
}

#toggle_line:after {
	margin-top: 7px;
}

#toggle_btn.is-active{
	background-color: #ffffff;
}

#toggle_btn.is-active #toggle_line{
	background: transparent;
}

#toggle_btn.is-active #toggle_line:before,
#toggle_btn.is-active #toggle_line:after{
	margin-top: 0;
    background-color: #40ACC8;
}

#toggle_btn.is-active #toggle_line:before{
	transform: rotate(-45deg);
}

#toggle_btn.is-active #toggle_line:after{
	transform: rotate(-135deg);
}
/* ▲▲▲ ハンバーガーボタン ▲▲▲ */

/* ▼▼▼ スマホメニュー ▼▼▼ */
.gnav {
	position: fixed;
	top: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	overflow-y: scroll;
	background-color: #40ACC8;
	z-index: 10000;
	transition: 0.5s;
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
	opacity: 0;
	visibility: hidden;
	transform: translateX(100%);
	padding: 4.5em 0;
    margin: 0;
}

.is-open .gnav {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.gnav_inner{
    width: 75vw;
    max-width: 500px;
    margin: 0 auto;
}

.gnav_list {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    opacity: 0;
}

.gnav_list > li {
    width: 100%;
    font-size: 1.9rem;
    padding-right: 0;
    line-height: 1.2;
    border-bottom: 1px dashed #fff;
}

.gnav_list > li:first-of-type {
    border-top: 1px dashed #fff;
}

.gnav_list > li > a {
    display: block;
    height: auto;
    border-radius: 0;
    text-align: left;
    padding: 12px 10px;
    position: relative;
}

.gnav_list li a:hover {
    opacity: 1;
    background: none;
    box-shadow: none;
    transform: translateY(0);
}

.gnav_list li span.en {
    display: inline-block;
    padding-left: 2px;
}

.gnav_list li.inquiry_access {
    letter-spacing: .05em;
    line-height: 1.2;
}

.gnav_list li.inquiry_access .br_pc{
    display: none;
}

.gnav_list li.inquiry_access .dot{
    display: inline;
}

.parent-trigger{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 75%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    border-left: 1px dashed #ffffff;
    border-right: 1px dashed #ffffff;
}

.child-trigger{
    position: relative;
    display: block;
    width: 13px;
    height: 13px;
}

.child-trigger:after,
.child-trigger:before {
	content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background-color: #ffffff;
}

.child-trigger:before {
	width: 100%;
    height: 2px;
}

.child-trigger:after{
	width: 2px;
    height: 100%;
}

.parent-trigger.is-open .child-trigger:after{
    height: 0;
}

.gnav_list_sub_wrap {
    display: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    position: static;
    padding-top: 0;
    width: 100%;
}

.gnav_list_sub_outer {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

.gnav_list_sub {
    padding: 0 0 0 20px;
}

.gnav_list_sub_list {
    padding: 0 0 0 20px;
}

.gnav_list_sub_list > li {
    margin-bottom: 10px;
}

.gnav_list_sub--info {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 10px !important;
}

.gnav_list_sub--info li:last-of-type a {
    border-bottom: none;
}

.gnav_sp{
    display: block;
}

.gnav_list2{
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px;
    opacity: 0;
}

.gnav_list2 li{
    width: 100%;
    margin-top: 20px;
}

.gnav_list2 li a{
    font-size: 1.7rem;
    color: #ffffff;
    padding: 0 0 0 12px;
    line-height: 1;
    position: relative;
}

.gnav_list2 li a::after{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: rotate(45deg) translateX(-50%);
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.gnav_contact_box{
    background-color: #ffffff;
    max-width: 100%;
    height: 120px;
    /*height: 175px;*/
    padding: 0 16px 17px 0;
    border-radius: 16px 0;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.gnav_title {
    display: flex;
    align-items: center;
    margin: 0 0 5px 0;
}

.gnav_title_logo {
    margin-right: 9px;
    padding-top: 14px;
}

.gnav_title_logo img{
    width: 49px;
}

.gnav_title_text{
    font-size: 2.2rem;
    font-weight: normal;
    font-family: "jun 201";
}

.gnav_title_text span{
    font-size: 68%;
    letter-spacing: -0.02em;
}

.gnav_contact {
    padding: 0 0 0 58px;
}

.gnav_contact .address{
    margin-bottom: 4px;
}

.gnav_contact .tel{
    font-size: 2.5rem;
    line-height: 1;
}

.gnav_contact .tel img{
    padding-right: 7px;
}

.slidein.is-animated {
    animation: slideIn 0.5s ease forwards;
    animation-delay: .5s;
}

.gnav_list.slidein.is-animated {
    animation-delay: .5s;
}

.gnav_list2.slidein.is-animated {
    animation-delay: .6s;
}

.gnav_contact_box.slidein.is-animated{
    animation-delay: .7s;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

#mask {
	display: none;
	transition: .5s;
}

.is-open #mask {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:rgba(51,3,0,0.8);
	opacity: .8;
	z-index: 1000;
}
/* ▲▲▲ スマホメニュー ▲▲▲ */

.header {
    padding: 0 0 10px 0;
}

.h_contact {
    display: none;
}

.call {
    top: 85px;
}

.call a {
    font-size: 2rem;
    letter-spacing: 0.05em;
    width: 60px;
    height: 230px;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    color: #fff;
    background-color: #40ACC8;
    padding: 15px 0 0 0;
    border-radius: 10px 0 0 10px;
    background-image: url(../img/call.png);
    background-repeat: no-repeat;
    background-position: center bottom 7px;
    font-family: "jun 201";
    transition: 0.3s;
    opacity: 0.9;
}

.content_left {
    width: 28%;
}

.content_right{
    width: 70%;
    margin-left: 2%;
}

.facebook-wrapper {
    max-width: 500px; /* Facebook Page Plugin の最大幅 */
    margin: 0 auto;
}
.facebook-wrapper > .fb-page {
    width: 100%;
}
.facebook-wrapper > .fb-page > span,
.facebook-wrapper iframe {
    width: 100% !important;
}

.f_menu_list {
    margin: 0 0 3rem;
}

.f_menu_list li {
    padding: 0 3%;
}

.f_row {
    padding: 0 10px;
    display: flex;
    align-items: flex-end;
}

.f_info {
    margin: 0 0 10px 0;
    padding-right: 2%;
}

.f_menu_list2 {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 6px;
    width: 66%;
    margin: 0 auto;
}

.f_menu_list2 li {
    width: calc(100% / 2);
    margin-top: 20px;
}

.kohoshi figcaption {
    font-size: 2rem;
}

.plan_list {
    gap: 40px;
}

.naka_text {
    line-height: 1.5;
}

.nursing_care_content {
    width: 96%;
    margin: 0 auto;
}

}

/* =================================================================== 
=================================================================== */
@media screen and (max-width: 834px) {

.f_gnav_list {
    gap: 15px;
}

.content_left {
    width: 100%;
    margin-bottom: 34px;
}

.content_right {
    width: 100%;
    margin-left: 0%;
}

.news_row {
    flex-wrap: wrap;
}

.news_list dt {
    width: 100%;
    margin-bottom: 15px;
}

.news_list dd {
    width: 100%;
    font-size: 1.6rem;
}

.f_menu_list {
    flex-wrap: wrap;
    margin: 0 0 2rem;
}

.f_menu_list li{
    flex-basis: 33%;
    flex-basis: calc(100% / 3);
    text-align: center;
    padding: 0 1.5%;
    margin-bottom: 20px;
}

.f_menu_list li:nth-of-type(3n):after {
    content: none;
}

.f_row {
    flex-wrap: wrap;
    justify-content: center;
}

.f_info {
    margin: 0 0 10px 0;
}

.f_menu_list2 {
    width: 90%;
    margin: 0 auto;
}

.office_information ul li {
    font-size: 1.7rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.setumei {
    font-size: 1.7rem;
    line-height: 1.5;
}

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

.kohoshi {
    max-width: 100%;
    width: 46%;
    margin: 20px 2% 0;
}

.bn_list li {
    width: calc(100% / 2);
}

.grid_container {
    grid-template-columns: 1fr 1fr;
}

.grid_item--map {
    grid-row: auto !important;
    grid-column: 1 / 3 !important;;
}

.plan_list {
    grid-template-columns: repeat(2, 1fr);
}

.support-menu_row p {
    width: 75%;
}

.support-menu_row img {
    width: 25%;
}

.nursing_care_list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px 20px;
}

.manual_btn {
    margin: 40px auto 0 auto;
}

}

/* =================================================================== 
=================================================================== */
@media screen and (max-width: 640px) {

html {
    font-size: 58%;
    -webkit-text-size-adjust: 100%;
}

.gnav_inner{
    width: 90vw;
}

#toggle_btn {
    width: 50px;
    height: 50px;
}

.h_inner {
    text-align: left;
    padding: 0 5px;
}

.h_title_logo {
    padding-top: 10px;
    margin-right: 4px;
}

.h_title_logo img{
    width: 40px;
}

.h_title_text {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.call {
    top: 130px;
}

.call a {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    width: 40px;
    height: 195px;
    background-size: 80%;
    opacity: 0.8;
}

.inner {
    width: 90%;
}

.f_gnav_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 10px 10px;
}

.news_heading {
    width: calc(100% - 140px);
}

.news_heading::after {
    left: 100px;
}

.news_list {
    overflow-y: scroll;
    height: 400px;
}

.news_list dt .label {
    font-size: 1.4rem;
    height: 25px;
}

.bnr_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.f_inner {
    width: 90%;
}

.f_menu_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    flex-direction: column;
    align-items: center;
}

.f_menu_list li {
    border-right: none;
    margin-bottom: 25px;
}

.f_menu_list li::after {
    content: none;
}

.f_menu_list2 li {
    width: 100%;
    margin-top: 20px;
}

#page-top a {
    width: 60px;
    height: 60px;
}

#page-top a:before {
    top: 18px;
}

.naka_title {
    font-size: 4rem;
    padding-bottom: 0.15em;
    border-bottom: 7px solid #40ACC8;
}

.naka_content .midasi {
    font-size: 2.7rem;
}

.naka_heading {
    font-size: 2.6rem;
}

.kohoshi_row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.kohoshi {
    max-width: 85%;
    width: 100%;
    margin: 20px 0 0;
}

.bn_list li {
    width: calc(100% / 1);
}

.grid_container {
    grid-template-columns: 1fr;
}

.grid_container--typeD .grid_item--gaikan2{
    grid-row: auto;
}

.grid_item--map {
    grid-row: auto !important;
    grid-column: auto !important;
}

.plan_list {
    grid-template-columns: 1fr;
}

.mimamori_row {
    flex-wrap: wrap;
    justify-content: center;
}

.mimamori_cover {
    margin-bottom: 15px;
}

.mimamori_list{
    padding-left: 15px;
}

.what_list {
    grid-template-columns: 1fr;
}

.disclosures_list span {
    display: inline-block;
    width: auto;
    padding-right: 5px;
}

.complaint_status span {
    width: auto;
    padding-right: 5px;
}

.support-menu_row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-menu_row p {
    width: 100%;
}

.support-menu_row img {
    width: 160px;
    margin-top: 8px;
}

.yorozu_contact {
    font-size: 1.75rem;
}

.yorozu_contact_name span {
    display: block;
}

.nursing_care_list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.nursing_care_slide {
    padding: 0;
}

.nursing_care_slide li {
    margin: 0 6px;
}

}

/* =================================================================== 
=================================================================== */
@media screen and (max-width: 440px) {

.bnr_list {
    grid-template-columns: 1fr;
    gap: 15px 0;
}

.contact-info {
    font-size: 1.8rem;
}

}

/* =================================================================== 
=================================================================== */
@media screen and (max-width: 320px) {

.mainvisual h2 {
    font-size: 19px;
}

}