/* WordPress Global Styles */
:root {
  --wp--preset--aspect-ratio--square: 1;
  --wp--preset--aspect-ratio--4-3: 4/3;
  --wp--preset--aspect-ratio--3-4: 3/4;
  --wp--preset--aspect-ratio--3-2: 3/2;
  --wp--preset--aspect-ratio--2-3: 2/3;
  --wp--preset--aspect-ratio--16-9: 16/9;
  --wp--preset--aspect-ratio--9-16: 9/16;
  --wp--preset--color--black: #000000;
  --wp--preset--color--cyan-bluish-gray: #abb8c3;
  --wp--preset--color--white: #ffffff;
  --wp--preset--color--pale-pink: #f78da7;
  --wp--preset--color--vivid-red: #cf2e2e;
  --wp--preset--color--luminous-vivid-orange: #ff6900;
  --wp--preset--color--luminous-vivid-amber: #fcb900;
  --wp--preset--color--light-green-cyan: #7bdcb5;
  --wp--preset--color--vivid-green-cyan: #00d084;
  --wp--preset--color--pale-cyan-blue: #8ed1fc;
  --wp--preset--color--vivid-cyan-blue: #0693e3;
  --wp--preset--color--vivid-purple: #9b51e0;
  --wp--preset--color--cmsmasters-colors-text: var(--cmsmasters-colors-text);
  --wp--preset--color--cmsmasters-colors-link: var(--cmsmasters-colors-link);
  --wp--preset--color--cmsmasters-colors-hover: var(--cmsmasters-colors-hover);
  --wp--preset--color--cmsmasters-colors-heading: var(--cmsmasters-colors-heading);
  --wp--preset--color--cmsmasters-colors-bg: var(--cmsmasters-colors-bg);
  --wp--preset--color--cmsmasters-colors-alternate: var(--cmsmasters-colors-alternate);
  --wp--preset--color--cmsmasters-colors-bd: var(--cmsmasters-colors-bd);
  --wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg, rgb(6, 147, 227) 0%, rgb(155, 81, 224) 100%);
  --wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg, rgb(122, 220, 180) 0%, rgb(0, 208, 130) 100%);
  --wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg, rgb(252, 185, 0) 0%, rgb(255, 105, 0) 100%);
  --wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg, rgb(255, 105, 0) 0%, rgb(207, 46, 46) 100%);
  --wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg, rgb(238, 238, 238) 0%, rgb(169, 184, 195) 100%);
  --wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg, rgb(74, 234, 220) 0%, rgb(151, 120, 209) 20%, rgb(207, 42, 186) 40%, rgb(238, 44, 130) 60%, rgb(251, 105, 98) 80%, rgb(254, 248, 76) 100%);
  --wp--preset--gradient--blush-light-purple: linear-gradient(135deg, rgb(255, 206, 236) 0%, rgb(152, 150, 240) 100%);
  --wp--preset--gradient--blush-bordeaux: linear-gradient(135deg, rgb(254, 205, 165) 0%, rgb(254, 45, 45) 50%, rgb(107, 0, 62) 100%);
  --wp--preset--gradient--luminous-dusk: linear-gradient(135deg, rgb(255, 203, 112) 0%, rgb(199, 81, 192) 50%, rgb(65, 88, 208) 100%);
  --wp--preset--gradient--pale-ocean: linear-gradient(135deg, rgb(255, 245, 203) 0%, rgb(182, 227, 212) 50%, rgb(51, 167, 181) 100%);
  --wp--preset--gradient--electric-grass: linear-gradient(135deg, rgb(202, 248, 128) 0%, rgb(113, 206, 126) 100%);
  --wp--preset--gradient--midnight: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
  --wp--preset--font-size--small: 13px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 36px;
  --wp--preset--font-size--x-large: 42px;
  --wp--preset--spacing--20: 0.44rem;
  --wp--preset--spacing--30: 0.67rem;
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem;
  --wp--preset--spacing--70: 3.38rem;
  --wp--preset--spacing--80: 5.06rem;
  --wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);
  --wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);
}

:where(.is-layout-flex) {
  gap: 0.5em;
}

:where(.is-layout-grid) {
  gap: 0.5em;
}

body .is-layout-flex {
  display: flex;
}

.is-layout-flex {
  flex-wrap: wrap;
  align-items: center;
}

.is-layout-flex> :is(*, div) {
  margin: 0;
}

body .is-layout-grid {
  display: grid;
}

.is-layout-grid> :is(*, div) {
  margin: 0;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 2em;
}

:where(.wp-block-columns.is-layout-grid) {
  gap: 2em;
}

:where(.wp-block-post-template.is-layout-flex) {
  gap: 1.25em;
}

:where(.wp-block-post-template.is-layout-grid) {
  gap: 1.25em;
}

.has-black-color {
  color: var(--wp--preset--color--black) !important;
}

.has-cyan-bluish-gray-color {
  color: var(--wp--preset--color--cyan-bluish-gray) !important;
}

.has-white-color {
  color: var(--wp--preset--color--white) !important;
}

.has-pale-pink-color {
  color: var(--wp--preset--color--pale-pink) !important;
}

.has-vivid-red-color {
  color: var(--wp--preset--color--vivid-red) !important;
}

.has-luminous-vivid-orange-color {
  color: var(--wp--preset--color--luminous-vivid-orange) !important;
}

.has-luminous-vivid-amber-color {
  color: var(--wp--preset--color--luminous-vivid-amber) !important;
}

.has-light-green-cyan-color {
  color: var(--wp--preset--color--light-green-cyan) !important;
}

.has-vivid-green-cyan-color {
  color: var(--wp--preset--color--vivid-green-cyan) !important;
}

.has-pale-cyan-blue-color {
  color: var(--wp--preset--color--pale-cyan-blue) !important;
}

.has-vivid-cyan-blue-color {
  color: var(--wp--preset--color--vivid-cyan-blue) !important;
}

.has-vivid-purple-color {
  color: var(--wp--preset--color--vivid-purple) !important;
}

.has-black-background-color {
  background-color: var(--wp--preset--color--black) !important;
}

.has-cyan-bluish-gray-background-color {
  background-color: var(--wp--preset--color--cyan-bluish-gray) !important;
}

.has-white-background-color {
  background-color: var(--wp--preset--color--white) !important;
}

.has-pale-pink-background-color {
  background-color: var(--wp--preset--color--pale-pink) !important;
}

.has-vivid-red-background-color {
  background-color: var(--wp--preset--color--vivid-red) !important;
}

.has-luminous-vivid-orange-background-color {
  background-color: var(--wp--preset--color--luminous-vivid-orange) !important;
}

.has-luminous-vivid-amber-background-color {
  background-color: var(--wp--preset--color--luminous-vivid-amber) !important;
}

.has-light-green-cyan-background-color {
  background-color: var(--wp--preset--color--light-green-cyan) !important;
}

.has-vivid-green-cyan-background-color {
  background-color: var(--wp--preset--color--vivid-green-cyan) !important;
}

.has-pale-cyan-blue-background-color {
  background-color: var(--wp--preset--color--pale-cyan-blue) !important;
}

.has-vivid-cyan-blue-background-color {
  background-color: var(--wp--preset--color--vivid-cyan-blue) !important;
}

.has-vivid-purple-background-color {
  background-color: var(--wp--preset--color--vivid-purple) !important;
}

.has-black-border-color {
  border-color: var(--wp--preset--color--black) !important;
}

.has-cyan-bluish-gray-border-color {
  border-color: var(--wp--preset--color--cyan-bluish-gray) !important;
}

.has-white-border-color {
  border-color: var(--wp--preset--color--white) !important;
}

.has-pale-pink-border-color {
  border-color: var(--wp--preset--color--pale-pink) !important;
}

.has-vivid-red-border-color {
  border-color: var(--wp--preset--color--vivid-red) !important;
}

.has-luminous-vivid-orange-border-color {
  border-color: var(--wp--preset--color--luminous-vivid-orange) !important;
}

.has-luminous-vivid-amber-border-color {
  border-color: var(--wp--preset--color--luminous-vivid-amber) !important;
}

.has-light-green-cyan-border-color {
  border-color: var(--wp--preset--color--light-green-cyan) !important;
}

.has-vivid-green-cyan-border-color {
  border-color: var(--wp--preset--color--vivid-green-cyan) !important;
}

.has-pale-cyan-blue-border-color {
  border-color: var(--wp--preset--color--pale-cyan-blue) !important;
}

.has-vivid-cyan-blue-border-color {
  border-color: var(--wp--preset--color--vivid-cyan-blue) !important;
}

.has-vivid-purple-border-color {
  border-color: var(--wp--preset--color--vivid-purple) !important;
}

.has-vivid-cyan-blue-to-vivid-purple-gradient-background {
  background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;
}

.has-light-green-cyan-to-vivid-green-cyan-gradient-background {
  background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;
}

.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {
  background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;
}

.has-luminous-vivid-orange-to-vivid-red-gradient-background {
  background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;
}

.has-very-light-gray-to-cyan-bluish-gray-gradient-background {
  background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;
}

.has-cool-to-warm-spectrum-gradient-background {
  background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;
}

.has-blush-light-purple-gradient-background {
  background: var(--wp--preset--gradient--blush-light-purple) !important;
}

.has-blush-bordeaux-gradient-background {
  background: var(--wp--preset--gradient--blush-bordeaux) !important;
}

.has-luminous-dusk-gradient-background {
  background: var(--wp--preset--gradient--luminous-dusk) !important;
}

.has-pale-ocean-gradient-background {
  background: var(--wp--preset--gradient--pale-ocean) !important;
}

.has-electric-grass-gradient-background {
  background: var(--wp--preset--gradient--electric-grass) !important;
}

.has-midnight-gradient-background {
  background: var(--wp--preset--gradient--midnight) !important;
}

.has-small-font-size {
  font-size: var(--wp--preset--font-size--small) !important;
}

.has-medium-font-size {
  font-size: var(--wp--preset--font-size--medium) !important;
}

.has-large-font-size {
  font-size: var(--wp--preset--font-size--large) !important;
}

.has-x-large-font-size {
  font-size: var(--wp--preset--font-size--x-large) !important;
}

:where(.wp-block-post-template.is-layout-flex) {
  gap: 1.25em;
}

:where(.wp-block-post-template.is-layout-grid) {
  gap: 1.25em;
}

:where(.wp-block-term-template.is-layout-flex) {
  gap: 1.25em;
}

:where(.wp-block-term-template.is-layout-grid) {
  gap: 1.25em;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 2em;
}

:where(.wp-block-columns.is-layout-grid) {
  gap: 2em;
}

:root :where(.wp-block-pullquote) {
  font-size: 1.5em;
  line-height: 1.6;
}

.has-cmsmasters-colors-text-color {
  color: var(--cmsmasters-colors-text) !important;
}

.has-cmsmasters-colors-text-background-color {
  background-color: var(--cmsmasters-colors-text) !important;
}

.has-cmsmasters-colors-link-color {
  color: var(--cmsmasters-colors-link) !important;
}

.has-cmsmasters-colors-link-background-color {
  background-color: var(--cmsmasters-colors-link) !important;
}

.has-cmsmasters-colors-hover-color {
  color: var(--cmsmasters-colors-hover) !important;
}

.has-cmsmasters-colors-hover-background-color {
  background-color: var(--cmsmasters-colors-hover) !important;
}

.has-cmsmasters-colors-heading-color {
  color: var(--cmsmasters-colors-heading) !important;
}

.has-cmsmasters-colors-heading-background-color {
  background-color: var(--cmsmasters-colors-heading) !important;
}

.has-cmsmasters-colors-bg-color {
  color: var(--cmsmasters-colors-bg) !important;
}

.has-cmsmasters-colors-bg-background-color {
  background-color: var(--cmsmasters-colors-bg) !important;
}

.has-cmsmasters-colors-alternate-color {
  color: var(--cmsmasters-colors-alternate) !important;
}

.has-cmsmasters-colors-alternate-background-color {
  background-color: var(--cmsmasters-colors-alternate) !important;
}

.has-cmsmasters-colors-bd-color {
  color: var(--cmsmasters-colors-bd) !important;
}

.has-cmsmasters-colors-bd-background-color {
  background-color: var(--cmsmasters-colors-bd) !important;
}

/* Classic Theme Styles */
.wp-block-button__link {
  color: #fff;
  background-color: #32373c;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em
}

.wp-block-file__button {
  background: #32373c;
  color: #fff;
  text-decoration: none
}

/* WP Emoji Styles */
img.wp-smiley,
img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

/* Safe SVG Styles */
.safe-svg-cover {
  text-align: center
}

.safe-svg-cover .safe-svg-inside {
  display: inline-block;
  max-width: 100%
}

.safe-svg-cover svg {
  fill: currentColor;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  width: 100%
}

/* WP Img Auto Sizes */
img:is([sizes=auto i], [sizes^="auto," i]) {
  contain-intrinsic-size: 3000px 1500px
}

/* Five Senses Section Redesign */

