@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/

/* font-family: "Noto Sans JP", serif; */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

.wrapper_content {
  position: relative;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  z-index: 20;
}
#front-sectionPost .postlist li {
  border: none!important;

}
.postlist li,
.postlist li:first-child {
  border: none!important;
}
.postlist .post_text {
  position: relative;
}
.postlist .post_text:after {
  content: '';
  display: inline-block;
  background-size: 3px 1px;
  background-image: linear-gradient(to right, #000 1px, transparent 1px);
  background-repeat: repeat-x;
  background-position: left bottom;
  padding-bottom: 5px;
  position: absolute;
  height: 1px;
  bottom: 0;
  right: 0;
  width: 92%;
}
.postlist .post_text {
  padding: 18px 0;
}

.post .time, .postlist .time {
  font-weight: 700;
  color: #fff !important;
  background: #EF857D;
  padding: 8px 20px;
  letter-spacing: 1px;
  border-radius: 100vmax;
}
.post .time a, .postlist .time a {
  font-weight: 500;
  color: #fff!important;
}

.post4b li .post4b_contents {
  /*  opacity: 1; */
  display: none;
}
.post4b .time {
  display: block;
  color: #fff !important;
  background: #EF857D;
  border-radius: 5px;
}
.post4b_img img {
  border-radius: 15px;
}

.post_link a {
  color: #333333!important;
}
.post_link {
  border-bottom: none;
}

#wrapper {
  max-width: unset;
  padding: 0;
  position: relative;
  z-index: 1;
}

body {
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  background-image: url(/wp-content/uploads/mainBg.jpg);
  background-size: 1920px auto;
  background-repeat: repeat-y;
  background-position: top center;
}

body p {
  line-height: 1.8;
}

body:not(.home) #wrapper {
  width: unset;
}
body.category #wrapper, body.archive #wrapper , body.single #wrapper , body.page-contact #wrapper , body.page-thanks #wrapper , body.page-privacy #wrapper , body.error404 #wrapper {
  width: 94%;
  max-width: var(--content-max-width);
}

.page-id-17 #wrapper {
  width: 94%!important;
  max-width: var(--content-max-width);
  margin-inline: auto;
}
header#h1Header {
  background: #fff;
}
#thumbImg::before, header#h1Header::before {
  background: #000;
  opacity: 0;
}
header#h1Header h1.title {
  display: none;
}
#header,
.sticky-header #header > .inner {
  background-image: url(/wp-content/uploads/mainBg.jpg);
  background-size: 1920px auto;
  background-repeat: repeat-y;
  background-position: top center;
}
#header-upper {
  display: none!important;
}
.header__nav-contact {
  padding-right: 14px;
}
#header ul.header__contact {
  column-gap: 10px;
}
#header ul.header__contact li {
  height: auto;
}
#header a.head_btn {
  display: flex;
  align-items: center;
  flex-direction: unset;
  flex-wrap: wrap;
  gap: 4px;
  width: 190px;
  border-radius: 100vmax;
  height: 50px;
  font-weight: 700;
}
#header a.head_btn::before {
  display: inline-block;
  font-size: 1.5rem;
  margin: 0;
}
#header a.head_btn.tel_btn {
  position: relative;
  background: unset!important;
  color: #EF857D;
  border: solid 1px #EF857D;
}
#header a.head_btn.mail_btn {
  position: relative;
  background: #FFDDDB!important;
  color: #EF857D;
}
#header a.head_btn.trial_btn {
  position: relative;
  background: #EF857D!important;
  color: #fff;
}
#header a.head_btn.trial_btn::before {
  content: '\f073';
}
nav#mainNav ul li a,
nav#mainNav ul li a:hover,
nav#mainNav ul li.current-menu-item a,
nav#mainNav ul li.current-menu-item a:hover,
nav#mainNav ul li.current-menu-parent a {
  background: unset;
}
nav#mainNav ul li.current-menu-ancestor li.current-menu-item a {
  background: #fff;
}
nav#mainNav ul li a {
  color: #4E4854;
  padding: min(calc(15px + (1vw - 19.2px) * 0.5580), 15px) min(calc(28px + (1vw - 19.2px) * 1.6722), 28px);
}
nav#mainNav ul li a b {
  font-weight: 500;
  color: #4E4854;
}
nav#mainNav ul li.current-menu-item a b {
  color: #EF857D;
}
nav#mainNav ul li ul.sub-menu li a {
  color: #4E4854;
}
nav#mainNav ul li ul.sub-menu li a:hover {
  background: #EF857D;
  color: #fff;
}
nav#mainNav ul li.current-menu-parent a b {
  color: #EF857D;
}

