/* Small tablet / large mobile */
@media (min-width: 480px) and (max-width: 767.9px) {
    .desktop{
    display: none;
}
.mobile{
    display: block;}
  /* Styles for small tablet / large mobile */
    .hero__mainText {
    font-size: 10vw;
  }
body{
    overflow-x: hidden;
}
  .hero__subText {
    font-size: 1.4rem;
  }

  .hero__overlay {
    padding-left: 3vw;
  }
  .siteHeader {
    padding: 1.2rem 2rem;
  }

  .siteHeader__logo img {
    height: 3rem;
  }
    .snsSupport__content {
    flex-direction: column;
    align-items: center;
  }

  .snsSupport__title {
    text-align: center;
    font-size: 10vw;
    top: -2rem;
  }

  .snsSupport__textBlock {
    align-items: center;
  }

  .snsSupport__button {
    font-size: 1.8rem;
  }
    .nayami__title {
    font-size: 3.6rem;
  }

  .nayami__list {
    font-size: 1.6rem;
  }
  .snsManagement__content {
    flex-direction: column;
    align-items: center;
  }

  .snsManagement__title {
    font-size: 10vw;
    top: -1rem;
  }

  .snsManagement__imageBox {
    max-width: 90%;
  }
  .whyUs__content {
    flex-direction: column;
    align-items: center;
  }

  .whyUs__imageBox {
    max-width: 90%;
  }

  .whyUs__title {
    font-size: 8vw;
  }
    .fiveSteps__title {
    font-size: 3.6rem;
  }

  .fiveSteps__list {
    font-size: 1.6rem;
  }
.portfolio__title {
    font-size: 3.6rem;
  }

  .portfolio__subtitle {
    font-size: 1.8rem;
  }
    .pricing__title {
    font-size: 3.6rem;
  }

  .pricing__table th,
  .pricing__table td {
    font-size: 1.4rem;
    padding: 1rem;
  }

  .pricing {
    padding: 6rem 2rem;
  }
   .howTo__title {
    font-size: 3.6rem;
  }

  .howTo__subtitle {
    font-size: 1.6rem;
  }

  .howTo__step {
    font-size: 1.6rem;
    padding: 1.2rem 2rem;
  }
  .faq__title {
    font-size: 3.6rem;
  }

  .faq__subtitle {
    font-size: 1.6rem;
  }

  .faq {
    padding: 6rem 2rem;
  }

  .assessment__title {
    top: -2rem; /* slightly smaller offset on smaller screens */
    font-size: 2rem;}
  .assessment__lead {
    font-size: 2rem;
  }

  .assessment__desc {
    font-size: 1.6rem;
  }

  .assessment__button {
    font-size: 1.8rem;
  }
   .actNow__title {
    font-size: 3.6rem;
  }

  .actNow__lead {
    font-size: 1.8rem;
  }

  .actNow__list {
    font-size: 1.6rem;
  }

  .actNow__button {
    font-size: 1.8rem;
  }
  .footer__contactTitle {
    font-size: 3.6rem;
  }

  .footer__contactLead {
    font-size: 2rem;
  }

  .footer__contactText {
    font-size: 1.4rem;
  }

  .footer__contactButton {
    font-size: 1.8rem;
  }

  .footer__nav a {
    font-size: 1.8rem;
  }
  .topHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1000; /* stays on top */
}

.topHeader__hamburger {
  display: block;
  background: #BEAE7A;
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001; /* above everything */
}

.topHeader__hamburger span {
  display: block;
  width: 60%;
  height: 2px;
  background: white;
  margin: 6px auto;
  transition: all 0.3s ease;
}
.topHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1100;
}

.topHeader__hamburger {
  z-index: 1101;
}

.topHeader__mobileMenuWrapper {
  z-index: 1000;
}
.topHeader__hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.topHeader__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.topHeader__hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.topHeader__mobileMenuWrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #355D7D;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1000; /* below header but above page */
}

.topHeader__mobileMenuWrapper.active {
  transform: translateX(0);
}