/* 1. Tabs Container & List */
.cmsmasters-widget-tabs .cmsmasters-tabs-list-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.cmsmasters-widget-tabs .cmsmasters-tabs-list {
  display: flex !important;
  justify-content: center;
  gap: 12px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #f8f8f8;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Tab Items */
.cmsmasters-widget-tabs .cmsmasters-tabs-list-item {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.cmsmasters-widget-tabs .cmsmasters-tab-title {
  display: block;
  padding: 14px 28px !important;
  text-decoration: none !important;
  position: relative;
  transition: all .3s ease;
  border-radius: 50px;
  background: transparent;
  white-space: nowrap !important;
}

.cmsmasters-widget-tabs .cmsmasters-tab-title:hover {
  background: rgba(69, 124, 116, 0.1);
}

.cmsmasters-widget-tabs .cmsmasters-tab-title__text {
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #666 !important;
  transition: all .3s ease;
  font-family: 'Noto Serif JP', serif;
}

/* Active Tab - Clear Visual Distinction */
.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.cmsmasters-active-tab .cmsmasters-tab-title,
.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.active-tab .cmsmasters-tab-title {
  background: #457C74 !important;
  box-shadow: 0 4px 12px rgba(69, 124, 116, 0.3);
}

.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.cmsmasters-active-tab .cmsmasters-tab-title__text,
.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.active-tab .cmsmasters-tab-title__text {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Hover Effect */
.cmsmasters-widget-tabs .cmsmasters-tab-title:hover .cmsmasters-tab-title__text {
  color: #457C74 !important;
}

.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.cmsmasters-active-tab .cmsmasters-tab-title:hover .cmsmasters-tab-title__text,
.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.active-tab .cmsmasters-tab-title:hover .cmsmasters-tab-title__text {
  color: #ffffff !important;
}

/* 2. Tab Content Layout (Split Screen) */
/* Force the specific post-content sections to be flex row on desktop */
/* These are unique IDs for the sections inside the tabs: 126, 130, 134, 138, 43675 */
.elementor-126 .elementor-section-wrap>.e-con,
.elementor-130 .elementor-section-wrap>.e-con,
.elementor-134 .elementor-section-wrap>.e-con,
.elementor-138 .elementor-section-wrap>.e-con,
.elementor-43675 .elementor-section-wrap>.e-con {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  min-height: 500px;
  gap: 0 !important;
}

/* Left side (Image) */
/* The first child container usually holds the BG image */
.elementor-126 .elementor-section-wrap>.e-con>.e-con:first-child,
.elementor-130 .elementor-section-wrap>.e-con>.e-con:first-child,
.elementor-134 .elementor-section-wrap>.e-con>.e-con:first-child,
.elementor-138 .elementor-section-wrap>.e-con>.e-con:first-child,
.elementor-43675 .elementor-section-wrap>.e-con>.e-con:first-child {
  width: 50% !important;
  flex: 0 0 50% !important;
  border-radius: 20px 0 0 20px !important;
  margin: 0 !important;
}

/* Right side (Text) */
/* The second child container */
.elementor-126 .elementor-section-wrap>.e-con>.e-con:last-child,
.elementor-130 .elementor-section-wrap>.e-con>.e-con:last-child,
.elementor-134 .elementor-section-wrap>.e-con>.e-con:last-child,
.elementor-138 .elementor-section-wrap>.e-con>.e-con:last-child,
.elementor-43675 .elementor-section-wrap>.e-con>.e-con:last-child {
  width: 50% !important;
  flex: 0 0 50% !important;
  background-color: #fcfbf9 !important;
  /* Very light cream */
  border-radius: 0 20px 20px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 60px !important;
  margin: 0 !important;
}

/* Typography adjustments inside the text area (Scoped) */
.elementor-126 .elementor-widget-heading h4,
.elementor-130 .elementor-widget-heading h4,
.elementor-134 .elementor-widget-heading h4,
.elementor-138 .elementor-widget-heading h4,
.elementor-43675 .elementor-widget-heading h4 {
  font-size: 32px !important;
  font-weight: normal !important;
  margin-bottom: 20px !important;
  font-family: serif;
  color: #333;
}

.elementor-126 .elementor-widget-heading p,
.elementor-130 .elementor-widget-heading p,
.elementor-134 .elementor-widget-heading p,
.elementor-138 .elementor-widget-heading p,
.elementor-43675 .elementor-widget-heading p {
  font-size: 14px !important;
  line-height: 2 !important;
  color: #666;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1312px) {
  .cmsmasters-widget-tabs .cmsmasters-tabs-list-wrapper {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .cmsmasters-widget-tabs .cmsmasters-tabs-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cmsmasters-widget-tabs .cmsmasters-tabs-list::-webkit-scrollbar {
    display: none;
  }

  .cmsmasters-widget-tabs .cmsmasters-tab-title {
    padding: 12px 22px !important;
  }

  .cmsmasters-widget-tabs .cmsmasters-tab-title__text {
    font-size: 15px !important;
  }

  /* Stack layout */
  .elementor-126 .elementor-section-wrap>.e-con,
  .elementor-130 .elementor-section-wrap>.e-con,
  .elementor-134 .elementor-section-wrap>.e-con,
  .elementor-138 .elementor-section-wrap>.e-con,
  .elementor-43675 .elementor-section-wrap>.e-con {
    flex-direction: column !important;
  }

  .elementor-126 .elementor-section-wrap>.e-con>.e-con:first-child,
  .elementor-130 .elementor-section-wrap>.e-con>.e-con:first-child,
  .elementor-134 .elementor-section-wrap>.e-con>.e-con:first-child,
  .elementor-138 .elementor-section-wrap>.e-con>.e-con:first-child,
  .elementor-43675 .elementor-section-wrap>.e-con>.e-con:first-child {
    width: 100% !important;
    height: 220px !important;
    /* Slightly smaller image on mobile */
    border-radius: 20px 20px 0 0 !important;
  }

  .elementor-126 .elementor-section-wrap>.e-con>.e-con:last-child,
  .elementor-130 .elementor-section-wrap>.e-con>.e-con:last-child,
  .elementor-134 .elementor-section-wrap>.e-con>.e-con:last-child,
  .elementor-138 .elementor-section-wrap>.e-con>.e-con:last-child,
  .elementor-43675 .elementor-section-wrap>.e-con>.e-con:last-child {
    width: 100% !important;
    border-radius: 0 0 20px 20px !important;
    padding: 25px !important;
  }

  /* Mobile Typography Overrides */
  .elementor-126 .elementor-widget-heading h4,
  .elementor-130 .elementor-widget-heading h4,
  .elementor-134 .elementor-widget-heading h4,
  .elementor-138 .elementor-widget-heading h4,
  .elementor-43675 .elementor-widget-heading h4 {
    font-size: 22px !important;
    /* Smaller heading */
    margin-bottom: 15px !important;
  }

  .elementor-126 .elementor-widget-heading p,
  .elementor-130 .elementor-widget-heading p,
  .elementor-134 .elementor-widget-heading p,
  .elementor-138 .elementor-widget-heading p,
  .elementor-43675 .elementor-widget-heading p {
    font-size: 14px !important;
    /* Keep readable */
    line-height: 1.8 !important;
  }
}

/* ===== Garaku Desktop Nav ===== */
.garaku-nav {
  position: relative;
  overflow: visible;
  z-index: 10;
}

.garaku-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.garaku-nav>ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.garaku-nav a {
  text-decoration: none;
  color: inherit;
}

.garaku-nav>ul>li>a {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6em;
  position: relative;
}

.garaku-nav>ul>li>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: #457C74;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.garaku-nav>ul>li:hover>a::after,
.garaku-nav>ul>li>a:focus::after {
  transform: scaleX(1);
}

.garaku-nav>ul>li:hover>a,
.garaku-nav>ul>li>a:focus {
  color: #457C74 !important;
}

/* Submenu base (animation via opacity/transform) */
.garaku-nav .garaku-sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  display: block;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
  padding: 15px 0;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  will-change: opacity, transform;
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}

.garaku-nav li:hover>.garaku-sub-menu,
.garaku-nav li:focus-within>.garaku-sub-menu,
.garaku-nav li.open>.garaku-sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
}

.garaku-nav .garaku-sub-menu li a {
  display: block;
  padding: 8px 25px;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #f9f9f9;
  transition: all .2s ease;
}

.garaku-nav .garaku-sub-menu li:last-child a {
  border-bottom: none;
}

.garaku-nav .garaku-sub-menu a:hover {
  background: #f5f5f5;
  color: #457C74;
  transform: translateX(4px);
}

.garaku-nav .fa-chevron-down {
  font-size: .7em;
  margin-left: 2px;
  color: #ccc;
}

@media (min-width:1024px) {
  .garaku-nav>ul>li>.garaku-sub-menu {
    display: block !important;
  }
}

/* Keep submenu expanded by default on desktop */
@media (min-width:1024px) {
  .garaku-nav>ul>li>.garaku-sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
  }
}

/* ===== Garaku Mobile Portal ===== */
.garaku-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-family: 'Noto Serif JP', serif;
}

.garaku-menu-toggle i {
  display: none;
}

.garaku-menu-toggle::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.garaku-mobile-menu-portal {
  display: none;
}

.garaku-mobile-menu-portal.active {
  display: block;
}

.garaku-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.garaku-mobile-menu-content {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 86vw;
  max-width: 420px;
  background: #fff;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}

.garaku-mobile-menu-portal.active .garaku-mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-close-top {
  display: none !important;
}

.mobile-menu-close-top i {
  display: none;
}

.mobile-menu-close-top::before,
.mobile-menu-close-top::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-menu-close-top::before {
  transform: rotate(45deg);
}

.mobile-menu-close-top::after {
  transform: rotate(-45deg);
  margin-top: -2px;
}

.mobile-menu-main-box {
  padding: 10px 20px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-ribbon {
  margin: 0 0 15px;
  font-weight: 600;
}

.garaku-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.garaku-mobile-nav-list>li {
  border-bottom: 1px solid #eee;
}

.garaku-mobile-nav-list a {
  display: block;
  padding: 14px 6px;
  color: inherit;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
}

.garaku-mobile-nav-list .mobile-menu-item-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.garaku-mobile-nav-list .sub-menu {
  list-style: none;
  margin: 0;
  padding-left: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.garaku-mobile-nav-list .has-children.open>.sub-menu {
  max-height: 600px;
}

.garaku-mobile-nav-list .sub-menu li a {
  font-size: 14px;
  color: #555;
  padding: 8px 18px;
}

.garaku-mobile-nav-list .sub-menu li a:hover {
  background: #f5f5f5;
  color: #457C74;
  transform: translateX(4px);
}

.mobile-submenu-toggle {
  display: inline-block;
  padding: 8px;
  cursor: pointer;
  color: #888;
}

.mobile-submenu-toggle:focus {
  outline: 2px solid #457C74;
  outline-offset: 2px;
}

@media (max-width:1312px) {
  .garaku-menu-toggle {
    display: inline-block;
  }

  .garaku-nav {
    display: none;
  }
}

/* ===== Elementor Plugin Menu: Desktop ===== */
/* Main items font + underline + hover color */
#menu-1-5c2708ed {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  /* prevent wrapping to two rows */
  column-gap: 22px;
  /* balanced spacing between items */
  white-space: nowrap;
  /* keep labels on one line */
}

#menu-1-5c2708ed>li {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 10px 0;
}

#menu-1-5c2708ed>li>a {
  padding: 0 6px;
}

#menu-1-5c2708ed>li>a {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  /* fix baseline differences */
  position: relative;
  color: inherit;
  text-decoration: none;
  display: flex;
  /* align inner spans */
  align-items: center;
  height: 44px;
  /* unified height */
  padding: 0 10px;
  /* horizontal rhythm */
  margin: 0 !important;
}

#menu-1-5c2708ed>li:not(.menu-item-has-children)>a {
  height: auto !important;
  padding: 10px 0 !important;
  /* top/bottom 10px, left/right 0 */
}

#menu-1-5c2708ed .elementor-widget-cmsmasters-nav-menu__item-text-wrap,
#menu-1-5c2708ed .elementor-widget-cmsmasters-nav-menu__arrow {
  display: inline-flex;
  align-items: center;
}

#menu-1-5c2708ed>li>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: #457C74;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

#menu-1-5c2708ed>li:hover>a,
#menu-1-5c2708ed>li>a:focus {
  color: #457C74 !important;
}

#menu-1-5c2708ed>li:hover>a::after,
#menu-1-5c2708ed>li>a:focus::after {
  transform: scaleX(1);
}


/* Prevent clipping */
.elementor-widget-cmsmasters-nav-menu__main {
  overflow: visible;
}

/* make sure widget container doesn't clip submenu */
.elementor-widget .elementor-widget-container {
  overflow: visible;
}

/* ===== Elementor Plugin Menu: Mobile (hamburger) ===== */
#menu-1-f0fbe14 a {
  font-family: 'Noto Serif JP', serif !important;
}

#menu-1-f0fbe14 .menu-item-43607>.sub-menu {
  display: block !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== PCナビゲーション（1024px以上）: サブメニュー フェード＋スライド ===== */
