html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

html:has(.children_area:hover),
html:has(#global-menu.is-active) {
  overflow: hidden;
}

body{
  color: #231815;
  font-size: 16px;
  line-height:1;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  width:100%;
  letter-spacing: 0.05em;
}

a {
  color: #231815;
  outline: none;
  text-decoration: none;
  -webkit-transition: 0.15s ease-out;
  -moz-transition: 0.15s ease-out;
  -ms-transition: 0.15s ease-out;
  -o-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
}


a:hover {
  opacity: 0.6;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
}

a img {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -ms-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

a:hover img {
  opacity: .8;
  filter: alpha(opacity=80);
}

.noto-sans-jp-notosansjp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* 下から上にフェードイン */
.fadeInUp.visible {
  animation: fadeInBottom 1s ease 0s 1 normal;
}
@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
  }
}

/* Hides from IE-mac */
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */

.pc{display: block;}
.sp{display: none;}

.br-pc { display:block; }
.br-tablet { display:none; }
.br-sp { display:none; }

img {
  max-width: 100%;
  height: auto;
}


.clear{ clear: both; line-height: 0}
/*----- Clearfix -----*/
.clearfix:after{
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix{
  display:inline-block;
  min-height:1%;  /* for IE 7*/
}
/* Hides from IE-mac */
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */

.pc{display: block;}
.sp{display: none;}

.br-pc { display:block; }
.br-tablet { display:none; }
.br-sp { display:none; }

img {
  max-width: 100%;
  height: auto;
}

.mgt-1em { margin-top:1em; }
.mgt-2em { margin-top:2em; }

.btn {
  display:block;
  max-width: 22.2rem;
  width: 60%;
  margin: 0 auto;
  padding:1em 1em;
  position: relative;
  line-height:1;
  color:#000;
  border: solid 1px #e94d48;
  background-color:#FFF;
  border-radius: 3rem;
  font-size: 1.6rem;
  text-align: left;
  position: relative;
  -webkit-transition:all 0.2s ease;
  -moz-transition:all 0.2s ease;
  -ms-transition:all 0.2s ease;
  transition:all 0.2s ease;

  @media (max-width: 480px) {
    font-size: 1.5rem;
  }

  &:hover{
    background-color:#e94d48;
    color:#FFF;
  }

}

.btn-arrow::after {
  content: '';
  position: absolute;
  display: inline-block;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.39rem;
  height: 0.9rem;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
}

.btn-arrow:hover::after {
  background-image: url(../img/common/arrow_w.svg);
}


@media (max-width: 1080px) {
  .br-tablet { display:block; }
  .link{
    font-size:1em;
  }
}
@media (max-width: 767px) { /*スマホ*/
  body {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
  }
  .pc{display: none;}
  .sp{display: block;}
  .br-pc { display:none; }
  .br-sp { display:inline-block; }

}





@media (min-width: 1081px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/****************************************
  Header, Menu
*****************************************/
#header {
  position: fixed;
  top: 0; left: 0;right:0;
  width: 100%;
  z-index: 9998;
  margin:auto;
  -webkit-transition:all .5s ease;
  transition:all .5s ease;
}
#header.fixed {
  background-color: #FFF;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  height:100px;
  margin:0 auto;
  width: 96%;
  -webkit-transition:all 0.4s ease;
  transition: all 0.4s ease;
}
@media (max-width: 1080px) {
  .header__inner {
    height: 70px;
  }
}

.header__logo-wrap {
  z-index: 3;
}

.header__logo {
  -webkit-transition:all .4s ease;
  transition:all .4s ease;
  width: clamp(17.4rem, 16.1458333333vw, 29rem);
}
@media (max-width: 767px) {
  .header__logo {
  }
}


.header__nav {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 1220px) {
  .header__nav {
    display: none;
  }
}

.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  flex-wrap: nowrap;
}

.header__nav-item {
  position: relative;
  padding:0;
  font-size: clamp(1.2rem, 1.0vw, 1.6rem);
  text-align: center;
}

.header__nav--link {
  display: flex;
  align-items: center;
  min-height: 10rem;
  color: #000;
  text-align: center;
  opacity: 1!important;
  position: relative;

  & > span {
    display: inline-block;
    position: relative;

    &::after {
      position: absolute;
      content: '';
      bottom: -10px; 
      left: 0; right: 0;
      height: 1px;
      width: 100%;
      background-color: #dc4d47;
      opacity: 0;
    }
  }
}

.home #header:not(.fixed) .header__nav-item:not(.current) .header__nav--link {
  color: #FFF;
}

.header__nav-item.current .header__nav--link > span ,
.header__nav-item:hover .header__nav--link > span {
  color: #dc4d47;
  opacity: 1;
}
.header__nav-item.current .header__nav--link > span::after,
.header__nav-item:hover .header__nav--link > span::after {
  opacity: 1;
}

.header__nav-list .header__nav-item.has_children {
  position: inherit;
}

.header__nav-list .header__nav-item.has_children .hover_btn {
}

.header__nav-list .header__nav-item.has_children .children_area {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  width: 100%;
  padding: 5rem 0;
  visibility: hidden;
  background: rgba(233, 77, 72, 0.9);
  opacity: 0;
  -webkit-transition: opacity 0.1s;
  transition: opacity 0.1s;

  .container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0;
  }
}

@media (hover: hover) {
  .header__nav-list .header__nav-item.has_children:hover .children_area {
    visibility: visible;
    opacity: 1;
  }
}

.header__facility-block-wrap {
  display: inline-block;
}
.header__facility-block-wrap.--care {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, auto);
}

