/*=============================================
 * facility
 *=============================================*/
.icon__outline {
  width: 80px !important;
  top: 10px !important;
}

.txt__outline {
  margin-left: 14%;
  margin-right: 14%;
}

.photo__outline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  padding-top: 150px;
}

#floor__sec1 {
  padding-bottom: 120px;
}

.floor__notice {
  text-align: center;
  padding: 100px 0 20px 0;
  font-size: 25px;
  font-weight: bold;
  color: #006496;
}

.floor__notice img {
  width: 53px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}

.floor__notice span {
  display: inline-block;
  vertical-align: middle;
  margin-top: -3px;
}

.non__border {
  padding: 120px 0 40px;
}

.non__border:after {
  display: none !important;
}

.map_wrapp {
  margin-bottom: 100px;
}

.map_wrapp img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

@media screen and (max-width: 1200px) {
  .txt__outline {
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 767px) {
  .icon__outline {
    width: 50px !important;
    top: 0px !important;
  }

  .photo__outline {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
  }

  #floor__sec1 {
    padding-bottom: 60px;
  }

  .non__border {
    padding: 60px 0 20px;
  }

  .floor__notice {
    padding: 60px 0 0px 0;
    font-size: 17px;
    text-align: center;
  }

  .floor__notice img {
    width: 30px;
    margin: 0 auto 6px auto;
    display: block;
  }

  .floor__notice span {
    display: block;
    margin-top: 0px;
    line-height: 159%;
  }

  .map_wrapp {
    margin-bottom: 10px;
  }
}
#outline__sec1 {
  font-weight: 500;
  font-size: 18px;
  line-height: 32px;
  padding: 120px 0 150px;
}

#outline__sec1 .box-1 {
  margin-top: 100px;
  position: relative;
}

#outline__sec1 .box-1 .icon {
  width: 204px;
  position: absolute;
  top: 0;
  left: calc(50% + 435px);
}

#outline__sec1 .box-1 .txt {
  font-weight: 400;
  padding-top: 30px;
}

#outline__sec1 .box-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  padding-top: 60px;
}

#outline__sec1 .box-2 .col {
  background-color: #fff;
  padding: 30px 40px 40px;
}

#outline__sec1 .box-2 h3 {
  border-bottom: 1px solid;
  margin: 0 -20px;
  padding-bottom: 5px;
}

#outline__sec1 .box-2 figure {
  padding-top: 30px;
}

#outline__sec1 .box-2 .txt {
  color: #4b4b4b;
  padding-top: 20px;
}

#outline__sec1 .box-3 {
  padding-top: 120px;
}

#outline__sec1 .box-3 dl {
  line-height: 1.5;
}

#outline__sec1 .box-3 dl + dl {
  padding-top: 100px;
}

#outline__sec1 .box-3 dl dt {
  font-size: 35px;
}

#outline__sec1 .box-3 dl dd {
  font-size: 70px;
  padding-top: 10px;
}

#outline__sec1 .box-3 .note {
  padding-top: 10px;
}

@media screen and (max-width: 1200px) {
  #outline__sec1 .box-1 .icon {
    position: static;
    margin: 0 auto;
    padding-bottom: 20px;
  }
}
@media screen and (max-width: 1023px) {
  #outline__sec1 .box-2 {
    grid-template-columns: 1fr;
  }

  #outline__sec1 .box-2 .col {
    padding: 40px;
  }

  #outline__sec1 .box-2 h3 {
    margin: 0;
  }
}
@media screen and (max-width: 767px) {
  #outline__sec1 {
    font-size: 14px;
    line-height: 22px;
    padding: 80px 0;
  }

  #outline__sec1 .box-1 {
    margin-top: 40px;
  }

  #outline__sec1 .box-1 .icon {
    width: 102px;
    padding-bottom: 10px;
  }

  #outline__sec1 .box-1 .txt {
    padding-top: 20px;
  }

  #outline__sec1 .box-2 {
    gap: 20px;
    padding-top: 40px;
  }

  #outline__sec1 .box-2 .col {
    padding: 30px 20px;
  }

  #outline__sec1 .box-3 {
    padding-top: 40px;
  }

  #outline__sec1 .box-3 dl + dl {
    padding-top: 50px;
  }

  #outline__sec1 .box-3 dl dt {
    font-size: 20px;
  }

  #outline__sec1 .box-3 dl dd {
    font-size: 30px;
  }
}
#outline__sec2 {
  color: #fff;
  position: relative;
  padding: 150px 0;
}