@media (min-width: 1024px) {

  /* any desktop item with submenu */
  #menu-1-5c2708ed>li.menu-item-has-children {
    position: relative;
    padding: 10px 0;
  }

  /* disable click on parent item (hover only) */
  /* allow hover on anchor (we only block click behavior via design, not pointer events) */
  #menu-1-5c2708ed>li.menu-item-has-children>a {
    pointer-events: auto !important;
  }

  #menu-1-5c2708ed>li.menu-item-has-children .elementor-widget-cmsmasters-nav-menu__arrow,
  #menu-1-5c2708ed>li.menu-item-has-children .cmsmasters-wrap-icon {
    pointer-events: auto !important;
  }

  /* NEW: robust submenu layer for hover-only reveal */
  #menu-1-5c2708ed>li.menu-item-has-children>ul.sub-menu,
  #menu-1-5c2708ed>li.menu-item-has-children>.elementor-widget-cmsmasters-nav-menu__dropdown-submenu {
    position: absolute !important;
    top: 100% !important;
    left: -20px !important;
    display: block !important;
    min-width: 220px;
    padding: 15px 0;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    z-index: 99999;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(15px) !important;
    will-change: opacity, transform;
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }

  #menu-1-5c2708ed>li.menu-item-has-children:hover>ul.sub-menu,
  #menu-1-5c2708ed>li.menu-item-has-children:hover>.elementor-widget-cmsmasters-nav-menu__dropdown-submenu,
  #menu-1-5c2708ed>li.menu-item-has-children:focus-within>ul.sub-menu,
  #menu-1-5c2708ed>li.menu-item-has-children:focus-within>.elementor-widget-cmsmasters-nav-menu__dropdown-submenu {
    background: #fff;
    border-color: #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  #menu-1-5c2708ed>li.menu-item-has-children>ul.sub-menu li,
  #menu-1-5c2708ed>li.menu-item-has-children>.elementor-widget-cmsmasters-nav-menu__dropdown-submenu li {
    padding: 0;
    display: block;
  }

  #menu-1-5c2708ed>li.menu-item-has-children>ul.sub-menu a,
  #menu-1-5c2708ed>li.menu-item-has-children>.elementor-widget-cmsmasters-nav-menu__dropdown-submenu a {
    display: block;
    padding: 8px 25px;
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f9f9f9;
    transition: all .2s ease;
  }

  #menu-1-5c2708ed>li.menu-item-has-children>ul.sub-menu li:last-child a,
  #menu-1-5c2708ed>li.menu-item-has-children>.elementor-widget-cmsmasters-nav-menu__dropdown-submenu li:last-child a {
    border-bottom: none;
  }

  #menu-1-5c2708ed>li.menu-item-has-children>ul.sub-menu a:hover,
  #menu-1-5c2708ed>li.menu-item-has-children>.elementor-widget-cmsmasters-nav-menu__dropdown-submenu a:hover {
    background: #f5f5f5;
    color: #457C74;
    transform: translateX(4px);
  }
}

/* Remove arrow icons on items without submenu */
#menu-1-5c2708ed>li:not(.menu-item-has-children) .elementor-widget-cmsmasters-nav-menu__arrow {
  display: none !important;
}

#menu-1-f0fbe14>li:not(.menu-item-has-children) .elementor-widget-cmsmasters-nav-menu__arrow {
  display: none !important;
}

/* Center align mobile list items and reduce font on phones */
@media (max-width: 1312px) {
  #menu-1-f0fbe14 {
    text-align: center;
  }

  #menu-1-f0fbe14>li>a {
    font-size: 14px;
  }

  #menu-1-f0fbe14 .sub-menu li a {
    font-size: 13px;
  }
}

/* ===== Testimonials pagination visibility & style fix ===== */
.swiper-pagination-wrap {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 20px 0 !important;
}

.cmsmasters-slider .swiper-pagination,
.swiper-pagination {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  gap: 10px !important;
}

/* Make pagination bullets pill-shaped and long */
.swiper-pagination-bullet {
  width: 20px !important;
  height: 6px !important;
  border-radius: 10px !important;
  /* Force pill shape */
  background: #dbdbdb !important;
  opacity: 0.5 !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.swiper-pagination-bullet-active {
  width: 45px !important;
  /* Longer active pill */
  background: #457C74 !important;
  /* Brand teal color */
  opacity: 1 !important;
}

/* Force Swiper Layout for all sliders to prevent sticking */
.cmsmasters-swiper-container {
  overflow: hidden !important;
  position: relative !important;
  display: block !important;
}

.cmsmasters-swiper-container .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  box-sizing: content-box !important;
}

.cmsmasters-swiper-container .swiper-slide {
  flex-shrink: 0 !important;
  height: auto !important;
}

/* (removed garaku header/mobile; reverting to elementor header UI) */

/* ===== Garaku PC Nav (from test.html, scoped) ===== */
@media (min-width:1024px) {

  /* hide plugin desktop menu to avoid duplicate */
  .elementor-widget-cmsmasters-nav-menu__main.cmsmasters-layout-horizontal {
    display: none !important;
  }

  .garaku-pc-nav {
    display: block;
  }
}

@media (max-width:1023px) {
  .garaku-pc-nav {
    display: none;
  }
}

.garaku-pc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.garaku-pc-nav>ul {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.garaku-pc-nav>ul>li {
  position: relative;
  padding: 10px 0;
}

.garaku-pc-nav>ul>li>a {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 15px;
  color: #4F4D4D;
  text-decoration: none;
  position: relative;
  display: block;
  padding: 10px 0;
}

.garaku-pc-nav>ul>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #457C74;
  transition: width .3s;
}

.garaku-pc-nav>ul>li:hover>a {
  color: #457C74;
}

.garaku-pc-nav>ul>li:hover>a::after {
  width: 100%;
}

.garaku-pc-nav .garaku-sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: #fff;
  min-width: 220px;
  padding: 15px 0;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 9999;
}

.garaku-pc-nav li:hover .garaku-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.garaku-pc-nav .garaku-sub-menu li a {
  display: block;
  padding: 8px 25px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #f9f9f9;
}

.garaku-pc-nav .garaku-sub-menu li:last-child a {
  border-bottom: none;
}

.garaku-pc-nav .garaku-sub-menu li a:hover {
  background: #f5f5f5;
  color: #457C74;
  transform: translateX(4px);
  transition: transform .2s;
}

/* ===== Five Senses Tabs: Multi-line layout for Mobile/Tablet ===== */

/* 1. Force the tab bar to be visible and allow wrapping */
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-wrapper {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  /* Disable horizontal scroll */
  margin-bottom: 35px !important;
}

/* 2. Hide accordion headers */
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.cmsmasters-accordion-item {
  display: none !important;
}

/* 3. List Layout: Unified design (Grey Pill Container) for all devices */
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  /* Allow wrapping on mobile/tablet */
  gap: 8px !important;
  /* Consistent gap */
  padding: 8px !important;
  /* Requested padding */
  margin: 0 auto !important;
  background: #f8f8f8 !important;
  /* Requested background */
  border-radius: 50px !important;
  /* Requested rounding */
  border: none !important;
}