.spmenu #menu span, .spmenu #menu span:before, .spmenu #menu span:after {
  background: #EF857D;
}
.spmenu #menu p {
  color: #EF857D;
  white-space:nowrap;
}

a#scrollUp {
  background: #EF857D;
}

#footer {
  padding: 30px;
}
#footer,#copyright {
  color: #fff;
  background: #EF857D;
}
#copyright {
  margin-top: 0;
}
#footer .footnav:not(:last-child) {
  margin-bottom: 20px;
}
#footer li a, .footeradd, .footertel, #footer li a:hover {
  color: #fff;
}
#footer .footnav ul > li::before, #footer .footnav ul > li::after {
  display: none;
}
#footer  .socialicon {
  margin-bottom: 15px;
}
#footer .socialicon .fa-facebook:before, #footer .socialicon .fa-twitter:before, #footer .socialicon .fa-youtube:before, #footer .socialicon .fa-instagram:before, #footer .socialicon .fa-x-twitter:before, #footer .socialicon .fa-line:before, #footer .socialicon .fa-tiktok:before {
  color: #fff;
}

.inner {
  width: 94%;
  max-width: 1200px;
  margin-inline: auto;
}

h1.title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--rem48);
  letter-spacing: .01em;
  color: #4E4854;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
  display: block;
  margin-bottom: 35px;
  position: relative;
}

.post h2 {
  font-weight: 700;
  color: #4E4854;
  margin-top: 0;
  margin-bottom: 30px;
}
.post h2:after {
  display: none;
}

.post h2.title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: var(--rem40);
  line-height: 1.5;
  color: #4E4854;
  text-align: center;
  padding: 0 !important;
  margin: 0!important;
  margin-bottom: 35px!important;
}
.post h2.title .en {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-inline: auto;
  font-size: var(--rem20);
  color: #EF857D;
}
.post h2.title .en::before {
  content: '';
  display: inline-block;
  background: url(/wp-content/uploads/mark.png)no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}

.post h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #4E4854;
  border: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 20px;
}
.post h3.title {
  text-align: center;
  font-weight: 500;
  font-size: var(--rem40);
  color: #EF857D;
  padding-bottom: 12px;
  position: relative;
}
.post h3.title::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: #EF857D;
  width: 60px;
  height: 2px;
}

.post h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #4E4854;
}

.post h4::before {
  background: #EF857D;
}

.linkBtn, .post .linkBtn, a.linkBtn {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  background: #EF857D;
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 15px 45px;
  text-align: center;
  border-radius: 100vmax;
  margin-top: 35px;
  margin-inline: auto;
}
.linkBtn:hover, post .linkBtn:hover, a.linkBtn:hover{
  background: #EF857D!important;
  color: #fff!important;
}

.cta {
  padding: 70px 0;
  background: linear-gradient(180deg,rgba(255, 135, 126, .8) 0%, rgba(255, 192, 129, .8) 50%, rgba(255, 179, 0, .8) 100%);
}
.cta .inner {
  background: rgba(255,255,255,.8);
  padding: 50px 5%;
}
.cta p {
  text-align: center;
}
.cta .buttonList {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.cta a {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: unset;
  border-radius: 100vmax;
  padding: 12px 24px;
  width: 260px;
  height: 60px;
}
.cta a::before {
  display: block;
  font-family: 'FontAwesome';
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  margin-right: 6px;
}
.cta a.telLink {
  background: #FFFFFF;
  color: #EF857D;
  border: solid 1px #EF857D;
}
.cta a.telLink::before {
  content: '\f095';
}
.cta a.mailLink {
  background: #FFDDDB;
  color: #EF857D;
}
.cta a.mailLink::before {
  content: '\f0e0';
}
.cta a.trialLink {
  background: #EF857D;
  color: #fff;
}
.cta a.trialLink::before {
  content: '\f073';
}

/*-----------------------------
共通
------------------------------*/
.image img {
  width: 100%;
  border-radius: 15px;
}

.pdfWrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdfWrap a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #333333;
  padding: 18px;
  background: #fff;
  border: solid 1px #EF857D;
  border-radius: 10px;
}
.pdfWrap a::before {
  content: '';
  display: inline-block;
  background: url(/wp-content/uploads/pdf.png)no-repeat;
  background-size: contain;
  aspect-ratio: 30 / 33;
  width: 24px;
}

