* {
  box-sizing: border-box;
}

:root {
  --inner-width: 1140px;
  --color-primary: #fcdac4;
  --color-secondary: #9B3117;
  --color-secondary-old: #EF4136;    
  --color-item: #FBE6D1;
  --color-introduction: #be141b;
  --color-pink: #fcdfe2;
  --color-cs: #eedcce;    
}

html {
  font-size: 16px;
}

img {
  height: 100%;
}

body {
  font-size: 1rem;
  height: 100%;
  width: 100%;
}

body.introduction {
  background: var(--color-pink);
}

body.introduction2 {
  background: var(--color-cs);
}

@media screen and (min-width: 1720px) {
  body.introduction::before {
    content: "";
    position: fixed;
    height: 50%;
    width: 20%;
    bottom: 0%;
    left: 0;
    z-index: -1;
    background-image: url('../images/single-page-content-bg-left.png');
    background-repeat: no-repeat;
    background-size: contain;
  }

  body.introduction::after {
    content: "";
    position: fixed;
    height: 574px;
    width: 200px;
    right: -2px;
    top: 350px;
    z-index: -1;
    background-image: url('../images/single-page-content-bg-right.png');
    background-repeat: no-repeat;
    background-size: contain;
  }
    
  body.introduction2::before {
    content: "";
    position: fixed;
    height: 50%;
    width: 20%;
    bottom: 0%;
    left: 0;
    z-index: -1;
    background-image: url('../images/single-page-content-bg-left2.png');
    background-repeat: no-repeat;
    background-size: contain;
  }

  body.introduction2::after {
    content: "";
    position: fixed;
    height: 574px;
    width: 200px;
    right: -2px;
    top: 350px;
    z-index: -1;
    background-image: url('../images/single-page-content-bg-right2.png');
    background-repeat: no-repeat;
    background-size: contain;
  }    
}

/*  for single page */
/* 
.background {
  position: relative;
  z-index: -1;
}
.background.square {
  z-index: -1;
  position: relative;
}
.background.square::before {
  content: "";
  position: fixed;
  height: 180px;
  width: 300px;
  background: #f69321c4;
  top: 25%;
  left: 6.5%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  z-index: 5;
} 
*/

.head-logo {
  width: 65vw;
}

@media screen and (min-width: 1720px) {
  .head-logo {
    width: 380px;
  }
}

.acc-font-size {
  color: var(--color-secondary);
  /* line-height: 0; */
}

.acc-font-size div {
  cursor: pointer;
}

.acc-font-size div.active {
  border-bottom: 1px solid var(--color-secondary);
}

.acc-font-size .size1 {
  font-size: 24px;
}

.acc-font-size .size2 {
  font-size: 28px;
}

.acc-font-size .size3 {
  font-size: 32px;
}


/*.acc-font-size .size1 {
  font-size: 15.2px;
}

.acc-font-size .size2 {
  font-size: 19px;
}

.acc-font-size .size3 {
  font-size: 24.7px;
}*/

nav {
  z-index: 50;
}

.nav-inner {
  padding-top: 50px;
  max-width: var(--inner-width);
  margin: auto;
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
}

.nav-inner .menu a {
  cursor: pointer;
  width: 52px;
  height: 52px;
  background: #f7b0a062;
  border-radius: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner .menu a.menu_trigger {
  background: #fff;
}

.nav-inner .menu a img {
  width: 100%;
  max-height: 20px;
}

.nav-other-inner {
  margin: auto;
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 90;
  padding-top: 0;
  max-width: 94vw;
  background-color: #fff;
  border-radius: 0 0 30px 30px;
}

@media screen and (min-width: 1720px) {
  .nav-other-inner {
    max-width: 90vw;
  }
}

.nav-other-inner .menu .menu-wrapper {
  display: none;
  font-size: 19px;
  font-weight: 600;
  color: var(--color-secondary);
}

@media screen and (min-width: 1720px) {
  .nav-other-inner .menu .menu-wrapper {
    display: flex;
    gap: 20px;
  }
}

.nav-other-inner .menu a {
  cursor: pointer;
}

.nav-other-inner .menu a.menu_trigger {
  background: #fff;
}

@media screen and (min-width: 1720px) {
  .nav-other-inner .menu a.menu_trigger {
    display: none;
  }
}

.nav-other-inner .menu a img {
  width: 100%;
  max-height: 20px;
}

.nav-other-inner .acc-font-size,
.nav-other-inner .lang-switcher {
  display: none;
}

@media screen and (min-width: 1720px) {
  .nav-other-inner .acc-font-size,
  .nav-other-inner .lang-switcher {
    display: flex;
  }
}

.backdrop-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.4rem;
  margin: auto;
  /*width: 95vw;*/
  width: 100%;    
}