/* 4. Tab Item design: Integrated look */
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item:not(.cmsmasters-accordion-item) {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tab-title {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 22px !important;
  white-space: nowrap !important;
  border-radius: 50px !important;
  background: transparent !important;
  /* Use container background */
  transition: all .3s ease !important;
  box-shadow: none !important;
}

/* Active State: Highlight the active bubble */
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.active-tab .cmsmasters-tab-title,
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.cmsmasters-active-tab .cmsmasters-tab-title {
  background: #457C74 !important;
}

@media (max-width: 1312px) {
  .elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list {
    border-radius: 20px !important;
    /* Slightly less rounded on mobile for multiple lines */
    padding: 10px !important;
  }
}

/* PC Specific: Keep it single row if possible */
@media (min-width: 1024px) {
  .elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list {
    flex-wrap: nowrap !important;
  }
}

/* 4. Ensure tab items look consistent and are horizontal */
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item:not(.cmsmasters-accordion-item) {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tab-title {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 24px !important;
  white-space: nowrap !important;
  border-radius: 50px !important;
  transition: all .3s ease !important;
}

/* 5. Force active tab colors on all devices */
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.active-tab .cmsmasters-tab-title,
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.cmsmasters-active-tab .cmsmasters-tab-title {
  background-color: #457C74 !important;
  box-shadow: 0 4px 12px rgba(69, 124, 116, 0.3) !important;
}

.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.active-tab .cmsmasters-tab-title__text,
.elementor-widget-cmsmasters-tabs.cmsmasters-widget-tabs .cmsmasters-tabs-list-item.cmsmasters-active-tab .cmsmasters-tab-title__text {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* 6. Content Display & Layout (Mobile vertical layout preserved) */
.cmsmasters-tab {
  display: none !important;
}

.cmsmasters-tab.active-tab {
  display: block !important;
}

/* Increase font size for tab description text */
.cmsmasters-tab p.elementor-heading-title {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #555 !important;
}

@media (max-width: 1023px) {
  .cmsmasters-tab p.elementor-heading-title {
    font-size: 15px !important;
  }

  /* Stack containers inside each tab content */
  .cmsmasters-tab .e-con.e-parent {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .cmsmasters-tab .e-con.e-parent>.e-con.e-child:first-child {
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .cmsmasters-tab .e-con.e-parent>.e-con.e-child:last-child {
    width: 100% !important;
    padding: 30px 20px !important;
    background-color: #fcfbf9 !important;
    border-radius: 0 0 20px 20px !important;
  }
}

/* Specific Fix: Heading Font Size on Mobile & Tablet */
@media (max-width: 1312px) {
  .elementor-element-3854ef0 .elementor-heading-title {
    font-size: 36px !important;
    line-height: 1.3 !important;
    letter-spacing: 0px !important;
  }

  /* Center align Concept section and Kodawari section titles on mobile */
  .elementor-element-3887bc0,
  .elementor-element-996ce4d,
  .elementor-element-cb567cd,
  .elementor-element-2babe7f {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* Fix owner image focus on mobile */
  .elementor-element-f93f586 img {
    object-position: top center !important;
  }

  /* Bikatsu Enzyme & Water: show inserted image and hide background container */
  .mobile-only-product-image {
    display: block !important;
  }

  .elementor-element-940080c,
  .elementor-element-f524d98 {
    display: none !important;
  }
}

/* Footer Logo Centering (Mobile & PC) */
.elementor-element-48a70ae.elementor-widget-image {
  text-align: center !important;
}

.elementor-element-48a70ae .elementor-widget-container {
  display: flex !important;
  justify-content: center !important;
}

.elementor-element-48a70ae img {
  margin: 0 auto !important;
  display: block !important;
  max-width: 150px !important;
}

/* Fix Elementor negative margins causing misalignment in sliders */
.elementor-element-de3d5f7>.elementor-widget-container,
.elementor-element-35c9338>.elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Ensure the slider itself is centered */
#cmsmasters-slider-de3d5f7,
#cmsmasters-slider-35c9338 {
  margin: 0 auto !important;
}


/* Match Bikatsu Enzyme and Water Titles */
.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__title,
.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__title {
  font-size: 30px !important;
}

@media (max-width: 1312px) {

  .elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__title,
  .elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__title {
    font-size: 24px !important;
  }
}



/* Footer Flex Layout Fix for PC/Tablet */
/* 
   Targets the footer inner content identified by the user request.
   Wrapper: .elementor-element-a6791bc
   Child Container: .elementor-element-213a6cf7
*/
@media (min-width: 769px) {

  /* Force the footer container to display as a horizontal flex row */
  .elementor-element-a6791bc .elementor-element-213a6cf7 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 40px !important;
    /* Spacing between Logo, Text, Buttons */
    flex-wrap: nowrap !important;
  }

  /* Reset widths of children to allow them to sit side-by-side */
  .elementor-element-a6791bc .elementor-element-213a6cf7>.e-con {
    width: auto !important;
    flex-grow: 0 !important;
    margin: 0 !important;
  }

  /* 1. Logo Section */
  .elementor-element-9dda078 {
    order: 1;
  }

  /* 2. Address & Hours Text (Center Align Text inside block, Left Align in layout) */
  .elementor-element-6114133 {
    order: 2;
  }

  .elementor-element-6114133 .elementor-icon-list-items {
    justify-content: flex-start !important;
    /* Text align left within the block */
    text-align: left !important;
  }

  .elementor-element-6114133 .elementor-icon-list-item {
    white-space: nowrap !important;
  }

  /* 3. Buttons (Phone/Email) */
  .elementor-element-c0de2ea {
    order: 3;
    display: flex !important;
    gap: 15px !important;
    flex-direction: column !important;
    /* Stack buttons vertically for better layout */
    align-items: flex-start !important;
    /* Align buttons to the left */
  }
}

/* Force Horizontal text on Contact Buttons & Fix Layout */
.cmsmasters-button-link {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
}

.elementor-widget-cmsmasters-button {
  width: auto !important;
}

.elementor-widget-cmsmasters-button__content-wrapper {
  display: flex !important;
  align-items: center !important;
}

/* Mobile & Tablet Footer Alignment Fixes */
@media (max-width: 1312px) {

  /* Center Address & Hours Text */
  .elementor-element-6114133 .elementor-icon-list-items {
    justify-content: center !important;
    text-align: center !important;
  }

  .elementor-element-6114133 .elementor-icon-list-item {
    justify-content: center !important;
  }

  /* Center Phone & Email Buttons */
  .elementor-element-c0de2ea {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    /* Forces center alignment of children */
    width: 100% !important;
  }

  /* Ensure button widgets themselves don't enforce left align */
  .elementor-element-c0de2ea .elementor-widget-cmsmasters-button {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Ensure button inner container is centered */
  .elementor-widget-cmsmasters-button__button-container {
    display: flex !important;
    justify-content: center !important;
  }

  /* Reduce Logo Size on Mobile */
  .elementor-element-48a70ae img {
    max-width: 110px !important;
  }
}

/* PC Specific Alignment for Footer List */
@media (min-width: 1313px) {
  .elementor-element-a6791bc .elementor-element-213a6cf7 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    /* Vertically center aligned relative to logo */
    gap: 40px !important;
    flex-wrap: nowrap !important;
  }

  /* Ensure text list is strictly left-aligned */
  .elementor-element-6114133 .elementor-icon-list-items {
    justify-content: flex-start !important;
    text-align: left !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    /* Stack list items vertically */
    gap: 5px !important;
    /* Spacing between lines */
  }

  .elementor-element-6114133 .elementor-icon-list-item {
    justify-content: flex-start !important;
    align-items: center !important;
    white-space: nowrap !important;
  }
}

/* Footer Icon Color - Make them White to match text on Green BG */
.elementor-element-6114133 .elementor-icon-list-icon svg {
  fill: #ffffff !important;
  width: 14px;
  /* Adjust size to match text */
  height: 14px;
  margin-top: -2px;
  /* Slight vertical alignment adjustment */
}

/* Fix Mobile Menu (Popup 100) Close Button */
/* Fix Mobile Menu (Popup 100) Close Button - Unify & De-duplicate */
/* 1. Hide ALL close buttons within this popup by default to prevent duplicates */
.cmsmasters-elementor-popup-100 .cmsmasters-popup-close {
  display: none !important;
}

/* 2. Show and Fix Position of ONLY the direct child button (the outer one) */
/* This ensures we only see one button, and it's the one we control */
.cmsmasters-elementor-popup-100 .elementor-100>.cmsmasters-popup-close {
  display: flex !important;
  position: fixed !important;
  /* Fix position relative to viewport */
  top: 40px !important;
  /* Move down from the very top */
  right: 20px !important;
  /* Keep on right side */
  z-index: 999999 !important;
  /* Ensure it is on top of everything */

  /* Style it to be touch-friendly */
  width: 44px !important;
  height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.cmsmasters-elementor-popup-100 .elementor-100>.cmsmasters-popup-close .cmsmasters-popup-close-icon {
  font-size: 24px !important;
  color: #333 !important;
  opacity: 1 !important;
}

/* Hide the default close button if it was a separate element (user asked to 'delete' it) */
.mobile-menu-close-top {
  display: none !important;
}

/* Update Phone Number Font */
a[href^="tel:048-799-3228"] .elementor-widget-cmsmasters-button__text {
  font-family: "Fraunces", serif !important;
}

/* Mobile-only info display (Top bar hours) */
.mobile-only-info {
  display: none;
  font-family: 'Noto Sans JP', sans-serif !important;
}

/* Responsive Utility Classes */
.pc-hidden {
  display: block;
}

.mobile-hidden {
  display: block;
}

@media (min-width: 1313px) {
  .pc-hidden {
    display: none !important;
  }
}

@media (max-width: 1312px) {
  .mobile-hidden {
    display: none !important;
  }

  /* Hide mobile-only duplicate info to match image */
  .mobile-only-info {
    display: none !important;
  }

  /* Force top bar to be row on mobile & tablet, matching image */
  .elementor-element-49467a84 {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
    min-height: 44px !important;
    /* Improved height for touch */
    background-color: #457C74 !important;
  }

  /* Container for Address - Show only address on mobile/tablet */
  .elementor-element-3766c17a {
    display: flex !important;
    flex-direction: row !important;
    flex: 1 !important;
    gap: 15px !important;
    align-items: center !important;
    overflow: hidden;
  }

  /* Address widget visible, Hours widget HIDDEN on mobile/tablet to match image */
  .elementor-element-7b5a3157 {
    display: flex !important;
    width: auto !important;
    flex-shrink: 1 !important;
  }

  .elementor-element-2bce418f {
    display: none !important;
  }

  /* Phone and Social icons container - Match image layout */
  .elementor-element-19d188b1 {
    display: flex !important;
    flex-direction: row !important;
    width: auto !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    gap: 20px !important;
    margin-left: 10px !important;
  }

  /* Adjust text size for mobile/tablet to match image */
  .elementor-element-49467a84 .cmsmasters-widget-icon-list-item-text,
  .elementor-element-49467a84 .elementor-widget-cmsmasters-button__text {
    font-size: 13px !important;
    /* Slightly larger for clarity on tablets */
    white-space: nowrap !important;
    color: #fff !important;
    font-weight: 500 !important;
  }

  /* YouTube Icon color and size for mobile/tablet */
  .elementor-element-b24022b i,
  .elementor-element-b24022b svg {
    color: #fff !important;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
  }

  /* Widget icons size */
  .elementor-element-49467a84 i,
  .elementor-element-49467a84 svg {
    color: #fff !important;
  }

  .mobile-clock-icon {
    width: 12px;
    height: 12px;
    fill: #ffffff;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -2px;
  }

  /* Increase font size for "フェイシャル専門サロン「我楽」" on mobile */
  .elementor-element-29efd9d .elementor-heading-title {
    font-size: 15px !important;
    letter-spacing: 3px !important;
  }

  /* Force main header to be row on mobile */
  .elementor-element-332bdc7b {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 15px !important;
    min-height: 80px !important;
  }

  .elementor-element-6dbd6ac4 {
    width: auto !important;
    max-width: 180px !important;
  }

  .elementor-element-7cbfcf9a {
    width: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Hide reservation button on mobile as requested */
  .elementor-element-6ba3c71b {
    display: none !important;
  }

  /* Properly wrap and style hamburger menu */
  .elementor-element-5aaa5e4a {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .elementor-element-5aaa5e4a .elementor-icon {
    width: 50px !important;
    height: 50px !important;
    background-color: #457C74 !important;
    /* Circular background color */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .elementor-element-5aaa5e4a .elementor-icon i {
    color: #ffffff !important;
    font-size: 20px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  .pc-hidden {
    display: block !important;
  }
}

/* Testimonials Alignment Adjustments */
.cmsmasters-testimonial__text {
  text-align: left !important;
}

.cmsmasters-testimonial__author-info {
  margin-bottom: 10px !important;
}

.cmsmasters-testimonial__rating {
  margin-bottom: 20px !important;
}

.garaku-title {
  font-family: "Noto Serif JP", Sans-serif !important;
  font-size: 43px !important;
  font-weight: 300 !important;
  line-height: 1.3em !important;
  letter-spacing: -2px !important;
  text-transform: none !important;
  word-spacing: 0px !important;
}

@media (max-width: 767px) {
  .garaku-title {
    font-size: 30px !important;
    letter-spacing: -1px !important;
  }
}


/* News Section Styles */
.garaku-news-section {
  width: 100%;
  background: #fff;
  padding: 0px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.garaku-news-inner {
  width: 100%;
  max-width: 1000px;
  border-top: 1px solid #f0f0f0;
}


.garaku-news-header-title {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  margin-bottom: 40px;
  width: 100%;
}


.garaku-news-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 15px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}

.garaku-news-row:hover {
  background-color: #fafafa;
}

.garaku-news-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  padding-right: 20px;
}

.garaku-news-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  width: 110px;
  font-size: 13px;
  color: #fff;
  background: #999;
  flex-shrink: 0;
  font-family: "Noto Serif JP", serif;
  border-radius: 50px;
}

.garaku-news-badge.campaign {
  background-color: #C19E86;
}

.garaku-news-badge.notice {
  background-color: #9e9e9e;
}

.garaku-news-badge.blog {
  background-color: #6B9BD1;
}

.garaku-news-title-text {
  font-size: 15px;
  color: #333;
  font-family: "Noto Serif JP", serif;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.garaku-news-date {
  font-size: 13px;
  color: #999;
  white-space: nowrap;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
}

.garaku-news-more-link {
  text-align: right;
  padding-top: 25px;
}


.garaku-news-more-link a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  border-bottom: 1px dotted #666;
  padding-bottom: 2px;
}


.garaku-news-more-link a:hover {
  opacity: 0.7;
}


/* Mobile & Tablet Responsiveness */
@media (max-width: 1312px) {
  .garaku-news-section {
    padding: 30px 15px 60px;
  }


  .garaku-news-header-title {
    font-size: 22px;
    margin-bottom: 25px;
    line-height: 1.6;
  }

  .garaku-news-row {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px 15px;
    /* Row gap 8px, Column gap 15px */
    padding: 15px 0;
  }

  /* Flatten the inner wrapper to allow grid positioning of children */
  .garaku-news-content {
    display: contents;
  }

  .garaku-news-badge {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 80px;
    padding: 4px 10px;
    font-size: 11px;
    margin: 0;
    height: fit-content;
  }

  .garaku-news-date {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    /* Or right? User didn't specify, but often left next to badge or right aligned. */
    /* Let's align left next to badge for "same line" feel, or justify-self end? */
    /* Usually date is right aligned in lists, but let's stick to standard flow unless requested. */
    /* Re-reading request: "Category Badge and Date at same height". */
    /* I will align Date to the right to balance the header line. */
    justify-self: end;
    font-size: 12px;
    margin: 0;
  }

  .garaku-news-title-text {
    grid-column: 1 / -1;
    /* Full width */
    grid-row: 2;
    font-size: 14px;
    width: 100%;
    margin-top: 4px;
    line-height: 1.5;
  }
}


/* Fix Mobile & Tablet Popup Menu Icon Position */
@media (max-width: 1312px) {

  .elementor-element-5aaa5e4a {
    position: fixed !important;
    top: 60px !important;
    right: 20px !important;
    z-index: 99999 !important;
    width: auto !important;
  }


}

/* ===== Access Page Styling ===== */
.garaku-access-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.garaku-full-width-map {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.garaku-full-width-map iframe {
  width: 100%;
  display: block;
}

/* Page Header Styling (General for subpages if needed, but specifically tailored here) */
.garaku-page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.garaku-page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.garaku-page-header-content {
  position: relative;
  z-index: 2;
}

.garaku-page-header .garaku-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  color: #fff !important;
  margin: 0;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
}

.garaku-page-header .garaku-subtitle {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  margin-top: 15px;
  letter-spacing: 0.2em;
  font-weight: 500;
  font-size: 14px;
}

/* Store Information Refinement */
.garaku-refined-info {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 15px;
}

.garaku-refined-info .garaku-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid #333;
  /* Stronger top line */
}

.garaku-refined-info .garaku-info-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
  margin: 0;
  align-items: center;
  transition: background-color 0.3s ease;
}

.garaku-refined-info .garaku-info-item:hover {
  background-color: #fafafa;
}

.garaku-refined-info .garaku-info-label {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #333;
  font-size: 16px;
  padding-right: 20px;
}

.garaku-refined-info .garaku-info-value {
  color: #444;
  font-size: 16px;
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

/* Directions Section */
.garaku-directions-title {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  margin: 0 0 50px;
  position: relative;
  color: #333;
}

.garaku-directions-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #457C74;
  margin: 20px auto 0;
}

.garaku-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.garaku-step-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.garaku-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.garaku-step-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #f9f9f9;
}

.garaku-ba-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f7;
  border-radius: 8px 8px 0 0;
}

.garaku-ba-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.garaku-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.garaku-step-card:hover .garaku-step-image img {
  transform: scale(1.1);
}

.garaku-step-content {
  padding: 25px;
}

.garaku-step-number {
  display: inline-block;
  color: #457C74;
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 2px solid #457C74;
}

.garaku-step-text {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

/* Mobile & Tablet Adjustments */
@media (max-width: 1312px) {
  .garaku-access-container {
    padding: 40px 15px;
  }

  .garaku-full-width-map iframe {
    height: 350px !important;
  }

  .garaku-refined-info .garaku-info-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .garaku-directions-title {
    font-size: 26px;
  }

  .garaku-steps {
    grid-template-columns: 1fr;
  }
}

/* Contact Form Styling */
.garaku-contact-section {
  padding: 80px 20px;
  background-color: #fbfaf5;
}

.garaku-contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.garaku-contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.garaku-contact-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.garaku-form-group {
  margin-bottom: 30px;
}

.garaku-form-label {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.garaku-form-label .required {
  color: #e74c3c;
  margin-left: 5px;
  font-size: 12px;
}

.garaku-form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fdfdfd;
}

.garaku-form-control:focus {
  outline: none;
  border-color: #457C74;
  box-shadow: 0 0 0 3px rgba(69, 124, 116, 0.1);
  background: #fff;
}

textarea.garaku-form-control {
  min-height: 180px;
  resize: vertical;
}

.garaku-form-submit {
  text-align: center;
  margin-top: 40px;
}

.garaku-submit-btn {
  background: #457C74;
  color: #fff;
  border: none;
  padding: 18px 60px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(69, 124, 116, 0.3);
}

.garaku-submit-btn:hover {
  background: #36615b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(69, 124, 116, 0.4);
}


/* Price Page Specific Styles (from price_src.html) */
.gp25-wrap {
  width: 100%;
  max-width: 1312px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

@keyframes gp25-fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gp25-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.gp25-section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #222;
  font-weight: normal;
  letter-spacing: 0.15em;
  position: relative;
  display: block;
}

.gp25-section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #bfa36a;
  margin: 20px auto 0;
}

.gp25-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 80px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: gp25-fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

@media (min-width: 1313px) {
  .gp25-card {
    flex-direction: row;
    align-items: stretch;
  }

  .gp25-card.gp25-reverse {
    flex-direction: row-reverse;
  }
}

.gp25-card-image-box {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #f0f0f0;
  z-index: 1;
}

@media (min-width: 1313px) {
  .gp25-card-image-box {
    width: 45%;
    flex-shrink: 0;
  }
}

.gp25-card-image-box::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.95);
  z-index: -1;
  opacity: 0.8;
}

.gp25-img-cover {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gp25-card-content {
  padding: 30px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1313px) {
  .gp25-card-content {
    padding: 50px 40px;
  }
}

.gp25-campaign-card {
  position: relative;
  background: #fdfbff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
  padding: 20px;
  animation: gp25-fadeUp 0.8s ease-out forwards;
  opacity: 0;
  border: 2px solid #9B7BB6;
  margin-top: 2em;
}

.gp25-campaign-header {
  margin-bottom: 2em;
  margin-top: -3em;
}

.gp25-campaign-label {
  background: linear-gradient(135deg, #9b7cb6 0%, #b89dd4 100%);
  color: #fff;
  padding: 4px 16px;
  border-radius: 40px;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  width: 100%;
  text-align: center;
  display: inline;
}

.gp25-campaign-title {
  font-size: 1.3rem;
  color: #333;
  margin: 0 0 15px;
  line-height: 1.5;
  font-weight: 600;
}

.gp25-campaign-intro {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.gp25-campaign-meta {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  margin-bottom: 20px;
  display: flex;
  gap: 30px;
}

.gp25-campaign-conditions p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #666;
}

.gp25-campaign-body {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.gp25-campaign-image {
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
}

.gp25-campaign-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.gp25-campaign-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1313px) {
  .gp25-campaign-card {
    padding: 30px;
  }

  .gp25-campaign-body {
    flex-direction: row;
    gap: 40px;
  }

  .gp25-campaign-image {
    width: 300px;
    max-width: 300px;
  }

  .gp25-campaign-title {
    font-size: 1.5rem;
  }
}

.gp25-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #555;
}

.gp25-meta svg {
  width: 16px;
  height: 16px;
  fill: #999;
  margin-right: 6px;
  vertical-align: middle;
}

.gp25-meta span {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
}

.gp25-recommend-tag {
  color: #bfa36a;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid #bfa36a;
  padding-bottom: 4px;
  margin-bottom: 25px;
  display: inline-block;
}

.gp25-catch-primary {
  font-size: 1.5rem;
  color: #222;
  margin: 0 0 10px;
  line-height: 1.4;
  font-weight: 600;
}

.gp25-catch-sub {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 25px;
  font-weight: normal;
}

.gp25-toggle-btn {
  background: #fff;
  border: 1px solid transparent;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: center;
}

.gp25-toggle-btn:hover {
  border-color: #bfa36a;
  color: #bfa36a;
}

.gp25-toggle-btn.is-active {
  border-color: currentColor;
}

.gp25-toggle-btn::after {
  content: '▼';
  font-size: 0.7em;
  transition: transform 0.3s;
}

.gp25-toggle-btn.is-active::after {
  transform: rotate(180deg);
}

.gp25-toggle-content {
  display: none;
  background: #faf9f6;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.gp25-toggle-content.is-open {
  display: block;
  animation: gp25-fadeUp 0.5s ease;
}

.gp25-list-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #ddd;
}

.gp25-list-title {
  color: #bfa36a;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
}

.gp25-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gp25-ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #555;
}