.topHeader__mobileMenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.topHeader__mobileMenu a {
  color: white;
  font-size: 1.8rem;
  margin: 1.5rem 0;
  text-decoration: none;
}

.topHeader__mobileContact {
  background: url('assets/img/contact.jpg') center center / cover no-repeat;
  padding: 2rem;
  color: white;
  text-align: center;
}

.topHeader__mobileContactButton {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #BEAE7A;
  color: #BEAE7A;
  text-decoration: none;
  margin-top: 1rem;
}
.topHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1000; /* stays on top */
}

.topHeader__hamburger {
  display: block;
  background: #BEAE7A;
  width: 5vh;
  height: 5vh;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001; /* above everything */
}

.topHeader__hamburger span {
  display: block;
  width: 60%;
  height: 2px;
  background: white;
  margin: 6px auto;
  transition: all 0.3s ease;
}
.topHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1100;
  padding: 0;
  padding-left: 2vw;
}

.topHeader__hamburger {
  z-index: 1101;
}

.topHeader__mobileMenuWrapper {
  z-index: 1000;
}
.topHeader__hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.topHeader__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.topHeader__hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.topHeader__mobileMenuWrapper {
  position: fixed;
  top: 5vh;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #355D7D;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1000; /* below header but above page */
}

.topHeader__mobileMenuWrapper.active {
  overflow: hidden;
  transform: translateY(0);
}

.topHeader__mobileMenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.topHeader__mobileMenu a {
  color: white;
  font-size: 1.8rem;
  margin: 1.5rem 0;
  text-decoration: none;
}

.topHeader__mobileContact {
  background: url('assets/img/contact.jpg') center center / cover no-repeat;
  padding: 2rem;
  color: white;
  text-align: center;
}

.topHeader__mobileContactButton {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #BEAE7A;
  color: #BEAE7A;
  text-decoration: none;
  margin-top: 1rem;
}
  .topHeader__nav {
    display: none;
  }

  .topHeader__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .topHeader__logo img {
    height: 40px;
  }

  .topHeader__mobileMenu.active {
    display: flex;
  }

.topPagehero {height: 30vh;}
  .contactHeroInner { grid-template-columns: 1fr; align-items: start; }
  .contactForm {margin: 0;max-width: 90vw;width: 90vw;}
#contactPage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffffbf;
    height: 150vw;
    pointer-events: none;
    overflow: hidden;
}
#contactPage .companyProfile__left{
  width: 55vw;
  max-width: 55vw;
}
#contactPage .companyProfile__wrapper{width: 100vw;gap: 1vw;}

.formRow label span{
  color: red;
}
.radioCol label{
  color: black;
}
.formRow span{  color: red;}
/* Single news base layout */
.newsSingle {
  position: relative;
  min-height: 100vh;
  padding: 10vh 0; /* top/bottom */
  overflow: hidden;
}

/* background image + overlay */
.newsSingle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/COMPANY.png") center/cover no-repeat;
  opacity: 0.25;        /* overlay softness */
  pointer-events: none;
}

.newsSingle__bg {
  position: relative;
  z-index: 1;
}

.newsSingle__inner {
  max-width: 1200px;              /* just a safety max */
  margin: 0 auto;
  padding: 0 15%;
}

.newsSingle__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.newsSingle__label {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: #00a4e8;
  color: #fff;
  font-size: 0.75rem;
}

.newsSingle__title {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.newsSingle__hero {
  margin: 24px 0;
}

.newsSingle__heroImg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.newsSingle__body {
  line-height: 1.9;
}

/* Pager */
.newsSingle__pager {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}
 .newsSingle__bg {
    padding: 10vh 5vw;
  }

  .newsSingle__inner {
    padding: 24px 18px 40px;
  }

  .newsSingle__title {
    font-size: 18px;
  }

  .newsSingle__pager {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .newsSingle__pagerItem--list a {
    width: 100%;
    padding: 16px 0;
  }


  
}
/* Extra small mobile (just in case, under 480px) */




