/* スマートフォン用スタイルシート */

@media screen and (max-width: 768px) {
  html,
  body {
    min-width: 0;
    width: 100%;
    -webkit-text-size-adjust: 100%;
  }
  html {
    font-size: 2.67vw;
  }

  p,
  li,
  dt,
  dd {
    font-size: 1.4rem;
  }
  img {
    max-width: 100% !important;
    height: auto;
  }

  .sp_only {
    display: inherit;
  }

  .pc_only {
    display: none;
  }

  .sp_only_fl {
    display: flex !important;
  }

  .pc_only_fl {
    display: none !important;
  }

  .inner,
  .inner-900 {
    width: 94%;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
  }
  section {
    margin: 8rem 0 !important;
  } 


.main-bnr{
  display: none;
}


.icon-tuki {
  position: absolute;
  right: 4%;
  width: 50px;
  bottom: 110px;
}


.article {
  position: relative;
}


.guidance-page{
  background-size: 220%;
    padding-bottom: 7rem;
}
header .inner h1 img {
  width: 150px;
}

header{
  padding: 1rem 0;
}
/* ハンバーガーボタン（画像デザインに準拠） */
.hamburger-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 40px;
  padding: 5px;
  background: #1a237e;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 10;
  position: relative;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hamburger-bar {
  display: block;
  width: 30px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-label {
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1;
}

/* メニューオープン時のハンバーガーアイコン → × に変化 */
#mainHeader.is-nav-open .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#mainHeader.is-nav-open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
#mainHeader.is-nav-open .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
#mainHeader.is-nav-open .hamburger-label {
  opacity: 0;
  position: absolute;
}

/* スマホ: ナビは初期非表示、オーバーレイで表示 */
.header-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  padding: 6rem 2rem 2rem;
  z-index: 8;
  overflow-y: auto;
}

#mainHeader.is-nav-open .header-nav {
  display: block;
  transform: translateX(0);
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}


/* オーバーレイ（メニュー背面の暗転） */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 7;
}
#mainHeader .nav-overlay {
  display: none;
}
#mainHeader.is-nav-open .nav-overlay {
  display: block;
}

header .header-nav ul {
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

header .header-nav ul li {
  padding: 0;
  border-bottom: 1px solid #eee;
}

header .header-nav ul li::after {
  display: none;
}

header .header-nav ul li a {
  font-size: 1.5rem;
  display: block;
  padding: 1.5rem 0;
  color: #7a7573;
}

header .header-nav ul li:not(:last-child) {
  padding-right: 0;
}



footer{
  margin-top: 5rem;
}
footer ul {
  gap: 2rem;
  margin-top: 3rem;
}
footer ul li img {
  width: 60px;
  width: 35px;
  }

footer .inner {
  flex-direction: column;
  padding: 0 5rem;
  gap: 3rem;
}
.copyright {
  padding: 3rem 0;
  text-align: center;
  font-size: 1.2rem;
  border-top: solid 1px;
  margin: 4rem 3rem ;
}
#fixed-bnr-btn > ul:nth-child(1) {
  display: flex;
  position: fixed;
  bottom: 0;
}.footer-address > p{
  font-size: 1.2rem;
}

.footer-address > p > span {
  margin: 1rem 0;
  display: block;
}


.top-page .main-visual__image > h2:nth-child(1) {
  position: absolute;
  left: 50%;
  top: 50%;
  width: fit-content;
  text-align: center;
  transform: translateX(-50%) translateY(-50%);
  line-height: 1.3;
  width: 81%;
}

.main-visual__image > h2:nth-child(1) > span {
  /* font-size: 6.6rem; */
  font-size: 2.8rem;
}

.main-visual__image > h2:nth-child(1) > span > span {
  /* font-size: 5.4rem; */
  font-size: 2.4rem;
}

.main-visual__image > h2:nth-child(1) {
  top: 36%;
  font-size: 3rem;
  width: 81%;
}

div.main-bnr:nth-child(3) {
  position: absolute;
  left: 50%;
  top: 58%;
  width: fit-content;
  width: 80%;
  text-align: center;
  transform: translateX(-50%) translateY(-50%);
  line-height: 1.3;
}


.contact-area > .inner > p {
  font-size: 1.5rem;
}

.contact-area {
  padding: 5rem 0;
}

.contact-area > .inner > .contact-btn a {
  /* font-size: 3.4rem; */
  /* padding: 2rem 4rem; */
  font-size: 1.7rem;
  padding: 1.6rem 3rem;
}

.contact-area > .inner > .contact-btn > a > svg {
  /* width: 30px; */
  width: 18px;
}