.gp25-ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #bfa36a;
  font-size: 0.8em;
}

.gp25-btn {
  display: block;
  width: 100%;
  padding: 18px 0;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.gp25-btn-green {
  background: #2f5d50;
}

.gp25-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.gp25-normal-section {
  background: #fff;
  padding: 50px 40px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: gp25-fadeUp 0.8s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.gp25-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 50px;
  margin-bottom: 50px;
}

@media (min-width: 1313px) {
  .gp25-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
}

.gp25-item h4 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  border-left: 4px solid #bfa36a;
  padding-left: 12px;
  line-height: 1.4;
  color: #333;
}

.gp25-item-meta {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #666;
  font-size: 0.95rem;
}

.gp25-item-meta span {
  display: flex;
  align-items: center;
}

.gp25-item-meta svg {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  fill: #aaa;
}

.gp25-item p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  text-align: justify;
}

.gp25-opt-ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gp25-opt-ul li {
  background: #fff;
  border: 1px solid #eee;
  padding: 10px 20px;
  border-radius: 50px;
  color: #666;
  font-size: 0.9rem;
}

.gp25-bottom-area {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gp25-bubble {
  display: inline-block;
  background: #ce8a28;
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 20px;
  position: relative;
  animation: gp25-bounce 2s infinite ease-in-out;
}

.gp25-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ce8a28 transparent transparent transparent;
}

@media (min-width: 768px) {
  .gp25-sp-only {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .gp25-pc-only {
    display: none !important;
  }
}


iframe {
  margin: 0;
}

/* ===== News Lightbox Styles ===== */
.garaku-news-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 20px;
}

.garaku-news-lightbox.active {
  display: flex !important;
  opacity: 1;
}

.garaku-news-lightbox-container {
  background-color: #fff;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.garaku-news-lightbox-scroll-area {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 70px 60px;
  box-sizing: border-box;
}

.garaku-news-lightbox.active .garaku-news-lightbox-container {
  transform: scale(1) translateY(0);
}

.garaku-news-lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: #f8f8f8;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid #eee;
}

.garaku-news-lightbox-close:hover {
  background: #fff;
  transform: rotate(90deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.garaku-news-lightbox-close span {
  font-size: 28px;
  color: #333;
  line-height: 1;
  font-weight: 300;
}

.garaku-news-lightbox-header {
  margin-bottom: 30px;
  text-align: left;
}

.garaku-news-lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.garaku-news-lightbox-date {
  font-size: 14px;
  color: #C19E86;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.garaku-news-lightbox-badge {
  margin: 0;
}

.garaku-news-lightbox-badge .garaku-news-badge {
  margin: 0;
}

.garaku-news-lightbox-title {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.garaku-news-lightbox-body {
  font-size: 16px;
  line-height: 2;
  color: #444;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 50px;
  padding-top: 30px;
  border-top: 1px solid #f0f0f0;
}

.garaku-news-lightbox-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 30px;
}

.garaku-news-lightbox-nav-prev,
.garaku-news-lightbox-nav-next {
  font-size: 15px;
  color: #C19E86;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  font-weight: 500;
}

.garaku-news-lightbox-nav-prev:hover {
  color: #a6856c;
  transform: translateX(-5px);
}

.garaku-news-lightbox-nav-next:hover {
  color: #a6856c;
  transform: translateX(5px);
}

.garaku-news-lightbox-nav-prev svg,
.garaku-news-lightbox-nav-next svg {
  transition: transform 0.3s ease;
}

.garaku-news-lightbox-nav-prev:hover svg {
  transform: translateX(-3px);
}

.garaku-news-lightbox-nav-next:hover svg {
  transform: translateX(3px);
}

/* Scrollbar for the lightbox scroll area */
.garaku-news-lightbox-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.garaku-news-lightbox-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.garaku-news-lightbox-scroll-area::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 10px;
}


.garaku-news-lightbox-container {
  border-radius: 15px;
}

.garaku-news-lightbox-scroll-area {
  padding: 60px 25px 40px;
}

.garaku-news-lightbox-title {
  font-size: 20px;
}

.garaku-news-lightbox-body {
  font-size: 15px;
  line-height: 1.8;
}

.garaku-news-lightbox-close {
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
}

/* Staff Page Styles */
.garaku-staff-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.garaku-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.garaku-staff-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.garaku-staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.garaku-staff-image-container {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  position: relative;
  background: #f9f9f9;
}

.garaku-staff-image-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.garaku-staff-image-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.6s ease-in-out;
}

.garaku-staff-image-slider img:first-child {
  opacity: 1;
  z-index: 1;
}

.garaku-staff-image-slider img:last-child {
  opacity: 0;
  z-index: 2;
}

.garaku-staff-card:hover .garaku-staff-image-slider img:last-child {
  opacity: 1;
}

.garaku-staff-info {
  padding: 40px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.garaku-staff-badge {
  font-size: 11px;
  color: #C19E86;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.garaku-staff-name-container {
  margin-bottom: 20px;
}

.garaku-staff-name-main {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  font-family: "Noto Serif JP", serif;
  display: block;
  line-height: 1.2;
}

.garaku-staff-name-kana {
  font-size: 13px;
  color: #999;
  display: block;
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.garaku-staff-role {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f7f7f7;
}

.garaku-staff-message {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 35px;
  flex-grow: 1;
  text-align: left;
}

.garaku-staff-btn {
  display: inline-block;
  background: #C19E86;
  color: #fff !important;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid #C19E86;
}

.garaku-staff-btn:hover {
  background: transparent;
  color: #C19E86 !important;
}



@media (max-width: 1024px) {
  .garaku-staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .garaku-staff-section {
    padding: 50px 20px;
  }

  .garaku-staff-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .garaku-staff-info {
    padding: 30px 20px;
  }
}

/* Philosophy Page Styles */
.garaku-philosophy-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px 140px;
  text-align: left;
  /* Default to left for desktop */
  font-family: "Noto Serif JP", serif;
  color: #333;
}

.garaku-philosophy-top-icon {
  width: 190px;
  /* Increased by 50px from 140px */
  max-width: 190px;
  height: auto;
  margin-bottom: 60px;
  display: block;
  margin-left: auto;
  /* Center alignment */
  margin-right: auto;
  /* Center alignment */
  opacity: 0;
  animation: garakuFadeInUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: drop-shadow(0 10px 20px rgba(193, 158, 134, 0.1));
}

@keyframes garakuFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(10px) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 10px 20px rgba(193, 158, 134, 0.1));
  }
}


.garaku-philosophy-main-title {
  font-size: 36px;
  font-weight: 700;
  color: #C19E86;
  margin-bottom: 80px;
  display: block;
  text-align: left;
  /* Left align for desktop */
  line-height: 1.6;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: garakuFadeInUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s;
}

.garaku-philosophy-text-group {
  margin-bottom: 60px;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: garakuFadeInUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.garaku-philosophy-text-group:nth-of-type(1) {
  animation-delay: 0.8s;
}

.garaku-philosophy-text-group:nth-of-type(2) {
  animation-delay: 1.0s;
}

.garaku-philosophy-text-group:nth-of-type(3) {
  animation-delay: 1.2s;
}

.garaku-philosophy-text-group:nth-of-type(4) {
  animation-delay: 1.4s;
}

.garaku-philosophy-text-group:nth-of-type(5) {
  animation-delay: 1.6s;
}

.garaku-philosophy-text-group:nth-of-type(6) {
  animation-delay: 1.8s;
}


.garaku-philosophy-text-group p {
  margin-bottom: 30px;
}

@media (max-width: 1023px) {
  .garaku-philosophy-content {
    text-align: center;
    padding: 60px 20px 80px;
  }

  .garaku-philosophy-top-icon {
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    /* Increased by another 50px from 150px */
  }

  .garaku-philosophy-main-title {
    text-align: center;
  }

  .garaku-philosophy-text-group {
    text-align: center;
  }
}

.garaku-philosophy-accent {
  color: #C19E86;
  font-weight: 600;
}

@media (max-width: 767px) {
  .garaku-philosophy-main-title {
    font-size: 24px;
    margin-bottom: 50px;
  }

  .garaku-philosophy-content {
    padding: 60px 20px 80px;
  }

  .garaku-philosophy-text-group {
    font-size: 15px;
    line-height: 2.2;
  }
}

/* Voice Page Tabs */
.garaku-voice-tabs {
  margin-top: 50px;
  margin-bottom: 80px;
}

.garaku-voice-tab-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #eee;
}

.garaku-voice-tab-item {
  padding: 15px 40px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #999;
  position: relative;
  transition: all 0.3s ease;
}

.garaku-voice-tab-item:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #C19E86;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.garaku-voice-tab-item.active {
  color: #C19E86;
}

.garaku-voice-tab-item.active:after {
  transform: scaleX(1);
}

.garaku-voice-tab-content {
  display: none;
  animation: garakuFadeIn 0.6s ease forwards;
}

.garaku-voice-tab-content.active {
  display: block;
}

@keyframes garakuFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Before After Grid */
.garaku-ba-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.garaku-ba-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.garaku-ba-images {
  position: relative;
  width: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f7;
  flex-shrink: 0;
}

.garaku-ba-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.garaku-ba-label {
  position: absolute;
  top: 10px;
  padding: 4px 12px;
  background: rgba(193, 158, 134, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.garaku-ba-label.before {
  left: 10px;
  background: #999;
}

.garaku-ba-label.after {
  right: 10px;
}

.garaku-ba-info {
  padding: 25px;
  text-align: left;
}

.garaku-ba-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.garaku-ba-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .garaku-voice-tab-item {
    padding: 12px 20px;
    font-size: 15px;
  }

  .garaku-ba-card {
    flex-direction: column;
  }

  .garaku-ba-images {
    width: 100%;
  }

  .garaku-ba-info {
    padding: 25px;
  }
}

/* Joy Voice Styles */
.garaku-joy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.garaku-joy-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f0f0f0;
}

