body {
  display: block;
  @media (min-width: 768px) {
    display: grid;
  }
}



body.home .header {
  margin-inline: 0;
  border-radius: 0px;
  border-bottom: none;
  position: absolute;
  top: 0;
  width: 100%;
  padding: 0px;
  background-color: unset;
  
  @media (min-width: 768px) {
    background-color: rgb(from var(--contents-bg-color) r g b / 0.6);
    padding: var(--p-md) var(--content-spacing);
    width: 100%;
    margin-inline: 0;
    border-radius: 0;
    position: absolute;
    top: 0;
  }
  
  
  .inner .link.logo {
    flex-shrink: 0;
    max-width: 138px;
    height: 26px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    @media (min-width: 768px) {
      max-width: 240px;
    }
  }
  
  .inner .link.logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 26px;
    object-fit: contain;
    margin-left: var(--p-md);
    display: block;
    @media (min-width: 768px) {
      max-height: 46px;
      margin-left: 0;
    }
  }
  .inner .link.logo:hover {
    opacity: 0.7;
    background-color: unset;
  }
  
  .inner .link {
    color: var(--text-color);
    @media (min-width: 890px) {
      color: var(--text-color);
    }
  }
  .list {
    .link:hover,
    .item.toggle:hover .text {
      color: var(--text-point-color);
    }
    .item .menu {
      border: none;
      box-shadow: none;
    }
    .tag {
      background-color: var(--text-point-color);
    }
  }
}
@media (min-width: 768px) {
  .home .header {
    background-color: var(--header-color);
  }
}
@media (min-width: 890px) {
  .home .header {
    background-color: rgb(from var(--contents-bg-color) r g b / 0.6);
  }
}
.hamburger-menu .item {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 1px;
  transition: background-color 0.2s ease-in;
}

body.home .hamburger-menu {
  top: 30px;
  right: var(--content-spacing);
  left: unset;
  background-color: #161B60;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  
  @media (min-width: 768px) {
    top: var(--p-md);
    transform: none;
    left: unset;
    right: var(--content-spacing);
    
    .item {
      background-color: #FFFFFF;
    }
  }
  
  @media (min-width: 890px) {
    top: 25px;
  }
}


/* Navigation menu - ensure information block displays properly */
.navigation .contents .information {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: var(--p-lg) 0;
  border-top: 1px solid var(--navigation-border-color);
  margin-top: var(--p-lg);
}

.navigation .contents .information .block {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  color: var(--navigation-text-color);
}

.navigation .contents .information .block-tel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--gap-md);
}

.navigation .contents .information .text {
  font-size: var(--text-sm);
  color: var(--navigation-text-color);
}

.navigation .contents .information .tel {
  font-size: var(--text-lg);
  color: var(--navigation-text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.navigation .contents .information .tel::before {
  font: var(--fa-font-solid);
  content: "\f095";
  display: inline-block;
  font-size: var(--text-md);
  color: var(--navigation-text-color);
}

.navigation .contents .information .tel:hover {
  color: var(--main-color);
  opacity: 0.7;
}

.navigation .contents .information .block-text {
  font-size: var(--text-xs);
  color: var(--navigation-text-color);
}

.navigation .contents .information .block-text-title {
  font-weight: var(--weight-bold);
  margin-right: var(--gap-sm);
}

@keyframes slide-animation-01 {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.15);
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slide-animation-02 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
    transform: scale(1);
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
  }
}
@keyframes slide-animation-03 {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
    transform: scale(1);
  }
  70% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
 