#outline__sec2:before {
  content: "";
  width: 100%;
  height: 90%;
  background-color: #679eb4;
  position: absolute;
  top: 0;
  left: 0;
  transform: skewY(-5deg);
}

#outline__sec2:after {
  content: "";
  width: 100%;
  height: 30%;
  background-color: #679eb4;
  position: absolute;
  bottom: -10px;
  left: 0;
}

#outline__sec2 .table {
  width: 100%;
  padding-top: 145px;
  padding-bottom: 135px;
  position: relative;
  z-index: 2;
}

#outline__sec2 .table .cl-orange {
  color: #f7931e;
}

#outline__sec2 .table th,
#outline__sec2 .table td {
  font-weight: 500;
  line-height: 28px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #006496;
  padding: 30px 20px;
}

#outline__sec2 .table th {
  background-color: #eafafc;
  color: #006496;
  text-align: center;
  width: 20%;
}

#outline__sec2 .table td {
  background-color: #fff;
  color: #4b4b4b;
  padding-left: 40px;
}

#outline__sec2 .table td small {
  font-size: 18px;
}

#outline__sec2 .table td ul {
  text-align: left;
  padding: 0;
}

#outline__sec2 .table td ul li {
  text-indent: -27px;
  padding-left: 27px;
}

#outline__sec2 .table td ul li:not(:last-child) {
  padding-bottom: 15px;
}

#outline__sec2 .table thead th:first-child {
  width: 12%;
}

#outline__sec2 .table thead th + th {
  width: 29%;
  background-color: #006496;
  color: #fff;
  border-right: 0;
  border-left: 1px solid #fff;
}

#outline__sec2 .table tbody tr:last-child th,
#outline__sec2 .table tbody tr:last-child td {
  vertical-align: top;
}

#outline__sec2 .table tbody tr:last-child td ul {
  text-align: left;
  padding: 0 20px 20px;
}

#outline__sec2 .table tbody tr:last-child td ul li {
  text-indent: -27px;
  padding-left: 27px;
}

#outline__sec2 .table tbody tr:last-child td ul li:not(:last-child) {
  padding-bottom: 15px;
}

#outline__sec2 .box-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 50px;
  padding-top: 145px;
}

#outline__sec2 .box-1 .col {
  background-color: #fff;
  padding: 30px 40px 40px;
}

#outline__sec2 .box-1 h3 span {
  display: inline-block;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

#outline__sec2 .box-1 h4 {
  font-weight: 400;
  padding-top: 20px;
}

#outline__sec2 .box-1 figure {
  padding-top: 20px;
}

#outline__sec2 .box-1 .txt {
  font-weight: 500;
  font-size: 18px;
  line-height: 32px;
  color: #4b4b4b;
  padding-top: 20px;
}

#outline__sec2 .box-2 {
  margin-top: 100px;
  position: relative;
}

#outline__sec2 .box-2 .icon {
  width: 124px;
  position: absolute;
  top: 0;
  left: calc(50% + 435px);
}

#outline__sec2 .box-2 h3 {
  padding-top: 20px;
}

#outline__sec2 .box-2 .txt {
  max-width: 990px;
  font-weight: 400;
  margin: 0 auto;
  padding-top: 30px;
}

#outline__sec2 .list-btn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  padding-top: 130px;
}

