* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (min-width: 1440px) {
  .page_wrap {
    padding: 0 20rem;
  }
}


.page_wrap {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  width: 90%;
  margin: 5rem auto 10rem;
  font-family: "Zen Maru Gothic";
  padding: 0 10rem;
}

.first_area {
  color: #2c4a34;
}

.title_box {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-left: solid 0.5rem #2c4a34;
  margin-top: 5rem;
  gap: 3rem;
}

.dayservice_wrap {
  gap: 3rem;
}

.logo_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo_container .logo_item_01 {
  width: 7rem;
  margin-left: 2rem;
  background: transparent;
  background-color: transparent;
}

.aboutus {
  font-size: 3.5rem;
}

.en_aboutus {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
}

.en_aboutus::before {
  content: "－";
  margin-right: 0.3rem;
}

.message_container {
  width: 100%;
  max-width: 85rem;
  /* 左揃えにしたときに1行が長くなりすぎないよう調整（必要に応じて変更可） */
  margin: 5rem auto 0;
}

.sub_title {
  font-weight: 1000;
  font-size: 2.7rem;
  margin-top: 3rem;
  text-align: left;
  line-height: 1.6;
}


.sp_only {
  display: none;
}

.main_message {
  font-size: 2.7rem;
  margin-top: 2rem;
  text-align: left;
  font-weight: bold;
  line-height: 1.8;
}

.activity_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  /* 縦・横の隙間 */
  max-width: 90rem;
  /* 全体の横幅を適度に引き締め */
  margin: 5rem auto;
}

.activity_item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: calc(33.333% - 2rem);
  height: 22rem;
  /* padding: 15rem 0 の代わりに高さで調整 */
  padding: 0 1rem;
  background-image: url(../img/heart_logo.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 1.4;
  color: #2c4a34;
  -webkit-text-stroke: 1.5px #ffffff;
  paint-order: stroke fill;
}

.comment_box {
  display: block;
  width: 100%;
  background-color: #fff4e5;
  border-radius: 1.5rem;
  padding: 4rem 5rem;
  margin-top: 4rem;
  box-sizing: border-box;
}

.comment_box .comment,
.comment {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  text-align: left;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 2;
}

.comment span {
  display: block;
}

.sp_480 {
  display: none;
}

.sp_comment_01 {
  display: none;
}

.sp_comment_02 {
  display: none;
}

.sp_comment {
  display: block;
}

.br_sp {
  display: none;
}

.sp_comment_2 {
  display: none;
}

.second_area {
  color: #333b35;
}

.facility_group {
  margin-top: 15rem;
}

.logo_item {
  width: 7rem;
}

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

.dayservice_wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.dayservice {
  color: #2C4A34;
}

.center {
  font-size: 3.5rem;
}

.sp_only_02 {
  display: none;
}

.sp_comment_03 {
  display: none;
}

.center_02 {
  font-size: 3.5rem;
  margin-top: 0;
}

.en_version {
  font-size: 2rem;
  font-weight: bold;
}

.service_detail {
  display: flex;
  justify-content: space-between;
  color: #2C4A34;
}

.service_container {
  gap: 4rem;
  margin-top: 2rem;
  line-height: 5rem;
}

.service_item {
  font-size: 2.5rem;
  font-weight: bold;
}

.qrcode_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.qr_name {
  font-size: 1.6rem;
  font-weight: bold;
  font-family: Roboto Slab;
  color: #5EAD9F;
}

.qr_name_02 {
  font-size: 1.6rem;
  font-weight: bold;
  font-family: Roboto Slab;
  color: #5EAD9F;
}

.qrcode_item {
  width: 13.8rem;
}

.map_container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.map_item {
  width: 100%;
  height: 50rem;
  aspect-ratio: 16/9;
}

.sp_only_03 {
  display: none;
}

.photo_slider {
  position: relative;
  margin-top: 4rem;
}

.photo_slider.last_photo {
  margin-bottom: 4rem;
}

.photo_container {
  display: flex;
  gap: 2rem;
  margin-top: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.photo_container::-webkit-scrollbar {
  display: none;
}

.photo_frame {
  flex: 0 0 calc(25% - 1.5rem);
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 1.5rem;
  cursor: pointer;
  scroll-snap-align: start;
}

.photo_item {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .photo_frame:hover .photo_item {
    transform: scale(1.15);
  }
}

.slider_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: rgba(44, 74, 52, 0.65);
  border: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  z-index: 2;
  transition: background 0.2s ease;
}

.slider_arrow:hover {
  background: rgba(44, 74, 52, 0.9);
}

.slider_prev {
  left: -1.5rem;
}

.slider_next {
  right: -1.5rem;
}

.service_item a {
  color: inherit;
  text-decoration: none;
  font-size: 2.5rem;
}

.address {
  display: none;
}

.day_off {
  display: none;
}

.lightbox_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox_overlay.active {
  display: flex;
}

.lightbox_content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 必要に応じて背景やパディングを追加できます */
}

.lightbox_image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  /* 縦横比を維持したまま枠内に収める */
  display: block;
}

.lightbox_close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 10000;
}

.lightbox_arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background 0.2s ease;
  z-index: 10000;
}

.lightbox_arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.lightbox_prev {
  left: 2rem;
}