.fv {
  overflow: hidden;
  height: 100%;
  max-height: 800px;
  @media (max-width: 768px) {
    max-height: 484px
  }
  .picture01 {
    animation: slide-animation-01 24s infinite;
  }
  .picture02 {
    animation: slide-animation-02 24s infinite;
  }
  .picture03 {
    animation: slide-animation-03 24s infinite;
  }
  .title {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--p-lg);
    padding: var(--p-md);
    .fv-sub,
    .fv-main {
      display: block;
    }
    .fv-main {
      padding: 0.2em 0.5em;
      background-color: var(--contents-bg-color);
      text-align: center;
      font-size: 29px;
      color: #161B60;
      font-style: normal;
      font-weight: 700;
      letter-spacing: -0.72px;
      font-family: Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
      text-shadow: none;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      max-width: 100%;
      width: calc((1em + var(--p-sm)) * 10 + 2em);

        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      word-break: keep-all;
      overflow-wrap: break-word;
      line-break: auto;
      .fv-main-area,
      .fv-main-copy {
        display: block;
      }
      .fv-main-area {
        color: #161B60;
        font-family: Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 104.5%;
        letter-spacing: -0.72px;
        @media (max-width: 767px) {
          font-size: 13px;
          line-height: 33px;
          letter-spacing: -0.52px;
        }
      }
      @media (max-width: 767px) {
        width: auto;
      }
    }
    .fv-sub-container {
      display: flex;
      padding: 5px 15px;
      justify-content: center;
      background-color: #161B60;
      gap: 10px;
      max-width: 100%;
      box-sizing: border-box;
      }

    .fv-sub {
      font-size: 16px;
      color: #FFFFFF;
      font-style: normal;
      font-weight: 700;
      line-height: 133.5%;
      text-shadow: 0 0 4px #00322D;
      letter-spacing: -1.12px;
       -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      word-break: keep-all;
      overflow-wrap: break-word;
      line-break: auto;
      
    }
    .fv-sub-line2 {
      display: block;
    }
  }
  
}
/* fv desktop */
@media (min-width: 768px) {
  .fv {
    height: 800px;
    padding-top: 0;
    .title {
      flex-direction: column;
      
      .fv-main {
        font-size: 48px;
        width: auto;
      }
      .fv-sub {
        font-size: 28px;
      }
      .fv-sub-line2 {
        display: inline;
      }
    }
  }
}
@media (min-width: 890px) {
  .fv {
    .title {
      .fv-main {
        font-size: 48px;
        padding-bottom: 0px;
      }
    }
  }
}

.section-links .link {
  border-radius: 2px;
  border: 2px solid rgba(218, 82, 22, 0.43); 
  background-color: rgba(255, 221, 206, 0.3);
  &:hover {
    background-color: rgba(255, 221, 206, 0.7);
  }

  @media (min-width: 768px) {
    border: 2px solid rgba(218, 82, 22, 0.43); 
  }

  .inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    .title, .sub-title {
      color: #111; 
    }
    padding-right: var(--p-xl);
    padding-left: 69.22px; /* 16px (icon left) + 37.22px (icon width) + 16px (gap) */

    @media (min-width: 768px) {
      padding-left: 101.58px; /* 31px (icon left) + 48px (icon width) + 22.58px (gap) */
    }

    @media (min-width: 960px) {
      padding-left: 101.58px; 
    }

    /* Hide the parent theme's ::before icon */
    &::before {
      display: none !important;
      content: none !important;
    }

    .ico-bnr-search {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 16px;
      flex-shrink: 0;
    }

    .ico-bnr-search-mobile {
      display: block;
      width: 37.22px;
      height: 38px;

      @media (min-width: 768px) {
        display: none;
      }
    }

    .ico-bnr-search-desktop {
      display: none;
      width: 48px;
      height: 49px;
      left: 31px; /* Match Figma desktop position */

      @media (min-width: 768px) {
        display: block;
      }

      @media (min-width: 960px) {
        left: 31px; /* Keep same position */
      }
    }

    &::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      margin: auto 0;
      transform: rotate(45deg);
      width: 8px;
      height: 8px;
      border-top: 2px solid #DA5216; /* Arrow color matches Figma */
      border-right: 2px solid #DA5216; /* Arrow color matches Figma */
      right: 16px;
      z-index: 2;

      @media (min-width: 768px) {
        right: 22px;
      }

      @media (min-width: 960px) {
        right: 32px;
      }
    }

    .sub-title {
      font-size: var(--text-xs);

      @media (min-width: 768px) {
        font-size: 15px;
      }
    }
  }
}

body.home .section-corner {

  .corner-wrapper {
    background: var(--contents-bg-color);

    .title {
      font-size: 20px;
      font-weight: 350;
      line-height: 1.5;
      
      @media (min-width: 768px) {
      font-size: var(--text-xl);
      }
      
    &::before {
      height: 24px;
      background: linear-gradient(to top, var(--main-color) 0 62.5%, var(--text-contrast-color) 62.5% 100%);

      @media (min-width: 768px) {
        height: 40px;
      }
    }
    
  }
}
}

body.home .section-corner.cube-ranking,
body.home .section-corner.section-news {
  .corner-wrapper {
    display: flex;
    flex-direction: column;
    border: none;
    background: transparent;

    .title {
      background: transparent;
      color: #111;
      font-weight: 700;
      line-height: 1.2;

      &::before {
        display: none;
      }
    }
    
    .description {
      font-size: 12px;
      line-height: 1.2;
      font-weight: 350;
    }
    
  }
}

