/*
Theme Name: Tomio Nursing Home
Author: Tomio
Version: 1.0
*/
/* PAGE HERO */

a{ text-decoration: none; color: #222; }
.page-hero {
  padding: 120px 20px 60px;
  text-align: center;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
}

/* CONTENT */
.page-content {
  padding: 60px 20px 120px;
}

.page-content .container {
  max-width: 900px;
  margin: 0 auto;
}

/* TYPOGRAPHY */
.page-content p {
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


.site-footer{ border-radius: 100px; margin-top: -150px; }
.post-detail {
  padding: 80px 20px 200px;
  background: linear-gradient(90deg, #cfe8d8, #bcd9f0);
}

.post-layout {
  display: flex;
  gap: 80px;
  max-width: 1440px;
  margin: 0 auto;
}

/* SIDEBAR */
.post-sidebar {
  width: 250px;
}

.post-sidebar ul {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0px 0px 15px 0px #00000026;
}

.post-sidebar li {
  list-style: none;
}
.post-sidebar li:hover{ background: #00AC971A; }

.post-sidebar li:last-child {
  border-bottom: none;
}


.post-sidebar a {
  display: block;
  padding: 18px;
  text-decoration: none;
  color: #333;
  font-size: 17px;
  line-height: 1.4;
}

.post-sidebar .active {
  background: #00AC971A;
  font-weight: bold;
}

/* CONTENT */
.post-content {
  flex: 1;
}

.post-category span {
  display: inline-block;
  padding: 5px 15px;
  background: #fff;
  border: 1px solid #0ea58a;
  border-radius: 20px;
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.post-title {
  font-size: 28px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.post-date {
  font-size: 15px;
  line-height: 1;
  margin-bottom: 30px;
  color: #666;
}

/* FEATURED IMAGE */
.post-thumbnail {
  background: #eee;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

.post-thumbnail img {
  width: 100%;
  display: block;
}

/* CONTENT */
.post-body p {
  line-height: 1.8;
  margin-bottom: 20px;
}




/* GRID */
.post-content a{ color: #222; text-decoration: none; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
}

.post-detail {
  border-radius: 100px 100px 0 0;
  margin-top: -90px;
  z-index: 99;
  position: relative;
}

.post-card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.post-card-thumb img,
.no-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #ddd;
}
.post-content .post-date{ line-height: 1.7; margin-bottom: 8px; }

/* BODY */
.post-card-body {
  padding: 15px;
}

/* TITLE */
.post-card-title {
  font-size: 15px;
  line-height: 1.7;
}




/* =========================
   GLOBAL PAGE BANNER
========================= */

.page-banner {
  position: relative;
  height: 550px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* overlay gradient */
.page-banner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* content */
.page-banner-content {
  color: #fff;
  max-width: 800px;
  margin-top: -90px;
}

/* small label */
.page-banner-label {
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  opacity: 0.9;
  font-family: "Outfit", sans-serif;
}

/* main title */
.page-banner-title {
  font-size: 53px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 99;
}

/* spacing from header */
.page-banner .container {
  width: 1440px;
  margin: 0 auto;
}


.post-sidebar ul li.active a {
  background: #e6f3f1; /* match your hover */
  color: #0fa38a;      /* your green */
}

/* OPTIONAL: smooth */
.post-sidebar ul li a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  transition: 0.3s;
}


/* =========================
   PAGINATION
========================= */

.custom-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

/* numbers */
.page-numbers {
  display: flex;
  gap: 15px;
}

.page-numbers a,
.page-numbers span {
  font-size: 18px;
  color: #333;
  text-decoration: none;
}

/* current page */
.page-numbers .current {
  color: #0fa38a;
  font-weight: bold;
}

/* arrows */
.page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}
.page-arrow a{ display: flex; }

.page-arrow:hover {
  transform: scale(1.1);
}

/* banner background */
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/nursing-home/assets/img/news-banner.png'); /* PC */
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.facilitybg{ background-image: url('/wp-content/themes/nursing-home/assets/img/facility-banner.png'); }
.guidebg{ background-image: url('/wp-content/themes/nursing-home/assets/img/guide-banner.png'); }
.faqbg{ background-image: url('/wp-content/themes/nursing-home/assets/img/faq-banner.png'); }
.contactbg{ background-image: url('/wp-content/themes/nursing-home/assets/img/contact-banner.png'); }

/* MOBILE */
@media (max-width: 900px) {

  .custom-pagination {
    gap: 15px;
  }

  .page-arrow {
    width: 40px;
    height: 40px;
  }

  .page-banner {
    height: 350px;
  }

  .page-banner-title { font-size: 38px; line-height: 1.3; }
	.page-banner-title span{ font-size: 28px; }
  .page-banner-label{ font-size: 16px; }
  
  .page-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/themes/nursing-home/assets/img/news-banner-sp.png'); /* PC */
    background-size: cover;
    background-position: center;
    z-index: 0;
  }
.facilitybg{ background-image: url('/wp-content/themes/nursing-home/assets/img/facility-banner-sp.png'); }
.guidebg{ background-image: url('/wp-content/themes/nursing-home/assets/img/guide-banner-sp.png'); }
.faqbg{ background-image: url('/wp-content/themes/nursing-home/assets/img/faq-banner-sp.png'); }
.contactbg{ background-image: url('/wp-content/themes/nursing-home/assets/img/contact-banner-sp.png'); }

  .page-banner-content{ width: 80%; margin: 0 auto; }

  .post-layout {
    flex-direction: column;
  }

  .post-sidebar {
    width: 100%;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }
  .post-detail{ border-radius: 50px 50px 0 0; margin-top: 70px; }

  .sp .post-sidebar{ width: 90%; margin: -40px auto; position: relative; z-index: 99; }

  .post-thumbnail img{ height: auto; }
  .post-content .post-date{ margin-bottom: 50px; }



}









/* =========================
   HERO SECTION
========================= */

.hero {
  overflow: hidden;
}

/* HERO */
.hero-inner{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:720px;
    position:relative;
    max-width:1440px;
    margin:0 auto;
}

/* LEFT */
.hero-left{
    padding:180px 80px 100px;
    position:relative;
    z-index:2;
}

/* RIGHT BLEED */
.hero-right{
    position:relative;
    height:840px;
    overflow:visible;

    margin-right:calc((100vw - 1440px)/-2);
    width:calc(100% + ((100vw - 1440px)/2));
}

.hero-right > img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hero-title {
  font-size: 37px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-family: fot-tsukuardgothic-std, sans-serif;
}

.hero-title span {
  color: #00AC97;
}

.hero-badge {
  margin: 25px 0 0;
  background: #00AC97;
  color: #fff;
  display: inline-block;
  padding: 5px;
  text-align: center;
  border-radius: 15px;
  font-size: 21px;
  line-height: 1.6;
  width: 90%; /* KEY FIX */
  text-align: center;
}

.hero-desc {
  font-size: 15px;
  margin-top: 20px;
  color: #555;
  max-width: 520px;
  line-height: 1.9;
}

/* BUTTONS */
.hero-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.btn-outline {
  border: 2px solid #00AC97;
  border-radius: 50px;
  padding: 8px 8px 8px 30px;
  color: #222;
  line-height: 1.6;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 240px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #00AC97;
  color: #fff;
}

/* ARROW */
.btn-outline span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline span img {
  width: 36px;
  height: 36px;
}

/* RIGHT */
/* .hero-right {
  position: relative;
}

.hero-right > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

/* FLOATING CARD */
.hero-card {
  position: fixed;
  bottom: 0;
  right: 25px;
  background: #FF7C6E;
  color: #fff;
  padding: 5px 0;
  border-radius: 15px 15px 0 0;
  text-align: center;
  width: 300px;
  z-index: 9999999;
}

/* TOP LABEL */
.hero-card p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hero-card-top {
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* arrow image */
.hero-card-top img {
  width: 18px;
  height: 18px;
}

/* MAIN TEXT */
.hero-card strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
  line-height: 1;

}

/* DATE */
.hero-card span {
  font-size: 12px;
  opacity: 0.9;
}

.topbbls1{ position: absolute; top: 100px; left: -50px; }
.topbbls2{ position: absolute; bottom: 110px; left: 41%; }


/* =========================
   FACILITY SECTION
========================= */

.facility {
  padding: 120px 0 150px;
  margin-top: -90px;
  position: relative;
  border-radius: 100px 100px 0 0;
  background: #fff linear-gradient(
		  134.16deg,
		  rgba(179, 224, 246, 0.5) 7.04%,
		  rgba(210, 231, 193, 0.5) 31.26%,
		  rgba(247, 247, 198, 0.5) 47.4%,
		  rgba(210, 231, 193, 0.5) 63.31%,
		  rgba(179, 224, 246, 0.5) 87.75%
		)
}

.facility-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
}

/* LEFT */
.facility-left {
  position: sticky;
  top: 120px;
  height: fit-content;
  padding-left: 80px;
}
.facility-left .label{ font-family: "Outfit", sans-serif; letter-spacing: 2px; color: #00AC97; font-size: 18px; font-weight: 500;  }
.green { color: #00AC97; }
.facility-left h2 {
  font-size: 46px;
  line-height: 1.3;
  margin: 10px 0 30px;
  font-family: fot-tsukuardgothic-std, sans-serif;
}
.facility-left p.subttle{ font-family: fot-tsukuardgothic-std, sans-serif; font-size: 22px; margin-top: 15px; }

.feature-btn {
  display: inline-flex !important;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  min-width: 160px;
  gap: 10px;
  border: 1px solid #00AC97 !important;
  border-radius: 50px;
  padding: 8px;
  background: #fff;
  text-decoration: none;
  color: #222;
  transition: all 0.2s ease;
}
.feature-btn:hover{ background: #00AC97; color: #fff; }
.feature-btn p{ font-size: 15px; width: 100%; text-align: center; }

/* RIGHT STACK */
.facility-right {
  position: relative;
  max-width: 900px;
}

/* CARD BASE */
.feature-card {
  position: sticky;
  top: 140px; /* base stick point */
  background: #fff;
  border-radius: 25px;
  padding: 60px 40px;
  margin-bottom: 40px;
  display: flex; 
  justify-content: center;
  box-shadow: none; 
  box-shadow: 0px 0px 30px 0px #00AC9726;
   transition: box-shadow .25s ease;
}
/* remove shadow when underneath */
.feature-card.shadow-off{
    box-shadow: none !important;
}


/* STACK OFFSET MAGIC */
.feature-card:nth-child(1) { z-index: 1; top: 140px; }
.feature-card:nth-child(2) { z-index: 2; top: 180px; }
.feature-card:nth-child(3) { z-index: 3; top: 220px; }
.feature-card:nth-child(4) { z-index: 4; top: 260px; }
.feature-card:nth-child(5) { z-index: 5; top: 300px; }
.feature-card:nth-child(6) { z-index: 6; top: 340px; }

/* CONTENT */
.card-content {
  display: flex;
  align-items: center;
  gap: 50px;
}
.card-content h3{ font-family: fot-tsukuardgothic-std, sans-serif; font-weight: 700; font-size: 37px; line-height: 1.3; }
.card-content p{ font-size: 17px; line-height: 1.7; margin-top: 20px; }
.card-content>div{ max-width: 435px; }

.card-num {
  font-family: "Outfit", sans-serif;
  letter-spacing: 2px;
  position: absolute;
  top: 0;
  left: 0;
  background: #e6f7f5;
  color: #00AC97;
  width: 125px;
  height: 125px;
  border-radius: 25px 0 90% 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 0 0 30px;
  font-size: 38px;
  font-weight: 600;
}

.feature-btn.sp{ display: none !important; }
.faq .feature-btn.sp{ display: none; }
.news .feature-btn.sp{ display: none; }


/* =========================
   GUIDE SECTION
========================= */
.guide{
  background:#fff;
  position: relative;
  border-radius:100px 100px 0 0;
  margin-top:-90px;
  overflow:hidden;
}

/* GUIDE SECTION */
.guide-section{
    position:relative;
    padding-bottom:90px; /* extend section itself */
    margin-bottom:-90px; /* cancel layout push */
    z-index:1;
}

.guide-inner{
    max-width:1440px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    position:relative;
}

/* LEFT */
.guide-left{
    position:relative;
    min-height:830px;

    margin-left:calc((100vw - 1440px)/-2);
    width:calc(100% + ((100vw - 1440px)/2));

    background:url('/wp-content/themes/nursing-home/assets/img/guide-img.png') center center/cover no-repeat;
}

.guide-left-inner{
    max-width:720px;
    margin-left:auto;
    padding:80px;
    position:relative;
    z-index:2;
}

/* RIGHT SIDE */
.guide-right{
    padding:80px 100px;
    background:#fff;
}

.leftlabel{ font-family: "Outfit", sans-serif; letter-spacing: 2px; color: #00AC97; font-size: 18px; font-weight: 500;  }
.leftlabelh2 {
  font-size: 46px;
  line-height: 1.3;
  margin: 10px 0 30px;
  font-family: fot-tsukuardgothic-std, sans-serif;
}

/* .guide-left-inner {
  padding: 80px;
} */

/* RIGHT
.guide-right {
  background: #fff;
  padding: 80px 130px;
} */

.guide-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 40px;
}

/* LIST */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #00AC97;
  border-radius: 15px;
  text-decoration: none;
  color: #222;
  transition: all 0.2s ease;
  background: #fff;
}

/* ICON BACKGROUND */
.guide-icon {
  width: 70px;
  height: 60px;
  background: #E6F7F5;
  border-radius: 10px 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-icon img {
  width: 28px;
}

/* ALIGNMENT FIX */
.guide-item {
  padding: 0 10px 0 0;
  overflow: hidden;
}

.guide-item span {
  flex: 1;
  padding: 0 20px;
  font-size: 17px;
}

.guide-item:hover {
  opacity: 0.7;
}

.guide-item img {
  width: 36px;
}

.guide-item .arrow {
  width: auto;
  height: auto;
}



/* =========================
   FAQ
========================= */

.faq {
  padding: 120px 0 250px;
  margin-top: -90px;
  position: relative;
  border-radius: 100px 100px 0 0;
  background: #fff linear-gradient(
		  134.16deg,
		  rgba(179, 224, 246, 0.5) 7.04%,
		  rgba(210, 231, 193, 0.5) 31.26%,
		  rgba(247, 247, 198, 0.5) 47.4%,
		  rgba(210, 231, 193, 0.5) 63.31%,
		  rgba(179, 224, 246, 0.5) 87.75%
		);
}

.faq-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
}

/* LEFT */
.faq-left {
  top: 120px;
  height: fit-content;
  padding-left: 80px;
}
.faq-left .label{ font-family: "Outfit", sans-serif; letter-spacing: 2px; color: #00AC97; font-size: 18px; font-weight: 500;  }
.green { color: #00AC97; }
.faq-left h2 {
  font-size: 46px;
  line-height: 1.3;
  margin: 10px 0 30px;
  font-family: fot-tsukuardgothic-std, sans-serif;
}
.faq-left p.subttle{ font-family: fot-tsukuardgothic-std, sans-serif; font-size: 22px; margin-top: 15px; }

.faq .feature-btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  min-width: 160px;
  gap: 10px;
  border: 2px solid #00AC97;
  border-radius: 50px;
  padding: 8px;
  background: #fff;
  text-decoration: none;
  color: #222;
  transition: all 0.2s ease;
}
.faq .feature-btn:hover{ background: #00AC97; color: #fff; }
.faq .feature-btn p{ font-size: 15px; width: 100%; text-align: center; }

/* RIGHT STACK */
.faq-right {
  position: relative;
  max-width: 900px;
}

.faq-item {
  background: #fff;
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-list{ display: flex; flex-direction: column; gap: 10px; }

/* QUESTION */
.faq-q {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-label {
  width: 24px;
  min-width: 24px;
  text-align: center;
  font-size: 33px;
  font-weight: 500;
  color: #00AC97;
  font-family: "Outfit", sans-serif;
}

.faq-q p {
  flex: 1;
  font-size: 20px;
  line-height: 1.7;
}
.faq-a p {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
}

/* TOGGLE */
.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: #00AC97;
  transition: all 0.25s ease;
}

.faq-toggle::before {
  width: 100%;
  height: 2px;
  top: 50%;
}

.faq-toggle::after {
  width: 2px;
  height: 100%;
  left: 50%;
}

/* minus */
.faq-item.active .faq-toggle::after {
  opacity: 0;
}

/* ANSWER */
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: all 0.35s ease;
  margin-top: 0;
  display: flex;
  gap: 20px;
}

.faq-item.active .faq-a {
  max-height: 300px;
  margin-top: 15px;
}

.faq-a p {
  font-size: 14px;
  line-height: 1.8;
}

/* =========================
   FAQ SLIDER
========================= */

.faq-marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 150px;
  position: relative;
}

.faq-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.faq-marquee .faq-marquee-track img {
  height: 180px;
  width: auto;
  flex-shrink: 0;
}

/* ðŸ‘‡ CHANGE THIS */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.sliderwrap{ position: relative; }
.midbbls1{ position: absolute; top: -115px; left: 15%; z-index: 99; }
.midbbls2{ position: absolute; bottom: -125px; right: 5%; z-index: 99; }


/* =========================
   NEWS SECTION
========================= */

.news {
  padding: 120px 0 150px;
  border-radius: 100px 100px 0 0;
  background: #fff;
  margin-top: -90px;
}

.news-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
}

/* LEFT */
.news-left {
  top: 120px;
  height: fit-content;
  padding-left: 80px;
}
.news-left .label{ font-family: "Outfit", sans-serif; letter-spacing: 2px; color: #00AC97; font-size: 18px; font-weight: 500;  }
.green { color: #00AC97; }
.news-left h2 {
  font-size: 46px;
  line-height: 1.3;
  margin: 10px 0 30px;
  font-family: fot-tsukuardgothic-std, sans-serif;
}
.news-left p.subttle{ font-family: fot-tsukuardgothic-std, sans-serif; font-size: 22px; margin-top: 15px; }

.news .feature-btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  min-width: 160px;
  gap: 10px;
  border: 2px solid #00AC97;
  border-radius: 50px;
  padding: 8px;
  background: #fff;
  text-decoration: none;
  color: #222;
  transition: all 0.2s ease;
}
.news .feature-btn:hover{ background: #00AC97; color: #fff; }
.news .feature-btn p{ font-size: 15px; width: 100%; text-align: center; }

/* RIGHT STACK */
.news-right {
  position: relative;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARD */
.news-card {
  border: 1.5px solid #00AC97;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.news-card:hover {
  background: #f7fffd;
}

/* INNER */
.news-card-inner {
  display: flex;
  align-items: center;
}

/* IMAGE */
.news-thumb {
  width: 165px;
}

.news-thumb img,
.news-thumb .no-thumb {
  width: 100%;
  max-width: 165px;
  height: 125px;
  object-fit: cover;
  background: #ddd;
  vertical-align: middle;
}

/* BODY */
.news-body {
  flex: 1;
  padding: 20px;
  position: relative;
}

/* META */
.news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}

.news-cat {
  border: 1px solid #00AC97;
  color: #222;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1;
}

.news-date {
  font-size: 15px;
}

/* TITLE */
.news-title {
  font-size: 14px;
  line-height: 1.6;
}

/* ARROW */
.news-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}

.news-arrow img {
  width: 100%;
}

.categ-date-sp{ display: none; }


/* =========================
   RECRUIT SECTION
========================= */

.recruit {
  background: #faf4e6;
  border-radius: 100px;
  margin-top: -90px;
  position: relative;
  z-index: 99999;
}


/* RECRUIT */
.recruit-inner{
    max-width:1440px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    position:relative;
}

/* LEFT IMAGE */
.recruit-left{
    position:relative;
    min-height:740px;
    overflow:visible;
    background:url('/wp-content/themes/nursing-home/assets/img/contact-img.png')
    center center / cover no-repeat;
    border-radius: 100px 0 0 100px;
    margin-left:calc((100vw - 1440px)/-2);
    width:calc(100% + ((100vw - 1440px)/2));
}

/* RIGHT */
.recruit-right{
    padding:120px 110px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:#F7F3E7;
    min-height:830px;
}


.recruit-left-inner {
  padding: 80px;
}


.recruit .leftlabel{ color: #F08300; }
.orange { color: #F08300; }
.recruit-right .recruit-p{ font-size: 15px; margin-bottom: 20px; line-height: 1.7; }
.recruit-right .footer-btn.orange{ width: 220px; font-size: 15px; }
.recruit-sptttle{ display: none; }

/* =========================
   CONTACT
========================= */

.contact {
  padding: 120px 0 250px;
  border-radius: 100px 100px 0 0;
  background: #fff linear-gradient(
		  134.16deg,
		  rgba(179, 224, 246, 0.5) 7.04%,
		  rgba(210, 231, 193, 0.5) 31.26%,
		  rgba(247, 247, 198, 0.5) 47.4%,
		  rgba(210, 231, 193, 0.5) 63.31%,
		  rgba(179, 224, 246, 0.5) 87.75%
		)
}

.contact-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  position: relative;
}

/* LEFT */
.contact-left {
  top: 120px;
  height: fit-content;
  padding-left: 80px;
  width: 600px;
}
.contact-left .label{ font-family: "Outfit", sans-serif; letter-spacing: 2px; color: #00AC97; font-size: 18px; font-weight: 500;  }
.contact-left h2 {
  font-size: 46px;
  line-height: 1.3;
  margin: 10px 0 30px;
  font-family: fot-tsukuardgothic-std, sans-serif;
}
.contact-right{ width: 735px; }
.contact-right .ftr-phone{ 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff;
  border-radius: 15px;
  padding: 16px;
  min-height: 224px;
 }
.contact-right .ftr-phone div {
    display: flex;
    align-items: center;
    gap: 5px;
}
.contact-right .ftr-phone span {
    font-size: 14px;
}
.contact-right .ftr-phone div a {
    font-size: 46px;
    font-weight: 500;
    text-decoration: none;
    color: #222;
    font-family: "Outfit", sans-serif;
}
.contactbbls{ position: absolute; bottom: -15px; left: 16%; }









@media (max-width: 1450px) {
  .guide-left{ border-radius: 100px 0 0 0; }
  .guide-right{ border-radius: 0 100px 0 0; }
  .recruit-left{ border-radius: 100px 0 0 100px; }
  .recruit-right{ border-radius: 0 100px 100px 0; }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  /* REMOVE GRID */
  .hero-inner {
    display: flex;
    flex-direction: column-reverse;
  }

 

  .hero-right{
      height:320px;
      position:relative;

      /* reset desktop bleed */
      width:100%;
      margin-right:0;
      overflow:hidden;
  }

  .hero-right > img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
  }

  /* CONTENT CARD */
  .hero-left {
    background: #fff;
    margin-top: 0;
    border-radius: 0;
    padding: 40px 10% 80px;
    position: relative;
    z-index: 2;
  }

  .hero-title {
    font-size: 25px;
    line-height: 1.8;
  }

  .hero-desc {
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.7;
  }

  .hero-badge {
    font-size: 18px;
    font-weight: 700;
    padding: 5px;
    margin-top: 0;
    width: 100%;
    border-radius: 12px;
    letter-spacing: 1px;
  }

  .hero-buttons { flex-direction: column; }
  .btn-outline { width: 100%; }

  .hero-card {
    width: calc(100% - 70px);
    left: 35px;
    right: 35px;
    bottom: 0;
    border-radius: 10px 10px 0 0;
    padding: 5px;
  }
  .hero-card:hover{ opacity: 0.7; }
  .hero-link{ display: block; }
  .hero-link:hover{ opacity: 0.7; }
  .spflex{ display: flex; justify-content: center; align-items: center; gap: 10px; }
  .hero-card-top { font-size: 14px; }
  .hero-card strong { font-size: 22px; }
  .hero-card span{ font-size: 11px; line-height: 1.2; text-align: left; }

  .hero-buttons { flex-direction: row; gap: 10px; }

  .btn-outline {
    flex: 1;
    min-width: unset;
    padding: 8px 10px 8px 15px;
    font-size: 12px;
  }

  .btn-outline span img {
    width: 28px;
    height: 28px;
  }

  .topbbls1.sp {
    position: absolute;
    top: -30px;
    left: 0;
    width: auto;
  }

  .topbbls2.sp {
    position: absolute;
    bottom: 0;
    right: 15px;
    z-index: 999;
    left: auto;
    width: auto;
  }


  
/* =========================
   FACILITY SECTION MOBILE
========================= */
  .facility{ 
    border-radius: 50px 50px 0 0; 
    margin-top: 0;
    padding: 40px 0 160px; 
    overflow: visible; 
    background: linear-gradient(
      134.16deg,
      rgba(179, 224, 246, 0.5) 7.04%,
      rgba(210, 231, 193, 0.5) 31.26%,
      rgba(247, 247, 198, 0.5) 47.4%,
      rgba(210, 231, 193, 0.5) 63.31%,
      rgba(179, 224, 246, 0.5) 87.75%
    );
  }
  .facility-inner {
    grid-template-columns: 1fr;
    width: 90%;
    overflow: visible;
    gap: 20px;
  }

  .facility-left {
    position: sticky;
    top: 0;
    z-index: 5;
    align-self: start;
    background: transparent;
    padding: 20px 0 10px 20px; 
  }
  .facility-left.unstick {
    position: relative;
    top: auto;
  }

  .facility-right {
    max-width: 100%;
    position: relative;
    z-index: 1;
  }

  .feature-btn.sp {
    display: flex !important;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    z-index: 0;
  }
  

  .feature-card {
    position: sticky;
    top: 120px; 
    padding: 30px 20px;
    margin-bottom: 20px;
    will-change: transform;
    background: #fff;
    transform: translateZ(0);
    transition: transform 0.2s ease;
  }

  .facility-left .label{ font-size: 16px; }
  .facility-left h2{ font-size: 35px; margin-bottom: 0; }
  .feature-btn p{ font-size: 14px; }
  .feature-btn.sp>span img{ max-width: 36px; }

  /* STACK OFFSET (compressed) */
  .feature-card:nth-child(1) { top: 100px; }
  .feature-card:nth-child(2) { top: 120px; }
  .feature-card:nth-child(3) { top: 140px; }
  .feature-card:nth-child(4) { top: 160px; }
  .feature-card:nth-child(5) { top: 180px; }
  .feature-card:nth-child(6) { top: 200px; min-height: 425px; }

  .stack-spacer {
    height: 400px; /* ðŸ”¥ adjust if needed */
  }

  .card-content {
    flex-direction: column;
    gap: 15px;
    text-align: left;
  }

  .card-content img {
    width: 70%;
    max-width: 200px;
  }

  .card-content h3 {
    font-size: 20px;
    line-height: 1.5;
  }

  .card-content p {
    font-size: 14px;
    margin-top: 10px;
  }

  .card-num {
    width: 90px;
    height: 90px;
    font-size: 26px;
    padding: 20px 0 0 20px;
    border-radius: 20px 0 100% 0;
  }



/* =========================
   GUIDE SECTION MOBILE
========================= */

/* =========================
   GUIDE SECTION MOBILE
========================= */

.guide{
    border-radius:50px 50px 0 0;
    overflow:hidden;
}

.guide-inner{
    display:flex;
    flex-direction:column;
}

.guide-left{
    min-height:260px;
    width:100%;
    margin:0;
    border-radius:50px 50px 0 0;

    background:url('/wp-content/themes/nursing-home/assets/img/guide-img-sp.png')
    center center / cover no-repeat;
}

.guide-left-inner{
    padding:35px 10%;
}

.guide-right{
    padding:35px 7% 60px;
    background:#fff;
}

.guide-desc{
    font-size:14px;
    line-height:1.9;
    margin-bottom:25px;
}

.guide-list{
    gap:12px;
}

.guide-item{
    min-height:82px;
}

.guide-item span{
    font-size:18px;
    line-height:1.4;
}

.guide-icon{
    width:78px;
    height:82px;
}

.leftlabel{
    font-size:16px;
}

.leftlabelh2{
    font-size:35px;
    margin:0;
}


/* =========================
   FAQ MOBILE
========================= */

  .faq{ 
    border-radius: 50px 50px 0 0; 
    padding: 40px 0 160px; 
    margin-top: 0;
    overflow: visible; 
    background: linear-gradient(
      134.16deg,
      rgba(179, 224, 246, 0.5) 7.04%,
      rgba(210, 231, 193, 0.5) 31.26%,
      rgba(247, 247, 198, 0.5) 47.4%,
      rgba(210, 231, 193, 0.5) 63.31%,
      rgba(179, 224, 246, 0.5) 87.75%
    );
  }
  .faq-inner {
    grid-template-columns: 1fr;
    width: 90%;
    overflow: visible;
    gap: 20px;
  }

  .faq-left {
    top: 0;
    z-index: 5;
    align-self: start;
    background: transparent;
    padding: 20px 0 10px 20px; 
  }
  .faq-left.unstick {
    position: relative;
    top: auto;
  }

  .faq-right {
    max-width: 100%;
    position: relative;
    z-index: 1;
  }

  .faq-btn.sp {
    display: flex !important;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    z-index: 0;
  }
  .faq-left .label{ font-size: 16px; }
  .faq-left h2{ font-size: 35px; }
  .faq-left p.subttle{ font-size: 18px; }

  .faq-track img {
    width: 200px;
    height: 120px;
  }

  .faq-slider {
    margin-top: 50px;
  }
  .faq-marquee{ margin-top: 90px; }

  .faq-list{ margin-bottom: 30px; }
  .midbbls1{ top: -60px; left: 0; }
  .midbbls2{ bottom: -45px; right: 5%; }
  .faq .feature-btn.sp{ width: fit-content; }

  .faq-item{ padding: 0; }
  .faq-label{ font-size: 25px; }
  .faq-q{ padding: 15px 20px; }
  .faq-q p{ font-size: 18px; line-height: 1.4; }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 20px;
    background: #00AC971A; border-radius: 0 0 15px 15px;
  }
  .faq-item.active .faq-a {
    max-height: 500px; /* safe for longer content */
    padding: 15px 20px; /* apply padding only when open */
    margin-top:0;
  }
  .faq-a p{ line-height: 1.7; }


  /* =========================
    NEWS MOBILE
  ========================= */

    .news{ 
      border-radius: 50px 50px 0 0; 
      margin-top: 0;
      padding: 40px 0 80px; 
      overflow: visible; 
    }
    .news-inner {
      grid-template-columns: 1fr;
      width: 90%;
      overflow: visible;
      gap: 20px;
    }

    .news-left {
      top: 0;
      z-index: 5;
      align-self: start;
      background: transparent;
      padding: 20px 0 10px 20px; 
    }
    .news-left.unstick {
      position: relative;
      top: auto;
    }

    .news-right {
      max-width: 100%;
      position: relative;
      z-index: 1;
    }

    .news-btn.sp {
      display: flex !important;
      margin-left: auto;
      margin-right: 0;
      position: relative;
      z-index: 0;
    }

    .news .feature-btn.sp{ width: fit-content; margin-top: 15px; }

    .news-body {
      padding: 15px;
      width: 100% !important;
    }
    /* CARD */
    .news-card {
      border: 1.5px solid #00AC97;
      border-radius: 15px;
      overflow: hidden;
    }

    /* KEEP SIDE BY SIDE */
    .news-card-inner {
      display: flex;
      flex-direction: column;
      
    }

    /* IMAGE (LEFT) */
    .news-thumb {
      width: 42%;
    }

    .news-thumb img,
    .news-thumb .no-thumb {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* CONTENT (RIGHT) */
    
    .news-body {
      width: 60%;
      padding: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* ROW 1 */
    .news-top { margin-bottom: 6px; }

    /* META */
    .news-meta { display: none; }

    .news-cat {
      font-size: 12px;
      padding: 5px 0;
      width: 100%;
      text-align: center;
      margin-bottom: 8px;
    }

    .news-date {
      font-size: 15px;
    }

    /* ROW 2 */
    .news-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    /* TITLE */
    .news-title {
      font-size: 14px;
      line-height: 1.7;
      flex: 1;
    }

    /* ARROW */
    .news-arrow {
      position: relative;
      transform: unset;
      flex-shrink: 0;
      right: unset;
      top: unset;
      width: 36px;
      height: 36px;
    }
        
  .news-left .label{ font-size: 16px; }
  .news-left h2{ font-size: 35px; }

  .categ-date-sp{ display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 45%; }
  .news-row1-sp{ display: flex; width: 100%; gap: 20px; justify-content: flex-start; }

    /* =========================
      GUIDE SECTION MOBILE
    ========================= */

    /* =========================
      RECRUIT MOBILE FIX
    ========================= */

    .recruit{
        border-radius:50px;
        overflow:hidden;
    }

    .recruit-inner{
        display:flex;
        flex-direction:column;
    }

    .recruit-left{
        min-height:360px;
        width:100%;
        margin:0;
        border-radius:50px 50px 0 0;
        background:url('/wp-content/themes/nursing-home/assets/img/contact-img-sp.png')
        center 20% / cover no-repeat;
    }

    .recruit-right{
        min-height:auto;
        padding:35px 10% 60px;
        border-radius:0 0 50px 50px;
        background:#F7F3E7;
    }

    .recruit-left-inner{
        width:auto;
        padding:30px 10%;
    }

    .recruit-left-inner .leftlabelh2{
        margin:0;
    }

    .recruit-right .recruit-p{
        font-size:14px;
        line-height:1.8;
        margin-bottom:20px;
    }

    .recruit-right .footer-btn.orange{
        width:100%;
    }


    .recruit-right .sphide{ display: none; }
    .recruit-right .footer-btn.orange{ width: 100%; }
    .recruit-right .footer-btn.orange img{ width: 36px !important; }

    .contact {
        border-radius: 50px 50px 0 0;
        padding: 40px 0 160px;
        overflow: visible;
        background: linear-gradient(134.16deg, rgba(179, 224, 246, 0.5) 7.04%, rgba(210, 231, 193, 0.5) 31.26%, rgba(247, 247, 198, 0.5) 47.4%, rgba(210, 231, 193, 0.5) 63.31%, rgba(179, 224, 246, 0.5) 87.75%);
    }
    .contact-inner {
        flex-direction: column;
        width: 75%;
        gap: 20px;
    }
    .contact-right{ width: 100%; margin: 0 auto; }
    .contact-left {
        top: 0;
        z-index: 5;
        align-self: start;
        background: transparent;
        padding: 20px 0 10px 0;
        width: auto;
    }
    .contact-left h2{ margin: 10px 0 0 -10px; font-size: 35px; }
    .contact-left .label{ font-size: 16px; }
    .contact-right .ftr-phone div a{ font-size: 33px; }
    .contact-right .ftr-phone span{ font-size: 14px; }
    .contact-right .footer-btn.green{ font-size: 16px; }
    .contactbbls{ bottom: -60px; left: -40px; }
    .contact-right .ftr-phone{ min-height: auto; padding: 25px; }

}



#pagestemp .pagewrap{ max-width: 1200px; margin: 0 auto; }
#pagestemp .pagesnav{ display: flex; position: relative; z-index: 1000; margin-top: -155px; }
#pagestemp .pagesnav ul{ display: flex; justify-content: center; align-items: center; gap: 40px; width: 1000px; background: #fff; border-radius: 15px; padding: 15px 0; }
#pagestemp .pagesnav ul a{ text-decoration: none; font-size: 17px; font-weight: 500; }
#pagestemp .pagesnav ul li{ list-style: none; display: flex; gap: 5px; align-items: center; }
#pagestemp .pagessec_a{ margin-top: -110px; position: relative; border-radius: 100px 100px 0 0; padding: 40px 0 150px;
	background: #fff linear-gradient(
	  134.16deg,
	  rgba(179, 224, 246, 0.5) 7.04%,
	  rgba(210, 231, 193, 0.5) 31.26%,
	  rgba(247, 247, 198, 0.5) 47.4%,
	  rgba(210, 231, 193, 0.5) 63.31%,
	  rgba(179, 224, 246, 0.5) 87.75%
	); }
#pagestemp .pagessec_a.firstsec{ padding: 120px 0 150px; }
#pagestemp .pagessec_content .pagewrap{ display: flex; gap: 105px; justify-content: flex-start; align-items: flex-start; padding: 80px 0; }
#pagestemp .pagessec_left{ min-width: 290px; }
#pagestemp .pagewrap .pagessec_left p{ font-family: "Outfit", sans-serif; font-size: 21px; color: #00AC97; font-weight: 600; line-height: 1; }
#pagestemp .pagewrap .pagessec_left h1{ font-family: fot-tsukuardgothic-std, sans-serif; margin-top: 5px; font-size: 46px; color: #222; font-weight: 700; line-height: 1.3; }
#pagestemp .pagewrap .pagessec_right{ width: 800px; }
#pagestemp .pagewrap .pagessec_right .txtttle{ font-family: fot-tsukuardgothic-std, sans-serif; font-size: 36px; font-weight: 700; line-height: 1.4; }
#pagestemp .pagewrap .pagessec_right .txtdesc{ font-size: 17px; font-weight: 500; line-height: 2; margin-top: 25px; }
#pagestemp .pagewrap .pagessec_right .txtblwimg{ font-size: 15px; font-weight: 500; line-height: 1.7; }
#pagestemp .pagewrap .pagessec_right .drctrimg{ margin: 25px 0 5px; }

#pagestemp .pagessec_b{ margin-top: -110px; position: relative; border-radius: 100px 100px 0 0; padding: 40px 0 150px; background: #fff; }

#pagestemp .secsticky{ position: sticky; top: 170px; align-self: flex-start; z-index: 10; }
#pagestemp .secsticky.unstick { position: relative; top: auto; }
/* CARD BASE */
#pagestemp .feature-card {
  position: sticky;
  top: 170px; /* base stick point */
  background: #fff;
  border-radius: 25px;
  padding: 60px 40px;
  margin-bottom: 40px;
  display: flex; 
  justify-content: center;
  box-shadow: none; 
  box-shadow: 0px 0px 30px 0px #00AC9726;
}


/* STACK OFFSET MAGIC */
#pagestemp .feature-card:nth-child(1) { z-index: 1; top: 170px; }
#pagestemp .feature-card:nth-child(2) { z-index: 2; top: 210px; }
#pagestemp .feature-card:nth-child(3) { z-index: 3; top: 250px; }
#pagestemp .feature-card:nth-child(4) { z-index: 4; top: 290px; }
#pagestemp .feature-card:nth-child(5) { z-index: 5; top: 330px; }
#pagestemp .feature-card:nth-child(6) { z-index: 6; top: 360px; }

/* CONTENT */
#pagestemp .card-content { display: flex; align-items: center; gap: 50px; }
#pagestemp .card-content h3{ font-family: fot-tsukuardgothic-std, sans-serif; font-weight: 700; font-size: 37px; line-height: 1.3; }
#pagestemp .card-content p{ font-size: 17px; line-height: 1.7; margin-top: 20px; }
#pagestemp .card-content>div{ max-width: 435px; }

#pagestemp .card-num {
  font-family: "Outfit", sans-serif;
  letter-spacing: 2px;
  position: absolute;
  top: 0;
  left: 0;
  background: #e6f7f5;
  color: #00AC97;
  width: 125px;
  height: 125px;
  border-radius: 25px 0 90% 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 0 0 30px;
  font-size: 38px;
  font-weight: 600;
}

#pagestemp .titlediv p{ font-family: "Outfit", sans-serif; font-size: 21px; color: #00AC97; font-weight: 600; line-height: 1; }
#pagestemp .titlediv h1{ font-family: fot-tsukuardgothic-std, sans-serif; margin-top: 5px; font-size: 46px; color: #222; font-weight: 700; line-height: 1.3; margin-bottom: 30px; }
#pagestemp .pagessec_content .pagewrap.disblock{ display: block; }
#pagestemp .room-block { display: flex; border-radius: 15px; overflow: hidden; background: #f7f7f7; margin-bottom: 10px; }

/* LEFT */
#pagestemp .room-slider { position: relative; width: 50%; overflow: hidden; }
#pagestemp .slider-track { display: flex; transition: transform 0.5s ease; }
#pagestemp .slider-track img { width: 100%; flex-shrink: 0; object-fit: cover; }

/* ARROWS */
#pagestemp .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pagestemp .slider-btn.prev { left: 15px; }
#pagestemp .slider-btn.next { right: 15px; }

/* PROGRESS BAR */
#pagestemp .slider-progress {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
}