.lightbox_next {
  right: 2rem;
}

.sp_only_2 {
  display: none;
}

@media screen and (max-width: 1300px) {
  .sub_title .sp_1024 {
    display: block;
  }
}

@media screen and (max-width: 1024px) {

  .page_wrap {
    padding: 0;
  }

  .sp_only {
    display: block;
  }

  .main_message {
    font-size: 2.4rem;
  }

  .activity_item {
    font-size: 2.3rem;
    padding: 8rem 0;
  }

  .comment {
    font-size: 2rem;
  }

  .br_sp {
    display: block;
  }

  .photo_container {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 1rem);
    gap: 3rem;
  }

  .photo_frame {
    width: 100%;
    flex: unset;
  }

  .sp_comment_04 {
    display: block;
  }



  .address {
    display: block;
  }

  .day_off {
    display: block;
  }

  .day_off_indent {
    display: inline-block;
    padding-left: 3.2em;
  }
}

@media screen and (max-width: 768px) {
  .sp_only_2 {
    display: block;
  }

  .activity_container {
    gap: 1rem;
  }

  .activity_item {
    width: calc(50% - 1rem);
    background-size: 70%;
    font-size: 2.4rem;
  }

  .comment_box {
    line-height: 2.2;
  }

  .comment {
    font-size: clamp(1.6rem, 2.6vw, 3.2rem);
  }

  .dayservice_wrap {
    gap: 1rem;
  }

  .center {
    font-size: 3rem;
  }

  .center_02 {
    font-size: 3.6rem;
  }

  .sp_only_02 {
    display: block;
  }

  .service_item {
    font-size: 2.4rem;
  }

  .service_item a {
    font-size: 2.4rem;
  }

  .photo_container {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
  }

  .photo_frame:nth-child(n+5) {
    display: none;
  }

  .map_item {
    height: 25rem;
  }

  .slider_arrow {
    display: none;
  }

  .photo_wrap {
    display: flex;
    flex-direction: column-reverse;
  }

  .sp_comment {
    display: none;
  }

  .sp_comment_01 {
    display: block;
  }

  .sp_comment_02 {
    display: block;
  }

  .sp_comment_03 {
    display: block;
  }

  .sp_comment_04 {
    display: none;
  }
}

@media screen and (max-width: 699.98px) {
  .title_box {
    gap: 2rem;
  }

  .logo_container .logo_item_01 {
    width: 5rem;
  }

  .sub_title {
    font-size: 2.5rem;
  }

  .activity_item {
    font-size: 2.2rem;
    padding: 8rem 1rem;
  }

  .lightbox_prev {
    left: 0.5rem;
  }

  .lightbox_next {
    right: 0.5rem;
  }

  .lightbox_arrow {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
  }

  .lightbox_close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .sp_480_2 {
    display: block;
  }

  .center {
    font-size: 2.7rem;
  }

  .center_02 {
    font-size: 2.5rem;
  }

  .photo_frame {
    flex: 0 0 100%;
  }

  .slider_prev {
    left: 0.5rem;
  }

  .slider_next {
    right: 0.5rem;
  }

  .sp_only {
    display: inline;
  }

  .service_item {
    font-size: 2rem;
  }

  .service_item a {
    font-size: 2rem;
  }

  .qrcode_item {
    width: 10rem;
  }

  .qr_name {
    font-size: 1.5rem;
  }

  .qr_name_02 {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  .title_box {
    margin-top: 4rem;
  }

  .aboutus {
    font-size: 2.3rem;
  }

  .en_aboutus {
    font-size: 1.6rem;
  }

  .sub_title {
    font-size: 2.3rem;
  }

  .main_message {
    margin-top: 4rem;
    font-size: 1.7rem;
  }

  .sp_480 {
    display: block;
  }


  .activity_item {
    font-size: 1.8rem;
    width: calc(50% - 0.5rem);
    height: 15rem;
    min-height: 0;
    padding: 0 0.5rem;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .second_area {
    text-align: center;
  }

  .facility_group {
    margin-top: 7rem;
  }

  .activity_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
  }

  .comment_box {
    padding: 2.5rem 2rem;
  }

  .comment_box .comment {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.9;
    font-weight: 900;
    text-align: left;
  }

  .comment_box .comment span {
    display: inline;
    white-space: normal;
  }

  .message_text {
    text-align: center;
    line-height: 2.2;
    font-size: 1.2rem;
    overflow-wrap: anywhere;
  }

  .message_text .sp_480 {
    display: inline;
  }

  .center {
    font-size: 2rem;
  }

  .center_02 {
    font-size: 2rem;
  }

  .en_version {
    font-size: 1.8rem;
  }

  .sp_comment_02 {
    display: none;
  }

  .sp_comment_03 {
    display: none;
  }

  .sp_comment_04 {
    display: block;
  }

  .dayservice_wrap {
    text-align: left;
  }

  .qrcode_container {
    flex-direction: row;
    align-items: end;
    gap: 3rem;
  }

  .qrcode_item {
    margin-top: 2rem;
  }

  .service_detail {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
  }

  .service_container {
    width: fit-content;
    max-width: 100%;
    margin: 2rem auto 0;
    padding-left: 0;
    line-height: 4rem;
  }

  .service_item {
    text-align: left;
    font-size: 1.8rem;
  }
}