body.home .section-news .posts {
  border: 1px solid var(--border-color);
  margin-inline: 0;
  padding-inline: var(--content-spacing);
  background: var(--contents-bg-color);

  @media (min-width: 768px) {
    padding-inline: 20px;
  }

  .post-news {
    .heading .link:hover {
      color: var(--text-point-color);
    }

    .new::after {
      color: var(--new-color);
      background-color: unset;
      font-size: var(--text-md);
      font-weight: 700;
      padding-inline: 5px;
    }

  }
}

.swiper {
  padding-inline: clamp(0.875rem, -6.5357rem + 37.0536vw, 11.25rem) !important;

  @media (min-width: 768px) {
    padding-inline: 0 !important;
  }

  .swiper-wrapper {
      .swiper-slide {
        margin-right: 8px;

        @media (min-width: 320px) {
          margin-right: 10px;
        }

        @media (min-width: 768px) {
          margin-right: 0;
        }
    }
  }
} 

/* Section Corner - おすすめ売買物件 (Figma Design) */
body.home .section-corner {

  .corner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: var(--contents-bg-color);
    padding: 0 0px;

    @media (max-width: 767px) {
      padding: 0 0px;
    }

    .title {
      display: flex;
      align-items: center;
      gap: var(--gap-md);
      padding-inline: var(--content-spacing);
      font-family: 'Zen Kaku Gothic Antique', sans-serif;
      font-size: 18px;
      font-weight: 700;
      line-height: 10px;
      color: var(--sato-text);
      padding-inline: 0;
      padding:0 12px;
    
      
      @media (min-width: 768px) {
        font-size: 20px;
        line-height: 40px;
        padding: 5px 0 5px 45px;
        position: relative;
      }
      
      .cornerIcon {
        display: block;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        fill: var(--sato-primary);

        @media (min-width: 768px) {
          width: 40px;
          height: 40px;
          position: absolute;
          left: 0;
          top: 2.5px;
        }
      }

      .description {
        font-size: var(--text-xs);
        line-height: 1.2;
        font-weight: 500;
      }

      &::before {
        display: none;
      }
      .title-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        @media (max-width: 767px) {
          flex-direction: column;
          align-items: flex-start;
          gap: 5px;
        }
      }
   .Type-Common-Description {
      color: #111;
      font-size: 20px;
      font-family: 'Noto Sans JP', sans-serif;
      font-style: normal;
      font-weight: 400;
      line-height: 20px;
      &::before {
        content: "|";
        color: #bbb;
        margin: 0 10px;
        font-weight: 500;
      }
      @media (max-width: 767px) {
        font-size: 16px;
        line-height: 20px;
        &::before {
          content: none;
        }
      }
     
    }
      
    }
  }
}

/* Section Cube Type A - Figma Design Background */
body.home .section-corner.cube-typeA {
  .corner-wrapper {
    background: var(--sato-bg);
    padding: 0px;

    @media (max-width: 950px) {
      padding: 0 0px;
    }

    .title {
      @media (max-width: 767px) {
        padding-inline: 0;
        padding:0 12px;
      }
    }
  }
}

body.home .section-corner.cube-ranking,
body.home .section-corner.section-news {
  .corner-wrapper {
    padding: 0 0;
    border: none;
    background: transparent;
    @media (max-width: 767px) {
      padding: 0 12px;
    }

    .title {
      background: transparent;
      color: #111;
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.2;
      border-left: 3px solid #111;
      padding: 2px 5px 0px 15px;
      gap: 15px;

      /* Hide the cornerIcon SVG if still present */
      .cornerIcon {
        display: none;
      }

      /* PC: row layout - title and description side by side */
      @media (min-width: 768px) {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
      }

      /* SP: column layout - title on top, description below */
      @media (max-width: 767px) {
        flex-direction: column;
        align-items: flex-start;
        padding: 1px 5px 0px 14px;
        font-size: 20px;
      }
    }
    
    .description {
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 12px;
      line-height: 1.2;
      font-weight: 350;
      letter-spacing: 0.05em;
      white-space: nowrap;
    }
    
  }
}

body.home .section-news .posts {
  

  @media (min-width: 768px) {
    padding-inline: 20px;
  }

  .post-news {
    .heading .link:hover {
      color: var(--sato-primary);
    }

    .new::after {
      color: var(--new-color);
      background-color: unset;
      font-size: var(--text-md);
      font-weight: 700;
      padding-inline: 5px;
    }
  }
}