/* HEADER FACILITY BLOCK */
.header__facility-block {
  margin-bottom: 5rem;

  .header__facility-block--title {
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
    margin-bottom: 2rem;
    color: #FFF;
    white-space: nowrap;
  }
  .header__facility-block--title_en {
    font-size: 1.4rem;
  }
  .header__facility-block--title_jp {
  }

  .header__facility__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .header__facility__list.flex-box {
    flex-direction: row;
  }

  .header__facility__box {
    background-color: rgba(255,255,255,0.9);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    max-width: 285px;
    min-width: 285px;
    min-height: 65px;
    width: 100%;

    &.header__facility__box--big {
      max-width: 320px;
    }

    & .header__facility__box_inner {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    & .header__facility__box--pic {

      & img {
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
        width: 100%;
        aspect-ratio: 142 / 75;
      }
    }

    & .header__facility__box--name {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      background-color: #deeacd;
      border-bottom-right-radius: 0.5rem;
      border-bottom-left-radius: 0.5rem;
      padding: 1.0rem 1.5rem;
      font-size: clamp(1.5rem, 1.22vw, 1.8rem);
      font-weight: bold;
      line-height: 1.5;
      height: 65px;
      text-align: left;
      z-index: 2;

      & .sub {
        font-size: 1.3rem;
        ont-size: clamp(1.2rem, 0.983vw, 1.4rem);
      }

    }

    & .link_arrow {
      position: absolute;
      display: inline-block;
      right: 0; bottom: 0;
      background-color: #3eac4a;
      border-top-left-radius: 100%;
      border-bottom-right-radius: 0.5rem;
      width: 3.5rem;
      height: 3.5rem;
      z-index: 3;

      &::after {
        content: '';
        position: absolute;
        display: inline-block;
        background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 1rem;
        height: 0.7rem;
        top: calc(50% + 0.2rem);
        right: 0.9rem;
        transform: translateY(-50%);
      }
    }
  }
}

.header__facility-block.header__facility-block--care .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


.header__facility__list--hospital .header__facility__box--big {
  .header__facility__box--pic img {
    aspect-ratio: 11 / 6;
  }
}
.header__facility__box.cat-care_facility,
.header__acility__box.header__facility__box--care {
  &.header__facility__box--big {
    max-width: 285px;
    & .header__facility__box--name {
      background-color: #9fc7e4;
    }
    & .link_arrow {
      background-color: #0071bc;
    }
  }

  & .header__facility__box--name {
    background-color: #dce7f4;
  }
  & .link_arrow {
    background-color: #29abe2;
  }
}

.header__facility__box.cat-small_scale_home ,
.header__facility__box.header__facility__box--sshome {
  & .header__facility__box--name {
    background-color: #eddfe2;
  }
  & .link_arrow {
    background-color: #9e005d;
  }
}
.header__facility__list--grouphome {
  margin-bottom: 3rem;
}
.header__facility__box.cat-group_home,
.header__facility__box.header__facility__box--grouphome {
  & .header__facility__box--name {
    background-color: #fae8cd;
  }
  & .link_arrow {
    background-color: #f7931e;
  }
}

.header__facility__box.cat-dementia,
.header__facility__box.header__facility__box--dementia {
  & .header__facility__box--name {
    background-color: #fae8cd;
  }
  & .link_arrow {
    background-color: #f7931e;
  }
}


.header__btns {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  z-index: 3;
}
@media (max-width: 1220px) {
  .header__btns {
    margin-right: 100px;
  }
}
@media (max-width: 1080px) {
  .header__btns {
    margin-right: 80px;
    gap: 15px;
  }
}

.header__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f5f5f5;
  font-weight: 700;
  font-size: 1.6rem;
  font-size: clamp(1.2rem, 1.1vw, 1.8rem);
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 0.7rem;
  transition: opacity 0.3s;
}

.header__btn--access {
  background-color: #c69c6d;
  padding: 0.8em;

  @media (max-width: 1220px) {
    display: none;
  }
}
.header__btn--access .header__btn-txt {
  position: relative;
  padding-left: 1.5em;
}
.header__btn--access .header__btn-txt::before {
  content: '';
  display: inline-block;
  background: url(../img/common/icon_access_w.png) center no-repeat;
  background-size: contain;
  width: 1em;
  height: 1.4em;
  position: absolute;
  left: 0; top: 0;
}

.header__btn--recruit {
  background-color: #33a947;
  padding: 0.8em;

  @media (max-width: 1220px) {
    display: none;
  }
}
.header__btn--recruit .header__btn-txt {
  position: relative;
  padding-left: 2em;
}
.header__btn--recruit .header__btn-txt::before {
  content: '';
  display: inline-block;
  background: url(../img/common/icon_recruit_w.png) center no-repeat;
  background-size: contain;
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  left: 0; top: 0;
}

.header__btn--instagram,
.header__btn--line {
  width: 4.5rem;
  height: 4.5rem;
}


.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55px;
  height: 55px;
  padding: 0;
  border-radius: 7px;
  background: #dc4d47;
  cursor: pointer;
  z-index: 3;
}
@media (max-width: 1220px) {
  .hamburger-menu {
    position: fixed;
    right: 0;
    top: 0;
    border-radius: 0;
    width: 100px;
    height: 100px;
    border-bottom-left-radius: 20px;
  }
}
@media (max-width: 1080px) {
  .hamburger-menu {
    width: 70px;
    height: 70px;
  }
}