/*-----------------------------
Top
------------------------------*/
.top.sec02 {
  background: linear-gradient(180deg,rgba(255, 135, 126, .17) 0%, rgba(255, 192, 129, .17) 50%, rgba(255, 179, 0, .17) 100%);
}
.top.sec02 h2.title {
  position: relative;
  z-index: 2;
}
.top.sec02 .image {
  position: relative;
  z-index: 1;
}
.top.sec02 .image::after {
  content: '';
  display: inline-block;
  background: url(/wp-content/uploads/watercolor01.png)no-repeat;
  background-size: contain;
  aspect-ratio: 476 / 311;
  width: 400px;
  max-width: 50%;
  position: absolute;
  top: -20%;
  left: -20%;
  z-index: -1;
}
.top.sec02 h3 {
  font-size: var(--rem30);
  color: #EF857D;
}
.top.sec02 .linkBtn {
  margin-left: 0;
}

.top.sec03 {
  position: relative;
  z-index: 1;
}
.top.sec03::before {
  content: '';
  display: inline-block;
  background: url(/wp-content/uploads/watercolor02.png)no-repeat;
  background-size: contain;
  aspect-ratio: 318 / 250;
  width: 280px;
  max-width: 30%;
  position: absolute;
  top: 5%;
  right: 7%;
  z-index: -1;
}
.top.sec03 ul {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: auto;
  gap: 40px;
}
.top.sec03 .image img {
  aspect-ratio: 3 / 2;
  object-fit: var();
}
.top.sec03 h3 {
  text-align: center;
  color: #EF857D;
  margin-top: 18px;
}

.top.sec04 {
  position: relative;
  background: linear-gradient(180deg,rgba(255, 179, 0, .17) 0%, rgba(255, 192, 129, .17) 50%, rgba(255, 135, 126, .17) 100%);
}
.top.sec04::after {
  content: '';
  display: inline-block;
  background: #F9E2E0;
  width: 159px;
  height: 50px;
  position: absolute;
  left: 50%;
  bottom: -49px;
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.top.sec04 ul {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: auto;
  gap: 40px;
}
.top.sec04 li {
  background: #fff;
  border-radius: 15px;
  padding: 15px;
}
.top.sec04 li .en {
  background: #F7EAE8;
  border-radius: 10px;
  display: block;
  text-align: center;
  padding: 10px;
  line-height: 1.2;
  color: #EF857D;
  font-weight: 500;
}
.top.sec04 li h3 {
  text-align: center;
  color: #EF857D;
  margin-top: 18px;
}
.top.sec04 .box h3 {
  text-align: center;
  color: #EF857D;
  font-weight: 700;
  font-size: var(--rem30);
}
.top.sec04 .flex {
  padding: 25px;
  border: solid 2px #EF857D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
}
.top.sec04 .flex .text {
  width: 47%;
}
.top.sec04 .flex .text p b {
  font-size: var(--rem20);
  font-weight: 500;
}
.top.sec04 .flex .imageBox {
  width: 47%;
}
.top.sec04 .flex .imageBox img {
  width: 100%;
}

.top.sec05 h3 {
  font-size: var(--rem30);
  color: #EF857D;
}
.top.sec05 address {
  display: block;
  background: #F7EAE8;
  padding: 7px 5%;
  margin-bottom: 16px;
  border-radius: 10px;
}
.top.sec05 .linkWrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.top.sec05 .linkWrap a {
  color: #EF857D;
  display: inline-block;
}
.top.sec05 .linkWrap a span {
  text-decoration: underline;
}
.top.sec05 iframe {
  width: 100%;
  height: 350px;
  border-radius: 15px;
}

.top.sec06 h2.title {
  position: relative;
  z-index: 2;
}
.top.sec06 .image {
  position: relative;
  z-index: 1;
}
.top.sec06 .image::after {
  content: '';
  display: inline-block;
  background: url(/wp-content/uploads/watercolor03.png)no-repeat;
  background-size: contain;
  aspect-ratio: 478 / 303;
  width: 400px;
  max-width: 50%;
  position: absolute;
  top: -20%;
  left: -20%;
  z-index: -1;
}
.top.sec06 h3 {
  font-size: var(--rem30);
  color: #EF857D;
}
.top.sec06 .linkBtn {
  margin-left: 0;
}

.top.sec07 .flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 30px;
}
.top.sec07 .flex a {
  display: block;
  width: 300px;
  box-shadow: 0 0 6px rgba(0, 0, 0, .16);
}
.top.sec07 .flex a img {
  width: 100%;
}