body.home .section-news .more-link {
display: flex;
width: 300px;
padding: 16.5px 1px 16.69px 1px;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: 2px;
border: 1px solid #111;
}

.swiper {
  padding-inline: clamp(0.875rem, -6.5357rem + 37.0536vw, 11.25rem) !important;

  @media (min-width: 768px) {
    padding-inline: 0 !important;
  }

  .swiper-wrapper {
    .swiper-slide {
      margin-right: 8px;

      @media (min-width: 320px) {
        margin-right: 10px;
      }

      @media (min-width: 768px) {
        margin-right: 0;
      }
    }
  }
} 

/* Section Swiper */
.section-swiper {
  .scube-typeA-pagenation,
  .scube-typeB-pagenation,
  .scube-typeC-pagenation {
    margin-top: 10px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .section-swiper {
    padding-inline: var(--content-spacing);
    .scube-typeA-pagenation,
    .scube-typeB-pagenation,
    .scube-typeC-pagenation {
      display: none;
    }
  }
}

/* scube-typeA - おすすめ売買物件 (Figma Design) */
.scube-typeA {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
  width: 160%;
  transform: translateX(calc(calc(100% - 135%) / 2));

  .item {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #C0C0C0;;
    background: var(--contents-bg-color);
    height: auto;
    width: 100%;

    &:hover {
      border-color: var(--main-color, var(--sato-primary));
      .pic img {
        opacity: 0.7;
      }
    }
  }

  .pic {
    position: relative;
    width: 100%;
    aspect-ratio: 238 / 178;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.3s ease;
    }

    /* NEW badge */
    &.new-property::before {
      content: 'NEW';
      position: absolute;
      top: 0;
      left: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 54px;
      height: 27px;
      background: var(--sato-new);
      color: #fff;
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
    }

    /* 商談中 badge */
    &.stage-negotiation::after {
      content: '商談中';
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      width: 80px;
      height: 20px;
      background: #e0af1b;
      border-radius: 8px;
      color: var(--text-contrast-color);
      font-size: var(--text-sm);
      line-height: 1.3;
      text-align: center;
      translate: -50% -50%;
      z-index: 3;
    }
  }

  .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--contents-bg-color);
    flex-grow: 1;
    padding: 10px 15px;
  }

  /* Tags container - Figma Design */
  .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
  }

  .tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    padding: 0 5px;
    border: 1px solid var(--main-color);
    border-radius: 2px;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 25.6px;
    color: var(--main-color);
    white-space: nowrap;
  }

  .price {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20.8px;
    font-weight: 700;
    color: #B20007;
    line-height: 25.6px;
    text-align: center;

    .unit {
      font-size: 16px;
      font-weight: 700;
    }
  }

  .spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    font-size: 15px;
    line-height: 1.5;

    .rimawari {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 8px;
      width: 100%;
      min-height: 22.5px;
      background: #E8E8E8;
      font-weight: 700;
      padding: 0 26px 0 27px;
      font-size: 15px;
      text-align: center;
      line-height: 22.5px;
     

      @media (max-width: 1100px) {
        flex-wrap: wrap;
        padding: 0 3px 0 3px;
      }
      
      .red {
        color: #B20007;
      }
    }

    .address {
      text-align: center;
      font-size: 15px;
      font-weight: 400;
      color: var(--sato-text);
      line-height: 22.5px;
      margin-bottom: 0;
    }

    .address.ellipsis {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      align-self: stretch;
      box-sizing: border-box;
    }

    .detail {
      display: none;
    }

    .structure {
      display: none;
    }
  }

  .item .comment {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22.5px;
    color: var(--sato-text);
    padding-top: var(--p-md);
    margin-top: 0 !important;
    border-top: 1px solid #E6E6E6;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }

  .link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

/* Swiper mode - only active on mobile (< 768px) */
.swiper-initialized {
  .scube-typeA {
    display: flex;
    width: 100%;
    transform: none;
    gap: initial;
  }

  .scube-typeA .item {
    width: 256px;
    min-width: 256px;
  }

  .swiper-wrapper.scube-typeA .swiper-slide {
    width: 256px;
    min-width: 256px;
  }

  /* Override parent theme's border-top on .comment for swiper */
  .swiper-wrapper.scube-typeA .swiper-slide .item .comment {
    padding-top: var(--p-md);
    margin-top: 0 !important;
    border-top: 1px solid #E6E6E6;
  }
}

/* Grid layout for tablet and desktop (>= 768px) - overrides swiper */
@media (min-width: 768px) {
  .scube-typeA {
    width: 100% !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, calc((100% - (var(--gap-md) * 3)) / 4)) !important;
    gap: var(--gap-md) !important;

    .item {
      width: 100%;
    }

    .pic {
      width: 100%;
      aspect-ratio: 238 / 178;
    }

    .info {
      width: 100%;
      min-height: 211px;
    }

    .item .comment {
      padding-top: var(--p-md);
      margin-top: 0 !important;
      border-top: 1px solid #E6E6E6;
    }

    /* Also override for swiper wrapper */
    .swiper-wrapper .swiper-slide .item .comment {
      padding-top: var(--p-md);
      margin-top: 0 !important;
      border-top: 1px solid #E6E6E6;
    }

    /* Override parent theme spec margin */
    .item .spec {
      margin-bottom: 0 !important;
    }
    

    /* Ensure address ellipsis works on all cards in grid */
    .item .spec .address.ellipsis {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  
  /* Ensure swiper doesn't interfere with grid layout at 768px+ */
  .swiper-initialized .scube-typeA {
    display: grid !important;
    flex-direction: unset !important;
  }
}

/* Section Cube Type B - おすすめ賃貸物件 Figma Background */
body.home .section-corner.cube-typeB {
  .corner-wrapper {
    background: var(--sato-bg);
    padding: 0x;
    

    @media (max-width: 950px) {
      padding: 0 0px;;
    }

    .title {
      @media (max-width: 767px) {
        padding-inline: 0;
        padding:0 12px;
      }
    }
  }
}

/* ===========================================
   scube-typeB - おすすめ賃貸物件 Individual Classes
   =========================================== */

/* TypeB List Container */
.scube-typeB {
  display: flex;
}

/* TypeB Item - Mobile */
.typeB-item {
  display: flex;
  position: relative;
  height: 130px;
  border: 1px solid #C0C0C0;
  background: #FFF;

  &:hover {
    border-color: var(--main-color, var(--sato-primary));

    .typeB-pic img {
      opacity: 0.7;
    }
  }
}

/* TypeB Picture - Mobile */
.typeB-pic {
  width: 128px;
  height: 100%;
  flex-shrink: 0;

  img {
    width: 128px;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
}

/* TypeB Info - Mobile */
.typeB-info {
  width: calc(100% - 128px);
  height: 100%;
  background-color: #FFF;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}

/* TypeB Tags Wrapper - Mobile */
.typeB-tags-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* TypeB Tags Container - Mobile */
.typeB-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

/* TypeB Tag Item - Mobile */
.typeB-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 18px;
  padding: 1px 5px;
  border: 1px solid var(--main-color, var(--sato-primary));
  border-radius: 1.4px;
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 17.97px;
  color: var(--main-color, var(--sato-primary));
  white-space: nowrap;
}

/* TypeB Price - Mobile */
.typeB-price {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24.708px;
  color: #B20007;
  text-align: center;

  .unit {
    font-size: 14px;
  }
}

/* TypeB Spec Container - Mobile */
.typeB-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2px;
  border: none;
  border-bottom: none;
}

/* TypeB Rimawari - Mobile */
.typeB-rimawari {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1px 5px;
  width: 100%;
  padding: 1.81px 0px;
  background: #E8E8E8;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 15.794px;
  text-align: center;
  color: var(--sato-text);

  .red {
    color: #B20007;
  }
}

/* TypeB Address - Mobile */
.typeB-address {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 15.794px;
  color: var(--sato-text);
}

/* TypeB Comment - Hidden below 850px */
.typeB-comment-wrapper {
  display: none;
}

@media (min-width: 850px) {
  .typeB-comment-wrapper {
    display: flex !important;
  }
}

/* TypeB Link Overlay */
.typeB-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (min-width: 768px) and (max-width: 950px) {
  .typeB-pic {
    width: 140px !important;
  }
  .typeB-pic img {
    width: 140px !important;
  }
}

/* 3. DESKTOP (901px and above) - 195px */
@media (min-width: 951px) {
  .typeB-pic {
    width: 195px !important;
  }
  .typeB-pic img {
    width: 195px !important;
    height: 100%;
    object-fit: cover;
  }
}
/* ===========================================
   TypeB Desktop 768px+
   =========================================== */
@media (min-width: 768px) {
  .typeB-item {
    display: flex;
    width: calc(50% - var(--gap-md) / 2);
    background: #FFF;
    height: 192px;
    justify-content: center;
    align-items: center;
    border: 1px solid #F1F1E5;
    overflow: hidden;

    &:hover {
      border-color: var(--main-color, var(--sato-primary));

      .typeB-pic img {
        opacity: 0.7;
      }
    }
  }

  .typeB-pic {
    height: 100%;
    flex-shrink: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.3s ease;
    }
  }

  .typeB-info {
    width: auto;
    height: auto;
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    flex: 1 0 0;
    align-self: stretch;
  }

  .typeB-tags-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
  }

  .typeB-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
  }

  .typeB-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    padding: 0 5px;
    border: 1px solid var(--main-color, var(--sato-primary));
    border-radius: 2px;
    background: #FFF;
    color: var(--main-color, var(--sato-primary));
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 25.6px;
  }

  .typeB-price {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: #B20007;
    text-align: center;

    .unit {
      font-size: 12px;
    }
  }

  .typeB-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 2px;
  }

  .typeB-rimawari {
    display: flex;
    padding: 4px 0;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    font-size: 13px;

    .red {
      color: #B20007;
    }
  }

  .typeB-address {
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.5px;
  }

}