.hamburger-menu span {
  display: block;
  width: 50%;
  height: 2px;
  margin: 0 auto;
  background-color: #FFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger-menu span:nth-child(1) {
  margin-bottom: 0.7rem;
}
.hamburger-menu span:nth-child(3) {
  margin-top: 0.7rem;
}
/* アニメーション設定 */
.hamburger-menu span {
  transition: all 0.3s ease;
}

/* 1本目の線 */
.hamburger-menu.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

/* 2本目の線 */
.hamburger-menu.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

/* 3本目の線 */
.hamburger-menu.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ナビゲーションメニュー */
.menu-wrapper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  position: absolute;
  top: 100px;
  right: 0; left: 0;
  max-width: 1880px;
  width: 96%;
  height: calc(100vh - 130px);
  overflow-y: scroll;
  background-color: #FFF;
  border-radius: 2rem;
  margin: 0 auto;
  z-index: 2;
  transition: all 0.5s ease;

  & .hamburger-menu--btn-close {
    position: absolute;
    right: 2rem;
    top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: transparent;
    cursor: pointer;
    z-index: 3;

    & span {
      display: block;
      width: 100%;
      height: 2px;
      margin: 0 auto;
      background-color: #e94d48;
      transition: all 0.3s ease;
    }

    & span:nth-child(1) {
      transform: rotate(45deg);
    }
    & span:nth-child(2) {
      transform: translateY(-2px) rotate(-45deg);
    }

    @media (max-width: 1220px) { display: none; }
  }
}
@media (max-width: 1220px) {
  .menu-wrapper {
    width: 100%;
    height: 100vh;
    top: 0;
    padding-top: 12rem;
    border-radius: 0;
  }
}
@media (max-width: 767px) {
  .menu-wrapper {
    padding-top: 8rem;
  }
}