@media screen and (max-width: 1200px) {
  #outline__sec2 {
    padding: 150px 0 80px;
  }

  #outline__sec2 .table {
    padding-bottom: 121px;
  }

  #outline__sec2 .box-2 .icon {
    position: static;
    margin: 0 auto;
  }
}
@media screen and (max-width: 1023px) {
  #outline__sec2 .box-1 {
    grid-template-columns: 1fr;
  }

  #outline__sec2 .list-btn {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media screen and (max-width: 767px) {
  #outline__sec2 {
    padding: 80px 0 0 0;
  }

  #outline__sec2 .table {
    padding-top: 40px;
    padding-bottom: 124px;
  }

  #outline__sec2 .table th {
    width: auto;
    display: block;
  }

  #outline__sec2 .table td {
    width: auto;
    padding-left: 20px;
    display: block;
    height: auto;
  }

  #outline__sec2 .box-1 {
    gap: 20px;
    padding-top: 50px;
  }

  #outline__sec2 .box-1 .col {
    padding: 30px 20px;
  }

  #outline__sec2 .box-1 .txt {
    font-size: 14px;
    line-height: 22px;
  }

  #outline__sec2 .box-2 {
    margin-top: 50px;
  }

  #outline__sec2 .box-2 .icon {
    width: 62px;
  }

  #outline__sec2 .box-2 h3 {
    padding-top: 10px;
  }

  #outline__sec2 .box-2 .txt {
    padding-top: 20px;
  }

  #outline__sec2 .list-btn {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 50px;
  }
}
/*=============================================
 * About
 *=============================================*/
#about__sec1 .box-icon {
  margin-top: 120px;
}
#about__sec1 .box {
  max-width: 990px;
  margin: 0 auto;
}
#about__sec1 .box .txt:not(:last-child) {
  padding-bottom: 60px;
}
#about__sec1 .box figure {
  max-width: 625px;
  margin: 0 auto;
}
#about__sec1 .box figure:not(:last-child) {
  padding-bottom: 60px;
}

@media screen and (max-width: 767px) {
  #about__sec1 .box-icon {
    margin-top: 50px;
  }
  #about__sec1 .box-icon .txt {
    text-align: justify;
  }
  #about__sec1 .box .txt:not(:last-child) {
    padding-bottom: 30px;
  }
  #about__sec1 .box figure:not(:last-child) {
    padding-bottom: 30px;
  }
}
#about__sec2 {
  color: #fff;
  position: relative;
}
#about__sec2:before {
  content: "";
  width: 100%;
  height: 110%;
  background-image: linear-gradient(25deg, #006496, #82aebc);
  position: absolute;
  top: 0;
  left: 0;
  transform: skewY(-5deg);
}
#about__sec2 .desc {
  max-width: 990px;
  font-weight: 400;
  margin: 0 auto;
}
#about__sec2 .box table {
  width: 1300px;
}
#about__sec2 .box table th,
#about__sec2 .box table td {
  height: 90px;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  vertical-align: middle;
  text-align: center;
  border: 1px solid #006496;
}
#about__sec2 .box table thead th {
  background-color: #006496;
  color: #fff;
}
#about__sec2 .box table thead th:not(:last-child) {
  border-right-color: #fff;
}
#about__sec2 .box table tbody th,
#about__sec2 .box table tbody td,
#about__sec2 .box table tfoot th,
#about__sec2 .box table tfoot td {
  background-color: #fff;
  border-color: #006496;
  color: #4b4b4b;
}
#about__sec2 .box table tbody th,
#about__sec2 .box table tfoot th {
  color: #006496;
}
#about__sec2 .box table tbody th {
  background-color: #eafafc;
}
#about__sec2 .table-1 {
  margin-top: 60px;
}
#about__sec2 .table-1 thead th:first-child {
  width: 20%;
}
#about__sec2 .table-1 thead th:not(:first-child) {
  width: 16%;
}
#about__sec2 .table-2 {
  margin-top: 30px;
}
#about__sec2 .table-2 thead tr:not(:last-child) th + th {
  border-bottom-color: #fff;
}
#about__sec2 .table-2 tbody th {
  width: 90px;
}
#about__sec2 .table-2 tbody td {
  width: 215px;
}
#about__sec2 .table-2 tbody td:nth-child(2) {
  width: 340px;
}
#about__sec2 .table-2 tfoot th {
  text-align: left;
  padding: 0 25px;
}
#about__sec2 .table-2 tfoot td:nth-child(2),
#about__sec2 .table-2 tfoot td:nth-child(3) {
  border: 0;
}