.contact-area > .inner > .contact-btn > a::after {
  /* border-width: 8px 0 7px 11px; */
  border-width: 5px 0 5px 8px;
}

.contact-area > .inner > .contact-btn {
  /* margin-top: 3rem; */
  margin-top: 2rem;
}

section .inner > h2 {
  font-size: 1.7rem;
  margin-bottom: 2rem;
  text-align: center;
}

.other-page .main-visual__image > h2:nth-child(1) {
  /* transform: translateX(-50%) translateY(-50%); */
  position: unset;
  transform: unset;
}

.other-page .main-visual__image h2 img {
  width: 140px;
  position: static;
  transform: unset;
  display: block;
  margin: 0rem auto 2rem;
}

.other-page.main-visual {
  padding: 3rem 0;
  margin: 1rem 0;
}

.other-page .main-visual__image {
  width: 86%;
  display: block;
}

  .other-page .main-visual__image > h2:nth-child(1) {
    width: 100%;
  }


.other-page .main-visual__image > p:nth-child(2) {
  font-size: 1.2rem;
  line-height: 2.3;
  font-weight: bold;
}


/*

TOPページ
.other-page .main-visual__image > p:nth-child(2)
*/
.top-catch-area__inner > h2 img {
  width: auto;
}
.catch-content > img:nth-child(1) {
  width: auto;
}

/* 要素 | https://demo.moe-joule.me/mikaduki/ */

.main-visual__inner > img:nth-child(1) {
  height: 250px;
  object-fit: cover;
}

.top-catch-area {
  background: url(../images/top/main-bg-sp.webp) no-repeat bottom left;
    background-size: auto;
  background-size: cover;
  padding: 8rem 0 8rem;
  margin: 0;
  background-size: 180%;
    padding-bottom: 10rem;
    margin-top: 0 !important;
}
.top-catch-area__inner {
  /* width: 57%; */
  width: 95%;
}

.top-catch-area__inner > h2 {
  /* margin-bottom: 4rem; */
  margin-bottom: 2rem;
  width: 50%;
}

.catch-content {
  /* margin-left: 5rem; */
  margin-left: 1rem;
  width: 90%;
  margin: auto;
}

.catch-content > p:nth-child(2) {
  /* font-size: 2rem; */
  font-size: 1rem;
}

.catch-content > img:nth-child(1) {
  /* margin-bottom: 3rem; */
  margin-bottom: 1rem;
}

.top-catch-area .pdf-btn {
  /* width: 300px; */
  width: 60%;
  position: unset;
  margin: auto;
  margin-top: 3rem;
}


/*

企業理念

*/



.main-ttl-area h2 {
  /* width: 450px; */
  /* margin: 0 auto 3rem; */
  width: 225px;
  margin: 0 auto 2rem !important;
}

.philosoph-area p {
  /* font-size: 2.4rem; */
  font-size: 1.5rem;
}

.greeting-content__inner {
  /* grid-template-columns: 1fr 1.2fr; */
  /* gap: 4rem; */
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
}

.greeting-content__text {
  /* font-size: 1.9rem; */
  font-size: 1.2rem;
}