.menu-wrapper .container {
  margin: 8rem auto;
  width: 94%;
  max-width: 1620px;
  display: flex;
  gap: 2rem;

  @media (max-width: 1220px) {
    flex-direction: column;
    align-items: center;
    gap: 5rem;
  }

  & .infoarea {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;

    @media (min-width: 1221px) {
      max-width: 400px;
      width: 25%;
    }

    & .menu__logo-wrap {
      margin-bottom: 3rem;
      padding-bottom: 3rem;
      border-bottom: solid 1px #999999;
      text-align: center;

      & .menu__logo {
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
        width: clamp(17.4rem, 16.1458333333vw, 29rem);

        @media (max-width: 1220px) {
          width: 80%;
          max-width: 500px;
          margin: 0 auto;
        }
      }
    }

    & .menu__tel {
      font-size: 1.6rem;
      font-size: clamp(1.45rem, 3.856vw, 1.6rem);
      margin-bottom: 1rem;
      text-align: center;

      @media (max-width: 1220px) {
        text-align: center;
      }

      & .menu__tel--text {
        font-size: 1.8rem;
        font-size: clamp(1.5rem, 3.989vw, 1.8rem);
      }
      & .menu__tel--num {
        display: block;
        color: #dc4d47;
        font-size: 4.0rem;
        font-size: clamp(2.6rem, 8.777vw, 3rem);
        font-weight: bold;
        padding: 1.3rem 0;
      }
      & .menu__tel--time {
        color: #dc4d47;
        font-weight: normal;
      }
      & .menu__tel--remarks {
        color: #777778;
        margin-top: 3rem;
        font-size: 1.4rem;
        font-size: clamp(1.1rem, 2.925vw, 1.4rem);

        & a {
          color: #dc4d47;
          text-decoration: underline;
        }
      }
    }

    & .menu__bnr--recruit {
      margin: 0 auto;
      margin-top: 3rem;
      display: block;
      max-width: 40rem;
      width: 100%;
    }

    & .menu__btns {
      display: flex;
      gap: 0 2rem;
      margin-top: 3rem;

      @media (max-width: 1220px) { display: none; }

      & .menu__btn {
        width: 4.5rem;
        height: 4.5rem;
      }
    }
    
    & .caution_img {
      margin: 0 auto;
      margin-top: 3rem;
      display: block;
      max-width: 40rem;
      width: 100%;
    }
  }


  & .menuarea {
    flex-grow: 2;
    display: flex;
    gap: 0 3rem;
    padding-left: 4rem;

    @media (max-width: 1220px) {
      padding-left: 0;
      width: 100%;
    }
    @media (max-width: 768px) {
      flex-direction: column;
    }

    & .menu {

      @media (min-width: 769px) {
        border-left: dotted 2px #CCC;
        padding-left: 3rem;
      }

      & .menu__item {
        margin-bottom: 1rem;

        & .menu__item--link {
          color: #000;
          font-size: 1.8rem;
          font-size: clamp(1.6rem, 2.34vw, 1.6rem);
          line-height: 1.4;
          @media (max-width: 768px) {
            font-size: clamp(1.8rem, 4.79vw, 2.0rem);
          }
        }

        /*
        & .menu__item--link.txt-emphasis {
          font-weight: bold;
          font-size: 2.0rem;
          font-size: clamp(1.8rem, 2.34vw, 2rem);
        }
        @media (min-width: 768px) { 
          & .menu__item--link.txt-emphasis {
            color: #e94d48;
          }
        }
        */
        
        & .menu__item--link.external-link {
          position: relative;
          padding-right: 2em;

          &::after {
            content: '';
            display: inline-block;
            width :1.1em;
            height: 1.1em;
            background: url(../img/common/icon_link.png) center no-repeat;
            background-size: contain;
            position: absolute;
            right: 0;
            top: 0.2em;
          }
        }
      }

      & .children__menu {
        margin-bottom: 3rem;
        margin-top: 2rem;

        & .menu__item {

          & .menu__item--link {
            color: #6d6f6f;
            font-size: clamp(1.4rem, 0.4vw, 1.5rem);
            font-weight: normal;
            line-height: 1.4;
            @media (max-width: 768px) {
              font-size: 1.6rem;
            }
          }
        }

        & .menu__item--title {
          font-size: 1.8rem;
          margin-bottom: 1em;
          padding-left: 0.5em;
          line-height: 1;
          border-left: solid 2px #dc4d47;
        }
        &[data-cat="clinic"] .menu__item--title { border-color: #39b54a; }
        &[data-cat="care"] .menu__item--title { border-color: #32a2d3; }
        &[data-cat="sshome"] .menu__item--title { border-color: #9e005d; }
        &[data-cat="grouphome"] .menu__item--title { border-color: #f7931e; }
        &[data-cat="dementia"] .menu__item--title { border-color: #f7931e; }

      }

      @media (max-width: 768px) {
        & .acd_content {
          display: none;
          visibility: visible;
          opacity: 1;
          transition: opacity 0.1s;

          &.is-active {
            display: block;
          }
        }
        & .children__menu {
          padding: 0 0 2rem 1.3rem;
          width: 100%;
          margin-bottom: 0;
        }
      }

      & > .menu__item {
        padding-bottom: 1rem;
        font-weight: 500;
        @media (max-width: 768px) {
          border-bottom: dotted 1px #CCC;
          padding-bottom: 1.5rem;
          margin-bottom: 1.5rem;
        }

        @media (max-width: 768px) {
          &.has-children {
            display: flex;
            align-items: center;
            flex-wrap: wrap;

            & > .menu__item--link {
              width: calc(100% - 2em);
            }
          }
        }

        & .btn__acd {
          position: relative;
          font-size: 2rem;
          background: none;
          border: none;
          width: 2rem;
          height: 2rem;

          @media (min-width: 769px) { display: none; }

          &::after {
            content: '';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: 0;
            margin: auto;
            background-color: #e94d48;
            width: 0.7em;
            height: 0.7em;
            clip-path: polygon(40% 0, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%)
          }
        }

        & .btn__acd.is-active::after {
          clip-path: polygon(100% 40%, 50% 90%, 0 40%, 10% 30%, 50% 70%, 90% 30%);
        }
      }

      @media (max-width: 768px) {
        & .menu__item--pc_only {
          display: none;
        }
      }
      @media (min-width: 769px) {
        & .menu__item--sp_only {
          display: none;
        }
      }
    }
  }

  & .menu__type_btns {
    display: flex;
    gap: 0 1rem;
    margin: 2rem 0 1rem;

    & .menu__type_btn {
      flex: 1;
      background-color: #f6ded4;
      color: #000;
      font-size: clamp(1.4rem, 0.4vw, 1.5rem);
      padding: 1em 1.8em 1em 1em;
      text-align: left;
      position: relative;
      cursor: pointer;

      &::after {
        content: '';
        background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: inline-block;
        width: 1em;
        height: 0.7em;
        position: absolute;
        right: 0.6em;
        top: calc(50% - 0.4em);
      }
    }
  }

  & .linkarea {
    flex-grow: 0;
    @media (min-width: 1221px) {
      max-width: 195px;
      width: 20%;
    }
    @media (max-width: 1220px) {
      display: flex;
      flex-direction: row-reverse;
      gap: 0 5rem;
    }

    & .header__kinouhyouka_list {
      margin-bottom: 3rem;

      & .header__kinouhyouka_item {
        border-bottom: solid 1px #999999;
        padding: 0.8em 0 0.5em;

        & .header__kinouhyouka_item--link {
          color: #777778;
          font-size: clamp(1.0rem, 2.66vw, 1.2rem);
          line-height: 1.4;
        }
      }

      & .header__kinouhyouka_item_top {
        position: relative;
        padding-left: 4.0em;
        padding-bottom: 1em;

        &::before {
          content: '';
          position: absolute;
          left: 0; top: 0.5em;
          width: 3.0em;
          height: 3.0em;
          display: inline-block;
          background: url(../img/common/icon_kinouhyouka.png) center no-repeat;
          background-size: contain;
        }
      }

    }

    & .menu {
      & .menu__item {
        margin-bottom: 1.5rem;

        & .menu__item--link {
          font-size: 1.4rem;
          font-size: clamp(1.3rem, 2.925vw, 1.4rem);
          color: #777778;
        }
    
      }
    }
  }
}
.menu-wrapper.is-active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1220px) {
  .menu-wrapper .container {
    margin: 1rem auto 3rem;
    & .infoarea { order: 2; }
    & .menuarea { order: 1; }
    & .linkarea { order: 3; }
  }
}



/****************************************
  Footer
*****************************************/

#footer {
  width: 100%;
  background-color: #FFF;
  position: relative;
}

.footer__container {
  margin: 8rem auto 5rem;
  width: 92%;
  max-width: 1620px;
  display: flex;
  gap: 2rem;

  @media (max-width: 1220px) {
    flex-direction: column;
    align-items: center;
    gap: 5rem;
  }

  & .infoarea {
    flex-grow: 1;

    display: flex;
    flex-direction: column;

    @media (min-width: 1221px) {
      max-width: 400px;
      width: 25%;
    }

    & .menu__logo-wrap {
      margin-bottom: 3rem;
      padding-bottom: 3rem;
      border-bottom: solid 1px #999999;
      text-align: center;

      & .menu__logo {
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
        width: clamp(17.4rem, 16.1458333333vw, 29rem);

        @media (max-width: 1220px) {
          width: 80%;
          max-width: 500px;
          margin: 0 auto;
        }
      }
    }

    & .menu__tel {
      font-size: 1.6rem;
      font-size: clamp(1.45rem, 3.856vw, 1.6rem);
      margin-bottom: 1rem;
      text-align: center;

      & .menu__tel--text {
        font-size: 1.8rem;
        font-size: clamp(1.5rem, 3.989vw, 1.8rem);
      }
      & .menu__tel--num {
        display: block;
        color: #dc4d47;
        font-size: 4.0rem;
        font-size: clamp(3.3rem, 8.777vw, 3.6rem);
        font-weight: bold;
        padding: 1.3rem 0;
      }
      & .menu__tel--time {
        color: #dc4d47;
        font-weight: normal;
      }
      & .menu__tel--remarks {
        color: #777778;
        margin-top: 3rem;
        font-size: 1.4rem;
        font-size: clamp(1.1rem, 2.925vw, 1.4rem);
        line-height: 1.2;
        @media (min-width: 1221px) {
          text-align: center;
        }

        & a {
          color: #dc4d47;
          text-decoration: underline;
        }
      }
    }

    & .menu__bnr--recruit {
      margin: 0 auto;
      margin-top: 3rem;
      display: block;
      max-width: 40rem;
      width: 100%;
    }

    & .menu__btns {
      display: flex;
      gap: 0 2rem;
      margin-top: 3rem;

      @media (max-width: 1220px) { display: none; }

      & .menu__btn {
        width: 4.5rem;
        height: 4.5rem;
      }
    }

    & .caution_img {
      margin: 0 auto;
      margin-top: 3rem;
      display: block;
      max-width: 40rem;
      width: 100%;
    }
  }


  & .menuarea {
    flex-grow: 2;
    display: flex;
    gap: 0 2rem;
    padding-left: 4rem;

    @media (max-width: 1220px) { display: none; }

    & .menu {

      @media (min-width: 769px) {
        border-left: dotted 2px #CCC;
        padding-left: 2rem;
      }

      & .menu__item {
        margin-bottom: 1rem;

        & .menu__item--link {
          color: #000;
          font-size: 1.8rem;
          font-size: clamp(1.6rem, 2.083vw, 1.8rem);
          line-height: 1.4;
        }

        /*
        & .menu__item--link.txt-emphasis {
          font-weight: bold;
          color: #e94d48;
          font-size: 2.0rem;
          font-size: clamp(1.8rem, 2.34vw, 2rem);
        }
        */
        
        & .menu__item--link.external-link {
          position: relative;
          padding-right: 2em;

          &::after {
            content: '';
            display: inline-block;
            width :1.1em;
            height: 1.1em;
            background: url(../img/common/icon_link.png) center no-repeat;
            background-size: contain;
            position: absolute;
            right: 0;
            top: 0.2em;
          }
        }
      }

      & .children__menu {
        margin-bottom: 3rem;
        margin-top: 2rem;

        & .menu__item {

          & .menu__item--link {
            color: #6d6f6f;
            font-size: clamp(1.4rem, 0.4vw, 1.5rem);
            font-weight: normal;
            line-height: 1.4;
          }
        }

        & .menu__item--title {
          font-size: 1.8rem;
          margin-bottom: 1em;
          padding-left: 0.5em;
          line-height: 1;
          border-left: solid 2px #dc4d47;
        }
        &[data-cat="clinic"] .menu__item--title { border-color: #39b54a; }
        &[data-cat="care"] .menu__item--title { border-color: #32a2d3; }
        &[data-cat="sshome"] .menu__item--title { border-color: #9e005d; }
        &[data-cat="grouphome"] .menu__item--title { border-color: #f7931e; }
        &[data-cat="dementia"] .menu__item--title { border-color: #f7931e; }
      }

      & > .menu__item {
        padding-bottom: 1rem;
        font-weight: 500;

        @media (max-width: 768px) {
          border-bottom: dotted 1px #CCC;
        }
      }

    }
  }

  & .menu__type_btns {
    display: flex;
    gap: 0 1rem;
    margin: 2rem 0 1rem;

    & .menu__type_btn {
      flex: 1;
      background-color: #f6ded4;
      color: #000000;
      font-size: clamp(1.4rem, 0.4vw, 1.5rem);
      padding: 1em 1.8em 1em 1em;
      text-align: left;
      position: relative;
      cursor: pointer;

      &::after {
        content: '';
        background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: inline-block;
        width: 1em;
        height: 0.7em;
        position: absolute;
        right: 0.6em;
        top: calc(50% - 0.4em);
      }
    }
  }

  & .linkarea {
    flex-grow: 0;
    @media (min-width: 1221px) {
      max-width: 195px;
      width: 20%;
    }
    @media (max-width: 1220px) {
      display: flex;
      flex-direction: row-reverse;
      gap: 0 3rem;
    }

    & .footer__kinouhyouka_list {
      margin-bottom: 3rem;

      & .footer__kinouhyouka_item {
        border-bottom: solid 1px #999999;
        padding: 0.8em 0 0.5em;

        & .footer__kinouhyouka_item--link {
          color: #777778;
          font-size: clamp(1.0rem, 2.66vw, 1.2rem);
          line-height: 1.4;
        }
      }

      & .footer__kinouhyouka_item_top {
        position: relative;
        padding-left: 4.0em;
        padding-bottom: 1em;

        &::before {
          content: '';
          position: absolute;
          left: 0; top: 0.5em;
          width: 3.0em;
          height: 3.0em;
          display: inline-block;
          background: url(../img/common/icon_kinouhyouka.png) center no-repeat;
          background-size: contain;
        }
      }

    }

    & .menu {
      & .menu__item {
        margin-bottom: 1.5rem;

        & .menu__item--link {
          font-size: 1.4rem;
          font-size: clamp(1.3rem, 2.925vw, 1.4rem);
          color: #777778;
        }
    
      }
    }
  }

}


.footer__copy {
  font-size: 1.3rem;
  text-align: center;
  padding: 2em 0;
  letter-spacing: 0.05em;
  color: #808080;
}

.footer__btn_toTop {
  position: absolute;
  top: -11%;
  right: 5%;
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  background: #efea3c;
  border-radius: 50%;
  z-index: 3;
}
.footer__btn_toTop::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 3.0rem;
  height: auto;
  margin: auto;
  background: url(../img/common/icon_pagetop.png) center center/contain no-repeat;
}
@media (max-width: 768px) {
  .footer__btn_toTop {
    width: 5.0rem;
    height: 5.0rem;
    &::before {
      width: 2.0rem;
    }
  }
}

.footer__btn_recruit {
  position: fixed;
  right: 3rem; bottom: 3rem;
  display: block;
  width: 20.5rem;
  width: clamp(15rem, 18.49vw, 20.5rem);
  height: 20.5rem;
  height: clamp(15rem, 18.49vw, 20.5rem);
  z-index: 3;

  @media (max-width: 768px) { display: none; }
}

.footer__fix_bnrs {
  position: fixed;
  bottom: 2%; left: 0; right: 0;
  display: flex;
  width: 90%;
  margin: 0 auto;
  z-index: 97;

  @media (min-width: 769px) { display: none; }
}
.footer__fix_bnr {
  flex: 1;
  display: block;
  padding: 2rem;
  color: #FFF;
  background-color: #dc4d47;
  background-image: repeating-linear-gradient(
    135deg, 
    rgba(255,255,255,0.1), 
    rgba(255,255,255,0.1) 5px, 
    transparent 5px, 
    transparent 15px);
  position: relative;
}
@media (max-width: 410px) { 
  .footer__fix_bnr {
    padding: 1.5rem;
  }
}

.footer__fix_bnr:first-child {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.footer__fix_bnr:last-child {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

#footer__fix_bnr--facility {
  background-color: #dc4d47;
}
#footer__fix_bnr--recruit {
  background-color: #3ba147;
}

.footer__fix_bnr--title {
  color: #FFF;
  text-align: left;
  width: 75%;
}
.footer__fix_bnr .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3ba147;
  border-radius: 50%;
  width: clamp(2rem,5.319vw,4.0rem);
  height: clamp(2rem,5.319vw,4.0rem);
  padding: 0.8rem;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%); 
}
@media (max-width: 580px) {
  .footer__fix_bnr .arrow {
    right: 1.0rem;
    padding: 0.5rem;
  }
}

.footer__fix_bnr .arrow--r {
  background-color: #dc4d47;
}


/****************************************
  Main
*****************************************/
#container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}
#main{
  width:100%;
  padding-top: 100px;
}
@media (max-width: 1080px) {
  #main{
    padding-top: 70px;
  }
}

.container {
  max-width: 128rem;
  padding-right: 4rem;
  padding-left: 4rem;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .container {
    width: 90%;
    padding-right: 0;
    padding-left: 0;
  }
}



.lower_header {
  padding-bottom: 6rem;
}

@media screen and (max-width: 768px) {
  .lower_header {
    padding-bottom: 4.6rem;
  }
}

.page_header {
  padding: 9.5rem 0;
  background-position: center center;
  background-size: cover;
  background-color: #CCC;
}

@media screen and (max-width: 1220px) {
  .page_header {
    padding: 4.8rem 0;
  }
}

.page_header .page_ttl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 90%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .page_header .page_ttl {
    gap: 0.5rem;
  }
}

.page_header .page_ttl_en {
  display: grid;
  place-items: center;
  min-height: 4rem;
  padding: 0.1em 0.5em;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.1;
  color: #e94d48;
  text-align: center;
  background: #FFF;
  border-radius: 0.5rem;
}

@media screen and (max-width: 768px) {
  .page_header .page_ttl_en {
    min-height: 2rem;
    font-size: 1rem;
    line-height: 1;
    border-radius: 0.3rem;
  }
}

.page_header .page_ttl_ja {
  display: grid;
  place-items: center;
  min-height: 6rem;
  padding: 0.1em 0.5em;
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.1;
  color: #FFF;
  text-align: center;
  background: #e94d48;
  border-radius: 0.5rem;
}

@media screen and (max-width: 768px) {
  .page_header .page_ttl_ja {
    min-height: 3rem;
    font-size: 2rem;
    border-radius: 0.3rem;
  }
}

.breadcrumb {
  margin-top: 1.8rem;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  list-style-type: none;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    font-size: 1rem;
  }
}

.breadcrumb_item {
  display: inline-block;
}

.breadcrumb_item a {
  display: inline-block;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

@media (hover: hover) {
  .breadcrumb_item a:hover {
    color: #39b54a;
    opacity: 1;
  }
}

.breadcrumb_item a:focus-visible {
  color: #39b54a;
  opacity: 1;
}

.breadcrumb_item+.breadcrumb_item::before {
  margin: 0 0.3em 0 0;
  content: ">";
}


.has_sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: min((100vw - 8rem) * 20 / 1200, 2rem);
}

.has_sidebar .sidebar {
  position: sticky;
  top: 100px;
  left: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -ms-flex-item-align: start;
  align-self: flex-start;
  width: 21.2rem;
  padding-bottom: 10rem;
}

@media screen and (max-width: 53.125em) {
  .has_sidebar .sidebar {
    display: none;
  }
}

.has_sidebar .main_contents {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.has_sidebar .anc_link_list {
  font-size: 1.6rem;
  color: #e94d48;
  letter-spacing: 0.05em;
  background-color: #fdf1f0;
  padding: 1rem 2rem 2rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

@media screen and (max-width: 768px) {
  .has_sidebar .anc_link_list {
    font-size: 1.5rem;
  }
}

.has_sidebar .anc_link_list--ttl {
  padding: 2rem 1.5rem;
  font-size: 2.0rem;
  font-weight: bold;
  color: #fff;
  text-align: left;
  background: #e94d48;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

@media screen and (max-width: 768px) {
  .has_sidebar .anc_link_list--ttl {
    font-size: 1.5rem;
  }
}

.has_sidebar .anc_link_list > li  {
  padding: 1em 0;
  border-bottom: solid 1px #eeb1a0;
}
.has_sidebar .anc_link_list > li > a {
  position: relative;
  display: block;
  padding-left: 1em;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #000;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.has_sidebar .anc_link_list > li > a::before {
  position: absolute;
  top: 0.8rem;
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-color: #e94d48;
  border-radius: 50%;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

@media (hover: hover) {
  .has_sidebar .anc_link_list > li > a:hover {
    color: #e94d48;
    opacity: 1;
  }

  .has_sidebar .anc_link_list > li > a:hover::before {
    background-color: #e94d48;
  }
}

.has_sidebar .anc_link_list > li > a:focus-visible {
  color: #e94d48;
  opacity: 1;
}

.has_sidebar .anc_link_list > li.current  > a{
  color: #e94d48;
  font-weight: bold;
}


.has_sidebar .anc_link_list+.anc_link_list--ttl {
  margin-top: 2rem;
}

.sidemenu_acd_content {}
.has_sidebar .anc_link_list > li.has-children {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  & > a {
    width: calc(100% - 1em);
  }
  & .sidemenu_btn_acd {
    position: relative;
    background: none;
    border: none;
    width: 1.4rem;
    height: 1.4rem;
    cursor: pointer;
    &::after {
      content: '';
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 0;
      margin: auto;
      background-color: #39b54a;
      width: 0.7em;
      height: 0.7em;
      clip-path: polygon(40% 0, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%);
      -webkit-transition: opacity 0.3s;
      transition: opacity 0.3s;
    }
  }
  & .sidemenu_btn_acd[aria-expanded="true"]::after {
    clip-path: polygon(100% 40%, 50% 90%, 0 40%, 10% 30%, 50% 70%, 90% 30%);
  }

  .sidemenu_acd_content {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.1s;
    padding-top: 1rem;
    width: 100%;
  }
  .sidemenu_acd_content[aria-hidden="true"] {
    display: none;
  }


}

.anc_link_children_list {
  margin-left: 2rem;

   a {
    position: relative;
    display: block;
    padding: 0.3em 0 0.3em 1em;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #808080;

    &::before {
      content: "";
      position: absolute;
      top: 1.2em;
      left: 0;
      display: block;
      width: 0.6rem;
      height: 1px;
      background-color: #808080;
    }
  }


}





.has_sidebar.-wide {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.has_sidebar.-wide .sidebar {
  width: 24.5rem;
}

@media screen and (max-width: 61.25em) {
  .has_sidebar.-wide .sidebar {
    display: none;
  }
}

.has_sidebar.-wide .main_contents {
  max-width: 91.0rem;
}

@media screen and (max-width: 80em) {
  .has_sidebar.-wide .main_contents {
    max-width: calc(100svw - 24.5rem - 5rem - 8rem);
  }
}

@media screen and (max-width: 61.25em) {
  .has_sidebar.-wide .main_contents {
    width: 100%;
    max-width: 100%;
  }
}


.has_sidebar .facility_link__list {
  margin-top: 5rem;
}

.has_sidebar .facility_acd_content {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.1s;
  padding-bottom: 1rem;
  width: 100%;
}
.has_sidebar .facility_acd_content[aria-hidden="true"] {
  display: none;
}

.has_sidebar .facility_link__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: solid 1px #CCC;
}
.has_sidebar .facility_link__item > a {
  position: relative;
  display: block;
  padding: 1em;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  color: #000;
  width: calc(100% - 2em);
}

.has_sidebar .facility_link__item > a::before {
  position: absolute;
  top: calc(50% - 0.4rem);
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-color: #39b54a;
  border-radius: 50%;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}


.has_sidebar .facility_link__item[data-cat="care"] > a::before {
  background-color: #29abe2;
}
.has_sidebar .facility_link__item[data-cat="sshome"] > a::before {
  background-color: #9e005d;
}
.has_sidebar .facility_link__item[data-cat="grouphome"] > a::before {
  background-color: #f7931e;
}
.has_sidebar .facility_link__item[data-cat="dementia"] > a::before {
  background-color: #f7931e;
}

.has_sidebar .facility_link__item .facility_btn_acd {
  position: relative;
  background: none;
  border: none;
  width: 1.4rem;
  height: 1.4rem;
  cursor: pointer;
}
.has_sidebar .facility_link__item .facility_btn_acd::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  margin: auto;
  background-color: #666666;
  width: 0.7em;
  height: 0.7em;
  clip-path: polygon(40% 0, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.has_sidebar .facility_link__item .facility_btn_acd[aria-expanded="true"]::after {
  clip-path: polygon(100% 40%, 50% 90%, 0 40%, 10% 30%, 50% 70%, 90% 30%);
}

.has_sidebar .facility_link_children__list {

}

.has_sidebar .facility_link_children__item {
}

.has_sidebar .facility_link_children__item > a {
  position: relative;
  display: block;
  padding: 0.5em 1em;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #808080;

  &::before {
    content: "";
    position: absolute;
    top: 1.3em;
    left: 0;
    display: block;
    width: 0.6rem;
    height: 1px;
    background-color: #808080;
  }
}





.section {
  position: relative;
  margin: 0 auto;
  width: 100%;
  z-index: 2;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.section__inner {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10rem 0;
  text-align: center;
  z-index: 2;
}
@media (max-width: 1080px) {
  .section__inner {
    padding: 5rem 0;
  }
}

.section.bg-pink {
  background-color: #fdf1f0;
}



.section__title {
  color: #000000;
  margin: 0 auto 3rem;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
}
@media (max-width: 1220px) { 
  .section__title {
    font-size: clamp(2.3rem, 6.117vw, 3rem);
  }
}

.section__title .section__title__en {
  display: block;
  font-size: 1.8rem;
  color: #e94d48;
}
@media (max-width: 1220px) { 
  .section__title .section__title__en {
    font-size: clamp(0.9rem, 2.3936vw, 1.8rem);
  }
}


.clr-green  { color: #39b54a; }
.clr-blue   { color: #29abe2; }
.clr-purple { color: #9e005d; }
.clr-orange { color: #f7931e; }

.bg-clr-green  { background-color: #39b54a; }
.bg-clr-blue   { background-color: #29abe2; }
.bg-clr-purple { background-color: #9e005d; }
.bg-clr-orange { background-color: #f7931e; }



.footOtherLinks {
  position: relative;
  padding: 5rem 0;
  background: #fcf0ef;
}

.footOtherLinks .otherPages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 1024px) {
  .footOtherLinks .otherPages {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footOtherLinks .otherPages>li {
  border: solid 1px #dc4d47;
  border-radius: 1rem;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .footOtherLinks .otherPages>li {
    border-radius: 0.5rem;
  }
}

.footOtherLinks .otherPages_link {
  position: relative;
  display: block;
  background: #dc4d47;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

@media screen and (max-width: 768px) {
  .footOtherLinks .otherPages_link {
    border-radius: 0.5rem;
  }
}


@media (hover: hover) {
  .footOtherLinks .otherPages_link:hover {
    opacity: 0.7;
  }
}

.footOtherLinks .otherPages_link:focus-visible {
  opacity: 0.7;
}

.footOtherLinks .otherPages_pic img {
  display: block;
  width: 100%;
}

.footOtherLinks .otherPages_name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 1.5rem 0.5rem;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .footOtherLinks .otherPages_name {
    padding: 2rem 0.5rem;
    font-size: 1.6rem;
  }
}

.footOtherLinks .otherPages_nameEn {
  display: block;
  padding-bottom: 0.1em;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .footOtherLinks .otherPages_nameEn {
    font-size: 1rem;
  }
}

.footOtherLinks .link_arrow {
  position: absolute;
  display: inline-block;
  right: 0; bottom: 0;
  background-color: #FFF;
  border-top-left-radius: 100%;
  color: #dc4d47;
  width: 3.5rem;
  height: 3.5rem;
  z-index: 3;
  @media screen and (max-width: 768px) {
    width: 2.5rem;
    height: 2.5rem;
  }

  &::after {
    content: '';
    position: absolute;
    display: inline-block;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDkuODIgNi40NCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuNzIiIHkxPSIzLjIyIiB4Mj0iOS4xIiB5Mj0iMy4yMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZGM0ZDQ3IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS40NSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjYuNzIgNS43MiA5LjEgMy4yMiA2LjcyIC43MiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZGM0ZDQ3IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS40NSIvPgo8L3N2Zz4=');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1rem;
    height: 0.7rem;
    top: calc(50% + 0.2rem);
    right: 0.9rem;
    transform: translateY(-50%);

    @media screen and (max-width: 768px) {
      right: 0.5rem;
    }
  }
}

.footOtherLinks #clinic_other_pages__item .otherPages_link {
  background-color: #3eac4a;
}
.footOtherLinks #clinic_other_pages__item {
  border-color: #3eac4a;
}
.footOtherLinks #clinic_other_pages__item .link_arrow::after {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDkuODIgNi40NCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuNzIiIHkxPSIzLjIyIiB4Mj0iOS4xIiB5Mj0iMy4yMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjM2ZhNDQ5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS40NSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjYuNzIgNS43MiA5LjEgMy4yMiA2LjcyIC43MiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjM2ZhNDQ5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS40NSIvPgo8L3N2Zz4=');
}

.footOtherLinks #facility_other_pages__item .otherPages_link {
  background-color: #32a2d3;
}
.footOtherLinks #facility_other_pages__item {
  border-color: #32a2d3;
}
.footOtherLinks #facility_other_pages__item .link_arrow::after {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDkuODIgNi40NCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuNzIiIHkxPSIzLjIyIiB4Mj0iOS4xIiB5Mj0iMy4yMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzU5OGM1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS40NSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjYuNzIgNS43MiA5LjEgMy4yMiA2LjcyIC43MiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzU5OGM1IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS40NSIvPgo8L3N2Zz4=');
}