/* TypeB Comment styles for 850px+ */
@media (min-width: 850px) {
  .typeB-comment-wrapper {
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    align-self: stretch;
    gap: 8px;
    width: 100%;
    border-top: 1px solid #E6E6E6;
    padding-top: 5px;
  }

  .typeB-comment {
    flex: 1;
    height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
  }
}

/* ===========================================
   TypeB Desktop 951px+ (larger image)
   =========================================== */
@media (min-width: 951px) {
  .typeB-pic {
    /* Width handled by media queries at lines 1309-1318 */
    img {
      height: 100%;
    }
  }

  .typeB-info {
    width: calc(100% - 195px);
    min-height: 195px;
    padding: 15px 20px;
  }

  .typeB-tag {
    font-size: 12px;
  }

  .typeB-price {
    font-size: 22px;
  }

  .typeB-rimawari {
    font-size: 15px;
  }

  .typeB-address {
    font-size: 15px;
  }
}

/* scube-typeC - Figma Design */
.scube-typeC {
  display: flex;
  flex-direction: row;
  gap: var(--gap-md);
  padding-inline: 12px;
  width: 160%;
  transform: translateX(calc(calc(100% - 135%) / 2));

  @media (min-width: 768px) {
    padding-inline: 0;
    width: 100%;
    transform: none;
  }

  .item {
    display: flex;
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--contents-bg-color);
    flex-shrink: 0;
    width: calc((100% - var(--gap-md)) / 1.6);
    min-width: 280px;

    &:hover {
      border-color: var(--main-color, var(--sato-primary));

      .pic img {
        opacity: 0.7;
      }
    }
  }
  .pic {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
  }

  .pic img {
    width: 130px;
    height: 130px;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .info {
    background-color: var(--contents-bg-color);
    flex-grow: 1;
    font-size: var(--text-md);
    padding: var(--p-md);
    height: 130px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    overflow: hidden;
  }

  /* Tags container */
  .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: left;
    gap: 5px;
    margin-bottom: 5px;
  }

  .tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 24px;
    padding: 0 5px;
    border: 1px solid var(--main-color);
    border-radius: 2px;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 25.6px;
    color: var(--main-color);
    white-space: nowrap;
  }

  .price {
    font-size: var(--text-price);
    font-weight: var(--weight-bold);
    color: #B20007;

    .unit {
      font-size: 0.7em;
    }
  }

  .spec {
    font-size: var(--text-sm);

    .rimawari {
      display: flex;
      height: 23px;
      padding: 4px 0;
      align-items: center;
      gap: 8px;
      background: #E8E8E8;
      font-weight: 700;
      font-size: 13px;
      line-height: 22.5px;
      text-align: center;
      color: #111;
      padding-left: 5px;
      

      .red {
        color: #B20007;
      }
    }
  }

  .comment {
    display: none;
  }

  .link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