@media print, screen and (max-width: 768px) {
  .top.sec02 h3 {
    text-align: center;
  }
  .top.sec02 .linkBtn {
    margin-left: auto;
  }

  .top.sec03::before {
    top: 2%;
  }
  .top.sec03 ul {
    grid-template-columns: repeat(1,1fr);
  }

  .top.sec04::after {
    width: 100px;
    height: 40px;
    bottom: -39px;
  }
  .top.sec04 ul {
    grid-template-columns: repeat(1,1fr);
  }
  .top.sec04 .flex {
    flex-direction: column;
    gap: 30px;
  }
  .top.sec04 .flex .text {
    width: 100%;
  }
  .top.sec04 .flex .imageBox {
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
  }

  .top.sec06 h3 {
    text-align: center;
  }
  .top.sec06 .linkBtn {
    margin-left: auto;
  }
}

/*-----------------------------
地域密着型特別養護老人ホーム
------------------------------*/
.nursing.sec01 ul {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: auto;
  gap: 40px;
}
.nursing.sec01 ul li .image img {
  aspect-ratio: 3 / 2;
  object-fit: color;
}
.nursing.sec01 ul li  h3 {
  text-align: center;
  color: #EF857D;
  margin-top: 18px;
}
.nursing.sec01 table,
.nursing.sec01 table th,
.nursing.sec01 table td {
  background: unset;
  border: none;
  font-weight: 400;
}
.nursing.sec01 table tr {
  border-bottom: 1px solid #707070;
}
.nursing.sec01 .gallery img {
  border-radius: 15px;
}

.nursing.sec02 .wrap {
  display: grid;
  gap: 14px;
}
.nursing.sec02 .faq-item {
  overflow: clip;
}
.nursing.sec02 .faq-item > summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  outline: none;
  background: #FFDDDB;
  padding: 16px 20px;
}
.nursing.sec02 .faq-item > summary::-webkit-details-marker { display: none; }
.nursing.sec02 .q {
  font-weight: 500;
  color: #E65D5D;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1;
}
.nursing.sec02 .q-text {
  font-weight: 500;
  font-size: var(--rem18);
}
.nursing.sec02 .toggle {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.nursing.sec02 .toggle::before,
.nursing.sec02 .toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 2px;
  background: #E65D5D;
  border-radius: 1px;
  transition: transform .28s ease;
}
.nursing.sec02 .toggle::after { transform: rotate(90deg); }
.nursing.sec02 .faq-item[open] .toggle::after { transform: rotate(90deg) scaleX(0); }

.nursing.sec02 .a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease, padding .32s ease, margin .32s ease;
  padding-left: 40px;
  margin-top: 0;
}
.nursing.sec02 .a-wrap > div { min-height: 0; overflow: hidden; }
.nursing.sec02 .a-wrap p { margin: 12px 0 2px; line-height: 1.9; }

.nursing.sec02 .faq-item[open] .a-wrap {
  grid-template-rows: 1fr;
  padding-bottom: 6px;
}

.nursing.sec03 .inner {
  max-width: 1000px;
}

@media print, screen and (max-width: 768px) {
  .nursing.sec01 ul {
    grid-template-columns: repeat(1,1fr);
  }
}

/*-----------------------------
ショートステイ・デイサービス
------------------------------*/
.care.sec01 .box {
  background: #fff;
  border: solid 2px #EF857D;
  padding: var(--px40);
  max-width: 940px;
  margin-inline: auto;
}
.care.sec01 .box h3 {
  text-align: center;
  color: #EF857D;
  font-size: var(--rem30);
}
.care.sec01 .box .flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.care.sec01 .box table,
.care.sec01 .box table th,
.care.sec01 .box table td {
  background: unset;
  border: none;
  font-weight: 400;
}
.care.sec01 .box table {
  width: 50%;
  margin: 0;
}
.care.sec01 .box table tr {
  border-bottom: 1px solid #707070;
}

.care.sec03 .inner {
  max-width: 1000px;
}