@media screen and (max-width: 767px) {
  #about__sec2 .box table {
    width: 600px;
  }
  #about__sec2 .box table th,
  #about__sec2 .box table td {
    height: 40px;
    font-size: 12px;
    line-height: 18px;
  }
  #about__sec2 .table-2 {
    margin-top: 20px;
    width: 400px !important;
  }
  #about__sec2 .table-2 tbody th {
    width: 60px;
  }
  #about__sec2 .table-2 tbody td {
    width: 120px;
  }
  #about__sec2 .table-2 tbody td:nth-child(2) {
    width: 250px;
  }
}
/*=============================================
 * faq
 *=============================================*/
#faq h3 {
  padding-top: 30px;
}
#faq .box-qa {
  padding-top: 50px;
}

.box-qa {
  counter-reset: section;
}
.box-qa .item {
  counter-increment: section;
}
.box-qa .item:not(:last-child) {
  padding-bottom: 100px;
}
.box-qa .txt-q,
.box-qa .txt-a {
  font-weight: 500;
  line-height: 42px;
  position: relative;
  padding: 15px 180px;
}
.box-qa .txt-q {
  border-bottom: 1px solid;
  padding-top: 30px;
  padding-bottom: 30px;
  cursor: pointer;
}
.box-qa .txt-q:before {
  content: "Q" counter(section);
  font-size: 59px;
  line-height: 60px;
  position: absolute;
  top: 45%;
  left: 70px;
  transform: translateY(-50%);
}
.box-qa .txt-q:after {
  content: "";
  width: 20px;
  height: 20px;
  background-color: #dce7ea;
  position: absolute;
  bottom: -11px;
  left: calc(50% - 10px);
  box-sizing: border-box;
  transform: rotate(45deg);
  border-bottom: 1px solid;
  border-right: 1px solid;
}
.box-qa .txt-q i {
  display: block;
  width: 33px;
  height: 33px;
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
}
.box-qa .txt-q i:before,
.box-qa .txt-q i:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}
.box-qa .txt-q i:before {
  width: 100%;
  height: 0;
  border-top: 1px solid;
}
.box-qa .txt-q i:after {
  width: 0;
  height: 100%;
  border-left: 1px solid;
}
.box-qa .txt-a {
  display: none;
  background-color: #fff;
  margin-top: 30px;
}
.box-qa .txt-a:before {
  content: "A";
  font-size: 49px;
  line-height: 54px;
  position: absolute;
  top: 10px;
  left: 100px;
}
.box-qa .txt-a .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 225px;
  height: 34px;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 32px;
  background-color: #006496;
  color: #fff;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
  box-sizing: border-box;
  margin-left: 20px;
}
.box-qa .txt-a .btn:after {
  content: "";
  width: 45px;
  height: 7px;
  background: url("../img/common/btn-arrow-wh.png") no-repeat center/100% auto;
  display: block;
}
.box-qa .txt-a .btn:hover {
  background-color: #4b4b4b;
  opacity: 1;
}
.box-qa .is-active .txt-q i:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

@media screen and (max-width: 1200px) {
  .box-qa .txt-q,
  .box-qa .txt-a {
    padding: 15px 70px 15px 130px;
  }
  .box-qa .txt-q {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .box-qa .txt-q:before {
    left: 20px;
  }
  .box-qa .txt-q i {
    right: 20px;
  }
  .box-qa .txt-a:before {
    left: 20px;
  }
  .box-qa .txt-a .btn {
    margin: 10px 0 0;
  }
}
@media screen and (max-width: 767px) {
  #faq h3 {
    padding-top: 20px;
  }
  #faq .box-qa {
    padding-top: 40px;
  }

  .box-qa .item:not(:last-child) {
    padding-bottom: 30px;
  }
  .box-qa .txt-q,
  .box-qa .txt-a {
    line-height: 26px;
  }
  .box-qa .txt-q {
    font-size: 18px;
    padding: 20px 35px 20px 70px;
  }
  .box-qa .txt-q:before {
    font-size: 30px;
    left: 10px;
  }
  .box-qa .txt-q i {
    width: 16px;
    height: 16px;
    right: 10px;
  }
  .box-qa .txt-a {
    font-size: 15px;
    padding: 20px 10px 20px 40px;
  }
  .box-qa .txt-a:before {
    font-size: 25px;
    top: 2px;
    left: 10px;
  }
}
/* ------------------------
アイセル追加分 
------------------------ */

