body,html {
    --font-family: "KievitWeb","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-family: KievitWeb,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    --scroll-behavior: smooth
}
body {
    background-color: #fff;
    color: #000
}

article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {
    display: block
}

audio,canvas,video {
    display: inline-block
}

audio:not([controls]) {
    display: none
}

a:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px
}

a:active,a:hover {
    outline: 0
}

sub,sup {
    font-size: max(min(70%,8px),35%);
    line-height: 0;
    margin: 0 .05em 0 .1em;
    position: relative
}

sub:lang(ja),sup:lang(ja) {
    font-size: calc(max(min(70%, 8px), 35%) * .85)
}

sup {
    vertical-align: super
}

sub,sup {
    top: -.1em
}

sub {
    font-size: .75em;
    vertical-align: sub
}

sub:lang(ja) {
    font-size: .64em
}

img {
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic
}

blockquote {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 40px;
    -webkit-margin-end: 40px
}

button,input,select,textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: middle
}

button:lang(ja),input:lang(ja),select:lang(ja),textarea:lang(ja) {
    font-size: 85%
}

button,input {
    color: #000;
    line-height: normal
}

button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0
}

button,input[type=button],input[type=reset],input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button,input[type=button],input[type=checkbox],input[type=radio],input[type=reset],input[type=submit],label,select {
    cursor: pointer
}

input[type=search] {
    -webkit-appearance: textfield;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

textarea {
    overflow: auto;
    vertical-align: top
}

a {
    color: #000;
    color: inherit;
    color: var(--links-color,inherit);
    -webkit-text-decoration: none;
    text-decoration: none
}

a.hover,a:focus,a:hover {
    color: var(--links-hover-color,var(--color-gensler-dark-orange));
    text-decoration: none;
    -webkit-text-decoration: var(--links-hover-text-decoration,none);
    text-decoration: var(--links-hover-text-decoration,none)
}

p {
    margin: 0 0 10px;
    margin: 0 0 var(--p-margin-bottom,10px)
}

small {
    font-size: 85%
}

small:lang(ja) {
    font-size: 72.25%
}

strong {
    font-weight: 700
}

em {
    font-style: italic
}

cite {
    font-style: normal
}

h1,h2,h3,h4,h5,h6 {
    color: inherit;
    font-family: inherit;
    font-weight: 700;
    line-height: 20px;
    margin: 10px 0;
    text-rendering: optimizelegibility
}

h1,h2,h3 {
    line-height: 1.3
}

h1 {
    font-size: 38.5px
}

h1:lang(ja) {
    font-size: 32.73px
}

h2 {
    font-size: 31.5px;
    font-size: var(--h2-font-size,31.5px);
    margin: 10px 0;
    margin: var(--h2-margin-top,10px) 0 var(--h2-margin-bottom,10px)
}

h2:lang(ja) {
    font-size: calc(31.5px * .85);
    font-size: calc(var(--h2-font-size, 31.5px) * .85)
}

h3 {
    font-size: 24.5px;
    margin: 0 0 24px
}

h3:lang(ja) {
    font-size: 20.82px
}

h4 {
    font-size: 17.5px
}

h4:lang(ja) {
    font-size: 14.88px
}

h5 {
    font-size: 14px
}

h5:lang(ja),h6 {
    font-size: 11.9px
}

h6:lang(ja) {
    font-size: 10.12px
}

ol,ul {
    margin: 0 0 20px 18px;
    padding: 0
}

li,ol ol,ol ul,ul ol,ul ul {
    margin-bottom: 0
}

li {
    line-height: 1.25;
    line-height: var(--li-line-height,1.25);
    margin-bottom: var(--li-margin-bottom,0)
}

ol.inline,ol.unstyled,ul.inline,ul.unstyled {
    list-style: none;
    margin-left: 0
}

ol.inline>li,ul.inline>li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px
}

dl {
    margin-bottom: 20px
}

dd,dt {
    line-height: 20px
}

dt {
    font-weight: 700
}

dd {
    margin-left: 10px
}

hr {
    border: 0;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #eee;
    margin: 20px 0
}
ul{
  margin: 0;
  padding: 0;
  list-style: none
}
.text-elipsis{ 
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    margin-bottom: 0;
    padding-bottom: 0;
}
.text-elipsis.r2{ 
    -webkit-line-clamp: 2;
}
.text-elipsis.r4{ 
    -webkit-line-clamp: 4;
}
.contents-wrapper{
  transition: all .3s ease-in-out;
}
body.menu-open .contents-wrapper{
  transform: translate3d(90%, 0, 0);
}
#main-header {
  height: 43px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all .3s ease-in-out;
}
#main-header header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 43px;
  padding: 0 10px;
}