.care.sec04 .box {
  background: #fff;
  padding: var(--px40);
}
.care.sec04 .box p {
  color: #EF857D;
}
.care.sec04 h3 {
  color: #EF857D;
  font-weight: 700;
  font-size: var(--rem24);
}

.care.sec06 .inner {
  max-width: 1000px;
}

@media print, screen and (max-width: 768px) {
  .care.sec01 .box .flex {
    display: block;
  }
  .care.sec01 .box table {
    width: 100%;
  }
}

/*-----------------------------
長崎愛心会とは
------------------------------*/
.about.sec01 .flexbox {
  padding: var(--px60);
  background: #F7EAE8;
  border-radius: 15px;
}
.about.sec01 .text h3 {
  color: #EF857D;
  font-size: var(--rem30);
}
.about.sec01 table,
.about.sec01 table th,
.about.sec01 table td {
  background: unset;
  border: none;
  font-weight: 400;
}
.about.sec01 table tr {
  border-bottom: 1px solid #707070;
}
.about.sec01 iframe {
  width: 100%;
  height: 350px;
  border-radius: 15px;
}

.about.sec02 .inner {
  max-width: 1000px;
}

@media print, screen and (max-width: 768px) {
  .about.sec01 .flexbox {
    padding: var(--px40);
  }
  .about.sec01 .text h3 {
    text-align: center;
  }
}

/*-----------------------------
採用情報
------------------------------*/
.recruit.sec01 .flexbox {
  padding: var(--px60);
  background: #F7EAE8;
  border-radius: 15px;
}
.recruit.sec01 .text h3 {
  color: #EF857D;
  font-size: var(--rem30);
}
.recruit.sec01 table,
.recruit.sec01 table th,
.recruit.sec01 table td {
  background: unset;
  border: none;
  font-weight: 400;
}
.recruit.sec01 table tr {
  border-bottom: 1px solid #707070;
}

@media print, screen and (max-width: 768px) {
  .recruit.sec01 .flexbox {
    padding: var(--px40);
  }
  .recruit.sec01 .text h3 {
    text-align: center;
  }
}

/*-----------------------------
お問い合わせ
------------------------------*/
.post .subimitarea .linkBtn {
  padding: 0;
  width: 300px;
}
.post .subimitarea .linkBtn::after,
.post .subimitarea .linkBtn::before {
  display: none;
}
body.page-contact .post table th {
  background: #FFDDDB;
}
.post .subimitarea .linkBtn input[type="submit"] {
  color: #fff;
  padding: 20px;
  font-weight: 700;
  background: #EF857D;
  border-radius: 100vmax;
}


/*--メディアクエリ--------------------------------------------*/
@media print, screen and (max-width: 1023px) {
  #content, #content.wide {
    width: 100%;
  }

  nav#mainNav ul li a {
    padding: 20px 10px;
  }
  nav#mainNav ul li a span {
    display: none;
  }

  nav#mainNav ul li a,
  nav#mainNav ul li a:hover,
  nav#mainNav ul li.current-menu-item a,
  nav#mainNav ul li.current-menu-item a:hover,
  nav#mainNav ul li.current-menu-parent a {
    background: #fff;
  }

  nav#mainNav ul li ul.sub-menu li a:hover {
    color: #4E4854;
  }

  .cta {
    padding: 40px 0;
  }
  .cta .inner {
    padding: 30px 5%;
  }
}

@media screen and (min-width: 769px){
  .dsp_hp { display:block; }
  .dsp_smt { display:none; }
}
@media screen and (max-width: 768px){
  .dsp_hp { display:none; }
  .dsp_smt { display:block; }
}

@media print, screen and (max-width: 640px) {
  .postlist .post_text:after {
    width: calc(100%);
  }
}

.pdfWrap a.web-link::before {
  content: '';
  display: inline-block;
  background: url(/wp-content/uploads/arrow.png)no-repeat;
  background-size: contain;
  aspect-ratio: 1;
  width: 24px;
}

.care.sec04 a {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: unset;
  border-radius: 100vmax;
  padding: 12px 24px;
  width: 260px;
  height: 60px;
}
.care.sec04 a::before {
  display: block;
  font-family: 'FontAwesome';
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  margin-right: 6px;
}
.care.sec04 a.telLink {
  background: #FFFFFF;
  color: #EF857D;
  border: solid 1px #EF857D;
}
.care.sec04 a.telLink::before {
  content: '\f095';
}