/* Swiper mode - only active on mobile (< 768px) */
.swiper-initialized {
  .scube-typeC {
    display: flex;
    width: 100%;
    transform: none;
    gap: initial;
    padding-inline: 0;
  }

  .scube-typeC .item {
    width: 256px;
    min-width: 256px;
    display: flex;
    flex-direction: column;
  }

  .scube-typeC .item .pic {
    width: 256px;
    height: 256px;
    aspect-ratio: 1 / 1;
    order: 1;
  }

  .scube-typeC .item .pic img {
    width: 256px;
    height: 256px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .scube-typeC .item .info {
    display: flex;
    width: 238px;
    height: 211px;
    order: 2;
    padding: var(--p-md);
  }

  .scube-typeC .item .info .tags {
    justify-content: center;
    align-items: center;
  }

  .scube-typeC .item .info .price {
    text-align: center;
  }

  .scube-typeC .item .info .spec .rimawari {
    justify-content: center;
    text-align: center;
  }

  .scube-typeC .item .info .spec .address {
    text-align: center;
  }

  .scube-typeC .item .comment {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22.5px;
    color: var(--sato-text);
    padding-top: var(--p-md);
    margin-top: 0 !important;
    border-top: 1px solid #E6E6E6;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }

  .swiper-wrapper.scube-typeC .swiper-slide {
    width: 256px;
    min-width: 256px;
  }
}

/* scube-typeC - Desktop 768px+ */
@media (min-width: 768px) {
  .scube-typeC {
    display: flex !important;
    flex-direction: column !important;
    padding-inline-start: 0;
    padding-inline-end: 0;
    width: 100% !important;
    transform: none !important;

    .item {
      display: grid;
      grid-template-columns: 200px 1fr;
      width: 100% !important;
      min-width: unset !important;

      .tag-item {
        font-size: 12px;
        height: 24px;
        padding: 0 5px;
        line-height: 25.6px;
      }

      .comment {
        display: block;
        font-size: var(--text-sm);
        padding-top: var(--p-md);
        margin-top: var(--p-md);
        border-top: 1px solid var(--border-color);
        overflow: hidden;
        display: -webkit-box;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        -webkit-line-clamp: 2;
      }

      .pic {
        width: 200px;
        height: 200px;
      }
      .pic img {
        width: 100%;
        height: 100%;
      }
    }

    .info {
      height: auto;
    }
  }

  /* Ensure swiper doesn't interfere with column layout at 768px+ */
  .swiper-initialized .scube-typeC {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* scube-ranking - Rent Ranking Figma Design */
.scube-ranking {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  margin-inline: 0;

  .item {
    display: flex;
    position: relative;
    border: 1px solid #C0C0C0;
    background: var(--contents-bg-color);

    &:hover {
      border-color: var(--main-color, var(--sato-primary));
      .pic img {
        opacity: 0.7;
      }
    }

    &::after {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      text-align: center;
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 11px;
      font-weight: 700;
    }

    &:nth-child(1)::after {
      content: '1';
      background: #F7D019;
      color: var(--sato-text);
    }

    &:nth-child(2)::after {
      content: '2';
      background: #ddd;
      color: var(--sato-text);
    }

    &:nth-child(3)::after {
      content: '3';
      background: #854f41;
      color: #fff;
    }
  }

  .pic {
    width: 118px;
    flex-shrink: 0;
  }

  .pic img {
    width: 118px;
    height: 118px;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .info {
    background-color: var(--contents-bg-color);
    flex-grow: 1;
    height: 118px;
    font-size: var(--text-md);
    padding: var(--p-md);
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    overflow: hidden;
  }

  /* Tags - centered with teal border */
  .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 18px;
    padding: 0 5px;
    border: 1px solid var(--main-color, var(--sato-primary));
    border-radius: 2px;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    color: var(--main-color, var(--sato-primary));
    white-space: nowrap;
  }

  .price {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24.708px;
    color: #B20007;
    text-align: center;

    .unit {
      font-size: 14px;
    }
  }

  .spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: var(--text-sm);
    gap: 2px;

    .rimawari {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 4px;
      width: 100%;
      padding: 1.81px 0px;
      background: #E8E8E8;
      font-weight: 700;
      font-size: 13px;
      line-height: 15.794px;
      text-align: center;
      color: var(--sato-text);

      .red {
        color: #B20007;
      }
    }

    .address {
      text-align: center;
      font-size: 13px;
      line-height: 15.794px;
      color: var(--sato-text);
    }
  }

  .comment {
    display: none;
  }

  .link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

/* Ranking Desktop 900px+ - 3 column grid */
@media (min-width: 900px) {
  .scube-ranking {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    margin-inline: 0;

    .item {
      display: grid;
      grid-template-columns: 120px 1fr;

      .pic {
        width: 120px;
      }

      .pic img {
        width: 100%;
        height: 100%;
      }
    }

    .tag-item {
      font-size: 12px;
      height: 24px;
      padding: 0 5px;
      line-height: 25.6px;
    }

    .price {
      font-size: 16px;
    }
    .price .unit {
      font-size: 12px;
    }

    .spec .rimawari {
      font-size: 12px;
    }

    .spec .address {
      font-size: 13px;
    }
  }
}

.scube-list {
  .pic.stage-negotiation {
    position: relative;

    &::after {
      content: '商談中';
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      width: 80px;
      height: 20px;
      background: #e0af1b;
      border-radius: 8px;
      color: var(--text-contrast-color);
      font-size: var(--text-sm);
      line-height: 1.3;
      text-align: center;
      translate: -50% -50%
    }
  }

  .price {
    font-size: var(--text-md);
    @media (min-width: 320px) {
      font-size: 22px;
    }
  }
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* More button - Figma Design */
.more-btn {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.more-link {
  display: flex;
  width: 300px;
  padding: 16.5px 48px 16.69px 24px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 2px;
  border: 1px solid #111;
  color: #111;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 350;
  line-height: 19.2px; 
}

.more-link i {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 14px;
  line-height: 1;
}

.more-link:hover {
  background: var(--sub-color);

}

/* Skeleton loading - nomura-estate pattern */
@keyframes skeltonLoading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.skelton-typeA-list {
  display: grid;
  grid-template-areas: "image" "info1" "info2" "info3";
  grid-template-rows: 178px 25px 25px 68px;
  gap: 8px;
  width: 240px;
  max-width: 100%;
  margin-inline: auto;
  background: #fff;
  padding: 0;

  &:not(:nth-child(1)) {
    display: none;
  }

  .item-image {
    aspect-ratio: 238 / 178;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }

  .item {
    height: 18px;
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }
}

.skelton-typeB-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-md);
  min-width: 272px;
  width: calc((100% - 20px) / 1.2);
  margin: 0 auto;

  &:not(:nth-child(1)) {
    display: none;
  }

  .item-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .item-image {
    aspect-ratio: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }
  .item {
    height: 18px;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }
}

.skelton-typeC-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-md);

  .item-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .item-image {
    aspect-ratio: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }

  .item {
    height: 18px;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }
}

.skelton-ranking-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--gap-md);

  .item-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .item-image {
    aspect-ratio: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }

  .item-block {
    height: 18px;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ddd;

    &::before {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
      animation: skeltonLoading 1.2s ease-in-out infinite;
    }
  }
}