.contents-container{
  padding-top: 43px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
body.menu-open {
    overflow: hidden;
}
body.menu-open .contents-container{
  transform: translate3d(-90%, 0, 0);
}
.main-nav-container{
  background: #fff;
  height: 100vh;
  height: 100svh;
  left: -90%;
  margin: 0;
  max-width: 500px;
  overflow-y: scroll;
  position: fixed;
  scrollbar-width: none;
  top: 0;
  width: 90%;
}
.main-nav-container .menu-logo{
  display: flex;
  align-items: center;
  height: 43px;
  padding: 0 10px;
}
.main-nav-container li{
  height: 44px;
  border-bottom: 1px solid #a6a6a6;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.content-overlay{
  background-color: rgba(0, 0, 0, .4);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1000;
}

.contents-container  .slick-arrow{
    z-index: 1;
    width: 50px;
    height: 50px;
    background-size: 100% 100%;
}
.contents-container  .slick-arrow.slick-prev{
    left: 15px;
    background-image: url(../images/a-left.png);
}
.slick-prev:before, .slick-next:before{
    display: none;
}
.contents-container  .slick-arrow.slick-next{
    right: 15px;
    background-image: url(../images/a-right.png);
}
.slick-dots{
    bottom: 32px;
}
.slick-dots li button:before{
    display: none;
}
.slick-dots li{
    margin:0 10px;
    width:8px;
    height:8px;
}
.slick-dots li button{
    background-color: rgba(255,255,255,.7);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    border:1px #ddd solid;
}
.slick-dots li.slick-active button{
    background-color: #ff7f00;
}
.slick-dotted.slick-slider{
    margin-bottom: 0;
}
.container-fluid-card{
    padding: 15px;
    background-color: #000;
    line-height: 26px;
}
.container-fluid-card .r{
    display: none;
    color: #fff;
} 
.container-fluid-card .r h3{
    margin-bottom: 10px;
    line-height: 32px;
    font-size: 24px;
}
.container-fluid-card .r p{
    margin-bottom: 0;
}
.home-portfolio{
    padding: 15px 10px;
}
.home-portfolio:not(:has(.portfolio-item)){
    display: none;
    padding: 0;
}
.home-portfolio .card-title{
    line-height: 26px;
    font-size: 14px;
}
.portfolio-item{
    display: block;
    margin-bottom: 25px;
}
.portfolio-item-img {
    margin-bottom: 10px;
}
.portfolio-slider-item-img{
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}
.portfolio-slider-item-img img{
    width: 100%;
    height: 300px;
    object-fit: cover
}
.portfolio-item-img img{
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}
.portfolio-item-title{
    line-height: 26px;
    font-size: 18px;
}
.portfolio-item-text{
    line-height: 22px;
}
.portfolio-item-link{
    display: flex;
    justify-content: flex-end;
}
.portfolio-item-link a{
    padding: 0 8px;
    line-height: 24px;
    border: 1px #333 solid;
}
.portfolio-slider-item{
    padding: 0 15px;
}
.portfolio-slider-item-text{
    line-height: 22px;
    font-size: 14px;
}
.home-portfolio-slider-button{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.home-portfolio-slider-button button{
    margin: 0 5px;
    border: none;
    background: none;
}
.home-portfolio-slider-num{
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}
.home-portfolio-slider .slick-prev, .home-portfolio-slider .slick-next{
    display: none !important;
}
.silder-2-box{
    padding: 30px 0;
    background-color: #f6f6f6;
}
.home-service{
    margin-top: 15px;
    padding: 10px 15px;
    color: #fff;
    background-color: #000;
}
.home-service-title{
    margin-bottom: 15px;
    font-size: 18px;
}
.home-service li{
    margin-bottom: 5px;
    padding-left: 5px;
    line-height: 26px;
}
.home-service li a{
    text-decoration: underline;
}
.home-our-clients{
    margin-top: 15px;
    padding: 10px 15px;
}
.home-our-clients-title{
    margin-bottom: 15px;
    font-size: 18px;
}
.home-our-clients-logo{
    mask-image: linear-gradient(to bottom, 
    rgba(0,0,0,1), 
    rgba(0,0,0,0));
}
.footer-wrapper{
    padding: 15px;
    background-color: #000;
    color: #fff;
}
.footer-wrapper .social-links{
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.footer-wrapper .social-link{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    transition: all 0.3s ease;
}
.footer-wrapper .social-link:hover{
    background-color: #ff7f00;
    color: #fff;
}
.footer-wrapper .c-name{
    color: #999;
    text-align: right;
    line-height: 24px;
    font-size: 14px;
}
.footer-wrapper .add{
    color: #eee;
}
.footer-wrapper .add .title{
    margin-top: 15px;
    margin-bottom: 5px;
    color: #f6f6f6;
    line-height: 22px;

}
.footer-wrapper .add .text{
    line-height: 22px;
}
.footer-wrapper .tel{
    margin-top: 15px;
    line-height: 22px;
}
.footer-wrapper .email{
    margin-top: 15px;
}
#main-header.shadow{
    box-shadow: 0 1px 7px #666;
}
.container-fluid .slick-list img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.join-row .left{
    padding-bottom: 60%;
    background-image: url('../images/join-bg.jpg');
    background-size: cover;
}
.join-row .right{
    padding: 15px 0;
}
.join-btn{
    display: inline-block;
    padding: 0 15px;
    border: 1px #fff solid;
    border-radius: 4px;
    line-height: 32px;
}
.join-row .right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 15px;
    gap: 30px;
}
.join-row .right p{
    line-height: 26px;
}
.bottom-row .b-menu{
    display: none;
}
.act-content{
    padding: 30px 15px;
}
.act-content .title{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    line-height: 32px;
    max-width: 1180px;
    text-align: center;
    font-size: 24px;
}
.act-content .time{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 1180px;
    color: #999;
    text-align: right;
    font-size: 14px;
}
.act-content .img{
    margin-bottom: 30px;
}
.act-content .desc {
    max-width: 760px;
    margin: 0 auto;
    line-height: 24px;
}
.about-container{
    /* background-image: url('../images/temp/gensler-la-1280x900_1686179621.jpg'); */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}
.about-container .about-title{
    position: absolute;
    top: 130px;
    left: 40px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
}

.about-container .about-title h3{
    margin: 0;
    font-size: 24px;
}
.about-container .about-content{
    margin-top: 220px;
    background-color: #fff;
    padding: 30px 20px;
    line-height: 24px;
}
.main-nav-container a {
        color: #333 !important;
        text-decoration: none !important;
      }
      .main-nav-container a:hover {
        color: #ff7f00 !important;
      }
      .contact-info {
        background-image: url('../images/join-bg.jpg');
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 60vh;
        position: relative;
        padding: 30px 15px;
      }
      .contact-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.2);
      }
      .contact-info > * {
        position: relative;
      }
      .contact-title {
        margin: 0 auto 30px;
        text-align: center;
        font-size: 2rem;
        color: #333;
        background-color: rgba(255, 255, 255, 0.6);
        padding: 15px 30px;
        max-width: 226px;
      }
      .contact-item {
        max-width: 726px;
        margin: 0 auto;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background-color: rgba(255,255,255,0.9);
      }
      .contact-item:last-child {
        border-bottom: none;
      }
      .contact-item h3 {
        font-size: 1.25rem;
        color: #333;
        margin-bottom: 0.75rem;
        font-weight: 600;
      }
      .contact-item p {
        margin-bottom: 0.5rem;
        color: #555;
        line-height: 1.6;
      }
      .contact-item strong {
        color: #333;
      }
      .form-control {
        border-radius: 0.375rem;
        border: 1px solid #ced4da;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        line-height: 1.5;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
      }
      .form-control:focus {
        border-color: #ff7f00;
        box-shadow: 0 0 0 0.2rem rgba(255, 127, 0, 0.25);
      }
      .btn-primary {
        background-color: #ff7f00;
        border-color: #ff7f00;
        padding: 0.75rem 2rem;
        font-size: 1rem;
        border-radius: 0.375rem;
        transition: all 0.3s ease;
        color: #fff;
        font-weight: 500;
      }
      .btn-primary:hover {
        background-color: #e67200;
        border-color: #e67200;
      }
      .form-label {
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: #495057;
      }
      .mt-5 { margin-top: 3rem !important; }
      .mb-5 { margin-bottom: 3rem !important; }
      .mb-4 { margin-bottom: 1.5rem !important; }
      .mb-3 { margin-bottom: 1rem !important; }
      .d-grid { display: grid !important; }
      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
      }