#pagestemp .slider-progress span { display: block; height: 100%; background: #00ac97; transition: transform 0.4s ease, width 0.3s ease; }

/* RIGHT */
#pagestemp .room-content { width: 50%; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
#pagestemp .jp-title { font-family: fot-tsukuardgothic-std, sans-serif; color: #00ac97; font-size: 42px; margin-bottom: 20px; line-height: 1.3; }
#pagestemp .room-meta { font-family: fot-tsukuardgothic-std, sans-serif; font-size: 33px; margin-bottom: 20px; line-height: 1.3; }
#pagestemp .room-content p { font-size: 15px; line-height: 1.7; }

#pagestemp .info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
#pagestemp .info-table tr{ border-bottom: 1px solid #ddd; }
#pagestemp .info-table tr:last-child{ border: none; }
#pagestemp .info-table th, .info-table td { padding: 22px 0; text-align: left; vertical-align: top; }
#pagestemp .info-table th { width: 220px; font-weight: 500; color: #333; }
#pagestemp .info-table td { color: #333; line-height: 2; }
#pagestemp .mapflx{ display: flex; gap: 40px; }
#pagestemp .mapflx p{ margin: 15px 0 25px; }
#pagestemp .mapflx p, .maptxt{ font-size: 15px; line-height: 1.7; }