.garaku-joy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #f7f7f7;
  padding-bottom: 15px;
  flex-direction: column;
}

.garaku-joy-author {
  font-weight: 700;
  color: #333;
}

.garaku-joy-rating {
  color: #C19E86;
  letter-spacing: 2px;
}

.garaku-joy-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.garaku-joy-tag {
  font-size: 12px;
  color: #999;
}

@media (max-width: 767px) {
  .garaku-joy-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination Styles */
.garaku-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 60px;
  margin-bottom: 30px;
}

.garaku-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  border: 1px solid #C19E86 !important;
  background-color: #fff !important;
  color: #C19E86 !important;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.garaku-page-btn.active {
  background-color: #C19E86 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(193, 158, 134, 0.3);
}

.garaku-page-btn:hover:not(.active) {
  background-color: #fcf8f5 !important;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.elementor-42129 .elementor-element.elementor-element-383158b {
  --display: flex;
  --min-height: 900px;
  --flex-direction: column;
  --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%);
  --container-widget-height: initial;
  --container-widget-flex-grow: 0;
  --container-widget-align-self: initial;
  --flex-wrap-mobile: wrap;
  --justify-content: center;
  --align-items: center;
  --overflow: hidden;
  --overlay-opacity: 0.2;
  --margin-top: 0px;
  --margin-bottom: 100px;
  --margin-left: 0px;
  --margin-right: 0px;
  --padding-top: 0px;
  --padding-bottom: 0px;
}