@media screen and (min-width: 1024px) {
    #main-header {
        height: 72px;
        transition: height 0.3s ease;
    }
    
    #main-header header {
        display: flex;
        height: 72px;
        justify-content: flex-start;
        padding: 0 40px;
        max-width: 1180px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-start;
        gap: 30px;
        transition: height 0.3s ease;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo img {
        width: auto;
        height: 52px;
        transition: height 0.3s ease;
    }
    
    #menuMobile {
        display: none;
    }
    
    .header-right {
        flex-grow: 1;
        display: flex;
        justify-content: flex-end;
    }

    .header-right .lang-switch {
        font-size: 12px;
    }
    
    .lang-switch {
        font-size: 13px;
        color: #333;
        text-decoration: none;
        white-space: nowrap;
    }
    
    .lang-switch:hover {
        color: #ff7f00;
    }
    
    .main-nav-container {
        position: static;
        height: auto;
        max-width: none;
        width: auto;
        background: transparent;
        overflow: visible;
        left: auto;
        margin: 0 0 0 30px;
    }
    
    .main-nav-container .menu-logo {
        display: none;
    }
    
    .main-nav-container nav ul {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    
    .main-nav-container li {
        height: 72px;
        border-bottom: none;
        padding: 0;
        display: flex;
        align-items: center;
        font-size: 16px;
    }
    
    .main-nav-container li a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }
    
    .main-nav-container li a:hover {
        color: #ff7f00;
    }
    
    .contents-container {
        padding-top: 72px;
    }
    
    .contents-wrapper {
        transform: none !important;
    }
    .contents-container .slick-arrow {
        width: 100px;
        height: 100px;
    }
    .container-fluid .slick-list {
        height: calc(100vh - 200px) !important;
    }
    .container-fluid-card .r{
        max-width: 1180px;
        margin: 0 auto;
    }
    .slick-dots li button {
        width: 12px;
        height: 12px;
    }
    .container-fluid-card .r h3{
        margin-bottom: 15px;
        font-size: 32px;
    }
    .container-fluid-card .r h3 + a span{
        font-size: 16px;
    }
    .home-portfolio{
        padding-top: 100px;
        max-width: 1180px;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 100px 20px;
    }
    
    .portfolio-item {
        display: flex;
        gap: 40px;
        margin-bottom: 45px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .portfolio-item:hover .portfolio-item-img {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .portfolio-item:hover .portfolio-item-title {
        color: #ff7f00;
    }
    
    .portfolio-item-img {
        flex: 1;
        margin-bottom: 0;
        min-width: 520px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .portfolio-item-img img{
        max-height: 320px;
    }
    
    .portfolio-item-content {
        flex: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .portfolio-item-title {
        margin-top: 0;
        font-weight: bold;
        font-size: 24px;
    }
    
    .portfolio-item-text {
        margin-top: 10px;
        line-height: 32px;
        font-size: 16px;
    }
     .portfolio-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    /* 新增3列布局样式 */
    .home-portfolio-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        padding: 100px 20px;
    }
    
    .home-portfolio-grid .portfolio-item {
        flex: 0 0 calc(33.333% - 20px);
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 0;
    }
    
    .home-portfolio-grid .portfolio-item:nth-child(even) {
        flex-direction: column;
    }
    
    .home-portfolio-grid .portfolio-item-img {
        flex: none;
        margin-bottom: 0;
        min-width: auto;
        height: 240px; /* 固定高度 */
        overflow: hidden;
    }
    
    .home-portfolio-grid .portfolio-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .home-portfolio-grid .portfolio-item-content {
        flex: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .home-portfolio-grid .portfolio-item-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .home-portfolio-grid .portfolio-item-text {
        font-size: 14px;
        line-height: 24px;
    }
    
    .portfolio-slider-item-text{
    font-size: 14px;
}
    
    /* Join row layout for desktop */
    .join-row {
        display: flex;
        flex-direction: row;
    }
    
    .join-row .left,
    .join-row .right {
        flex: 1;
        width: 50%;
    }
    
    .join-row .left {
        padding-bottom: 20%;
        
    }
    .join-row .right {
        margin-left: 30px;
    }
    .bottom-row{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        margin: 45px auto 0;
        width: 1180px;
    }
    .bottom-row .left-col{
        display: flex;
        flex-direction: column;
    }
    .bottom-row .social-links{
        margin-bottom: 20px;
        justify-content: flex-start;
    }
    .bottom-row .social-link{
        width: 40px;
        height: 40px;
    }
    .bottom-row .b-menu{
        display: flex;
    }
    .bottom-row .c-name{
        text-align: right;
    }
    .bottom-row .b-menu a{
        margin-right: 30px;
    }
    .act-content{
        width: 1180px;
        margin: 0 auto;
    }
    .act-content .img{
        display: block;
        margin-right: auto;
        margin-left: auto;
        max-width: 760px;
        text-align: center;
    }
    .about-container .about-content > div{
        margin-right: auto;
        margin-left: auto;
        width: 1180px;
    }
    .about-container .about-title{
        left: calc((100vw - 1180px) / 2 + 90px);
    }
    .d-grid .btn-primary {
        width: 200px;
        margin: 0 auto;
    }
}

.category-infinite-sentinel {
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.category-infinite-list .portfolio-item[hidden] {
    display: none !important;
}

.category-infinite-list .portfolio-item-img {
    overflow: hidden;
    background: #f2f2f2;
}

.category-infinite-list .category-lazy-image {
    opacity: 0.55;
    filter: blur(14px);
    transform: scale(1.025);
    transition: opacity 650ms ease, filter 650ms ease, transform 650ms ease;
    will-change: opacity, filter, transform;
}

.category-infinite-list .category-lazy-image.is-loaded {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .category-infinite-list .category-lazy-image {
        transition: none;
    }
}