@media (min-width: 460px) {
  .skelton-typeA-list {
    width: 240px;
  }
  .skelton-typeB-list {
    width: calc((100% - 20px) / 1.8);
  }
}

@media (min-width: 768px) {
  .skelton-typeA-list {
    width: 240px;
    display: grid;
    grid-template-areas: "image" "info1" "info2" "info3";
    grid-template-rows: 178px 25px 25px 68px;
    gap: 8px;

    &:not(:nth-child(1)) {
      display: grid;
    }
  }

  .skelton-typeB-list {
    grid-template-columns: 140px 1fr;
    width: calc(50% - var(--gap-md) / 2);
    margin: unset;

    &:not(:nth-child(1)) {
      display: grid;
    }
  }

  .skelton-typeC-list {
    grid-template-columns: 140px 1fr;
  }

  .skelton-ranking-list {
    grid-template-columns: 120px 1fr;
  }
}
@media (min-width: 900px) {
  .skelton-typeB-list {
    grid-template-columns: 200px 1fr;
  }

  .skelton-typeC-list {
    grid-template-columns: 200px 1fr;
  }

  .skelton-ranking-list {
    grid-template-columns: 120px 1fr;
  }
}

/* 1. Reset the Background behavior */
body.home .section-links .link:hover {
  background-color: rgba(255, 221, 206, 0.7) !important;
  border-color: #DA5216 !important;
}


body.home .section-links .link:hover .inner .title,
body.home .section-links .link:hover .inner .sub-title,
body.home .section-links .link:hover .inner .ico-bnr-search path {
  color: #111 !important;
  opacity: 1 !important;
  fill: #111 !important;
  stroke: #111 !important;
}

body.home .section-links .link:hover .inner::after {
  border-color: #DA5216 !important; /* Keep arrow color #DA5216 on hover */
  opacity: 1 !important;
}