@media(min-width:768px) {
  .elementor-42129 .elementor-element.elementor-element-383158b {
    --content-width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-4e8d079 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-67b0aa9 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-c1d2577 {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-cfd61c2 {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-d95ea84 {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-5fe0e68 {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-8263a4d {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-b3196f5 {
    --content-width: 560px;
  }

  .elementor-42129 .elementor-element.elementor-element-940080c {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-f524d98 {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-3f67886 {
    --width: 50%;
  }

  .elementor-42129 .elementor-element.elementor-element-84eddfb {
    --content-width: 560px;
  }
}

@media(max-width:1312px) and (min-width:768px) {
  .elementor-42129 .elementor-element.elementor-element-4e8d079 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-c1d2577 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-cfd61c2 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-d95ea84 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-5fe0e68 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-d2a1bd0 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-8263a4d {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-b3196f5 {
    --content-width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-940080c {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-fadf197 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-f524d98 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-3f67886 {
    --width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-84eddfb {
    --content-width: 100%;
  }
}


@media(max-width:1312px) {
  .elementor-42129 .elementor-element.elementor-element-383158b {
    --min-height: 700px;
    --margin-top: 0px;
    --margin-bottom: 120px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-4e8d079 {
    --align-items: center;
    --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%);
  }

  .elementor-42129 .elementor-element.elementor-element-29efd9d .elementor-heading-title {
    font-size: 12px;
  }

  .elementor-42129 .elementor-element.elementor-element-bc15aea {
    text-align: center;
  }

  .elementor-42129 .elementor-element.elementor-element-bc15aea .elementor-heading-title {
    font-size: 70px;
  }

  .elementor-42129 .elementor-element.elementor-element-900e3cc {
    text-align: start;
  }

  .elementor-42129 .elementor-element.elementor-element-900e3cc .elementor-heading-title {
    font-size: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-67b0aa9 {
    --justify-content: center;
    --margin-top: 20px;
    --margin-bottom: 0px;
    --margin-left: 0px;
    --margin-right: 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-28be5fb .elementor-widget-cmsmasters-button__button,
  .elementor-42129 .elementor-element.elementor-element-28be5fb .elementor-widget-cmsmasters-button__button:not([href]):not([tabindex]) {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-4694e75 .elementor-widget-cmsmasters-button__button,
  .elementor-42129 .elementor-element.elementor-element-4694e75 .elementor-widget-cmsmasters-button__button:not([href]):not([tabindex]) {
    font-size: 26px;
  }

  .elementor-42129 .elementor-element.elementor-element-3ce7210 .elementor-icon {
    font-size: 250px;
  }

  .elementor-42129 .elementor-element.elementor-element-3ce7210 .elementor-icon svg {
    height: 250px;
  }

  .elementor-42129 .elementor-element.elementor-element-bf1d207 .elementor-icon {
    font-size: 250px;
  }

  .elementor-42129 .elementor-element.elementor-element-bf1d207 .elementor-icon svg {
    height: 250px;
  }

  .elementor-42129 .elementor-element.elementor-element-8e72d6d {
    --flex-direction: column;
    --container-widget-width: 100%;
    --container-widget-height: initial;
    --container-widget-flex-grow: 0;
    --container-widget-align-self: initial;
    --flex-wrap-mobile: wrap;
    --gap: 70px 70px;
    --row-gap: 70px;
    --column-gap: 70px;
    --margin-top: 0px;
    --margin-bottom: 120px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 30px;
    --padding-left: 30px;
    --padding-right: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-8af64b8 img {
    width: 100%;
  }

  body:not(.rtl) .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    left: -143px;
  }

  body.rtl .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    right: -143px;
  }

  .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    bottom: 11px;
  }

  .elementor-42129 .elementor-element.elementor-element-3887bc0 .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-996ce4d .elementor-heading-title {
    font-size: 54px;
  }

  .elementor-42129 .elementor-element.elementor-element-cb567cd .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-10eb761 {
    --flex-direction: column-reverse;
    --container-widget-width: 100%;
    --container-widget-height: initial;
    --container-widget-flex-grow: 0;
    --container-widget-align-self: initial;
    --flex-wrap-mobile: wrap;
    --gap: 70px 70px;
    --row-gap: 70px;
    --column-gap: 70px;
    --margin-top: 0px;
    --margin-bottom: 120px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 30px;
    --padding-left: 30px;
    --padding-right: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-2babe7f .elementor-heading-title {
    font-size: 54px;
  }

  .elementor-42129 .elementor-element.elementor-element-557ef4f {
    --gap: 50px 50px;
    --row-gap: 50px;
    --column-gap: 50px;
    --margin-top: 0px;
    --margin-bottom: 100px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 30px;
    --padding-right: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-737cd63 .cmsmasters-tabs-list-item a,
  .elementor-42129 .elementor-element.elementor-element-737cd63 .cmsmasters-tabs-list-item .cmsmasters-tab-title__text {
    font-size: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-737cd63 .cmsmasters-tabs-list-item a {
    padding: 20px 20px 20px 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-737cd63 {
    --list-item-padding-bottom: 20px;
    --list-item-padding-top: 20px;
    --list-item-padding-left: 20px;
    --list-item-padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-f4d93e9 {
    --margin-top: 0px;
    --margin-bottom: 120px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 30px;
    --padding-right: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-b788b19 .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  #cmsmasters-slider-de3d5f7 {
    --cmsmasters-columns: 3;
    --cmsmasters-space-between: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-de3d5f7>.elementor-widget-container {
    margin: 0% -30% 0% -30%;
    padding: 0px 0px 50px 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-de3d5f7 {
    --text-font-size: var(--e-global-typography-text-font-size);
    --text-line-height: var(--e-global-typography-text-line-height);
    --text-letter-spacing: var(--e-global-typography-text-letter-spacing);
    --text-word-spacing: var(--e-global-typography-text-word-spacing);
    --author-name-font-size: var(--e-global-typography-h5-font-size);
    --author-name-line-height: var(--e-global-typography-h5-line-height);
    --author-name-letter-spacing: var(--e-global-typography-h5-letter-spacing);
    --author-name-word-spacing: var(--e-global-typography-h5-word-spacing);
  }

  #cmsmasters-slider-de3d5f7 .swiper-pagination-wrap {
    margin: 0px 0px -50px 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-d2a1bd0 {
    --min-height: 500px;
    --flex-direction: column;
    --container-widget-width: 100%;
    --container-widget-height: initial;
    --container-widget-flex-grow: 0;
    --container-widget-align-self: initial;
    --flex-wrap-mobile: wrap;
    --margin-top: 0px;
    --margin-bottom: 0px;
    --margin-left: 0px;
    --margin-right: 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-8263a4d {
    --padding-top: 100px;
    --padding-bottom: 100px;
    --padding-left: 30px;
    --padding-right: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-22f1ad0 .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 {
    width: 100%;
    max-width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__title {
    font-size: 54px;
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__button {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-940080c {
    --min-height: 520px;
  }

  .elementor-42129 .elementor-element.elementor-element-fadf197 {
    --min-height: 500px;
    --flex-direction: column;
    --container-widget-width: 100%;
    --container-widget-height: initial;
    --container-widget-flex-grow: 0;
    --container-widget-align-self: initial;
    --flex-wrap-mobile: wrap;
    --margin-top: 0px;
    --margin-bottom: 0px;
    --margin-left: 0px;
    --margin-right: 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-f524d98 {
    --min-height: 520px;
  }

  .elementor-42129 .elementor-element.elementor-element-f524d98.e-con {
    --order: 99999
      /* order end hack */
    ;
  }

  .elementor-42129 .elementor-element.elementor-element-3f67886 {
    --padding-top: 100px;
    --padding-bottom: 100px;
    --padding-left: 30px;
    --padding-right: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-6937bda .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 {
    width: 100%;
    max-width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__title {
    font-size: var(--e-global-typography-h4-font-size);
    line-height: var(--e-global-typography-h4-line-height);
    letter-spacing: var(--e-global-typography-h4-letter-spacing);
    word-spacing: var(--e-global-typography-h4-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__button {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-ed836c7 {
    --padding-top: 100px;
    --padding-bottom: 100px;
    --padding-left: 30px;
    --padding-right: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-c00276f {
    text-align: center;
  }

  .elementor-42129 .elementor-element.elementor-element-c00276f .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  #cmsmasters-slider-35c9338 {
    --cmsmasters-columns: 3;
    --cmsmasters-space-between: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-35c9338>.elementor-widget-container {
    margin: 0% -80% 0% -80%;
  }

  .elementor-42129 .elementor-element.elementor-element-35c9338 {
    --container-widget-width: 100%;
    --container-widget-flex-grow: 0;
    width: var(--container-widget-width, 100%);
    max-width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-35c9338 .elementor-widget-cmsmasters-media-carousel__wrapper {
    border-radius: 20px 20px 20px 20px;
  }
}

@media(max-width:1312px) {
  .elementor-42129 .elementor-element.elementor-element-737cd63.cmsmasters-tabs-type-vertical.cmsmasters-tab-list-mode-inline[class*="cmsmasters-tabs-responsive"].cmsmasters-type-responsive-horizontal .cmsmasters-tabs-list {
    text-align: center;
    justify-content: center;
  }
}

@media(max-width:767px) {
  .elementor-42129 .elementor-element.elementor-element-383158b {
    --min-height: 520px;
    --margin-top: 0px;
    --margin-bottom: 80px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 20px;
    --padding-bottom: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-383158b>.elementor-shape-bottom svg,
  .elementor-42129 .elementor-element.elementor-element-383158b>.e-con-inner>.elementor-shape-bottom svg {
    height: 150px;
  }

  .elementor-42129 .elementor-element.elementor-element-4e8d079 {
    --justify-content: flex-start;
    --align-items: center;
    --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%);
    --gap: 30px 30px;
    --row-gap: 30px;
    --column-gap: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-29efd9d .elementor-heading-title {
    font-size: 11px;
  }

  .elementor-42129 .elementor-element.elementor-element-bc15aea {
    text-align: center;
  }

  .elementor-42129 .elementor-element.elementor-element-bc15aea .elementor-heading-title {
    font-size: 42px;
  }

  .elementor-42129 .elementor-element.elementor-element-900e3cc {
    text-align: center;
  }

  .elementor-42129 .elementor-element.elementor-element-900e3cc .elementor-heading-title {
    font-size: 24px;
  }

  .elementor-42129 .elementor-element.elementor-element-67b0aa9 {
    --justify-content: center;
    --margin-top: 0px;
    --margin-bottom: 0px;
    --margin-left: 0px;
    --margin-right: 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-28be5fb .elementor-widget-cmsmasters-button__button,
  .elementor-42129 .elementor-element.elementor-element-28be5fb .elementor-widget-cmsmasters-button__button:not([href]):not([tabindex]) {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-4694e75 {
    width: 100%;
    max-width: 100%;
  }

  .elementor-42129 .elementor-element.elementor-element-4694e75 .elementor-widget-cmsmasters-button__button,
  .elementor-42129 .elementor-element.elementor-element-4694e75 .elementor-widget-cmsmasters-button__button:not([href]):not([tabindex]) {
    font-size: 24px;
  }

  .elementor-42129 .elementor-element.elementor-element-8e72d6d {
    --margin-top: 0px;
    --margin-bottom: 80px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 20px;
    --padding-left: 20px;
    --padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-8af64b8 img {
    height: 360px;
  }

  body:not(.rtl) .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    left: -51px;
  }

  body.rtl .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    right: -51px;
  }

  .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    bottom: 61%;
  }

  .elementor-42129 .elementor-element.elementor-element-2ce9a6c .elementor-icon {
    font-size: 115px;
  }

  .elementor-42129 .elementor-element.elementor-element-2ce9a6c .elementor-icon svg {
    height: 115px;
  }

  .elementor-42129 .elementor-element.elementor-element-f354a8a .elementor-icon {
    font-size: 28px;
  }

  .elementor-42129 .elementor-element.elementor-element-f354a8a .elementor-icon svg {
    height: 28px;
  }

  .elementor-42129 .elementor-element.elementor-element-cfd61c2 {
    --gap: 20px 20px;
    --row-gap: 20px;
    --column-gap: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-3887bc0 .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-996ce4d .elementor-heading-title {
    font-size: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-cb567cd {
    text-align: start;
  }

  .elementor-42129 .elementor-element.elementor-element-cb567cd .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-10eb761 {
    --margin-top: 0px;
    --margin-bottom: 80px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 20px;
    --padding-left: 20px;
    --padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-f93f586 img {
    height: 380px;
  }

  .elementor-42129 .elementor-element.elementor-element-0e13aa5 {
    top: -69px;
  }

  .elementor-42129 .elementor-element.elementor-element-0e13aa5 .elementor-icon {
    font-size: 300px;
  }

  .elementor-42129 .elementor-element.elementor-element-0e13aa5 .elementor-icon svg {
    height: 300px;
  }

  body:not(.rtl) .elementor-42129 .elementor-element.elementor-element-d227be4 {
    right: -34px;
  }

  body.rtl .elementor-42129 .elementor-element.elementor-element-d227be4 {
    left: -34px;
  }

  .elementor-42129 .elementor-element.elementor-element-d227be4 {
    bottom: -36px;
  }

  .elementor-42129 .elementor-element.elementor-element-d227be4 .elementor-icon {
    font-size: 100px;
  }

  .elementor-42129 .elementor-element.elementor-element-d227be4 .elementor-icon svg {
    height: 100px;
  }

  .elementor-42129 .elementor-element.elementor-element-2babe7f .elementor-heading-title {
    font-size: 36px;
  }

  .elementor-42129 .elementor-element.elementor-element-557ef4f {
    --gap: 50px 50px;
    --row-gap: 50px;
    --column-gap: 50px;
    --margin-top: 0px;
    --margin-bottom: 80px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 20px;
    --padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-737cd63 {
    --tabs-gap: 1px;
  }

  .elementor-42129 .elementor-element.elementor-element-737cd63 .cmsmasters-tabs-list-item a,
  .elementor-42129 .elementor-element.elementor-element-737cd63 .cmsmasters-tabs-list-item .cmsmasters-tab-title__text {
    font-size: 18px;
  }

  .elementor-42129 .elementor-element.elementor-element-737cd63 .cmsmasters-tabs .cmsmasters-tab {
    padding: 40px 0px 20px 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-f4d93e9 {
    --gap: 50px 50px;
    --row-gap: 50px;
    --column-gap: 50px;
    --margin-top: 0px;
    --margin-bottom: 80px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 20px;
    --padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-9d094c7 {
    --gap: 20px 20px;
    --row-gap: 20px;
    --column-gap: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-e17bf64 {
    text-align: center;
  }

  .elementor-42129 .elementor-element.elementor-element-b788b19 {
    text-align: center;
  }

  .elementor-42129 .elementor-element.elementor-element-b788b19 .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-de3d5f7 {
    width: var(--container-widget-width, 100%);
    max-width: 100%;
    --container-widget-width: 100%;
    --container-widget-flex-grow: 0;
    --text-font-size: var(--e-global-typography-text-font-size);
    --text-line-height: var(--e-global-typography-text-line-height);
    --text-letter-spacing: var(--e-global-typography-text-letter-spacing);
    --text-word-spacing: var(--e-global-typography-text-word-spacing);
    --author-name-font-size: var(--e-global-typography-h5-font-size);
    --author-name-line-height: var(--e-global-typography-h5-line-height);
    --author-name-letter-spacing: var(--e-global-typography-h5-letter-spacing);
    --author-name-word-spacing: var(--e-global-typography-h5-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-de3d5f7>.elementor-widget-container {
    margin: 0% 0% 0% 0%;
    padding: 0px 0px 40px 0px;
  }

  #cmsmasters-slider-de3d5f7 .swiper-pagination-wrap {
    margin: 0px 0px -40px 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-8263a4d {
    --padding-top: 80px;
    --padding-bottom: 80px;
    --padding-left: 20px;
    --padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-22f1ad0 .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 {
    --alignment: left;
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__description {
    margin-bottom: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__button {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-940080c {
    --min-height: 360px;
  }

  .elementor-42129 .elementor-element.elementor-element-f524d98 {
    --min-height: 360px;
  }

  .elementor-42129 .elementor-element.elementor-element-3f67886 {
    --padding-top: 80px;
    --padding-bottom: 80px;
    --padding-left: 20px;
    --padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-6937bda .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 {
    --alignment: left;
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__title {
    font-size: var(--e-global-typography-h4-font-size);
    line-height: var(--e-global-typography-h4-line-height);
    letter-spacing: var(--e-global-typography-h4-letter-spacing);
    word-spacing: var(--e-global-typography-h4-word-spacing);
    margin-bottom: 30px;
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__description {
    margin-bottom: 40px;
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__button {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-ed836c7 {
    --gap: 50px 50px;
    --row-gap: 50px;
    --column-gap: 50px;
    --padding-top: 80px;
    --padding-bottom: 80px;
    --padding-left: 20px;
    --padding-right: 20px;
  }

  .elementor-42129 .elementor-element.elementor-element-210c094 {
    --gap: 20px 20px;
    --row-gap: 20px;
    --column-gap: 20px;
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --padding-right: 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-e248023 {
    text-align: center;
  }

  .elementor-42129 .elementor-element.elementor-element-c00276f .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-35c9338>.elementor-widget-container {
    margin: 0% 0% 0% 0%;
    padding: 0px 0px 50px 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-35c9338 .elementor-widget-cmsmasters-media-carousel__outer .elementor-widget-cmsmasters-media-carousel__icon-video i {
    font-size: 70px;
  }

  .elementor-42129 .elementor-element.elementor-element-35c9338 .elementor-widget-cmsmasters-media-carousel__outer .elementor-widget-cmsmasters-media-carousel__icon-video svg {
    width: 70px;
  }

  #cmsmasters-slider-35c9338 .swiper-pagination-wrap {
    margin: 0px 0px -50px 0px;
  }
}


@media(min-width:1601px) {

  .elementor-42129 .elementor-element.elementor-element-28be5fb .elementor-widget-cmsmasters-button__button,
  .elementor-42129 .elementor-element.elementor-element-28be5fb .elementor-widget-cmsmasters-button__button:not([href]):not([tabindex]) {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  body:not(.rtl) .elementor-42129 .elementor-element.elementor-element-3ce7210 {
    right: -107px;
  }

  body.rtl .elementor-42129 .elementor-element.elementor-element-3ce7210 {
    left: -107px;
  }

  .elementor-42129 .elementor-element.elementor-element-3ce7210 {
    top: 62%;
  }

  .elementor-42129 .elementor-element.elementor-element-3ce7210 .elementor-icon i,
  .elementor-42129 .elementor-element.elementor-element-3ce7210 .elementor-icon svg {
    transform: rotate(64px);
  }

  body:not(.rtl) .elementor-42129 .elementor-element.elementor-element-bf1d207 {
    left: -112px;
  }

  body.rtl .elementor-42129 .elementor-element.elementor-element-bf1d207 {
    right: -112px;
  }

  .elementor-42129 .elementor-element.elementor-element-bf1d207 {
    top: 8%;
  }

  .elementor-42129 .elementor-element.elementor-element-bf1d207 .elementor-icon {
    font-size: 350px;
  }

  .elementor-42129 .elementor-element.elementor-element-bf1d207 .elementor-icon svg {
    height: 350px;
  }

  .elementor-42129 .elementor-element.elementor-element-bf1d207 .elementor-icon i,
  .elementor-42129 .elementor-element.elementor-element-bf1d207 .elementor-icon svg {
    transform: rotate(23px);
  }

  body:not(.rtl) .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    left: -99px;
  }

  body.rtl .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    right: -99px;
  }

  .elementor-42129 .elementor-element.elementor-element-2ce9a6c {
    bottom: -123.797px;
  }

  .elementor-42129 .elementor-element.elementor-element-3887bc0 .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-cb567cd .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-f4d93e9 {
    --margin-top: 180px;
    --margin-bottom: 180px;
    --margin-left: 0px;
    --margin-right: 0px;
  }

  .elementor-42129 .elementor-element.elementor-element-b788b19 .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-de3d5f7 {
    --text-font-size: var(--e-global-typography-text-font-size);
    --text-line-height: var(--e-global-typography-text-line-height);
    --text-letter-spacing: var(--e-global-typography-text-letter-spacing);
    --text-word-spacing: var(--e-global-typography-text-word-spacing);
    --author-name-font-size: var(--e-global-typography-h5-font-size);
    --author-name-line-height: var(--e-global-typography-h5-line-height);
    --author-name-letter-spacing: var(--e-global-typography-h5-letter-spacing);
    --author-name-word-spacing: var(--e-global-typography-h5-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-22f1ad0 .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__title {
    font-size: 32px;
  }

  .elementor-42129 .elementor-element.elementor-element-722a1a4 .elementor-widget-cmsmasters-featured-box__button {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-6937bda .elementor-heading-title {
    font-size: var(--e-global-typography-h6-font-size);
    line-height: var(--e-global-typography-h6-line-height);
    letter-spacing: var(--e-global-typography-h6-letter-spacing);
    word-spacing: var(--e-global-typography-h6-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__title {
    font-size: var(--e-global-typography-h4-font-size);
    line-height: var(--e-global-typography-h4-line-height);
    letter-spacing: var(--e-global-typography-h4-letter-spacing);
    word-spacing: var(--e-global-typography-h4-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-b1b5683 .elementor-widget-cmsmasters-featured-box__button {
    font-size: var(--e-global-typography-button-font-size);
    line-height: var(--e-global-typography-button-line-height);
    letter-spacing: var(--e-global-typography-button-letter-spacing);
    word-spacing: var(--e-global-typography-button-word-spacing);
  }

  .elementor-42129 .elementor-element.elementor-element-c00276f .elementor-heading-title {
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
  }
}

/* Sticky Footer Menu */
.sticky-footer-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--e-global-color-primary, #457C74);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.sticky-footer-menu .footer-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.5s ease, background-color 0.3s ease;
}

.sticky-footer-menu .footer-item:hover {
  color: #fff0bb;
}

.sticky-footer-menu .footer-icon {
  width: 24px;
  height: 24px;
}

.sticky-footer-menu .footer-text {
  font-size: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

/* Add padding to body to prevent content being buried under footer */
body {
  padding-bottom: 60px !important;
}

/* Hide on desktop, show only on mobile/tablet */
@media (min-width: 1024px) {
  .sticky-footer-menu {
    display: none;
  }

  body {
    padding-bottom: 0 !important;
  }
}

/* Hide scroll-to-top button on mobile (when sticky footer is visible) */
@media (max-width: 1023px) {
  .elementor-element-52fea81f {
    display: none !important;
  }
}

/* Owner Section Integration */
.garaku-owner-section {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 80px;
  text-align: left;
}

.garaku-owner-content {
  flex: 1;
  opacity: 0;
  animation: garakuFadeInUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s;
}

.garaku-owner-content .garaku-philosophy-main-title {
  text-align: left;
  margin-bottom: 50px;
  font-size: 32px;
  animation: none;
  /* Inherit from parent */
  opacity: 1;
}

.garaku-owner-content .garaku-philosophy-text-group {
  text-align: left;
  margin-bottom: 40px;
  animation: none;
  /* Inherit from parent or use staggered if needed */
  opacity: 1;
}

.garaku-owner-media {
  flex: 0 0 38%;
  opacity: 0;
  animation: garakuFadeInUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.8s;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centered as requested */
  text-align: center;
}

.garaku-owner-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(193, 158, 134, 0.15);
  display: block;
  margin-bottom: 25px;
}

.garaku-owner-profile {
  width: 100%;
}

.garaku-owner-title {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px !important;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
}

.garaku-owner-name-kanji {
  font-size: 24px;
  /* Increased from 18px */
  font-weight: 700;
  color: #333;
  margin-bottom: 5px !important;
  letter-spacing: 0.15em;
}

.garaku-owner-name-en {
  font-size: 16px;
  /* Increased from 14px */
  font-weight: 500;
  color: #C19E86;
  margin-bottom: 0 !important;
  letter-spacing: 0.1em;
  font-family: "Fraunces", serif;
}

@media (max-width: 1023px) {
  .garaku-owner-section {
    flex-direction: column-reverse;
    /* Put photo back on top for mobile if preferred, or just column */
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .garaku-owner-media {
    width: 60%;
    max-width: 450px;
    align-items: center;
  }

  .garaku-owner-profile {
    padding-left: 0;
    margin-top: 10px;
  }

  .garaku-owner-content .garaku-philosophy-main-title {
    text-align: center;
    font-size: 28px;
  }

  .garaku-owner-content .garaku-philosophy-text-group {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .garaku-owner-media {
    width: 100%;
  }
}

/* =========================================
   Garaku Enzyme & Agency Section Styles
   ========================================= */

.garaku-enzyme-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Noto Serif JP', serif;
  color: #333;
}

.garaku-enzyme-intro {
  text-align: center;
  margin-bottom: 50px;
}

.garaku-enzyme-intro h1 {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 600;
  color: #457C74;
  /* Theme color */
  line-height: 1.4;
}

.garaku-enzyme-intro p {
  font-size: 16px;
  line-height: 2;
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
}

.garaku-enzyme-notice {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 70px;
  border: 1px solid #ddd;
  border-left: 5px solid #457C74;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.garaku-enzyme-notice p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  color: #555;
}

.garaku-agency-section {
  margin-top: 60px;
}

.garaku-agency-header {
  text-align: center;
  margin-bottom: 50px;
}

.garaku-agency-header h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #333;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.garaku-agency-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #457C74;
}

.garaku-agency-header p {
  font-size: 15px;
  color: #777;
  margin-top: 10px;
}

.garaku-agency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.garaku-agency-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.garaku-agency-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #457C74;
}

.garaku-agency-name {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #ccc;
  color: #457C74;
  line-height: 1.4;
}

.garaku-agency-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.garaku-agency-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.garaku-agency-phone svg {
  width: 22px;
  height: 22px;
  fill: #457C74;
}

.garaku-agency-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #457C74;
  color: #fff !important;
  /* Force white text */
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  /* Full width button */
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.garaku-agency-link:hover {
  background: #36635c;
  box-shadow: 0 4px 10px rgba(69, 124, 116, 0.3);
  transform: translateY(-2px);
}

.garaku-agency-link svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* Response for Mobile */
@media (max-width: 768px) {
  .garaku-enzyme-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .garaku-enzyme-intro h1 {
    font-size: 22px;
  }

  .garaku-enzyme-intro p {
    font-size: 14px;
    text-align: left;
  }

  .garaku-agency-grid {
    grid-template-columns: 1fr;
    /* Single column on mobile */
  }

  .garaku-agency-card {
    padding: 20px;
  }

  .garaku-agency-name {
    font-size: 17px;
  }
}

/* Update Agency Card Alignment */
.garaku-agency-name {
  text-align: center !important;
}

.garaku-agency-contact {
  align-items: center !important;
}

.garaku-agency-phone {
  justify-content: center !important;
}

/* Update Margin for Enzyme Section */
.garaku-enzyme-section {
  margin-bottom: 5em !important;
}

@media (max-width: 768px) {
  .garaku-enzyme-section {
    margin-bottom: 2em !important;
  }
}

/* Disabled Agency Button Style */
.garaku-agency-link.disabled {
  background-color: #ccc !important;
  pointer-events: none;
  box-shadow: none;
  transform: none;
  color: #fff !important;
}

/* Center alignment for agency cards */
.garaku-agency-name {
  text-align: center !important;
}

.garaku-agency-contact {
  align-items: center !important;
}

.garaku-agency-phone {
  justify-content: center !important;
}

/* Agency Phone Link Styling */
.garaku-agency-phone a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.garaku-agency-phone a:hover {
  color: #457C74;
  text-decoration: underline;
}

/* Enzyme Intro Heading Spacing */
.garaku-enzyme-intro h1 {
  letter-spacing: 0.05em !important;
}

/* Product Images Layout - Grouped Design */
.garaku-enzyme-product-images {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 60px;
  background-color: #fcfefe;
  /* Very slight cool tint */
  border: 1px solid #e0ecea;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(69, 124, 116, 0.08);
  /* Soft premium shadow */
  box-sizing: border-box;
}

.garaku-product-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0px;
  /* Fluid stack */
  border-radius: 4px;
  /* Slight rounding for images */
}

/* Ensure links wrapping images behave correctly */
.garaku-enzyme-product-images>a {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.garaku-enzyme-product-images>a:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Specific style for right-aligned agency recruitment banner */
.garaku-agency-recruit-img {
  width: 312px;
  max-width: 100%;
  margin-left: auto;
  display: block;
  margin-bottom: 20px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .garaku-enzyme-product-images {
    padding: 15px;
    /* Less padding on mobile */
    border-radius: 12px;
    margin-bottom: 40px;
  }

  .garaku-agency-recruit-img {
    margin-left: auto;
    /* Keep right alignment intent */
  }
}

/* ==========================================================================
   GLOBAL RESPONSIVE TYPOGRAPHY & LINE BREAK FIXES
   ========================================================================== */

/* Natural wrapping segments for Japanese to prevent awkward breaks */
.garaku-segment {
  display: inline-block;
  vertical-align: top;
}

@media (max-width: 767px) {

  /* Prevent mid-character breaks in titles but allow natural wrapping */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .garaku-title,
  .elementor-heading-title,
  .cmsmasters-widget-title__heading {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-break: strict !important;
    text-align: center !important;
    /* Better visual balance for titles on mobile */
  }

  /* Force wrap segments that were prevented from wrapping if necessary */
  .garaku-segment {
    /* If segments are very long, allow them to break normally */
    overflow-wrap: anywhere;
  }

  /* Universal Font Size Adjustments for Excessively Large Elements */

  /* Extremely large Hero headings (typical 78px down to 34-38px) */
  .elementor-element-bc15aea .elementor-heading-title,
  .elementor-heading-title.hero-large {
    font-size: 36px !important;
    letter-spacing: 2px !important;
    line-height: 1.3 !important;
  }

  /* Secondary Hero or Large Section titles (typical 43px+ down to 26-28px) */
  .elementor-element-996ce4d .elementor-heading-title,
  .garaku-philosophy-main-title {
    font-size: 26px !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
  }

  /* Mid-size subtitles (typical 32px down to 18-20px) */
  .elementor-element-900e3cc .elementor-heading-title,
  .garaku-subtitle {
    font-size: 16px !important;
    letter-spacing: 1px !important;
    line-height: 1.5 !important;
  }

  /* Page headers (Customer Voice, Staff, etc.) */
  .garaku-title {
    font-size: 28px !important;
  }

  /* Specific handling for PC/SP specific line breaks */
  .pc-br {
    display: none !important;
  }

  .sp-br {
    display: block !important;
  }

  /* Fallback for common hidden/shown patterns */
  .mobile-only,
  .sp-only {
    display: block !important;
  }

  .desktop-only,
  .pc-only {
    display: none !important;
  }

  /* Body Text adjustments if needed */
  p,
  .elementor-heading-title.text-style {
    font-size: 15px;
    /* Standardize mobile reading size */
    line-height: 1.7;
    /* Breathing room */
  }
}

/* ===== GLOBAL UI FIXES (Moved from index) ===== */

/* 1. Header & Logo */
.elementor-119 .elementor-element.elementor-element-6dbd6ac4 .elementor-widget-cmsmasters-site-logo__image-container img {
  max-width: 200px !important;
}

/* 2. Menu & Submenu Visibility */
.cmsmasters-menu-item-open>.sub-menu {
  max-height: 1000px !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-top: 10px;
  display: block !important;
  height: auto !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Mobile Menu Animation */
.sub-menu {
  display: block !important;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, margin 0.3s ease;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: rgba(0, 0, 0, 0.02);
}

/* 3. Testimonials Section Styling */
.elementor-element-f4d93e9 {
  background-color: #f9f9f9 !important;
  padding: 100px 0 120px !important;
  margin: 0 !important;
}

#cmsmasters-slider-de3d5f7 .swiper-slide {
  height: auto !important;
  display: flex !important;
  padding: 20px !important;
}

#cmsmasters-slider-de3d5f7 .cmsmasters-testimonial {
  background: #fff !important;
  padding: 45px 35px !important;
  border-radius: 12px !important;
  border: 1px solid #f0f0f0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

#cmsmasters-slider-de3d5f7 .cmsmasters-testimonial__author-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 25px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #f2f2f2 !important;
  width: 100% !important;
}

#cmsmasters-slider-de3d5f7 .cmsmasters-testimonial__author-name {
  font-weight: 700 !important;
  color: #333 !important;
  font-size: 1.15em !important;
  margin-bottom: 10px !important;
  display: block !important;
}

#cmsmasters-slider-de3d5f7 .cmsmasters-testimonial__rating {
  color: #C19E86 !important;
  font-size: 18px !important;
  letter-spacing: 4px !important;
  line-height: 1 !important;
  display: block !important;
}

#cmsmasters-slider-de3d5f7 .cmsmasters-testimonial__content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0px;
}

#cmsmasters-slider-de3d5f7 .cmsmasters-testimonial__text {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #555 !important;
  flex: 1 !important;
}

#cmsmasters-slider-de3d5f7 .date-stamp {
  display: block !important;
  text-align: right !important;
  font-size: 12px !important;
  color: #aaa !important;
  margin-top: 25px !important;
}

#cmsmasters-slider-de3d5f7 .swiper-pagination {
  position: relative !important;
  margin-top: 40px !important;
  bottom: 0 !important;
  width: 100% !important;
}

#cmsmasters-slider-de3d5f7 .swiper-pagination-bullet {
  background: #ccc !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 6px !important;
}

#cmsmasters-slider-de3d5f7 .swiper-pagination-bullet-active {
  background: #C19E86 !important;
}

/* Ensure sliders are always interactive */
.elementor-widget-cmsmasters-media-carousel,
.elementor-widget-cmsmasters-testimonials-slider,
.cmsmasters-slider {
  pointer-events: auto !important;
}

/* Agency Card Styling to ensure equal height for phone links */
.garaku-agency-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.garaku-agency-phone {
  min-height: 24px;
  /* Adjust based on your font-size and icon size */
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

/* If the phone element is empty or hidden, it still takes up space */
.garaku-agency-phone:empty {
  display: block;
}
/* Garaku Voice/BA Styles - Appended */
.garaku-page-header {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px; /* Offset header overlap */
}

.garaku-page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.garaku-page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.garaku-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: "Fraunces", serif;
}

.garaku-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    font-weight: 300;
}

.garaku-voice-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.garaku-voice-tab-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
    border-bottom: 1px solid #ddd;
}

.garaku-voice-tab-item {
    padding: 15px 40px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #999;
    position: relative;
    transition: all 0.3s;
    font-family: "Fraunces", serif;
    letter-spacing: 0.05em;
}

.garaku-voice-tab-item.active {
    color: #457C74;
}

.garaku-voice-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #457C74;
}

.garaku-voice-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.garaku-voice-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* BA Grid */
.garaku-ba-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .garaku-ba-card {
        flex-direction: column;
    }
}

.garaku-ba-images {
    flex: 1;
    position: relative;
    background: #f0f0f0;
    min-height: 300px;
}

.garaku-ba-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.garaku-ba-label {
    position: absolute;
    background: rgba(100, 100, 100, 0.7); /* BEFORE: Neutral Gray */
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 1px;
}

.garaku-ba-label.before {
    top: 20px;
    left: 20px;
}

.garaku-ba-label.after {
    bottom: 20px;
    right: 20px;
    background: #e55039; /* AFTER: Vivid Red-Orange to stand out */
    box-shadow: 0 4px 10px rgba(229, 80, 57, 0.4);
}

.garaku-ba-info {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .garaku-ba-info {
        padding: 30px;
    }
}

.garaku-ba-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
    border-bottom: 2px solid #457C74;
    display: inline-block;
    padding-bottom: 10px;
}

.garaku-ba-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    white-space: pre-line;
}

/* Joy Grid */
.garaku-joy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.garaku-joy-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.garaku-joy-card:hover {
    transform: translateY(-5px);
    border-color: #457C74;
}

.garaku-joy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 15px;
}

.garaku-joy-author {
    font-weight: bold;
    color: #333;
}

.garaku-joy-rating {
    color: #f1c40f;
    letter-spacing: 2px;
}

.garaku-joy-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.garaku-pagination {
    margin-top: 50px;
    text-align: center;
}

.garaku-page-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    margin: 0 5px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.garaku-page-btn.active,
.garaku-page-btn:hover {
    background: #457C74;
    color: #fff;
}

/* Fix for Image & Label positioning */
.garaku-ba-images {
    background: transparent !important; /* Remove grey background */
    display: flex !important;
    align-items: flex-start; /* Align image to top, don't stretch */
    justify-content: center;
}

.garaku-img-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

/* Ensure labels stay inside the wrapper */
.garaku-img-wrapper .garaku-ba-label {
    z-index: 10;
}

/* Adjust BA Title Size */
/* Overwrite the appended styles with more specific selector or !important if needed, but simple append works due to cascade */
.garaku-ba-title {
    font-size: 18px !important; /* Smaller size */
    font-weight: 600 !important;
    border-bottom: 1px solid #457C74 !important; /* Less flashy border */
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
}

/* PC padding adjustment for BA section */
@media (min-width: 769px) {
    .garaku-ba-images {
        background: transparent !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 30px 15px 30px 30px !important;
    }

    .garaku-ba-info {
        flex: 1 !important;
        padding: 30px 30px 30px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

/* Update BA Image Alignment to Flex-Start (Left Aligned on PC) */
@media (min-width: 769px) {
    .garaku-ba-images {
        background: transparent !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important; /* Changed from center to flex-start */
        padding: 30px 15px 30px 30px !important;
    }
}