/* 共通 */

.top-sec {
  padding-top: 120px;
}
.bottom-sec {
  padding-bottom: 150px;
}
.blue-section,
.white-section {
  position: relative;
  padding: 150px 0;
}
.blue-section:before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: linear-gradient(25deg, #006496, #82aebc);
  position: absolute;
  top: 0;
  left: 0;
  transform: skewY(-5deg);
}
.white-section:before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transform: skewY(-5deg);
}
.btn-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 420px;
  height: 60px;
  color: #fff;
  background-color: #00c5dc;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .btn-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

/* 広報 */

.facility {
  padding-top: 150px;
}
.facility .box-1cl,
.facility .box-2cl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 50px;
  padding-top: 145px;
}
.facility .box-1cl {
  grid-template-columns: repeat(1, 1fr);
}
.facility .box-1cl .col,
.facility .box-2cl .col {
  background-color: #fff;
  padding: 30px 40px 40px;
}

.facility .box-1cl h3 span,
.facility .box-2cl h3 span {
  display: inline-block;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.facility .box-1cl h4,
.facility .box-2cl h4 {
  font-weight: 400;
  padding-top: 20px;
}

.facility .box-1cl figure,
.facility .box-2cl figure {
  padding-top: 20px;
  text-align: center;
}

.facility .box-1cl .txt,
.facility .box-2cl .txt {
  font-weight: 500;
  font-size: 18px;
  line-height: 32px;
  color: #4b4b4b;
  padding-top: 20px;
}

/* さがろい体操 */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

.video-modal iframe {
  width: 100%;
  height: 100%;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .facility .box-1cl .col,
  .facility .box-2cl .col {
    background-color: #fff;
    padding: 10px;
  }
  .facility .box-1cl{
    padding-top: 60px;
  }
  .facility .box-2cl {
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    padding-top: 40px;
  }
  .facility,
  .top-sec {
    padding-top: 80px;
  }
  .bottom-sec {
    padding-bottom: 80px;
  }
}

/* サガロイ通信 */

.magazine picture img {
  width: 600px;
  display: block;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .magazine picture img {
    width: 100%;
  }
}

/* デイケア頼り */
.daycare img{
  max-width: 300px;
}

/* MeLL+family（メルタスファミリー）について */

.mell_family_box{
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}
.mell_family_box>div{
  width: calc(50% - 50px);
  margin: 25px;
}
.mell_family_box>div figure{
  width: 100%;
}
.mell_family_box>div figure img{
  width: 100%;
}
.mell_family_box>div h3{
text-align: center;
  margin-top:40px;
  margin-bottom: 30px;
}
.mell_family_box>div p{
  font-size: 18px;
}
.profile-box{
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
    margin-top: 50px;

}
.profile {
  background:#006496;
  width: calc(100% / 3 - 50px );
}

.profile__img {
  position: relative;
}

.profile__img img {
  width: 100%;
}

.profile-box figure:after {
  content: "";
  width: 100%;
  height: 40px;
  background-color: #006496;
  position: absolute;
  bottom: -20px;
  left: 0;
  transform: skewY(-5deg);
}

.profile__name,.profile__yomi,.profile__desc {
  color: #fff;
}

.profile__name {
  padding: 10px 1.6rem 10px;
  font-weight: bold;
  font-size: 27px;
  letter-spacing: .1rem;
  opacity: .9;
}

.profile__yomi {
  padding: 0 1.6rem 5px;
  font-size: 20px;
  letter-spacing: .1rem;
  opacity: 0.9;
  border-bottom: 1px solid #fff;
  
}

.profile__desc {
  padding:1.6rem;
  line-height:1.6rem;
}
@media screen and (max-width: 1200px) {
.profile__name {
  font-size: 20px;
}

.profile__yomi {
  font-size: 18px;
}

}
@media screen and (max-width: 767px) {
.mell_family_box>div{
  width: calc(100% - 50px);
  margin: 25px;
}
  .profile {
  width: calc(100%);
    margin-bottom: 20px;
    max-width: 300px;
}
.profile__name {
  font-size: 5vw;
}

.profile__yomi {
  font-size: 3vw;
}

}