#pagestemp iframe{ border-radius: 15px; }


@media (max-width: 900px) {

	#pagestemp .card-content { flex-direction: column; gap: 15px; text-align: left; }
	#pagestemp .card-content img { width: 70%; max-width: 200px; }
	#pagestemp .card-content h3 { font-size: 20px; line-height: 1.5; }
	#pagestemp .card-content p { font-size: 14px; margin-top: 10px; }
	#pagestemp .card-num { width: 90px; height: 90px; font-size: 26px; padding: 20px 0 0 20px; border-radius: 20px 0 100% 0; }

	#pagestemp .pagewrap{ width: 90%; margin: 0 auto; }
	#pagestemp .pagesnav ul { width: 100%; padding: 25px; display: flex; flex-wrap: wrap;  gap: 20px 30px; box-shadow: 0px 0px 15px 0px #00000026; justify-content: flex-start; }
	#pagestemp .pagesnav ul a { width: calc(50% - 15px); }
	#pagestemp .pagesnav ul li { width: 100%; }
	#pagestemp .pagessec_content .pagewrap{ flex-direction: column; padding: 0 0 20px; 	gap: 60px; }
	#pagestemp .pagessec_a, #pagestemp .pagessec_b{ border-radius: 50px 50px 0 0; }
	#pagestemp .pagessec_a.firstsec .pagessec_left{ margin: 100px auto 0; }
	#pagestemp .pagessec_left{ width: 85%; margin: 30px auto 0; }
	#pagestemp .pagewrap .pagessec_left h1{ font-size: 35px; }
	#pagestemp .pagewrap .pagessec_right{ width: 100%; margin: 0 auto; }
	#pagestemp .pagewrap .pagessec_right .txtttle{ font-size: 26px; line-height: 1.5; }
	#pagestemp .pagewrap .pagessec_right .txtdesc{ font-size: 14px; line-height: 1.7; }
	#pagestemp .pagewrap .pagessec_right .txtblwimg{ font-size: 14px; line-height: 1.5; }
	#pagestemp .secsticky{ top: 90px; }

	#pagestemp .titlediv{ width: 85%; margin: 30px auto 0; }
	#pagestemp .titlediv h1{ margin-bottom: 60px; }
	#pagestemp .info-table{ font-size: 14px; line-height: 1.4; }
	#pagestemp .info-table th{ width: 33%; }
	#pagestemp .mapflx{ flex-direction: column; gap: 20px;}
	#pagestemp .mapflx p, .maptxt{ font-size: 14px; }
	#pagestemp .maptxt{ margin: 20px 0; }
	#pagestemp .mapflx p{ margin: 0; }


	#pagestemp .room-block{ flex-direction: column; }
	#pagestemp .room-content{ width: 100%; padding: 30px 5%; }
	#pagestemp .room-slider{ width: 100%; }
	#pagestemp .jp-title{ font-size: 35px; }
	#pagestemp .room-meta{ font-size: 25px; }
	#pagestemp .room-content p{ font-size: 14px; }
}