@media screen and (min-width: 1720px) {
  .backdrop-menu {
    width: 400px;
  }
}

.backdrop-menu .menu-item-wrapper {
  display: flex;
  flex-direction: column;
}

.backdrop-menu .item {
  transition: all .2s;
  border: 3px solid var(--color-secondary);
  height: 70px;
  display: flex;
  align-items: center;
  padding-left: 25px;
  justify-content: space-between;
  color: var(--color-secondary);
  cursor: pointer;
  font-weight: 700;
}

.backdrop-menu .item span {
  line-height: 1.2;
}

.backdrop-menu .item.expanded {
  margin-bottom: 0.5rem;
}

.backdrop-menu .item .img-wrap {
  width: 60px;
  height: 100%;
  display: flex;
  justify-content: center;
  background: var(--color-item);
  border-left: 2px solid var(--color-secondary);
}

.backdrop-menu .item .img-wrap img {
  width: 20px;
  transition: transform 0.3s;
}

.backdrop-menu .item.expandable.expanded .img-wrap img {
  transform: rotate(45deg);
}

.backdrop-menu .item:hover {
  background: var(--color-secondary);
  color: #fff;
}

.backdrop-menu .item.submenu-item {
  height: 45px;
  margin-left: 30px;
  font-size: 1.2rem;
  border-width: 1px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.backdrop-menu .submenu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
}

.backdrop-menu .submenu.hidden {
  max-height: 0;
}

.backdrop-menu .menu a {
  cursor: pointer;
  width: 52px;
  height: 52px;
  background: var(--color-item);
  border-radius: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.backdrop-menu .menu a.menu_trigger {
  background: #fff;
}

.backdrop-menu .menu a img {
  width: 100%;
  max-height: 20px;
}

.thumb {
  cursor: pointer;
}

footer {
  background-color: #fff;
    font-size: 12px;
}

footer .footer-inner {
  max-width: var(--inner-width);
  margin: auto;
}

footer .footer-inner div {
  flex-direction: column;
}

@media screen and (min-width: 1720px) {
  footer .footer-inner div {
    flex-direction: row;
  }
}

.content-container {
  height: 100%;
}

.lang-switcher div {
  background: #E2E2E2;
  color: var(--color-secondary);
  padding: 5px 10px 6px;
}

.lang-switcher div.active {
  background-color: var(--color-secondary);
  color: #fff;
}

.page-title-wrapper {
  /* background: url('../images/icon/dot.svg'); */
  /* background-repeat: no-repeat; */
  display: inline-block;
  position: relative;
  width: 100%;
}

@media screen and (min-width: 1720px) {
  .page-title-wrapper {
    padding-top: 20px;
    margin-bottom: 80px;
  }
}

.page-title-wrapper .page-title-inner {
  width: 100%;
  margin: auto;
  position: relative;
}

.cs-bullet {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cs-bullet div {
  padding-left: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #000;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
}

.cs-bullet div::before {
  content: "";
  background-image: url('../images/process3/cs-bullet-point.png');
  width: 14px;
  height: 14px;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  left: 0;
  top: 5px;
}

.cs-bullet div:last-child {
  border-bottom: 0;
}

.cs-bullet.no-m {
  gap: 5px;
}

.cs-bullet.no-m div {
  padding-bottom: 0;
  border-bottom: 0;
}

.single-img-section {
  margin: 0px auto 30px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.single-img-section:has(+ .line-divider) {
  margin-bottom: 0;
}

.single-img-section:has(+ .dot-divider) {
  margin-bottom: 0;
}

.single-img-section.sm {
  margin: 1.5rem auto;
}

.single-img-section.none {
  margin: .25rem auto;
}

.single-img-section img {
  width: 800px;
  max-width: 100%;
  height: auto;
  margin: auto;
  object-fit: contain;
}

.single-img-section p {
  text-align: center !important;
  font-style: italic;
  color: #555 !important;
  margin-bottom: 0 !important;
  font-size: 0.875rem !important;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-secondary, #EF4136);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #d63a30;
}


/* WCAG 2.4.1 - Bypass Blocks - skip-link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 0; /* Pops into view at the top of the page when tabbed to */
}


/* Ensure all interactive elements show a visible outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid #0056b3; /* Replace with a color that matches your brand */
  outline-offset: 2px;
}

/* Fix for legacy browsers that do not support focus-visible */
a:focus, button:focus {
  outline: 2px solid #0056b3;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) {
  outline: none;
}

.footer-nav-list {
  display: flex;
  align-items: center;  /* Centers all items vertically */
  flex-wrap: wrap;      /* Allows items to drop to a new line on smaller screens */
  gap: 20px;            /* Adds spacing between each list item */
  list-style-type: none; /* Removes the default bullet points */
  padding: 0;
  margin: 0;
}