.greeting-content_history_title {
  /* font-size: 1.8rem; */
  /* margin-bottom: 3px; */
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.greeting-content_history_content {
  /* font-size: 1.4rem; */
  font-size: 1.2rem;
  line-height: 1.8;
}

.greeting-content_history {
  /* margin-top: 3rem; */
  margin-top: 4rem;
}

.content-table dl > dd {
  /* font-size: 2rem; */
  font-size: 1rem;
}

.content-table dl > dt {
  /* font-size: 2rem; */
  /* padding-left: 2rem; */
  font-size: 1rem;
  padding-left: 1rem;
}

/* 要素 | https://demo.moe-joule.me/mikaduki/company */

.greeting-content__text > p:nth-child(1) {
  font-size: 1.2rem;
}


.office-area .content-table dl {
  grid-template-columns: 1fr 2.3fr;
}


.office-content {
  /* grid-template-columns: 3fr 1fr; */
  /* margin-top: 8rem; */
  grid-template-columns: 1fr;
  margin-top: 3rem;
}

.office-content > div:nth-child(2) {
  /* margin-top: 3rem; */
  margin-top: 1rem;
  width: 70%;
  margin: 1rem auto 0;
}

.company-page {
  /* background-size: 100%; */
  /* padding-bottom: 10rem; */
  background-size: 220%;
  padding-bottom: 7rem;
}

/* style.css | https://demo.moe-joule.me/mikaduki/aseets/css/style.css?v=1774338795 */

.business-content {
  /* grid-template-columns: 1fr 2fr; */
  grid-template-columns: 1fr;
}

.business-content_text {
  grid-area: 1 / 1 / 2 / 2;
  width: 90%;
  margin: auto;
}

.business-content_text > dl > dt {
  /* font-size: 3rem; */
  font-size: 1.7rem;
  font-weight: bold;
}

.business-content_text > dl > dd {
  /* font-size: 1.8rem; */
  font-size: 1.2rem;
}

.business-content_text > dl + dl {
  /* margin-top: 5rem; */
  margin-top: 3rem;
}

.business-content_img > img + img {
  /* margin-top: 7rem; */
  margin-top: 4rem;
}

.business-page {
  /* background-size: 100%; */
  background-size: 220%;
}

/* style-sp.css | https://demo.moe-joule.me/mikaduki/aseets/css/style-sp.css?v=1774338795 */

.main-ttl-area h2 {
  /* width: 225px; */
  /* margin: 0 auto 2rem; */
  width: 275px;
  margin: 0 auto 3rem;
}

/* 要素 | https://demo.moe-joule.me/mikaduki/business */

.business-content_img {
  width: 70%;
  margin: auto;
}


/*

利用案内

*/


.guidance-page.other-page .main-visual__image {
  width: 93%;
}
.business-area .main-ttl-area h2 {
  margin: 0 auto 4rem;
}

.care_manager-content {
  /* grid-template-columns: 1.3fr 1fr; */
  /* gap: 4rem; */
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 90%;
  margin: auto;
}

.care_manager-content__text .title {
  /* font-size: 3rem; */
  /* margin-bottom: 3rem; */
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  letter-spacing: 6px;
}

.care_manager-content__text .text {
  /* font-size: 2rem; */
  font-size: 1.2rem;
}

.service-area .main-ttl-area h2 {
  /* font-size: 3.8rem; */
  font-size: 1.9rem;
}

.service-area .main-ttl-area h2,
.guidance-area .main-ttl-area h2 {
  /* margin: 0 auto 5rem; */
  margin: 0 auto 3rem;
}

.service-content > dl > dt {
  /* font-size: 3rem; */
  font-size: 1.7rem;
  letter-spacing: 4px;
}

.service-content > dl > dd {
  /* font-size: 1.9rem; */
  font-size: 1.2rem;
  line-height: 2;
}

.service-content > dl + dl {
  /* margin-top: 7rem; */
  margin-top: 4rem;
}

/* 要素 | https://demo.moe-joule.me/mikaduki/guidance */

.service-content {
  width: 90%;
  margin: auto;
}

/* アクセス（SP） */
.access-page.other-page .main-visual__image.main-visual__image--pdf-only {
  min-height: 0;
}

/* 要素 | https://demo.moe-joule.me/mikaduki/access */

.access-content_map > p:nth-child(2) span {
  font-size: 1.15rem;
  margin-top: 1rem;
  display: block;
}

/* 要素 | https://demo.moe-joule.me/mikaduki/access */

.access-content_map > p:nth-child(2) {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.access-content iframe {
  height: 250px;
}

.access-content_map {
  /* margin-bottom: 10rem; */
  margin-bottom: 5rem;
}

.access-content p {
  font-size: 1.2rem;
  text-align: center;

  margin-top: 1rem;
}

/* 

recruit
*/

.recruit-page .main-visual__image > p > img:nth-child(1) {
  transform: unset;
  position: unset;
  transform: unset;
  margin-bottom: 1.5rem;
}

.recruit-content {
  grid-template-columns: 1fr;
  margin-top: 4rem;
}

.recruit-content__text > dl > dd {
  font-size: 1.2rem;
    letter-spacing: 0;

}

.recruit-content__text > dl > dt {
  font-size: 2rem;
}

img.recruit-text {
  width: 100%;
}

.recruit-table dl > dd {
  font-size: 1.2rem;

}

.recruit-table dl > dt {
  font-size: 1.3rem;
  padding-left: 0rem;
}

.recruit-table dl {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

  .recruit-page.other-page .main-visual__image {
    width: 96%;
  }



div.recruit-content__text:nth-child(2) {
  grid-area: 1 / 1 / 2 / 2;
}





.recruit01-content__img > img:nth-child(1) ,
.recruit02-content__img > img:nth-child(1) {
  width: 95%;
  margin: auto;
  display: block;
}



.recruit-content__text > dl {
  width: 95%;
  margin: auto;
}

.recruit-content__text > img {
  margin-left: 0rem;
}

}
